/* TAIL: The Art of Immersive Luxury. Pre-launch site styles. */
:root {
  --linen: #F3EEE8;
  --linen-2: #F8F7F5;
  --linen-3: #E8E4DE;
  --rule: #D8D4CF;
  --ink: #111111;
  --body: #3A3A3A;
  --grey: #6B6B6B;
  --grey-2: #9A9A9A;
  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --sans: 'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--linen); color: var(--body);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: .38em;
  text-transform: uppercase; color: var(--grey);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 300; color: var(--ink); margin: 0; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; }
h3 { font-size: 22px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; }
em { font-family: var(--serif); font-style: italic; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10; background: rgba(243, 238, 232, .94);
  backdrop-filter: blur(6px); border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header .logo img { height: 30px; width: auto; }
.site-header nav a {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); margin-left: 28px;
}
.site-header nav a.btn { border: 1px solid var(--ink); padding: 10px 18px; }
.site-header nav a.btn:hover { background: var(--ink); color: var(--linen); }
@media (max-width: 640px) { .site-header nav a:not(.btn) { display: none; } .site-header .logo img { height: 24px; } }

/* Hero */
.hero { position: relative; min-height: min(88vh, 900px); overflow: hidden; }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero .words {
  position: absolute; right: 8%; top: 18%; text-align: center; color: #2D3037;
  font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.35;
  opacity: 0; animation: reveal 2.4s ease .6s forwards;
}
.hero .words .eyebrow { display: block; margin-top: 26px; color: #4A4E57; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero picture img { position: relative; height: 62vh; min-height: 340px; object-position: 30% 50%; }
  .hero .words { position: static; padding: 56px 20px 0; color: var(--ink); }
}

/* Sections */
section { padding: clamp(80px, 11vw, 150px) 0; }
.centre { text-align: center; max-width: 760px; margin: 0 auto; }
.centre p { font-size: 17px; }
.question { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.6vw, 42px); color: var(--ink); line-height: 1.3; margin: 18px 0 38px; }
.rule { width: 60px; height: 1px; background: var(--grey-2); margin: 44px auto; border: 0; }

.band { position: relative; padding: 0; }
.band img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; }
.band .overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.band .overlay p { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 44px); color: #fff; line-height: 1.35; margin: 0; text-shadow: 0 1px 24px rgba(0,0,0,.18); }

.pillars { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 64px; }
.pillar { padding: 44px 26px; border-left: 1px solid var(--rule); }
.pillar:first-child { border-left: 0; }
.pillar h3 { font-size: 15px; margin-bottom: 8px; }
.pillar .sub { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--grey); margin-bottom: 16px; line-height: 1.35; }
.pillar p { font-size: 14px; margin: 0; }
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--rule); padding: 36px 8px; text-align: center; }
  .pillar:first-child { border-top: 0; }
}

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 50%; }
.split .text p { font-size: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split img { aspect-ratio: 16 / 10; } }

/* Register */
.register { background: var(--linen-2); border-top: 1px solid var(--linen-3); }
form { max-width: 620px; margin: 48px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; text-align: left; }
form .full { grid-column: 1 / -1; }
label { display: block; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--grey-2); background: transparent;
  font: inherit; font-size: 16px; color: var(--ink); padding: 8px 0; border-radius: 0;
}
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button {
  justify-self: center; grid-column: 1 / -1; margin-top: 12px; background: var(--ink); color: var(--linen);
  border: 1px solid var(--ink); font: inherit; font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  padding: 16px 44px; cursor: pointer; transition: background .3s, color .3s;
}
button:hover { background: transparent; color: var(--ink); }
@media (max-width: 600px) { form { grid-template-columns: 1fr; } }

/* Footer */
footer { padding: 70px 0 50px; text-align: center; border-top: 1px solid var(--rule); }
footer .logo img { height: 46px; margin: 0 auto 30px; }
footer .contact { font-size: 14px; line-height: 2; }
footer .contact a { text-decoration: none; border-bottom: 1px solid var(--rule); }
footer .small { margin-top: 36px; font-size: 11.5px; color: var(--grey); letter-spacing: .04em; }
footer .small a { color: var(--grey); }

/* Simple content pages */
.page { padding: 90px 0 110px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 28px; }
.page h2 { font-size: 24px; margin: 34px 0 8px; }

.fade { opacity: 0; transform: translateY(14px); transition: opacity 1.4s ease, transform 1.4s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade, .hero .words { opacity: 1; transform: none; animation: none; transition: none; } }
