/* ============================================================
   Plumeria Hospitality Advisors
   Single-page marketing site — prototype
   ------------------------------------------------------------
   Section map:
   1. Design tokens (:root)
   2. Reset & base
   3. Typography
   4. Layout primitives
   5. Components (eyebrow, buttons, hairline, plumeria mark)
   6. Nav
   7. Hero
   8. About
   9. Services
   10. Credibility strip
   11. Contact
   12. Footer
   13. Motion / reveal
   14. Responsive
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Color — warm tropical luxury */
  --sand:        #F6F1E7;  /* base background */
  --cream:       #EFE7D7;  /* alt sections */
  --ink:         #2A2521;  /* primary text */
  --ink-soft:    #453E37;  /* secondary/body text — darkened for stronger contrast on the warm background */
  --palm:        #1E3A30;  /* grounding green */
  --palm-deep:   #14271F;  /* deeper green */
  --gold:        #AC8A3C;  /* deeper brushed gold — more presence on warm bg */
  --gold-light:  #DBB868;  /* light gold (brightened) */
  --white:       #FFFFFF;

  /* Translucent helpers */
  --gold-hair:   rgba(197, 160, 76, 0.48); /* hairline rules */
  --ink-hair:    rgba(42, 37, 33, 0.12);

  /* Type families */
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;       /* titles (industry-standard heading sans) */
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;             /* body */
  --font-nav:     'Montserrat', 'Helvetica Neue', Arial, sans-serif;       /* nav bar */

  /* Type scale (fluid, clamp from mobile -> desktop) */
  --fs-display: clamp(3rem, 6.8vw, 5.75rem);
  --fs-h2:      clamp(2.15rem, 4.2vw, 3.4rem);
  --fs-h3:      clamp(1.4rem, 2vw, 1.7rem);
  --fs-body:    clamp(1.1rem, 1.2vw, 1.25rem);
  --fs-small:   1.06rem;
  --fs-eyebrow: 0.8rem;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 10rem;

  /* Layout */
  --maxw:       1180px;
  --maxw-text:  680px;
  --gutter:     clamp(1.25rem, 5vw, 4rem);

  /* Misc */
  --radius:     2px;
  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-lux:   cubic-bezier(0.22, 1, 0.36, 1);   /* soft, controlled editorial easing */
  --transition: 0.5s var(--ease);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;   /* was 300 — a touch heavier so body copy reads clearly on the warm background */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;                 /* geometric sans headings need bold to anchor the page */
  line-height: 1.12;
  letter-spacing: -0.015em;         /* Montserrat is wide — slight tightening at display sizes */
  margin: 0;
}

h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 var(--space-sm); }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  /* One consistent vertical rhythm on every section — tightened for a leaner scroll */
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

/* Compact dark credibility strip that sits directly under the hero */
.brand-strip {
  position: relative;
  overflow: hidden;                                       /* keep foliage + track inside the band */
  padding-top: clamp(3.25rem, 6vw, 5.625rem);             /* ~90px desktop */
  padding-bottom: clamp(2.75rem, 5vw, 5rem);              /* ~80px desktop */
}
/* Decorative gold foliage anchored bottom-right, behind the content, non-interactive */
.brand-strip::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(160px, 20vw, 300px);
  height: clamp(160px, 20vw, 300px);
  background: url("assets/bg_fronds.png") right bottom / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.brand-strip .wrap { position: relative; z-index: 1; }    /* content above the foliage */

/* Right-aligned "see more" link that closes a section and points to a deeper page */
.section-cta {
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  text-align: center;
}

.section--cream { background: var(--cream); }
.section--palm  { background: var(--palm); color: var(--sand); }

.section-head {
  max-width: var(--maxw-text);
  margin-bottom: var(--space-lg);
}

/* Centered section header (used on the dark Experience band) */
.section-head--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

/* ---------- 5. COMPONENTS ---------- */

/* Eyebrow — letter-spaced uppercase small caps */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);   /* Fraunces — elegant editorial label */
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;             /* slightly tighter — serif caps read looser */
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.section--palm .eyebrow { color: var(--gold-light); }

/* Hairline rule */
.hairline {
  border: 0;
  height: 1px;
  background: var(--gold-hair);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.btn--primary {
  background: var(--palm);
  color: var(--sand);
  border: 1px solid var(--palm);
}
.btn--primary:hover {
  background: var(--palm-deep);
  border-color: var(--palm-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 39, 31, 0.22);
}

/* Arrow that nudges on hover (BCG-style CTA) */
.btn__arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--ease);
}
.btn__arrow svg {                 /* monochrome SVG arrow — renders identically everywhere, no emoji */
  width: 0.95em;
  height: 0.95em;
  display: block;
}
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translate(4px, -4px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(172, 138, 60, 0.45);   /* softer, less corporate hairline */
}
.btn--ghost:hover { background: var(--gold); color: var(--sand); border-color: var(--gold); }

.section--palm .btn--ghost { color: var(--sand); border-color: var(--gold-light); }
.section--palm .btn--ghost:hover { background: var(--gold-light); color: var(--palm-deep); }

/* Light-filled button — the primary conversion CTA on dark green panels.
   Built like .btn--primary (flat solid fill + matching border + contrasting
   text), just inverted for a dark background. No gradient, no inset highlight. */
.btn--light {
  background: var(--cream);
  color: var(--palm-deep);
  border: 1px solid var(--cream);
}
.btn--light:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--palm-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

/* Plumeria mark sizing */
.mark { width: 44px; height: 44px; }
.mark--lg { width: 92px; height: 92px; }
img.mark { object-fit: contain; }   /* PNG logo marks keep aspect within .mark sizes */

