/* =========================================================
   Honu House launch page (v4.0)
   Flat off-white page, deep olive gallery band, buttons and footer.
   Loaded after site.css and overrides it.

   Swapping an image: every photograph sits in a .fig__frame with a
   fixed aspect ratio and object-fit: cover. Replace the file and the
   layout holds its shape — nothing below it moves.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --honu-offwhite: #F6F4EE;        /* flat main canvas */
  --honu-green: #3C4526;           /* gallery band, buttons, footer */
  --honu-green-deep: #313822;      /* hover / pressed */
  --honu-coral: #EDE5D5;           /* kept for future use, unused in v4.0 */
  --honu-olive: #7A8066;
  --honu-ink: #282C28;

  --surface-page: var(--honu-offwhite);
  --text-muted: rgba(40, 44, 40, .70);
  --text-on-green: rgba(246, 244, 238, .78);
  --border-subtle: rgba(60, 69, 38, .18);
  --border-strong: rgba(60, 69, 38, .42);
  --border-on-green: rgba(246, 244, 238, .22);

  --lift-soft: 0 1px 2px rgba(60, 69, 38, .10), 0 10px 30px rgba(60, 69, 38, .07);
}

/* ---------- Reusable surfaces ---------- */
.surface-flat { background: var(--honu-offwhite); }
.surface-green { background: var(--honu-green); color: var(--honu-offwhite); }
.surface-coral { background: var(--tex-chalk) repeat 0 0 / var(--tex-size), var(--honu-coral); background-blend-mode: multiply; }

/* ---------- Page canvas ---------- */
body.launch { background: var(--honu-offwhite); color: var(--honu-ink); }

/* ---------- Header ---------- */
.launch .site-header,
.launch .site-header.is-solid {
  position: fixed; background: rgba(246, 244, 238, .95); color: var(--honu-green);
  -webkit-backdrop-filter: saturate(1.05) blur(8px); backdrop-filter: saturate(1.05) blur(8px);
}
.launch .site-header__inner { border-bottom: 1px solid var(--border-subtle); gap: clamp(1rem, 3vw, 2.5rem); }
.launch .brand-logo { order: 1; }
.launch .site-nav { order: 2; margin-left: auto; }
.launch .header-actions { order: 3; }
.launch .site-nav a:not(.button) { color: var(--honu-green); font-weight: 500; }
.launch .site-header .site-nav ul { gap: clamp(1.5rem, 3vw, 2.75rem); }
.launch .menu-toggle { color: var(--honu-green); }
@media (max-width: 767px) {
  .launch .site-nav { margin-left: 0; background: var(--honu-offwhite); border-bottom: 1px solid var(--border-subtle); }
  .launch .site-nav li { border-bottom-color: var(--border-subtle); }
}

/* ---------- Controls ---------- */
.launch .button {
  background: var(--honu-green); border-color: var(--honu-green);
  color: var(--honu-offwhite); border-radius: 4px; box-shadow: none;
}
.launch .button:hover { background: var(--honu-green-deep); border-color: var(--honu-green-deep); color: var(--honu-offwhite); }
.launch .button:active { background: var(--honu-green-deep); transform: translateY(1px); }
.launch .button:focus-visible { outline: 2px solid var(--honu-green); outline-offset: 3px; box-shadow: 0 0 0 4px rgba(246, 244, 238, .9); }
.launch .button--premium { min-height: 3.25rem; border-radius: 4px; letter-spacing: .04em; text-transform: none; font-size: .9375rem; gap: .9rem; padding: 0 1.4rem 0 1.5rem; }
.launch .button--premium:hover { background: var(--honu-green-deep); color: var(--honu-offwhite); }
.launch .button__arrow { width: 1.6rem; }
.launch .button--premium:hover .button__arrow { width: 2.1rem; }
.launch .header-join { min-height: 2.75rem; padding-inline: 1.5rem; }
.launch :focus-visible { outline-color: var(--honu-green); }

