/* Pilina — design system, verified against Branding Guideline 2025 (PDF).
   COLOR — Core: #001f3d deep blue · #fa9939 orange accent · #e8e8e8 neutral.
           Supporting: #e87a00 secondary orange · #b29e84 camel.
           Additional (sparingly): #4d4d4d gray · #365739 forest · #4a726d sage.
           Soft white #fdfcfa for elegance / simplicity / balance.
   TYPE  — Headers: Roboto Light (Google spec; Segoe UI Light fallback for Word).
           Subheaders & body: Montserrat / Montserrat Light.
   Layout stays light and airy per the guideline; orange used sparingly. */
:root {
  --blue: #001F3D;        /* CORE — deep blue: headers, nav, footer, major background */
  --orange: #FA9939;      /* CORE — highlight/accent: buttons, icons, CTAs (use sparingly) */
  --neutral: #E8E8E8;     /* CORE — neutral base: light section backgrounds */
  --orange-deep: #E87A00; /* SUPPORTING — secondary orange: hovers, small accents */
  --camel: #B29E84;       /* SUPPORTING — camel: soft sections, dividers, testimonials */
  --camel-tint: #F4EFE7;  /* derived light wash of --camel */
  --gray: #4D4D4D;        /* ADDITIONAL — neutral dark: secondary elements (sparingly) */
  --forest: #365739;      /* ADDITIONAL — deep green (sparingly) */
  --green: #4A726D;       /* ADDITIONAL — sage green (sparingly) */
  --paper: #FDFCFA;       /* soft white — elegance, simplicity, balance */
  --ink: #33373D;         /* body text — near-black for readability */
  --ink-soft: #4D4D4D;    /* secondary text — brand neutral dark (#4d4d4d) */
  --line: rgba(0, 31, 61, .12);
  --head: 'Roboto', 'Segoe UI', Arial, sans-serif;  /* weight 300 */
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------------------------------------------------------------------------
   Per-page palette themes — the soft-section tint is drawn from each page's
   muted-nature hero so every page carries its own vibe, while the deep-blue
   nav/footer and the orange accent stay constant for brand cohesion.
   --------------------------------------------------------------------------- */
body[data-page="home"]     { --camel: #9FB0AB; --camel-tint: #EEF2F0; }  /* forest fog — sage grey */
body[data-page="about"]    { --camel: #AFBBA6; --camel-tint: #F1F4EC; }  /* sunny forest — light, warm sage */
body[data-page="team"]     { --camel: #BEAA88; --camel-tint: #F5EFE4; }  /* golden wheat — warm sand */
body[data-page="sourcing"] { --camel: #97A7B6; --camel-tint: #ECEFF3; }  /* blue mountains — cool slate */
body[data-page="planning"] { --camel: #A1B09C; --camel-tint: #EDF1EB; }  /* forest stream — sage green */
body[data-page="av"]       { --camel: #A2ACB5; --camel-tint: #EDF0F2; }  /* b&w ridgeline — monochrome blue */
body[data-page="groups"]   { --camel: #B7A382; --camel-tint: #F3EEE3; }  /* palm road — warm gold */
body[data-page="why"]      { --camel: #9FB0AB; --camel-tint: #EEF2F0; }  /* forest fog — sage grey */
body[data-page="careers"]  { --camel: #A4AFA9; --camel-tint: #EDF1EF; }  /* mountain vista — soft sage */
body[data-page="contact"]  { --camel: #A8A9B8; --camel-tint: #EEEEF3; }  /* pastel pier — soft mauve blue */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.75; font-size: 16px; font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); }

h1, h2, h3 { font-family: var(--head); font-weight: 300; color: var(--blue); line-height: 1.14; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: .55em; }
h3 { font-size: 1.28rem; margin-bottom: .35em; font-weight: 400; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
/* editorial flow — content sizes to itself; only the hero and full-bleed feature
   images fill the screen (Habitas-style) */
section { padding: clamp(72px, 9vw, 120px) 0; }
.image-band { padding: 0; display: block; height: 100vh; height: 100dvh; }
.image-band img { height: 100%; }

.btn {
  display: inline-block; background: var(--orange); color: var(--blue); text-decoration: none;
  padding: 15px 38px; border-radius: 999px; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; transition: background .25s, color .25s, transform .25s;
  border: none; cursor: pointer;
}
.btn:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-light { background: var(--orange); color: var(--blue); }
.btn-light:hover { background: #fff; color: var(--blue); }

/* ---------- Nav ---------- */
header.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
/* soft top scrim so the transparent menu stays legible over any hero */
header.site-nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0,15,30,.42), rgba(0,15,30,0));
  transition: opacity .35s ease;
}
/* scrolled past the hero → solid, adaptive menu bar */
header.site-nav.scrolled {
  background: rgba(253, 252, 250, .96); backdrop-filter: blur(10px);
  border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 31, 61, .06);
}
header.site-nav.scrolled::before { opacity: 0; }
/* transparent state (over hero): white menu + white logo — desktop only */
@media (min-width: 861px) {
  header.site-nav:not(.scrolled) nav.links a,
  header.site-nav:not(.scrolled) .drop-btn { color: #fff; border-bottom-color: transparent; }
  header.site-nav:not(.scrolled) nav.links a.active,
  header.site-nav:not(.scrolled) nav.links a:hover,
  header.site-nav:not(.scrolled) .drop-btn:hover { color: #fff; border-bottom-color: var(--orange); }
}
.brand .logo-solid { display: none; }
header.site-nav.scrolled .brand .logo-hero { display: none; }
header.site-nav.scrolled .brand .logo-solid { display: block; }
header.site-nav:not(.scrolled) .menu-btn { color: #fff; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 28px; max-width: 1240px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.brand img { height: 52px; width: auto; margin: 0; }
nav.links { display: flex; gap: 30px; align-items: center; }
nav.links a, .drop-btn {
  text-decoration: none; color: var(--blue); font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--sans); font-weight: 500; cursor: pointer;
}
nav.links a.active, nav.links a:hover, .drop-btn:hover, .drop-btn.active { color: var(--orange-deep); border-bottom-color: var(--orange); }
nav.links a.nav-cta {
  background: var(--orange); border-radius: 999px; padding: 11px 24px; color: var(--blue); border-bottom: none;
}
nav.links a.nav-cta:hover { background: var(--blue); color: #fff; }
.dropdown { position: relative; }
.caret { font-size: .7em; }
/* invisible hover bridge so moving from the button to the menu never drops the hover */
.dropdown::after { content: ''; position: absolute; top: 100%; left: -24px; right: -24px; height: 22px; }
.drop-menu {
  display: none; position: absolute; top: calc(100% + 12px); left: -14px; background: #fff; z-index: 80;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 0; min-width: 250px;
  box-shadow: 0 18px 44px rgba(0, 31, 61, .14);
}
.drop-menu a { display: block; padding: 10px 22px !important; border-bottom: none !important; color: var(--blue) !important; }
.dropdown:hover .drop-menu, .dropdown.open .drop-menu { display: block; }
.menu-btn { display: none; background: none; border: none; font-size: 1.6rem; color: var(--blue); cursor: pointer; }

/* ---------- Hero (V4: centered white text over full photo) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding: 0; overflow: hidden; }
.hero img.bg, .hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.16) saturate(1.05); }
/* lighter scrim (video reads brighter) + a soft pool behind the copy for legibility */
.hero::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 80% 55% at 50% 46%, rgba(0,18,36,.42) 0%, rgba(0,18,36,0) 70%),
  linear-gradient(180deg, rgba(0,22,42,.16) 0%, rgba(0,20,40,.20) 55%, rgba(0,18,36,.34) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 120px; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
/* Landing page brand block: leaf + PILINA large, "Global Events & Sourcing" medium, then the rule. */
.hero .hero-wordmark { width: min(320px, 66vw); height: auto; display: block; margin: 0 auto 16px; filter: drop-shadow(0 5px 30px rgba(0,12,26,.5)); }
.hero .hero-tagline { display: block; font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em; font-size: clamp(1.05rem, 1.7vw, 1.4rem); font-weight: 500; color: #fff; text-shadow: 0 1px 16px rgba(0,12,26,.55); }
.hero .hero-rule { display: block; width: 54px; height: 2px; background: var(--orange); margin: 24px auto 22px; }
.hero .hero-rule + h1 { font-size: clamp(1.02rem, 1.6vw, 1.25rem); }
.hero h1 { max-width: 24ch; color: #fff; font-size: clamp(1.3rem, 2.5vw, 1.85rem); font-weight: 300; line-height: 1.22; text-shadow: 0 2px 34px rgba(0,12,26,.6); }
.hero p { max-width: 56ch; margin: 22px 0 38px; font-size: 1.05rem; color: rgba(255,255,255,.94); text-shadow: 0 1px 20px rgba(0,12,26,.6); }
.hero .eyebrow { color: #fff; font-size: clamp(1.1rem, 1.6vw, 1.45rem); letter-spacing: .2em; margin-bottom: 24px; text-shadow: 0 1px 16px rgba(0,12,26,.6); }
.hero .eyebrow::after { margin-top: 22px; }
.hero .eyebrow::after { content: ''; display: block; width: 48px; height: 2px; background: var(--orange); margin: 16px auto 0; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.65); }
.btn-outline:hover { background: #fff; color: var(--blue); }
.scroll-hint { margin-top: 64px; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.65); position: relative; padding-top: 34px; }
.scroll-hint::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 26px; background: rgba(255,255,255,.5); }

/* ---------- Eyebrow labels ---------- */
.eyebrow { display: block; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--orange-deep); font-weight: 600; margin-bottom: 18px; }

/* ---------- Page header ---------- */
.page-header { position: relative; overflow: hidden; background: var(--neutral); text-align: center; padding: 108px 24px 88px; border-bottom: 1px solid var(--line); }
.page-header h1 { max-width: 24ch; margin: 0 auto; }
.page-header p { color: var(--ink-soft); margin: 18px auto 0; font-size: 1.05rem; max-width: 62ch; }
/* quiet-luxury header (Aman/Auberge feel) — large hero with one restrained word,
   then the title + subtitle breathing on clean space below (never over the photo) */
/* clean, full-bleed image hero — no text over the photo */
.page-hero { position: relative; height: 100vh; height: 100dvh; min-height: 560px; overflow: hidden; display: flex; align-items: center; }
.page-hero img, .page-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,16,34,.30), rgba(0,12,26,.52)); }
.page-hero-center { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.page-hero-center .ph-eyebrow { display: block; font-family: var(--sans); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.45rem); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 22px; text-shadow: 0 1px 16px rgba(0,12,26,.6); }
.page-hero-center .ph-rule { width: 54px; height: 2px; background: var(--orange); margin: 0 auto 26px; display: block; }
.page-hero-center h1 { color: #fff; max-width: 24ch; margin: 0 auto; font-size: clamp(1.3rem, 2.5vw, 1.85rem); font-weight: 300; line-height: 1.22; text-shadow: 0 2px 34px rgba(0,12,26,.6); }
.page-hero-center p { color: rgba(255,255,255,.94); max-width: 56ch; margin: 22px auto 0; font-size: 1.05rem; text-shadow: 0 1px 20px rgba(0,12,26,.6); }
/* solid, elegant title block carried below the hero */
.page-intro { background: var(--paper); text-align: center; padding: clamp(68px, 8.5vw, 128px) 24px clamp(56px, 6vw, 90px); border-bottom: 1px solid var(--line); }
.page-intro .ph-eyebrow { display: block; font-family: var(--sans); font-weight: 600; font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 22px; }
.page-intro .ph-rule { width: 54px; height: 2px; background: var(--orange); margin: 0 auto 30px; display: block; }
.page-intro h1 { color: var(--blue); max-width: 20ch; margin: 0 auto; font-size: clamp(2rem, 4.4vw, 3.15rem); line-height: 1.12; }
.page-intro p { color: var(--ink-soft); max-width: 60ch; margin: 24px auto 0; font-size: 1.08rem; }
@media (max-width: 760px) { .page-hero { min-height: 420px; } }

/* ---------- Stats ---------- */
.stats-section { padding: 54px 0; border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; text-align: center; }
/* fixed columns so rows never break as 3 + 1 */
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cols-4, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr; } }
/* cards: 4 text cards read best 2-across (never 3 + 1); galleries fill one clean row */
.cards-grid.cols-2, .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-3, .cards-grid.cols-5, .cards-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-strip.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-strip.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 860px) {
  .cards-grid[class*="cols-"] { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid[class*="cols-"], .gallery-strip[class*="cols-"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .cards-grid[class*="cols-"] { grid-template-columns: 1fr; }
}
.stat strong { display: block; font-family: var(--head); font-weight: 300; font-size: 2.4rem; color: var(--orange-deep); line-height: 1.15; }
.stat span { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }

/* ---------- Text ---------- */
.text-section .container { max-width: 760px; text-align: center; }
.text-section p, .ti-grid p { white-space: pre-line; color: var(--ink-soft); }

/* ---------- Text + image ---------- */
/* single-image section — large tall image beside an airy text column (resort style) */
.ti-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 88px; align-items: center; }
.ti-grid img { border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 0 40px 70px -38px rgba(0,31,61,.5); transition: transform .6s ease; }
.ti-grid > div h2 { font-weight: 300; }
.ti-grid > div h2::after { content: ''; display: block; width: 54px; height: 2px; background: var(--orange); margin: 24px 0 26px; }
.ti-fig:hover img { transform: scale(1.02); }
.ti-fig { position: relative; margin: 0; }
.ti-fig figcaption {
  position: absolute; bottom: -14px; left: 24px; background: #fff; border: 1px solid var(--line);
  padding: 8px 18px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue);
}
.quote-line { font-family: var(--head); font-weight: 300; font-size: 1.15rem; color: var(--orange-deep); margin-bottom: 16px; }
.text-link {
  display: inline-block; margin-top: 20px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 4px;
}
.text-link:hover { color: var(--orange-deep); }

/* ---------- Cards ---------- */
/* editorial cards — large image, then title + copy beneath, no boxes (resort style) */
.cards-section { background: var(--paper); border: none; }
.cards-intro { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.cards-intro p { color: var(--ink-soft); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 44px; }
.card { background: none; border: none; border-radius: 0; overflow: visible; }
.card:hover { transform: none; box-shadow: none; }
.card-img { position: relative; overflow: hidden; border-radius: 4px; }
.card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card .card-body { padding: 26px 0 0; }
.card h3 { font-size: 1.5rem; font-weight: 300; color: var(--blue); margin-bottom: .5em; }
.card p { font-size: .96rem; color: var(--ink-soft); }
.card.no-img .card-body { padding: 0; }
.card.no-img h3::before { content: ''; display: block; width: 34px; height: 3px; background: var(--orange); margin-bottom: 18px; }
.card-link { display: inline-block; margin-top: 18px; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; font-weight: 600; color: var(--blue); border-bottom: 2px solid var(--orange); padding-bottom: 4px; }
.card-link:hover { color: var(--orange-deep); }
.kicker { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-deep); font-weight: 600; margin-bottom: 10px; }
.card-num { display: none; }
.cards-footnote { text-align: center; margin-top: 44px; }
.cards-footnote a { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--orange); padding-bottom: 3px; }
.cards-footnote a:hover { color: var(--orange-deep); }

/* ---------- Steps ---------- */
.steps-section { background: var(--camel-tint); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; }
.step { position: relative; padding-top: 14px; }
.step-num { font-family: var(--head); font-weight: 300; font-size: 2.5rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 12px; }
.step p { font-size: .93rem; color: var(--ink-soft); }
/* dark variant — V4 "Our advantage" navy band */
.steps-dark { background: var(--camel); }
.steps-dark h2, .steps-dark h3 { color: var(--blue); }
.steps-dark .cards-intro p { color: var(--ink); }
.steps-dark .step p { color: var(--ink); }
.steps-dark .eyebrow { color: var(--blue); }
.step-dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); margin-bottom: 16px; }

/* ---------- Quote ---------- */
.quote-section { text-align: center; background: var(--camel-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-section blockquote { font-family: var(--head); font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.45; max-width: 32ch; margin: 0 auto 26px; color: var(--blue); }
.quote-section cite { font-style: normal; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-deep); font-weight: 600; }
/* full-bleed image quote band — an elegant emotional beat, resort-style */
.quote-photo { position: relative; overflow: hidden; text-align: center; border: none; padding: clamp(96px, 13vw, 168px) 0; }
.quote-photo .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,20,40,.60), rgba(0,16,34,.74)); }
.quote-photo .container { position: relative; z-index: 2; max-width: 900px; }
.quote-photo .q-mark { display: block; font-family: var(--head); font-weight: 300; font-size: 4rem; line-height: .4; color: var(--orange); margin-bottom: 26px; }
.quote-photo blockquote { font-family: var(--head); font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.5; max-width: 30ch; margin: 0 auto 26px; color: #fff; text-shadow: 0 2px 26px rgba(0,8,20,.45); }
.quote-photo cite { font-style: normal; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85); font-weight: 600; }

/* ---------- Scroll reveal (progressive enhancement; hidden only when JS is active) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js-anim .reveal.in { opacity: 1; transform: none; }
.js-anim .hero.reveal, .js-anim .page-hero.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- Team ---------- */
.team-section { background: #fff; border-top: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 34px; margin-top: 30px; align-items: stretch; }
.member { display: flex; flex-direction: column; height: 100%; }
.member img { aspect-ratio: 1/1; object-fit: cover; object-position: center 20%; width: 100%; border-radius: 6px; margin-bottom: 18px; }
.member .monogram { aspect-ratio: 1/1; width: 100%; border-radius: 6px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--camel) 0%, var(--blue) 115%); color: #fff; font-family: var(--head); font-weight: 300; font-size: 2.8rem; letter-spacing: .08em; }
.member h3 { margin-bottom: 2px; min-height: 1.4em; }
.member .role { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); display: flex; align-items: flex-end; min-height: 2.5em; margin-bottom: 10px; font-weight: 600; }
.member p { font-size: .9rem; color: var(--ink-soft); }
.member-contact { margin-top: auto; padding-top: 10px; font-size: .84rem !important; }
.member-contact a { text-decoration: none; }

/* ---------- Gallery / editorial grid ---------- */
.gallery-section h2 { margin-bottom: 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.gallery-item { position: relative; border-radius: 6px; overflow: hidden; margin: 0; }
.gallery-item img { aspect-ratio: 1/1; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #fff; font-size: .82rem;
  background: linear-gradient(transparent, rgba(0,31,61,.72));
}
/* full-bleed editorial strip — V4 image band */
/* ---------- Carousel (Habitas "Our Homes" style — scrollable labeled image cards) ---------- */
.carousel-title { text-align: center; margin-bottom: 52px; }
.carousel {
  display: flex; gap: 22px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  padding: 6px max(28px, calc((100vw - 1180px) / 2)) 26px;
  scroll-padding-left: max(28px, calc((100vw - 1180px) / 2));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.c-card { flex: 0 0 clamp(268px, 26vw, 360px); scroll-snap-align: start; }
.c-img { border-radius: 4px; overflow: hidden; aspect-ratio: 3/4; }
.c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.c-card:hover .c-img img { transform: scale(1.05); }
.c-card figcaption { padding-top: 20px; }
.c-card h3 { font-family: var(--sans); font-size: 1.02rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.c-card figcaption p { margin-top: 8px; font-size: .9rem; color: var(--ink-soft); }

/* static discipline grid — every card visible at once (Home) */
.gallery-section { padding: clamp(72px, 9vw, 120px) 0; }
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.disc-grid .c-card { flex: initial; width: 100%; }
@media (max-width: 920px) { .disc-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 560px) { .disc-grid { grid-template-columns: 1fr; } }

/* carousel arrows + right-edge fade so desktop users know it scrolls */
.carousel-wrap { position: relative; }
.carousel-wrap::after { content: ''; position: absolute; top: 6px; right: 0; width: 72px; bottom: 26px;
  pointer-events: none; background: linear-gradient(to right, rgba(253,252,250,0), var(--paper)); transition: opacity .3s; }
.carousel-wrap.at-end::after { opacity: 0; }
.c-arrow { position: absolute; top: calc(40% - 26px); z-index: 6; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.95); background: var(--blue); color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(0,31,61,.34);
  transition: opacity .3s, background .25s, color .25s, transform .2s; }
.c-arrow:hover { background: var(--orange); color: var(--blue); border-color: #fff; transform: scale(1.08); }
.c-prev { left: max(12px, calc((100vw - 1180px) / 2 - 14px)); }
.c-next { right: max(12px, calc((100vw - 1180px) / 2 - 14px)); }
.carousel-wrap.at-start .c-prev { opacity: 0; pointer-events: none; }
.carousel-wrap.at-end .c-next { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 700px) { .c-arrow, .carousel-wrap::after { display: none; } }
.c-pill { display: inline-block; margin-top: 16px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.c-pill:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Full-bleed image breather (rhythm break) ---------- */
.image-band { height: 100vh; height: 100dvh; overflow: hidden; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA ---------- */
.cta-section { background: var(--camel); color: var(--ink); text-align: center; position: relative; overflow: hidden; }
.cta-section h2 { color: var(--blue); }
.cta-section p { max-width: 56ch; margin: 0 auto 34px; color: var(--ink); }
.cta-section .eyebrow { color: var(--blue); }
.cta-photo { padding: 140px 0; }
.cta-photo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after { content: ''; position: absolute; inset: 0; background: rgba(0,31,61,.62); }
.cta-photo .container { position: relative; z-index: 2; }
.cta-contact { font-size: .92rem; }
.cta-contact a { color: var(--blue); }
/* About 'how we work' section on camel */
#how-we-work { background: var(--camel); }
#how-we-work h2 { color: var(--blue); }
#how-we-work p { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-details p { margin-bottom: 16px; color: var(--ink-soft); }
.contact-details strong { color: var(--blue); display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 2px; }
form.contact-form { background: #fff; padding: 38px; border: 1px solid var(--line); border-radius: 6px; }
form.contact-form label { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 20px 0 6px; font-weight: 600; }
form.contact-form label:first-child { margin-top: 0; }
form.contact-form input, form.contact-form textarea, form.contact-form select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--sans); font-size: .95rem; background: var(--paper);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form .btn { margin-top: 26px; }

/* ---------- Footer (V4: light, columned) ---------- */
/* deep blue footer — the brand's dominant color anchoring a major background */
footer.site-footer { background: var(--blue); border-top: none; padding: 72px 28px 32px; }
.foot-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px; align-items: start; }
.foot-brand .brand img { height: 132px; margin: -26px 0; filter: brightness(0) invert(1); }
footer p.tagline { color: rgba(255,255,255,.75); font-family: var(--head); font-weight: 300; font-size: 1rem; margin-top: 16px; }
.foot-col h4 { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; font-weight: 600; }
.foot-col a, .foot-col span { display: block; font-size: .86rem; color: rgba(255,255,255,.82); text-decoration: none; margin-bottom: 10px; }
.foot-col a:hover { color: var(--orange); }
.foot-bottom { max-width: 1140px; margin: 52px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.6); }

nav.links.links-mobile { display: none; }
@media (max-width: 860px) {
  .links-left, .links-right { display: none !important; }
  nav.links.links-mobile { position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); flex-direction: column; gap: 0; padding: 6px 22px 14px;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 34px rgba(0, 31, 61, .13);
    align-items: stretch; max-height: calc(100dvh - 64px); overflow-y: auto; }
  nav.links.links-mobile.open { display: flex; }
  nav.links.links-mobile a { padding: 15px 2px; text-align: left; font-size: .9rem; letter-spacing: .1em;
    color: var(--blue) !important; border-bottom: 1px solid var(--line); text-transform: uppercase; }
  nav.links.links-mobile a:last-child { border-bottom: none; }
  nav.links.links-mobile a.active { color: var(--orange-deep) !important; }
  .menu-btn { display: block; }
  .brand img { height: 46px; }
  .ti-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 64px 0; }
  .hero { min-height: 100vh; min-height: 100dvh; }
  /* full-screen image bands are too tall stacked on mobile — cap them */
  .image-band { height: 56vh; height: 56dvh; min-height: 320px; max-height: 520px; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ===== HERO OPTION B — serif headline + italic tagline ===== */
.hero .eyebrow, .page-hero-center .ph-eyebrow{ text-transform:none; font-family:var(--head); font-weight:400; font-size:clamp(1.75rem,3.9vw,2.85rem); letter-spacing:.005em; margin-bottom:16px; }
.hero .eyebrow::after{ margin-top:20px; }
.hero h1, .page-hero-center h1{ font-family:var(--head); font-style:italic; font-weight:300; text-transform:none; font-size:clamp(1.15rem,2vw,1.55rem); letter-spacing:.005em; line-height:1.28; max-width:30ch; }

/* ===== LOGO MARK — bottom of hero lockup ===== */
.hero-mark, .page-hero-mark{ display:block; height:120px; width:auto; margin:26px auto -30px; }

/* fix: keep mark from inheriting full-bleed background rule on interior heroes */
.hero-mark{ display:block; height:120px; width:auto; margin:26px auto -30px; }
.page-hero .page-hero-mark{ position:static; inset:auto; display:block; height:120px; width:auto; margin:24px auto -30px; }

/* match hero mark size to the nav corner logo for cohesion */
.hero-mark{ height:96px !important; margin:30px auto -14px !important; }
.page-hero .page-hero-mark{ height:96px !important; margin:28px auto -14px !important; }

/* ===== OPTION 2 — centered logo, split menu, no CTA button ===== */
@media (min-width: 861px) {
  /* Centered nav (last deployed): logo in the middle, menu split left/right — identical on every page. */
  .nav-inner.nav-center { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 64px; max-width: 1140px; padding: 10px 56px; }
  .nav-center .menu-btn { display: none; }
  .nav-center .links-left  { justify-content: center; gap: 44px; }
  .nav-center .links-right { justify-content: center; gap: 44px; }
  .nav-center .brand { justify-self: center; margin: 0; }
  .nav-center .brand img { height: 78px; width: auto; }
  .nav-center .drop-menu { left: 50%; transform: translateX(-50%); }
}

/* ===== AV Strategy page only — brighter steps section + landscape gallery tiles for the branded stage sets ===== */
body[data-page="av"] .steps-section { background: #F6F9FB; }
@media (min-width: 861px) {
  body[data-page="av"] .c-card { flex: 0 0 clamp(320px, 34vw, 460px); }
}
body[data-page="av"] .c-img { aspect-ratio: 3 / 2; }

/* ===== Brand-statement image band (infinity on Why Pilina): one quiet line over a full-bleed photo ===== */
.image-band-statement { position: relative; }
.image-band-statement::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,18,36,.30) 0%, rgba(0,18,36,.20) 45%, rgba(0,18,36,.46) 100%); z-index: 1; }
.image-band-statement .band-line { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0 28px; }
.image-band-statement .band-line span { font-family: var(--head); font-weight: 300; font-style: italic; color: #fff; text-align: center; font-size: clamp(1.7rem, 3.6vw, 3rem); letter-spacing: .01em; line-height: 1.2; max-width: 20ch; text-shadow: 0 2px 34px rgba(0,12,26,.6); }

/* Compact testimonial variant — for longer quotes, so they hold the same visual footprint as short ones */
.quote-photo.quote-compact blockquote { font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.55; max-width: 50ch; }
.quote-photo.quote-compact .q-mark { font-size: 3rem; margin-bottom: 18px; }

/* Contact form status message (Web3Forms) */
.form-status { margin-top: 16px; font-size: 0.95rem; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.sending { color: var(--blue); opacity: .75; }
.form-status.success { color: #1a7f4b; font-weight: 600; }
.form-status.error { color: #b3261e; font-weight: 600; }
.contact-form .hp-check { position: absolute; left: -9999px; }

/* Footer credit — Aquarian Vision */
.foot-credit a { color: rgba(255,255,255,.72); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); transition: color .2s, border-color .2s; }
.foot-credit a:hover { color: var(--orange); border-color: var(--orange); }

/* About page infinity band — nudge crop so the sculpture centers on mobile */
@media (max-width: 860px) {
  body[data-page="about"] .image-band img { object-position: 30% 50%; }
}