/* Divider with centered plumeria mark */
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: 0 auto;
  max-width: 340px;
  opacity: 0.8;
}
.divider .hairline { flex: 1; }
.divider .mark { width: 30px; height: 30px; flex: none; }

/* ---------- 6. NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem var(--gutter);
  background: var(--white);                    /* distinct white header strip, present on load */
  border-bottom: 1px solid var(--gold-hair);
  transition: box-shadow var(--transition), padding var(--transition);
}
.nav.is-scrolled {
  box-shadow: 0 6px 20px rgba(42, 37, 33, 0.06);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__brand .mark { width: 34px; height: 34px; }
.nav__brand-logo { width: 44px; height: 44px; object-fit: contain; }
.nav__brand-name {
  font-family: var(--font-nav);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

/* Inline links centered in the middle of the bar; brand left, CTA right */
.nav__links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-nav);
  font-size: 0.98rem;              /* a touch larger so the links don't get lost against the hero */
  font-weight: 500;
  letter-spacing: 0.03em;
}
.nav__links a { position: relative; color: var(--ink); padding-bottom: 3px; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { width: 100%; }

.nav__cta-btn {
  padding: 12px 26px;
  font-size: 0.78rem;
  background: var(--palm);            /* solid green — same family as the hero CTA */
  color: var(--sand);
  border: 1px solid var(--palm);
}
.nav__cta-btn:hover { background: var(--palm-deep); color: var(--sand); border-color: var(--palm-deep); }
.nav__cta { display: inline-flex; padding: 18px 40px; }   /* legacy */

/* ---------- 6b. HAMBURGER TOGGLE ---------- */
.nav__toggle {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin: -10px;            /* larger hit area without affecting layout */
  display: none;            /* desktop uses inline links; hamburger shows on mobile */
  align-items: center;
  justify-content: center;
}
.nav__toggle-box {
  position: relative;
  display: block;
  width: 30px;
  height: 15px;
}
.nav__toggle-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__toggle-line:nth-child(1) { top: 0; }
.nav__toggle-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__toggle-line:nth-child(3) { bottom: 0; }
.nav__toggle:hover .nav__toggle-line { background: var(--gold); }

/* Open state: lines become an X (top/bottom rotate, middle fades) */
body.menu-open .nav__toggle-line:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
body.menu-open .nav__toggle-line:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle-line:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }
body.menu-open .nav__toggle-line { background: var(--sand); }

/* When the overlay is open, let the palm panel show through behind the bar */
body.menu-open .nav,
body.menu-open .nav.is-scrolled {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
body.menu-open .nav__brand-name { color: var(--sand); }
body.menu-open .nav__brand { color: var(--sand); }
body.menu-open .nav__brand-logo { filter: brightness(0) invert(1); }   /* black mark → light on the palm overlay */

/* ---------- 6c. OVERLAY MENU ---------- */
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 90;             /* below the nav bar (100) so the toggle stays clickable */
  background: var(--palm);
  display: flex;
  align-items: center;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  /* On close: keep visible through the fade, then flip hidden at the end */
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  /* On open: become focusable immediately */
  transition: opacity 0.4s var(--ease), visibility 0s;
}

.nav-menu__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 7rem var(--gutter) 3rem;
}

.nav-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu__list li {
  border-top: 1px solid var(--gold-hair);
  /* stagger entrance */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.nav-menu__list li:last-child { border-bottom: 1px solid var(--gold-hair); }
.nav-menu.is-open .nav-menu__list li { opacity: 1; transform: none; }
.nav-menu.is-open .nav-menu__list li:nth-child(1) { transition-delay: 0.08s; }
.nav-menu.is-open .nav-menu__list li:nth-child(2) { transition-delay: 0.16s; }
.nav-menu.is-open .nav-menu__list li:nth-child(3) { transition-delay: 0.24s; }
.nav-menu.is-open .nav-menu__list li:nth-child(4) { transition-delay: 0.32s; }

.nav-menu__list a {
  display: block;
  padding: clamp(0.8rem, 2.2vw, 1.4rem) 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--sand);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.nav-menu__list a:hover,
.nav-menu__list a:focus-visible { color: var(--gold-light); padding-left: 0.35em; }

.nav-menu__foot {
  margin-top: var(--space-lg);
  /* stagger in last */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease) 0.4s, transform 0.5s var(--ease) 0.4s;
}
.nav-menu.is-open .nav-menu__foot { opacity: 1; transform: none; }
.nav-menu__foot .divider { display: flex; max-width: none; margin-bottom: var(--space-lg); opacity: 0.7; }

.nav-menu__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 16px 36px;
  background: var(--gold);
  color: var(--palm-deep);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-menu__cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.nav-menu__cta:hover .btn__arrow { transform: translate(4px, -4px); }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;                                    /* fill the full first screen */
  display: flex;
  align-items: center;
  padding-top: calc(76px + clamp(0.75rem, 2vw, 1.75rem));  /* clear the fixed nav; sit content higher for balance */
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
  background:
    radial-gradient(115% 85% at 32% 38%, rgba(255, 255, 255, 0.55), transparent 62%),   /* soft light lift in the open center */
    linear-gradient(160deg, var(--sand) 0%, var(--cream) 100%);
  overflow: hidden;
}
/* Right-side scene: a single photo treated cinematically — light drifts, it breathes,
   and it dissolves into the cream on its left edge. Layers stack inside one masked box. */