.launch .input { background: #FFFDF9; border-color: var(--border-strong); border-radius: 4px; }
.launch .input:hover { border-color: var(--honu-green); }
.launch .input:focus-visible { outline: 2px solid var(--honu-green); outline-offset: 2px; border-color: var(--honu-green); }

/* ---------- Type ---------- */
.launch .eyebrow { color: var(--honu-green); letter-spacing: .18em; }
.launch .h2, .launch .display { color: var(--honu-ink); font-weight: 300; letter-spacing: -.025em; }
.launch .text-link, .launch a:not(.button):not(.brand-logo):not(.lfooter__logo) { color: var(--honu-green); }
.cap { margin-top: .9rem; font-size: .8125rem; color: var(--text-muted); }

/* Gentler reveal */
.launch.js .reveal, .js .launch .reveal { transform: translateY(12px); transition: opacity 800ms var(--ease-calm), transform 900ms var(--ease-calm); }

/* ---------- Image frames: swap the file, keep the shape ---------- */
.fig { margin: 0; }
.fig__frame { overflow: hidden; background: var(--honu-coral); }
.fig__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fig__frame--wide   { aspect-ratio: 16 / 10; }
.fig__frame--square { aspect-ratio: 10 / 9; }
.fig__frame--tall   { aspect-ratio: 10 / 10; }
.fig__frame--facade { aspect-ratio: 4 / 3; }   /* matches the sky-free crop, so nothing is cut twice */

/* ---------- 1. Hero ---------- */
.hero-island { position: relative; isolation: isolate; padding-top: var(--header-h); background: var(--honu-offwhite); }
.hero-island__media img { display: block; width: 100%; height: clamp(26rem, 44vw, 34rem); object-fit: cover; object-position: 50% 58%; }
.hero-island__inner { position: absolute; inset: var(--header-h) 0 0 0; display: flex; align-items: center; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-island__text { max-width: 34rem; padding-bottom: 3vh; }
.hero-island__text .display { margin-bottom: 1.5rem; max-width: 16ch; }
.hero-island__text .lede { max-width: 42ch; margin-bottom: 2rem; font-size: 1.0625rem; line-height: 1.6; }
/* a whisper of off-white on the left, so a future image swap stays readable */
.hero-island::after {
  content: ""; position: absolute; inset: var(--header-h) 0 0 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 244, 238, .38) 0%, rgba(246, 244, 238, .12) 32%, rgba(246, 244, 238, 0) 50%);
}
@media (max-width: 767px) {
  /* phone: text on flat off-white above the image band */
  .hero-island { display: flex; flex-direction: column; }
  .hero-island::after { display: none; }
  .hero-island__media { order: 2; }
  .hero-island__media img { height: auto; aspect-ratio: 840 / 462; }
  .hero-island__inner { position: static; transform: none; display: block; order: 1; }
  .hero-island__text { max-width: none; padding: 2.5rem 0 2.75rem; }
  .hero-island__text .display { font-size: clamp(2.25rem, 10vw, 2.875rem); max-width: 12ch; }
  .hero-island .button--premium { width: 100%; justify-content: space-between; }
}

