/* Seagrape Rentals — coming-soon page */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --lagoon: #0E2A3A;
  --lagoon-deep: #081B26;
  --grape-leaf: #3E6B4A;
  --sand: #E9DFCF;
  --sand-bright: #F6F0E6;
  --berry: #6B3A5B;
  --white: #FFFFFF;
  --error: #FFC9B8;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 22px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--white);
  background: var(--lagoon-deep);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  padding: .75rem 1rem; border-radius: 10px;
  background: var(--sand); color: var(--lagoon); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

/* ---------- Background photograph ---------- */
.hero-media { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 88%;
  transform-origin: 62% 70%;
  filter: saturate(1.18) contrast(1.06) brightness(1.04);
  animation: kenburns 32s ease-in-out infinite alternate;
}
.hero-veil {
  position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 27, 38, .9) 0%, rgba(8, 27, 38, .74) 32%, rgba(14, 42, 58, .18) 62%, rgba(14, 42, 58, 0) 100%),
    linear-gradient(0deg, rgba(8, 27, 38, .55) 0%, rgba(8, 27, 38, 0) 26%);
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

/* ---------- Header / wordmark ---------- */
.site-header { padding: clamp(1.25rem, 3vw, 2.25rem) var(--gutter) 0; }
.wordmark { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.leaf { width: 44px; height: 44px; flex: none; }
.leaf-blade { fill: var(--grape-leaf); stroke: var(--sand); stroke-width: 1.2; }
.leaf-veins { fill: none; stroke: #C98FAF; stroke-width: 1.4; stroke-linecap: round; }
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.65rem;
  letter-spacing: .32em; text-transform: uppercase; margin-right: -.32em;
}
.wordmark-sub {
  margin-top: .45rem; font-size: .66rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--sand);
}

/* ---------- Hero layout ---------- */
main { flex: 1; display: flex; align-items: center; }
.hero {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: clamp(2rem, 6vh, 4.5rem) var(--gutter);
  display: grid; gap: clamp(2rem, 4vw, 4.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px);
  grid-template-areas: "copy card" "pillars card";
  align-items: center;
}
.hero-copy { grid-area: copy; max-width: 40rem; }
.card { grid-area: card; }
.pillars { grid-area: pillars; align-self: start; }

.eyebrow {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--sand);
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .8; }

h1 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.75rem); line-height: 1.03; letter-spacing: -.005em;
  text-wrap: balance;
}
h1 em { display: block; font-style: italic; color: var(--sand); }

.lede {
  margin: 1.5rem 0 0; max-width: 34rem;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .88);
}

.pillars {
  list-style: none; margin: 0; padding: 0; max-width: 44rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem;
}
.pillars li { padding-top: 1rem; border-top: 1px solid rgba(233, 223, 207, .45); }
.pillar-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.pillar-text { display: block; margin-top: .35rem; font-size: .86rem; line-height: 1.5; color: rgba(255, 255, 255, .76); }

/* ---------- Form card ---------- */
.card {
  position: relative;
  border-radius: var(--radius);
  background: rgba(8, 27, 38, .9);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card {
    background: rgba(8, 27, 38, .72);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
  }
}
.card-body { padding: clamp(1.5rem, 3vw, 2.25rem); }
.card-body:focus { outline: none; }
.card-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.1; }
.card-intro { margin: .6rem 0 1.4rem; font-size: .92rem; color: rgba(255, 255, 255, .82); }

form { display: grid; gap: 1rem; }

/* Segmented audience toggle (radio group) */
.toggle {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  margin: 0 0 .25rem; padding: 4px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label {
  position: relative; z-index: 1; padding: .62rem .5rem; border-radius: 999px;
  text-align: center; font-size: .86rem; font-weight: 500; cursor: pointer;
  color: rgba(255, 255, 255, .85); transition: color .35s var(--ease);
}
.toggle input:checked + label { color: var(--lagoon); }
.toggle input:focus-visible + label { outline: 2px solid var(--sand); outline-offset: 2px; }
.toggle-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--sand-bright);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45);
  transition: transform .45s var(--ease);
}
#aud-owner:checked ~ .toggle-thumb { transform: translateX(100%); }