.hero__scene {
  position: absolute;
  /* vertical overscan (clipped by the hero) so parallax never reveals a seam above or below */
  top: -24px;
  bottom: -24px;
  right: 0;
  width: 56%;
  overflow: hidden;
  isolation: isolate;                 /* keep blend-mode layers to themselves */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 54%);
          mask-image: linear-gradient(to right, transparent 0%, #000 54%);
  pointer-events: none;
  transform: translate3d(var(--par-x, 0px), var(--par-y, 0px), 0);   /* subtle cursor/scroll parallax */
  will-change: transform;
}
/* The photograph — very slow Ken-Burns zoom + drift (no hard loop; ease alternates) */
.hero__photo {
  position: absolute;
  inset: -3%;                         /* oversized so the zoom/drift never reveals an edge */
  background-image: url('assets/hero_minimalist_web.jpg');
  background-size: cover;
  background-position: 46% 40%;
  transform-origin: 62% 46%;
  animation: heroKen 30s var(--ease) infinite alternate;
  will-change: transform;
}
/* Soft blurred golden shaft drifting right → left; fades at both ends so the loop is invisible */
.hero__sun {
  position: absolute;
  top: -25%;
  left: -20%;
  width: 90%;
  height: 150%;
  background: linear-gradient(100deg,
              transparent 0%,
              rgba(255, 224, 158, 0) 34%,
              rgba(255, 221, 150, 0.55) 50%,
              rgba(255, 224, 158, 0) 66%,
              transparent 100%);
  filter: blur(42px);
  mix-blend-mode: soft-light;
  opacity: 0;
  transform: translateX(28%) skewX(-6deg);
  animation: heroSun 16s ease-in-out infinite;
  will-change: transform, opacity;
}
/* Barely-there brightness bloom over the flower */
.hero__bloom {
  position: absolute;
  right: 6%;
  top: 40%;
  width: 44%;
  height: 34%;
  background: radial-gradient(ellipse at center, rgba(255, 242, 210, 0.6), transparent 70%);
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: 0.02;
  animation: heroBloom 12s ease-in-out infinite alternate;
  will-change: opacity;
}
@keyframes heroKen {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.022) translateX(-6px); }
}
@keyframes heroSun {
  0%   { transform: translateX(28%) skewX(-6deg);  opacity: 0; }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.7; }
  100% { transform: translateX(-34%) skewX(-6deg); opacity: 0; }
}
@keyframes heroBloom {
  from { opacity: 0.02; }
  to   { opacity: 0.10; }
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;        /* wider than the section grid so the text sits closer to the left edge */
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__content { max-width: 760px; }   /* wide enough for the composed three-line headline (longest line ~715px) */
.hero h1 {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
  line-height: 1.15;
}
.hero h1 em { font-style: normal; color: inherit; }   /* headline reads all one ink tone */
.hero h1 .hl { display: block; }                       /* one composed line each on desktop */
.hero__rule {
  display: block;
  width: 96px;
  height: 2px;
  background: var(--gold);
  margin: clamp(0.95rem, 1.7vw, 1.3rem) 0;   /* tighter break: headline + rule + lead read as one unit */
}
.hero__cta-btn {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  padding-block: 21px;               /* a touch taller for presence */
  position: relative;
  overflow: hidden;                  /* clip the sheen sweep */
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.35s var(--ease-lux),
              box-shadow 0.35s var(--ease-lux);
}
/* One-time gold sheen that passes across on hover (resets instantly, never loops) */
.hero__cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -125%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 240, 205, 0.5), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.hero__cta-btn:hover {
  background: #27493b;                /* lightens slightly (vs the base darken-on-hover) */
  border-color: #27493b;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 39, 31, 0.28);
}
.hero__cta-btn:hover::after { left: 145%; transition: left 0.85s var(--ease-lux); }
.hero__cta-btn .btn__arrow { transition: transform 0.35s var(--ease-lux); }
.hero__cta-btn:hover .btn__arrow { transform: translate(3px, -3px); }
.hero__cta-note {
  margin: 1rem 0 0;
  max-width: 500px;
  font-family: var(--font-body);
  font-size: 0.95rem;                /* readable supporting line, not fine print */
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  text-wrap: balance;                /* even two lines — no lone "property." orphan */
}
.hero .lead {
  max-width: 560px;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
}
/* Stats at the foot of the hero — editorial, no card: faint dividers only */
.hero__stats {
  margin-top: clamp(1rem, 1.8vw, 1.35rem);   /* ~10-15px closer to the CTA note — one conversion unit */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));   /* truly equal columns — no cell widens to fit content */
  max-width: 700px;
}
.hstat {
  position: relative;
  text-align: center;                                  /* center each stat within its equal column */
  padding: clamp(1.35rem, 2.2vw, 1.9rem) clamp(1.1rem, 1.6vw, 1.5rem);
}
/* Short, vertically-centered hairline — softer than a full-height rule (less "spreadsheet") */
.hstat + .hstat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: clamp(48px, 5.2vw, 64px);
  background: rgba(197, 160, 76, 0.32);
}
.hstat__icon { width: 22px; height: 22px; color: var(--gold); opacity: 0.6; margin: 0 auto 0.7rem; display: block; }
.hstat__num { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1; color: var(--gold); }
.hstat__label { margin-top: 0.55rem; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink); line-height: 1.35; }

/* ---------- HERO ENTRANCE (JS-gated via .js; instant + static without JS or with reduced motion) ---------- */
/* 1. Background fades in */
.js .hero__scene { opacity: 0; }
.hero.is-entered .hero__scene { opacity: 1; transition: opacity 0.9s ease; }