/* ---------- Shared section rhythm ---------- */
.lsec { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.lsec__intro .h2 { margin-bottom: 1.25rem; }

/* ---------- 2. Meet Honu House ---------- */
.lhouse { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.lhouse__text .h2 { margin-bottom: 1.5rem; }
.lhouse__text p:not(.eyebrow) { max-width: 34ch; font-size: 1.0625rem; line-height: 1.65; }
@media (min-width: 1024px) {
  .lhouse { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 5rem); }
}

/* ---------- 3. A glimpse of the design (olive band) ---------- */
.lgallery { background: var(--honu-green); color: var(--honu-offwhite); }
.lgallery .h2 { color: var(--honu-offwhite); }
.lgallery .eyebrow { color: var(--text-on-green); }
.lgallery .cap { color: var(--text-on-green); }
.lgallery .fig__frame { background: rgba(246, 244, 238, .08); }
.lgallery__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.lgallery__note { color: var(--honu-offwhite); font-size: 1.0625rem; line-height: 1.6; max-width: 38ch; }
@media (min-width: 900px) {
  .lgallery__head { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
  .lgallery__note { justify-self: end; }
}
.lgallery__pair { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 768px) {
  .lgallery__pair { grid-template-columns: 40fr 52fr; align-items: center; }
  .fig--dining { margin-top: clamp(1.5rem, 4vw, 3.5rem); }
}

/* ---------- 4. Why Honu? — the material study is the whole section ---------- */
.lsec--story {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center;
  min-height: clamp(28rem, 46vw, 40rem);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: var(--honu-coral);
}
.lstory__bg { position: absolute; inset: 0; z-index: -2; }
.lstory__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
/* a soft off-white wash behind the words, so the text holds if the image is swapped */
.lsec--story::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 244, 238, .74) 0%, rgba(246, 244, 238, .46) 34%, rgba(246, 244, 238, .06) 62%, rgba(246, 244, 238, 0) 100%);
}
.lstory__text .h2 { margin-bottom: 1.25rem; }
.lstory__text p:not(.eyebrow) { max-width: 38ch; font-size: 1.0625rem; line-height: 1.65; }
.lstory__cap {
  position: absolute; right: var(--page-gutter); bottom: 1.25rem; margin: 0; z-index: 1;
  color: rgba(40, 44, 40, .62);
}
.lupdate { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(60, 69, 38, .28); max-width: 38ch; }
.lupdate__label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--honu-green); margin-bottom: .5rem; }
@media (min-width: 1024px) {
  .lstory__text { max-width: 34rem; }
}
@media (max-width: 767px) {
  .lstory__bg img { object-position: 78% 50%; }
  .lsec--story::before { background: linear-gradient(180deg, rgba(246, 244, 238, .86) 0%, rgba(246, 244, 238, .72) 58%, rgba(246, 244, 238, .34) 100%); }
  .lstory__cap { position: static; margin-top: 2rem; padding-inline: var(--page-gutter); }
}

/* ---------- 5. First Guests ---------- */
.lguests { border-top: 1px solid var(--border-subtle); }
.lguests:focus { outline: none; }
.lguests__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lguests__intro .h2 { margin-bottom: 1.25rem; }
.lguests__intro p { max-width: 36ch; font-size: 1.0625rem; line-height: 1.65; }
.signup__fields { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
.launch .signup__submit { margin-bottom: 1rem; }
.launch .form-small { font-size: .8125rem; color: var(--text-muted); }
.launch .form-small a { margin-left: .75rem; }
@media (min-width: 640px) { .signup__fields { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (min-width: 1024px) { .lguests__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 5rem); } }

/* ---------- 6. Questions ---------- */
.lfaq { border-top: 1px solid var(--border-subtle); }
.lfaq__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.lfaq__contact { margin-top: 1.25rem; }
.lfaq__contact a { font-weight: 500; }
@media (min-width: 1024px) { .lfaq__grid { grid-template-columns: 4fr 7fr; } }

.launch .faq { border-bottom: 1px solid var(--border-subtle); padding: 0; }
.launch .faq:first-child { border-top: 1px solid var(--border-subtle); }
.launch .faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 400; color: var(--honu-ink);
}
.launch .faq summary::-webkit-details-marker { display: none; }
.launch .faq summary::after {
  content: "+"; flex: none; font-size: 1.375rem; font-weight: 200; line-height: 1; color: var(--honu-green);
}
.launch .faq[open] summary::after { content: "\2212"; }
.launch .faq p { padding-bottom: 1.25rem; max-width: 60ch; color: var(--text-muted); font-size: .9375rem; line-height: 1.65; }

/* ---------- Footer ---------- */
.launch .lfooter {
  background: var(--honu-green); color: var(--honu-offwhite);
  border-top: 0; padding-block: clamp(2rem, 4vw, 2.75rem);
}
.lfooter__inner { display: grid; gap: 1.25rem; align-items: center; }
.lfooter__logo img { width: 7rem; height: auto; }
.launch .lfooter a { color: var(--honu-offwhite); }
.launch .lfooter .site-footer__nav { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 2.5rem); list-style: none; padding: 0; margin: 0; }
.launch .lfooter .site-footer__nav a { font-size: .9375rem; }
.launch .lfooter .site-footer__small { color: var(--text-on-green); font-size: .8125rem; margin: 0; }
@media (min-width: 1024px) {
  .lfooter__inner { grid-template-columns: auto 1fr auto; column-gap: 4rem; }
  .lfooter__inner > nav { justify-self: center; }
}

/* Privacy page sits below the fixed header */
.launch .page-top { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)); }

@media (prefers-reduced-motion: reduce) {
  .launch .button:active { transform: none; }
}