.field { display: grid; gap: .4rem; }
.field > label { font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, .9); }
.optional { font-weight: 400; color: rgba(255, 255, 255, .65); }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--lagoon);
  background: rgba(255, 255, 255, .96); border: 1px solid transparent; border-radius: 12px;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--lagoon) 50%), linear-gradient(135deg, var(--lagoon) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus { outline: none; box-shadow: 0 0 0 3px rgba(233, 223, 207, .65); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 2px rgba(255, 201, 184, .55); }
.field-error { margin: 0; min-height: 0; font-size: .8rem; color: var(--error); }
.field-error:empty { display: none; }

.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .7rem; }
.field-check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--sand); }
.field-check label { font-size: .8rem; font-weight: 400; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.field-check .field-error { grid-column: 2; }
.field-check a { color: var(--sand); text-underline-offset: 2px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile:empty { display: none; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; min-height: 52px; margin-top: .25rem; padding: .9rem 1.2rem;
  border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lagoon); background: linear-gradient(135deg, var(--sand-bright), var(--sand));
  box-shadow: 0 14px 30px -14px rgba(233, 223, 207, .8);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 18px 36px -14px rgba(233, 223, 207, .9); }
.btn:active { transform: translateY(0); }
.btn[disabled] { cursor: progress; filter: saturate(.7) brightness(.95); }
.btn-spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(14, 42, 58, .25); border-top-color: var(--lagoon);
  animation: spin .8s linear infinite;
}
.btn[aria-busy="true"] .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin: 0; font-size: .84rem; color: var(--error); }
.form-status:empty { display: none; }

.card-success { text-align: center; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.card-success p { margin: .9rem auto 0; max-width: 22rem; color: rgba(255, 255, 255, .86); }
.card-success .small { font-size: .82rem; color: rgba(255, 255, 255, .66); }
.success-mark { width: 64px; height: 64px; margin: 0 auto 1.25rem; }
.success-mark circle { fill: none; stroke: var(--sand); stroke-width: 1.5; }
.success-mark path {
  fill: none; stroke: var(--sand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 0; animation: draw .7s .2s var(--ease) both;
}
@keyframes draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  padding: 1.25rem var(--gutter) 1.75rem;
  font-size: .78rem; color: rgba(255, 255, 255, .72);
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Entrance choreography ---------- */
.reveal { animation: rise 1.1s var(--ease) both; }
.site-header.reveal { animation-delay: .05s; }
.eyebrow.reveal { animation-delay: .2s; }
h1.reveal { animation-delay: .35s; }
.lede.reveal { animation-delay: .55s; }
.card.reveal { animation-delay: .5s; }
.pillars.reveal { animation-delay: .75s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "card" "pillars";
    max-width: 640px;
  }
  .hero-veil {
    background: linear-gradient(180deg, rgba(8, 27, 38, .28) 0%, rgba(8, 27, 38, .62) 30%, rgba(8, 27, 38, .86) 62%, rgba(8, 27, 38, .94) 100%);
  }
}
@media (max-width: 640px) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .wordmark-name { font-size: 1.4rem; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Text pages (privacy) and confirmation page ---------- */
.doc-page { background: linear-gradient(180deg, var(--lagoon) 0%, var(--lagoon-deep) 60%); }
.doc { display: block; }
.doc article {
  max-width: 44rem; margin: 0 auto; padding: clamp(2rem, 6vh, 4rem) var(--gutter) 3rem;
}
.doc h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.doc h2 {
  margin: 2.5rem 0 .6rem; font-family: var(--serif); font-weight: 600;
  font-size: 1.6rem; line-height: 1.2; color: var(--sand);
}
.doc p, .doc li { color: rgba(255, 255, 255, .86); }
.doc ul { padding-left: 1.2rem; }
.doc li + li { margin-top: .35rem; }
.doc a, .confirm a { color: var(--sand); text-underline-offset: 3px; }
.doc-lede { font-size: 1.12rem; margin-top: 1.2rem; }
.doc-back { margin-top: 3rem; }

.confirm { max-width: 40rem; margin: 0 auto; padding: 2rem var(--gutter); text-align: center; }
.confirm .eyebrow { justify-content: center; }
.confirm .eyebrow::before { display: none; }
.confirm .lede { margin-inline: auto; }
.confirm .doc-back { margin-top: 2rem; }
.confirm .success-mark { margin-bottom: 1.5rem; }
.confirm-page .hero-veil {
  background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(8, 27, 38, .86) 0%, rgba(8, 27, 38, .66) 60%, rgba(8, 27, 38, .5) 100%);
}