/* 2. Headline — each line rises from behind a vertical clip-mask, staggered ~120ms */
.js .hero h1 .hl {
  clip-path: inset(0 0 100% 0);
  transform: translateY(0.4em);
  opacity: 0;
  will-change: clip-path, transform;
}
.hero.is-entered h1 .hl {
  clip-path: inset(0 0 -8% 0);
  transform: none;
  opacity: 1;
  transition: clip-path 0.72s var(--ease-lux), transform 0.72s var(--ease-lux), opacity 0.72s var(--ease-lux);
}
.hero.is-entered h1 .hl:nth-child(1) { transition-delay: 0.50s; }
.hero.is-entered h1 .hl:nth-child(2) { transition-delay: 0.62s; }
.hero.is-entered h1 .hl:nth-child(3) { transition-delay: 0.74s; }

/* 3. Gold divider draws left → right */
.js .hero__rule { transform: scaleX(0); transform-origin: left center; opacity: 0; }
.hero.is-entered .hero__rule {
  transform: scaleX(1);
  opacity: 1;
  transition: transform 0.7s var(--ease-lux) 0.9s, opacity 0.3s ease 0.9s;
}

/* 4. Paragraph rises ~10px */
.js .hero .lead { opacity: 0; transform: translateY(10px); }
.hero.is-entered .lead {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease-lux) 1.02s, transform 0.7s var(--ease-lux) 1.02s;
}

/* 5. CTA + supporting note fade in (keyframe, not transition, so the hover transition stays intact) */
.js .hero__cta-btn,
.js .hero__cta-note { opacity: 0; }
.hero.is-entered .hero__cta-btn  { animation: heroFadeIn 0.6s var(--ease-lux) 1.16s forwards; }
.hero.is-entered .hero__cta-note { animation: heroFadeIn 0.6s var(--ease-lux) 1.30s forwards; }
@keyframes heroFadeIn { to { opacity: 1; } }

/* 6. Statistics appear last, staggered left → right */
.js .hstat { opacity: 0; transform: translateY(10px); }
.hero.is-entered .hstat {
  opacity: 1; transform: none;
  transition: opacity 0.55s var(--ease-lux), transform 0.55s var(--ease-lux);
}
.hero.is-entered .hstat:nth-child(1) { transition-delay: 1.30s; }
.hero.is-entered .hstat:nth-child(2) { transition-delay: 1.40s; }
.hero.is-entered .hstat:nth-child(3) { transition-delay: 1.50s; }
.hero.is-entered .hstat:nth-child(4) { transition-delay: 1.60s; }

/* Nav plumeria mark — one-time fade + scale on load (works on every page, no JS needed) */
.nav__brand-logo { animation: logoIn 0.9s var(--ease-lux) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }

/* Reduced motion: no cinematic motion; everything shown immediately and statically */
@media (prefers-reduced-motion: reduce) {
  .hero__photo { animation: none; }
  .hero__sun,
  .hero__bloom { display: none; }
  .js .hero__scene,
  .js .hero h1 .hl,
  .js .hero__rule,
  .js .hero .lead,
  .js .hero__cta-btn,
  .js .hero__cta-note,
  .js .hstat {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
  }
  .nav__brand-logo { animation: none !important; }
}

/* ---------- 8. ABOUT ---------- */
/* Slender gold vine down the empty left edge (desktop only) */
.about { position: relative; overflow: hidden; }
.about::before {
  content: "";
  display: none;
  position: absolute;
  left: clamp(-20px, -1vw, 8px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(72px, 7vw, 96px);
  aspect-ratio: 97 / 1000;
  background: url('assets/bg_vine.png') no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
}
@media (min-width: 1000px) { .about::before { display: block; } }
.about .wrap { position: relative; z-index: 1; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;   /* larger headshot, balanced against the condensed text + signature */
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__photo {
  aspect-ratio: 4 / 5;
  background: var(--cream);
  border: 1px solid var(--gold-hair);
  border-radius: var(--radius);   /* 2px — same corner language as buttons */
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}
.about__photo:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(42, 37, 33, 0.12); }
.about__photo span { opacity: 0.6; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.about h2 { margin-bottom: var(--space-md); }   /* separate the headline from the body */
.about p { color: var(--ink-soft); }
.about p strong { color: var(--ink); font-weight: 500; }
/* Founder signature — script name over a small uppercase caption */
.about__sign { margin-top: var(--space-md); }
.about__signature {
  display: block;
  font-family: 'Caveat', var(--font-display), cursive;
  font-size: clamp(2.5rem, 4.1vw, 3.45rem);   /* ~13% smaller — a finishing detail, not a focal point */
  font-weight: 600;
  line-height: 0.9;
  color: var(--ink);
}
.about__sign-cap {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- 9. SERVICES ---------- */
/* Faint gold wreath bleeding off the right edge behind the cards */
.services { position: relative; overflow: hidden; }
.services::before {
  content: "";
  position: absolute;
  right: clamp(-260px, -14vw, -140px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(420px, 46vw, 680px);
  aspect-ratio: 900 / 832;
  background: url('assets/bg_wreath.png') no-repeat center / contain;
  opacity: 0.13;
  pointer-events: none;
}
.services .wrap { position: relative; z-index: 1; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
/* Each pillar is its own card with a matching 4:5 image on top — consistent
   treatment across all three so they read as a complementary set, not a sequence */
.service {
  display: flex;
  flex-direction: column;
  background: var(--sand);
  border: 1px solid var(--gold-hair);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(42, 37, 33, 0.10);
}
.service__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
/* Image is taller than its frame so it can drift on scroll (parallax) without
   ever exposing an edge. JS sets translateY; base is -10% (vertically centered). */
.service__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  display: block;
  transform: translateY(-10%);
  will-change: transform;
}
.service__body {
  flex: 1;
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
}
.service__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.service h3 { margin-bottom: 0.6rem; min-height: 2.16em; }  /* reserve 2 lines so sub-service lists start on the same row across all cards */
.service p { color: var(--ink-soft); font-size: var(--fs-small); margin: 0; }
.service__list { list-style: none; margin: 0; padding: 0; }
.service__list li {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--gold-hair);
}
.service__list li:last-child { border-bottom: 0; padding-bottom: 0; }

.placeholder-note {
  margin-top: var(--space-md);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-style: italic;
  opacity: 0.8;
}

/* ---------- HOW I WORK (steps) ---------- */
/* Faint wreath watermark drifting off the right edge (tablet/desktop) */
.approach { position: relative; overflow: hidden; }
.approach::before {
  content: "";
  display: none;
  position: absolute;
  right: clamp(-150px, -8vw, -60px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 30vw, 460px);
  aspect-ratio: 900 / 832;
  background: url('assets/bg_wreath.png') no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
}
@media (min-width: 768px) { .approach::before { display: block; } }
.approach .wrap { position: relative; z-index: 1; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
/* Each step is a card with a faint themed line-art watermark behind the content */
.step {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--cream);
  border: 1px solid var(--gold-hair);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(42, 37, 33, 0.10);
}
.step__art {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: clamp(96px, 12vw, 132px);
  height: clamp(96px, 12vw, 132px);
  color: var(--gold);
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}
.step__art svg { width: 100%; height: 100%; display: block; }
.step__num,
.step h3,
.step p { position: relative; z-index: 1; }
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--gold-hair);
}
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--ink-soft); font-size: var(--fs-small); margin: 0; }

/* ---------- 10. CREDIBILITY STRIP ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--gold-light);
}
.stat__label {
  margin-top: var(--space-xs);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: 0.85;
}
/* Prominent 4-across stats band (under the hero) */
.stats--four { grid-template-columns: repeat(4, 1fr); }
.stats__descriptors {
  margin-top: var(--space-lg);
  text-align: center;
}
.stats__descriptor {
  margin: 0.35rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.9;
}

/* Gold palm fronds ghosted on the dark Experience band */
#experience { position: relative; overflow: hidden; }
#experience::before {
  content: "";
  position: absolute;
  right: clamp(-90px, -5vw, -50px);
  top: -50px;
  width: clamp(300px, 32vw, 520px);
  aspect-ratio: 940 / 1000;
  background: url('assets/bg_fronds.png') no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
}
#experience .wrap { position: relative; z-index: 1; }

/* ---------- BRANDS CAROUSEL ----------
   Heading → seamless logo marquee → supporting line, all centered and compact.
   Every logo uses the SAME standardized 2400×900 transparent canvas, so all slots
   share one width/height and object-fit:contain — no per-logo sizing. */
.brands {
  margin: 0 auto;
  max-width: 1400px;
  text-align: center;
}
.brands__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.85;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);   /* heading → carousel */
}
/* Marquee viewport: clips the track and softly fades both edges so logos read as
   entering / leaving rather than hard-clipped. */
.brands__marquee {
  overflow: hidden;
  max-width: 1200px;
  margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
/* The track holds the full logo sequence TWICE. Each slot is a fixed module
   (fixed width + fixed right margin), so the width of one sequence is exactly half
   the track — translateX(-50%) lands seam-to-start with identical spacing, no jump. */
.brands__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: brands-scroll 30s linear infinite;
}
.brands__marquee:hover .brands__row { animation-play-state: paused; }
.brands__slot {
  flex: 0 0 260px;                 /* equal-width slot */
  margin-right: 60px;              /* equal gap on EVERY slot, incl. the loop seam */
  display: flex;
  align-items: center;             /* center PNG vertically */
  justify-content: center;         /* center PNG horizontally */
}
@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brands__row img {
  width: 100%;
  height: 120px;
  object-fit: contain;             /* fit the standardized artwork, never crop/stretch */
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.brands__row img:hover { opacity: 1; transform: translateY(-2px); }
/* Caption under the brand logos — labels independents as an intentional line, not a logo */
.brands__note {
  margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0;   /* carousel → supporting line */
  max-width: 640px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--gold-light);
  opacity: 0.85;
}
/* (Reduced-motion fallback for the marquee lives in the global reduced-motion block.) */

/* ---------- SHOP (homepage commerce band) ---------- */
/* Symmetric gold garland beneath the shop copy — ties it into the botanical language */
.shop { position: relative; overflow: hidden; }
.shop::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(0.5rem, 1.8vw, 1.5rem);
  transform: translateX(-50%);
  width: clamp(320px, 46vw, 600px);
  aspect-ratio: 1100 / 134;
  background: url('assets/bg_garland.png') no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
}
.shop .wrap { position: relative; z-index: 1; }

/* ---------- 11. CONTACT ---------- */
/* Subtle gold botanical flourish anchored in the corner — texture, not decoration */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  left: clamp(-80px, -5vw, -40px);
  bottom: -70px;
  width: clamp(320px, 38vw, 560px);
  aspect-ratio: 1000 / 990;
  background: url('assets/bg_flourish.png') no-repeat center / contain;
  opacity: 0.22;   /* gold on cream needs far more presence than gold on dark green */
  pointer-events: none;
}
.contact .wrap { position: relative; z-index: 1; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.contact__detail { margin-bottom: var(--space-md); }
.contact__detail .eyebrow { margin-bottom: 0.4rem; display: block; }
.contact__detail a, .contact__detail p { font-size: 1.15rem; color: var(--ink); margin: 0; }
.contact__detail a { position: relative; display: inline-block; }
.contact__detail a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.contact__detail a:hover { color: var(--gold); }
.contact__detail a:hover::after,
.contact__detail a:focus-visible::after { width: 100%; }

/* ---------- 12. FOOTER ---------- */
/* ---------- CLOSING CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--palm);
  color: var(--sand);
  text-align: center;
  padding-top: clamp(3.25rem, 6vw, 5rem);
  padding-bottom: clamp(4.75rem, 8vw, 7rem);      /* extra breathing room above the footer */
}
.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-inline: auto;
}
.cta .eyebrow { color: var(--gold-light); }
.cta__title {
  margin: 0.35rem auto 0;
  max-width: 720px;
  color: #F5F0E5;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.16;
}
.cta-br { display: inline; }
.cta__text {
  margin: var(--space-md) auto 0;
  max-width: 640px;
  color: rgba(245, 240, 229, 0.78);   /* warm cream, readable on green */
  font-size: 1.12rem;
  line-height: 1.62;
  text-wrap: balance;                 /* resolve into an even two-line block */
}
.cta__actions { margin-top: clamp(1.6rem, 3vw, 2.3rem); }
.cta .btn { padding: 18px 34px; }     /* let the label set the width — refined, not a banner */

/* Faint warm radial light behind the content */
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 44%;
  width: 820px; height: 620px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(219, 184, 104, 0.15), transparent 68%);
  pointer-events: none;
  z-index: 1;
}
/* Oversized plumeria outline behind the headline — engraved, not pasted */
.cta__mark {
  position: absolute;
  left: 54%; top: 25%;                 /* nudged up and off-centre so it never sits behind the copy */
  width: clamp(240px, 30vw, 400px);
  transform: translate(-50%, -50%);
  opacity: 0.025;                      /* nearly erased */
  z-index: 1;
  pointer-events: none;
}
/* Asymmetric botanical framing: small stem upper-left, large flourish lower-right */
.cta__flourish,
.cta__petal {
  position: absolute;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.cta__flourish {
  right: -40px; bottom: -34px;         /* pushed further past the edge so it frames, not dominates */
  width: clamp(175px, 23vw, 325px);
  height: clamp(175px, 23vw, 325px);
  background-image: url("assets/bg_fronds.png");
  background-position: right bottom;
  background-size: contain;
  opacity: 0.15;
}
.cta__petal {
  left: 1.5%; top: 5%;                  /* fully-visible drifting petals, not a cropped fragment */
  width: clamp(130px, 16vw, 210px);
  height: clamp(130px, 16vw, 210px);
  background-image: url("assets/bg_petals.png");
  background-position: left top;
  background-size: contain;
  opacity: 0.12;
}
/* Tighten the cream space immediately above the closing CTA */
.section:has(+ .cta) { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
@media (max-width: 480px) { .cta-br { display: none; } }

/* ---------- FOOTER (deeper green, structured columns) ---------- */
.footer {
  background: #0E1C15;                        /* deeper than the CTA green for a clear sectional break */
  color: var(--sand);
  border-top: 1px solid var(--gold-hair);     /* gold divider separating the CTA from the footer */
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1.1fr;
  align-items: start;
  gap: clamp(1.75rem, 3vw, 3rem);
  padding-block: clamp(2.75rem, 4vw, 3.75rem);
}
.footer__brand { display: flex; align-items: flex-start; gap: 1rem; text-align: left; }
.footer__logo { width: auto; height: 56px; flex-shrink: 0; }
.footer__name { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; }
.footer__meta { font-size: var(--fs-small); color: rgba(246, 241, 231, 0.72); margin-top: 0.4rem; line-height: 1.6; }
.footer__heading {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.95rem;
}
.footer__nav,
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.footer__nav a,
.footer__contact a {
  color: rgba(246, 241, 231, 0.74);          /* warm cream, readable secondary */
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--gold-light); }
.footer__contact a {                          /* contact links read as clickable */
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(219, 184, 104, 0.4);
  text-decoration-thickness: 1px;
}
.footer__contact a:hover { text-decoration-color: var(--gold-light); }
/* Gold social icons */
.footer__social { display: flex; gap: 0.85rem; margin-top: 1rem; }
.footer__social-link { display: inline-flex; }
.footer__social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social-link:hover img { opacity: 1; transform: translateY(-2px); }
.footer__bottom { border-top: 1px solid rgba(246, 241, 231, 0.12); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(246, 241, 231, 0.6);
}
.footer__bottom-inner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom-inner a:hover { color: var(--gold-light); }

/* ---------- Legal page (privacy) ---------- */
.legal { max-width: var(--maxw-text); }
.legal h1 { font-size: var(--fs-h2); }
.legal h2 { font-size: var(--fs-h3); margin-top: var(--space-lg); margin-bottom: var(--space-xs); }
.legal p { color: var(--ink-soft); }
.legal__updated { font-size: var(--fs-small); opacity: 0.7; margin-bottom: var(--space-lg); }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 12b. SUBPAGE (contact / form page) ---------- */
.subpage { padding-top: 80px; }              /* clear the fixed nav */
.subpage .section { padding-top: clamp(2rem, 4vw, 3.25rem); }  /* pull the contact form up — nav clearance already handled above */
.subpage h1 { font-size: var(--fs-h2); }     /* sized like a section heading, not the hero */
.form-embed {
  margin-top: var(--space-lg);
  min-height: 440px;
  border: 1px solid var(--gold-hair);
  border-radius: var(--radius);
  background: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-lg);
}
.form-embed__note {
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.6;
}

/* Contact form page decor: climbing vine along the right edge, garland sign-off below the form */
.contact-art { position: relative; overflow: hidden; }
.contact-art::before {
  content: "";
  display: none;
  position: absolute;
  right: clamp(20px, 4vw, 90px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(90px, 9vw, 140px);
  aspect-ratio: 97 / 1000;
  background: url('assets/bg_vine.png') no-repeat center / contain;
  opacity: 0.22;
  pointer-events: none;
}
@media (min-width: 1100px) { .contact-art::before { display: block; } }
.contact-art::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: clamp(280px, 42vw, 480px);
  aspect-ratio: 1100 / 134;
  background: url('assets/bg_garland.png') no-repeat center / contain;
  opacity: 0.28;
  pointer-events: none;
}
.contact-art .wrap { position: relative; z-index: 1; }

/* ---------- CONTACT FORM (Netlify) ---------- */
.contact-form { margin-top: var(--space-lg); max-width: 760px; }
.contact-form__hp { display: none; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.field { margin-bottom: var(--space-md); display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.field__opt { color: var(--ink-soft); font-style: italic; font-weight: 400; letter-spacing: 0; }
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gold-hair);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-soft); opacity: 0.55; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(172, 138, 60, 0.15);
}
.field textarea { resize: vertical; min-height: 150px; }
.contact-form .btn { margin-top: var(--space-xs); }

@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- 13. MOTION / REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* Focus states — quality floor */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- SERVICES: text-only 4-up ---------- */
.services__grid--2 { grid-template-columns: repeat(2, 1fr); }
.service--text .service__body { padding-top: clamp(1.8rem, 2.8vw, 2.4rem); }

/* ---------- WHO I SERVE ---------- */
/* Symmetric gold garland as a soft accent beneath the cards */
.serve { position: relative; overflow: hidden; }
.serve::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(0.5rem, 1.8vw, 1.5rem);
  transform: translateX(-50%);
  width: clamp(340px, 52vw, 700px);
  aspect-ratio: 1100 / 134;
  background: url('assets/bg_garland.png') no-repeat center / contain;
  opacity: 0.20;
  pointer-events: none;
}
.serve .wrap { position: relative; z-index: 1; }

.serve__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.serve__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(1.2rem, 2vw, 1.6rem) clamp(1.3rem, 2vw, 1.8rem);
  background: var(--white);
  border: 1px solid var(--gold-hair);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.serve__item::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.serve__item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(42, 37, 33, 0.08); }

/* ---------- CASE STUDIES ---------- */
.cases {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 900px;
}
.case {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.2rem, 2.4vw, 1.8rem) 0;
  border-bottom: 1px solid var(--gold-hair);
}
.case:first-child { border-top: 1px solid var(--gold-hair); }
.case__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
  min-width: 2ch;
}
.case__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink);
}

/* Vertical plumeria stem in the Case Studies section's empty right margin (desktop only) */
.cases-section { position: relative; overflow: hidden; }
.cases-section::before {
  content: "";
  display: none;
  position: absolute;
  right: clamp(10px, 3vw, 70px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 421 / 900;
  background: url('assets/bg_stem.png') no-repeat center / contain;
  opacity: 0.24;
  pointer-events: none;
}
/* Corner flourish anchored top-left to balance the stem */
.cases-section::after {
  content: "";
  display: none;
  position: absolute;
  left: clamp(-90px, -5vw, -40px);
  top: clamp(-80px, -4vw, -30px);
  width: clamp(220px, 26vw, 380px);
  aspect-ratio: 1000 / 990;
  background: url('assets/bg_flourish.png') no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
}
@media (min-width: 900px) { .cases-section::before, .cases-section::after { display: block; } }
.cases-section .wrap { position: relative; z-index: 1; }

/* Drifting petals on the thank-you page */
.section--drift { position: relative; overflow: hidden; }
.section--drift::after {
  content: "";
  position: absolute;
  right: clamp(-40px, -2vw, -10px);
  bottom: -40px;
  width: clamp(260px, 34vw, 460px);
  aspect-ratio: 897 / 900;
  background: url('assets/bg_petals.png') no-repeat center / contain;
  opacity: 0.22;
  pointer-events: none;
}
.section--drift .wrap { position: relative; z-index: 1; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  position: relative;
  background-image:
    linear-gradient(rgba(20, 39, 31, 0.80), rgba(20, 39, 31, 0.88)),
    url("assets/hero_reduced.webp");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.testimonials .eyebrow { color: var(--gold-light); }
.testimonials .section-head h1,
.testimonials .section-head h2 { color: var(--sand); }
.testimonials .section-head .lead { color: rgba(246, 241, 231, 0.82); }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.quote {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0;
  padding: clamp(1.8rem, 2.8vw, 2.6rem) clamp(1.5rem, 2.2vw, 2.1rem) clamp(1.6rem, 2.4vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--gold-hair);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(10, 20, 15, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: 0 24px 52px rgba(10, 20, 15, 0.38); }
.quote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}
.quote blockquote {
  flex: 1;
  margin: 0 0 var(--space-md);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
/* Multi-paragraph quotes: keep paragraph rhythm, no stray margin after the last */
.quote blockquote p { margin: 0 0 0.85em; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote__cite {
  margin-top: auto;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--gold-hair);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-style: normal;
}
.quote__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
/* Reserve three lines for the role so every citation block is the same height —
   keeps the dividers and names aligned across cards regardless of title length
   (the longest role, Jake Griffith's, wraps to three lines at 3-up widths) */
.quote__role {
  display: block;
  line-height: 1.35;
  min-height: 4.05em;
}

/* "View more testimonials" link — light treatment for the dark photo panel */
.testimonials__more { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); text-align: center; }
.testimonials .btn--ghost { color: var(--sand); border-color: var(--gold-light); }
.testimonials .btn--ghost:hover { background: var(--gold-light); color: var(--palm-deep); border-color: var(--gold-light); }

/* ---------- DEDICATED TESTIMONIALS PAGE (testimonials.html) ----------
   Editorial stack rather than a grid of equal boxes: quote lengths here vary by
   60%+, so a 2-up grid row-locks a short quote to a tall one and leaves dead
   space. Each testimonial gets its own full-width row that sizes to its content,
   with the attribution in a left column behind a gold hairline. */
.quotes--page {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin-inline: auto;
}
@media (min-width: 821px) {
  .quotes--page .quote {
    display: grid;
    grid-template-columns: 225px 1fr;   /* attribution | quote */
    grid-template-rows: auto 1fr;
    column-gap: clamp(1.75rem, 3.2vw, 2.75rem);
    text-align: left;
    padding: clamp(2rem, 3.2vw, 2.9rem) clamp(1.9rem, 3vw, 2.6rem);
  }
  /* Gold glyph sits above the quote, in the quote column */
  .quotes--page .quote::before {
    grid-column: 2;
    grid-row: 1;
    font-size: 3rem;
    margin-bottom: 0.15rem;
  }
  .quotes--page .quote blockquote {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    max-width: 64ch;              /* comfortable line length */
    font-size: 1.04rem;
    line-height: 1.75;
  }
  /* Attribution becomes a left sidebar with a vertical hairline, not a footer rule */
  .quotes--page .quote__cite {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    margin: 0;
    padding: 0.35rem clamp(1.25rem, 2.2vw, 1.75rem) 0 0;
    border-top: none;
    border-right: 1px solid var(--gold-hair);
    min-height: 100%;
    text-align: left;
  }
  /* The credential is the social proof here — give the name and title real presence */
  .quotes--page .quote__cite { font-size: 0.9rem; }
  .quotes--page .quote__name { font-size: 1.2rem; margin-bottom: 0.5rem; }
  /* Roles fit on one or two lines at this width — drop the 3-line reservation
     that keeps the narrow homepage cards aligned */
  .quotes--page .quote__role { min-height: 0; }
}

/* ---------- 14. RESPONSIVE ---------- */
/* Mid widths: brand name + centered links collide, and the image crowds the headline */
/* The full wordmark crowds the centred links on narrower desktops — logo-only below ~1080px */
@media (max-width: 1080px) and (min-width: 821px) {
  .nav__brand-name { display: none; }
}
@media (max-width: 1180px) and (min-width: 821px) {
  .hero__content { max-width: 680px; }       /* keep the three composed lines while staying off the image */
  .hero__scene {
    width: 46%;
    -webkit-mask-image: linear-gradient(to right, transparent 25%, #000 80%);
            mask-image: linear-gradient(to right, transparent 25%, #000 80%);
  }
  .hero__photo { opacity: 0.72; }          /* dim just the photo so text stays readable */
}

/* Nav → hamburger early enough that the five inline links never crowd the CTA */
@media (max-width: 940px) {
  .nav__links { display: none; }           /* hide inline links */
  .nav__cta-btn { display: none; }         /* hide desktop CTA */
  .nav__toggle { display: inline-flex; }   /* show hamburger */
}
@media (max-width: 820px) {
  .hero__scene { width: 42%; }
  .hero__photo { opacity: 0.55; }
  .hero__stats { max-width: 100%; }
  .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 2rem; }
  .footer__brand { flex-direction: column; align-items: center; text-align: center; gap: 0.6rem; }
  .footer__nav, .footer__contact { align-items: center; }
  .footer__social { justify-content: center; }
  .footer__bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 360px; }
  .services__grid { grid-template-columns: 1fr; }
  .services__grid--2 { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .stats--four { grid-template-columns: repeat(2, 1fr); }
  .serve__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  /* Hero goes full-width on tablet/mobile; relax the headline measure */
  .hero__content { max-width: 100%; }
  .hero h1 { max-width: 18ch; }
  /* .hl MUST stay a block here. As `display: inline` these spans wrap into
     multiple line fragments, and clip-path on a multi-line inline box clips
     every fragment after the first — which silently hid most of the headline
     on phones (transform is also ignored on inline boxes). Block keeps the
     line-by-line reveal working and breaks the headline at phrase boundaries. */
  /* Carousel: smaller modules, still a single non-wrapping scrolling row */
  .brands__slot { flex-basis: 200px; margin-right: 40px; }
  .brands__row img { height: 92px; }
  .brand-strip::after { width: clamp(120px, 26vw, 200px); height: clamp(120px, 26vw, 200px); opacity: 0.1; }
}

@media (max-width: 520px) {
  /* The wordmark runs into the menu button on narrow phones — logo mark only.
     (Above 820px it's hidden by the 1080px rule for the centred links.) */
  .nav__brand-name { display: none; }
  .stats { grid-template-columns: 1fr; gap: var(--space-lg); }
  .stats--four { grid-template-columns: 1fr; }
  .serve__grid { grid-template-columns: 1fr; }
  .hero__scene { display: none; }              /* full-width readable text on phones */
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 4vw, 1.5rem) clamp(1.5rem, 5vw, 2rem); }
  .hstat { padding: 0; border-left: 0; }        /* clean 2×2 grid, no dividers on phones */
  .hero h1 { max-width: 100%; }
  /* Keep ~2 logos comfortably visible; narrower edge fade so they aren't over-clipped */
  .brands__slot { flex-basis: 150px; margin-right: 30px; }
  .brands__row img { height: 74px; }
  .brands__marquee { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
                             mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
  .brand-strip::after { opacity: 0.08; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  /* Marquee off: static, single set, horizontally scrollable (never stacked) */
  .brands__marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .brands__row { animation: none; transform: none; }
  .brands__slot[aria-hidden="true"] { display: none; }   /* drop the duplicate loop copy */
  /* Parallax off: sit the service images at their natural crop */
  .service__img img { transform: translateY(-10%); }
}
