/* ============================================
   intuitiv.space — Editorial site styles
   Built on Wenner Group design system tokens
   ============================================ */

@import url('tokens.css');

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans-body);
  font-size: 15px;
  line-height: var(--lh-read);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Safety net: nothing on the site uses position:sticky, so clipping the
     x-axis prevents a stray wide element from triggering whole-page
     horizontal scroll / zoom-out on phones. Root causes are fixed too. */
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: opacity var(--dur) var(--ease-standard); }
a:hover { opacity: 0.7; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.wrap--narrow { max-width: 920px; }
.wrap--wide { max-width: 1480px; }

@media (max-width: 720px) {
  .wrap { padding: 0 24px; }
}

/* ============================================
   UTILITY BAR — audience segmenter, sits above nav
   ============================================ */
.utility {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  /* Honour the iOS safe area (Dynamic Island / notch) so the audience
     labels never sit underneath the status bar. */
  padding-top: env(safe-area-inset-top, 0px);
}
.utility__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  gap: 16px;
}

/* Left of the utility bar: the always-on product shortcut.
   Visually distinct from the audience segmenter on the right —
   gold pulse + gold-soft text + warm wash, so the product
   announces itself without crowding the main nav. */
.utility__product {
  display: flex; align-items: stretch;
}
.utility__product-link {
  display: inline-flex; align-items: center; gap: 12px;
  height: 36px;
  padding: 0 18px;
  font-size: 10.5px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--intuitiv-gold-soft);
  background: rgba(201,168,106,0.10);
  border-right: 1px solid rgba(201,168,106,0.20);
  transition: background var(--dur) var(--ease-standard), color var(--dur) var(--ease-standard);
}
.utility__product-link:hover {
  background: rgba(201,168,106,0.18);
  color: #FAF6EB;
  opacity: 1;
}
.utility__product-pulse {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--intuitiv-gold);
  box-shadow: 0 0 0 0 rgba(201,168,106,0.55);
  animation: utility-product-pulse 2.4s var(--ease-standard) infinite;
  flex-shrink: 0;
}
@keyframes utility-product-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,106,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(201,168,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,106,0); }
}
.utility__product-arrow {
  font-size: 12px;
  transition: transform var(--dur) var(--ease-standard);
}
.utility__product-link:hover .utility__product-arrow {
  transform: translateX(3px);
}
.utility__lineage {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,0.58);
  font-weight: 400;
}
.utility__lineage strong {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  letter-spacing: 0.16em;
}
.utility__sep { color: rgba(255,255,255,0.28); }

.utility__audience {
  display: flex; align-items: stretch; gap: 0;
}
.utility__audience-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 18px;
  height: 36px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  border-left: 1px solid rgba(255,255,255,0.08);
  transition: color var(--dur) var(--ease-standard), background var(--dur) var(--ease-standard);
}
.utility__audience-link:first-child {
  border-left: 0;
}
.utility__audience-link:hover {
  color: var(--intuitiv-gold-soft);
  background: rgba(255,255,255,0.04);
  opacity: 1;
}
.utility__audience-link--primary {
  color: var(--intuitiv-gold-soft);
  background: rgba(201,168,106,0.08);
}
.utility__audience-link--primary span {
  transition: transform var(--dur) var(--ease-standard);
}
.utility__audience-link--primary:hover span {
  transform: translateX(4px);
}
.utility__audience-link--quiet {
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.22em;
}

@media (max-width: 1080px) {
  .utility__lineage { display: none; }
  .utility__inner { justify-content: flex-end; }
}
/* Default: long labels show, short labels hide. Flipped on mobile below. */
.utility__audience-label--short { display: none; }

@media (max-width: 720px) {
  /* Show all four audience links on mobile, swap to short labels, tighten
     sizing so Principals / Architects / Builders / Press fit on one row. */
  .utility__audience-link:not(.utility__audience-link--primary) {
    display: inline-flex;
  }
  .utility__audience-link {
    padding: 0 10px;
    font-size: 9px;
    letter-spacing: 0.10em;
    gap: 6px;
  }
  .utility__audience-link--primary {
    border-left: 0;
  }
  .utility__audience-label--full { display: none; }
  .utility__audience-label--short { display: inline; }
  .utility__audience-arrow { display: none; }
  .utility__inner { justify-content: space-between; }
  .utility__audience { width: 100%; justify-content: space-between; }
}
@media (max-width: 360px) {
  /* At 320px the four links exactly fill the row with no tolerance; drop
     the quiet "Press" link and tighten padding so the primary three never
     wrap or trigger horizontal scroll. */
  .utility__audience-link--quiet { display: none; }
  .utility__audience-link { padding: 0 8px; letter-spacing: 0.06em; }
}

/* Push the nav (and everything else) down by the utility bar height,
   plus the iOS safe area so the nav lines up against the utility bar
   regardless of notch/Dynamic Island. */
.nav {
  top: calc(36px + env(safe-area-inset-top, 0px));
}
@media (max-width: 1080px) {
  .nav { top: calc(36px + env(safe-area-inset-top, 0px)); }
}

/* ============================================
   NAV — thin, restrained, gold accent on hover
   ============================================ */
.nav {
  position: fixed; left: 0; right: 0; z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--stone-200);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
/* Pull the brand outside the wrap padding so it sits closer to the
   viewport edge on wide screens without disturbing the rest of the
   container's content. -20px effectively turns the wrap's 40px left
   gutter into 20px just for the brand mark. */
.nav__brand { margin-left: -20px; }
.nav__brand img { height: 44px; width: auto; display: block; } /* +25% from 35px */
@media (max-width: 720px) { .nav__brand { margin-left: -8px; } }
.nav__links {
  display: flex; gap: 36px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav__links a { position: relative; padding: 8px 0; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--intuitiv-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-standard);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-current { color: var(--ink); }
.nav__links a.is-current::after { transform: scaleX(1); background: var(--ink); }

.nav__right { display: flex; align-items: center; gap: 24px; }
.nav__signin {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  transition: background var(--dur) var(--ease-standard), color var(--dur) var(--ease-standard);
}
.nav__cta:hover { background: var(--ink); color: var(--paper); opacity: 1; }

/* Hamburger — desktop hides it, mobile shows it */
.nav__menu {
  display: none;
  appearance: none; background: transparent; border: 0;
  width: 40px; height: 40px;
  padding: 0; margin: 0;
  cursor: pointer;
  position: relative;
}
.nav__menu-bar {
  display: block; position: absolute; left: 8px; right: 8px;
  height: 1.5px; background: var(--ink);
  transition: transform var(--dur) var(--ease-standard), opacity var(--dur) var(--ease-standard), top var(--dur) var(--ease-standard);
}
.nav__menu-bar:nth-child(1) { top: 13px; }
.nav__menu-bar:nth-child(2) { top: 19px; }
.nav__menu-bar:nth-child(3) { top: 25px; }
.nav__menu.is-open .nav__menu-bar:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__menu.is-open .nav__menu-bar:nth-child(2) { opacity: 0; }
.nav__menu.is-open .nav__menu-bar:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Drawer — full-width panel that drops below the nav on mobile */
.nav__drawer {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--stone-200);
  padding: 24px 24px 28px;
}
.nav__drawer[hidden] { display: none; }
.nav__drawer-links {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--serif-display, serif);
  font-size: 22px;
  line-height: 1.6;
}
.nav__drawer-links a {
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--stone-200);
}
.nav__drawer-links a.is-current { color: var(--intuitiv-gold, #b08a3e); }
.nav__drawer-divider { height: 1px; background: transparent; margin: 12px 0 4px; }
.nav__drawer-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 12px;
  padding: 14px 20px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink);
  align-self: flex-start;
}
.nav__drawer-signin {
  display: inline-block;
  margin-top: 16px; padding: 8px 0;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}

@media (max-width: 880px) {
  .nav__links { display: none; }
  /* Reveal the hamburger wherever the inline links hide, so 721–880px
     (incl. iPhone landscape) isn't left with no way to navigate. */
  .nav__menu { display: block; }
  .nav__drawer { display: block; }
  .nav__drawer[hidden] { display: none; }
}

/* On phones, the wordmark + Sign in + CTA collide. Drop Sign in here —
   the footer already carries it, and portal.intuitiv.space isn't live yet. */
@media (max-width: 720px) {
  .nav__signin { display: none; }
  .nav__brand img { height: 28px; }
  .nav__cta { display: none; }
  .nav__inner { height: 64px; }
  .nav__right { gap: 8px; }
  /* Lock body scroll while drawer is open */
  body.nav-drawer-open { overflow: hidden; }
}

/* ============================================
   HERO — full-bleed Qualia interior, image dominates
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  background: var(--ink);
  overflow: hidden;
}
.hero__photo {
  position: absolute; inset: 0;
  background: url('/assets/qualia-02.jpg') center/cover no-repeat;
}
/* Subtle directional scrim — darken the left half so the headline reads
   in white type over the dark wood paneling, with the bright window
   side staying close to natural. Plus a soft bottom scrim for the meta
   row. */
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.40) 28%, rgba(0,0,0,0.10) 55%, transparent 80%),
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 28%, transparent 55%);
}
.hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding-top: 22vh;
  padding-bottom: 56px;
  color: #FDFCFB;
}
.hero__eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--intuitiv-gold-soft);
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 600;
}
.hero__eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--intuitiv-gold-soft);
}
.hero__title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: #FDFCFB;
  margin-bottom: 36px;
  max-width: 14ch;
  text-wrap: pretty;
  text-shadow: 0 2px 32px rgba(0,0,0,0.32);
}
.hero__title em {
  font-style: italic;
  color: var(--intuitiv-gold-soft);
  font-weight: 400;
}
.hero__lede {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(253,252,251,0.86);
  max-width: 54ch;
  margin-bottom: auto;
  text-shadow: 0 1px 18px rgba(0,0,0,0.45);
}
.hero__meta-row {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid rgba(253,252,251,0.22);
  padding-top: 22px;
  margin-top: 56px;
}
.hero__meta {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(253,252,251,0.62);
  display: flex; gap: 36px;
}
.hero__meta strong { color: #FDFCFB; font-weight: 500; }

.hero__cta {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--intuitiv-gold-soft);
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--intuitiv-gold-soft);
}
.hero__cta:hover { color: #FDFCFB; border-color: #FDFCFB; opacity: 1; }
.hero__cta-arrow {
  display: inline-block; transition: transform var(--dur) var(--ease-standard);
}
.hero__cta:hover .hero__cta-arrow { transform: translateX(6px); }

@media (max-width: 720px) {
  /* Cap hero to viewport so the meta row doesn't get clipped by the
     next section. svh = small viewport height (excludes browser chrome). */
  .hero { min-height: 100svh; height: 100svh; }
  /* Top padding clears: iOS safe area + utility bar (36px) + nav (64px)
     + breathing room — so the headline never butts up against the nav. */
  .hero__content { padding-top: calc(env(safe-area-inset-top, 0px) + 36px + 64px + 32px); padding-bottom: 56px; }
  .hero__meta-row { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 16px; }
  .hero__meta { flex-wrap: wrap; gap: 12px 22px; font-size: 10px; }
}

/* ============================================
   PARENTAGE — subtle Wenner credibility line
   ============================================ */
.parentage {
  background: var(--paper);
  padding: 28px 0;
  border-bottom: 1px solid var(--stone-200);
}
.parentage__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
}
.parentage__inner img { height: 18px; opacity: 0.7; }
.parentage__inner strong { color: var(--ink-soft); font-weight: 500; }

/* ============================================
   STATEMENT — slow opening paragraph
   ============================================ */
.statement {
  padding: 140px 0 120px;
  background: var(--paper);
}
.statement__eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--intuitiv-gold-deep);
  font-weight: 600;
  margin-bottom: 36px;
  display: flex; align-items: center; gap: 14px;
}
.statement__eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--intuitiv-gold-deep);
}
.statement__body {
  font-family: var(--serif-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.28;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  text-wrap: pretty;
  max-width: 24ch;
}
.statement__body em {
  font-style: italic;
  color: var(--intuitiv-gold-deep);
}
.statement__support {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--stone-200);
}
.statement__support-col p {
  font-size: 15px; line-height: 1.7;
  color: var(--fg-3);
  max-width: 50ch;
}
.statement__support-col p + p { margin-top: 14px; }

@media (max-width: 720px) {
  .statement { padding: 80px 0; }
  .statement__support { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
}

/* ============================================
   PRACTICE — the three services
   ============================================ */
.practice {
  background: var(--paper-warm);
  padding: 140px 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.practice__head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.practice__title {
  font-family: var(--serif-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.practice__title em { font-style: italic; color: var(--intuitiv-gold-deep); font-weight: 400; }
.practice__intro {
  font-size: 15px; line-height: 1.7;
  color: var(--fg-3);
  max-width: 48ch;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--stone-200);
}
.practice__grid--four {
  grid-template-columns: repeat(4, 1fr);
}
.practice__item {
  padding: 48px 28px 56px 0;
  border-right: 1px solid var(--stone-200);
  position: relative;
}
.practice__item:last-child { border-right: 0; padding-right: 0; }
.practice__item:not(:first-child) { padding-left: 28px; }
.practice__grid--four .practice__item { padding-right: 24px; }
.practice__grid--four .practice__item:not(:first-child) { padding-left: 24px; }
.practice__grid--four .practice__name { font-size: 26px; }

.practice__num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 14px;
  color: var(--intuitiv-gold-deep);
  margin-bottom: 32px;
  letter-spacing: 0.08em;
}
.practice__name {
  font-family: var(--serif-display);
  font-size: 30px; font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.practice__name em { font-style: italic; color: var(--intuitiv-gold-deep); }
.practice__copy {
  font-size: 14px; line-height: 1.7;
  color: var(--fg-3);
  margin-bottom: 28px;
}
.practice__list {
  list-style: none;
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-top: 1px solid var(--stone-200);
}
.practice__list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--stone-200);
  display: flex; justify-content: space-between; gap: 16px;
}
.practice__list li::before {
  content: '·';
  color: var(--intuitiv-gold-deep);
  font-weight: 700;
  margin-right: 10px;
  font-size: 16px;
  line-height: 1;
}
.practice__list li > span { flex: 1; }

@media (max-width: 1100px) {
  .practice__grid--four { grid-template-columns: repeat(2, 1fr); }
  .practice__grid--four .practice__item:nth-child(2) { border-right: 0; }
  .practice__grid--four .practice__item:nth-child(1),
  .practice__grid--four .practice__item:nth-child(2) {
    border-bottom: 1px solid var(--stone-200);
    margin-bottom: 32px; padding-bottom: 32px;
  }
}
@media (max-width: 880px) {
  .practice__head { grid-template-columns: 1fr; gap: 32px; }
  .practice__grid,
  .practice__grid--four { grid-template-columns: 1fr; }
  .practice__item { border-right: 0; border-bottom: 1px solid var(--stone-200); padding: 36px 0 !important; }
  .practice__item:last-child { border-bottom: 0; }
}

/* ============================================
   AI CHAPTER — warm paper, the differentiator
   ============================================ */
.ai-chapter {
  background: var(--paper-warm);
  color: var(--ink);
  padding: 160px 0 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--stone-200);
}
.ai-chapter::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 600px at 80% 20%, rgba(201,168,106,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.ai-chapter__inner { position: relative; z-index: 2; }
.ai-chapter__eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--intuitiv-gold-deep);
  margin-bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 600;
}
.ai-chapter__eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--intuitiv-gold-deep);
}
.ai-chapter__title {
  font-family: var(--serif-display);
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 1.02;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 40px;
  max-width: 16ch;
  letter-spacing: -0.015em;
}
.ai-chapter__title em {
  font-style: italic; color: var(--intuitiv-gold-deep);
}
.ai-chapter__lede {
  font-size: 17px; line-height: 1.7;
  color: var(--fg-3);
  max-width: 60ch;
  margin-bottom: 80px;
}

.ai-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone-200);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.ai-features__item {
  background: var(--paper-warm);
  padding: 48px 36px;
}
.ai-features__num {
  font-family: var(--serif-display); font-style: italic;
  font-size: 13px; color: var(--intuitiv-gold-deep);
  margin-bottom: 24px; letter-spacing: 0.06em;
}
.ai-features__title {
  font-family: var(--serif-display);
  font-size: 24px; font-weight: 500;
  color: var(--ink); margin-bottom: 12px;
}
.ai-features__copy {
  font-size: 13px; line-height: 1.7;
  color: var(--fg-3);
}

.ai-chapter__rare {
  padding: 80px 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  border-top: 1px solid var(--stone-200);
  margin-top: 0;
}
.ai-chapter__rare-label {
  font-family: var(--serif-display); font-style: italic;
  font-size: 14px; color: var(--intuitiv-gold-deep);
  margin-bottom: 16px;
}
.ai-chapter__rare-head {
  font-family: var(--serif-display);
  font-size: 36px; font-weight: 500;
  color: var(--ink); line-height: 1.15;
  letter-spacing: -0.005em;
}
.ai-chapter__rare em { font-style: italic; color: var(--intuitiv-gold-deep); }
.ai-chapter__rare-body p {
  font-size: 15px; line-height: 1.75;
  color: var(--fg-3);
  margin-bottom: 14px;
}

@media (max-width: 880px) {
  .ai-chapter { padding-top: 96px; }
  .ai-features { grid-template-columns: 1fr; }
  .ai-chapter__rare { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
}

/* ============================================
   TAHOE — paper warm, light section
   ============================================ */
.tahoe-section {
  background: var(--paper);
  padding: 0;
  position: relative;
  border-top: 1px solid var(--stone-200);
}
.tahoe-section__head {
  background: var(--paper);
  padding: 100px 0 60px;
}
.tahoe-section__eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--intuitiv-gold-deep);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 600;
}
.tahoe-section__eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--intuitiv-gold-deep);
}
.tahoe-section__row {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: end;
}
.tahoe-section__title {
  font-family: var(--serif-display);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  max-width: 14ch;
}
.tahoe-section__title em { font-style: italic; color: var(--intuitiv-gold-deep); }
.tahoe-section__copy {
  font-size: 15px; line-height: 1.7;
  color: var(--fg-3);
  max-width: 44ch;
  padding-bottom: 8px;
}

.tahoe-frame-wrap {
  background: var(--paper);
  padding: 0 0 100px;
  position: relative;
}
.tahoe-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--stone-200);
}
.tahoe-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.tahoe-frame__chrome {
  position: absolute; top: 18px; left: 22px; right: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  z-index: 5;
  pointer-events: none;
}
.tahoe-frame__caption {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}
.tahoe-frame__caption a {
  color: var(--intuitiv-gold-deep);
  display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--intuitiv-gold-deep);
  padding-bottom: 4px;
  font-weight: 600;
}

@media (max-width: 880px) {
  .tahoe-section__row { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   YACHT TEASER — Tahoe at sea (homepage)
   ============================================ */
.yacht-teaser {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.yacht-teaser__shot {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.yacht-teaser__shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.yacht-teaser__label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--intuitiv-gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.yacht-teaser__title {
  font-family: var(--serif-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.008em;
  color: rgba(255,255,255,0.96);
  margin-bottom: 20px;
}
.yacht-teaser__title em {
  font-style: italic;
  color: var(--intuitiv-gold);
}
.yacht-teaser__lede {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 48ch;
}
.yacht-teaser__cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--intuitiv-gold);
  font-weight: 600;
  border-bottom: 1px solid var(--intuitiv-gold);
  padding-bottom: 6px;
  text-decoration: none;
}
@media (max-width: 880px) {
  .yacht-teaser { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   PROJECTS — full-bleed alternating spreads
   ============================================ */
.projects {
  background: var(--paper);
  padding: 140px 0 60px;
}
.projects__head {
  margin-bottom: 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
}
.projects__title {
  font-family: var(--serif-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500; color: var(--ink);
  line-height: 1.05; letter-spacing: -0.012em;
  max-width: 14ch;
}
.projects__title em { font-style: italic; color: var(--intuitiv-gold-deep); }
.projects__intro {
  font-size: 15px; line-height: 1.7;
  color: var(--fg-3); max-width: 48ch;
}

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--stone-200);
}
.project:last-child { border-bottom: 1px solid var(--stone-200); }
.project--reverse .project__copy { order: 2; }
.project__image {
  width: 100%; aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
}
.project__no {
  font-family: var(--serif-display); font-style: italic;
  font-size: 14px; color: var(--intuitiv-gold-deep);
  margin-bottom: 18px; letter-spacing: 0.08em;
}
.project__name {
  font-family: var(--serif-display);
  font-size: 44px; font-weight: 500;
  color: var(--ink); margin-bottom: 16px;
  line-height: 1.05; letter-spacing: -0.008em;
}
.project__loc {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 32px;
}
.project__body {
  font-size: 15px; line-height: 1.75;
  color: var(--fg-3);
  max-width: 44ch;
  margin-bottom: 32px;
}
.project__meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--stone-200);
  overflow-wrap: break-word;
}
.project__meta-item {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
}
.project__meta-item strong {
  display: block;
  font-family: var(--serif-display);
  font-size: 28px; font-weight: 500; font-style: italic;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: none;
  margin-top: 8px;
}

@media (max-width: 880px) {
  .projects__head { grid-template-columns: 1fr; gap: 32px; }
  .project { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .project--reverse .project__copy { order: initial; }
}
@media (max-width: 600px) {
  /* Three 28px serif values in ~90px columns overflow at phone width. */
  .project__meta { grid-template-columns: 1fr 1fr; gap: 18px; }
  .project__meta-item strong { font-size: 22px; }
}

/* ============================================
   PULL QUOTE — large editorial moment
   ============================================ */
.pullquote {
  background: var(--paper-warm);
  padding: 140px 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.pullquote__mark {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  color: var(--intuitiv-gold);
  margin-bottom: -40px;
}
.pullquote__quote {
  font-family: var(--serif-display);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.32;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  text-wrap: pretty;
  max-width: 24ch;
}
.pullquote__quote em { font-style: italic; color: var(--intuitiv-gold-deep); }
.pullquote__attr {
  margin-top: 56px;
  display: flex; align-items: center; gap: 18px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
}
.pullquote__attr-bar { width: 36px; height: 1px; background: var(--ink-soft); }
.pullquote__attr strong { color: var(--ink); font-weight: 500; }

/* ============================================
   PROCESS — measured, type-driven
   ============================================ */
.process {
  background: var(--paper);
  padding: 140px 0;
}
.process__head { margin-bottom: 80px; max-width: 720px; }
.process__title {
  font-family: var(--serif-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 500; color: var(--ink);
  line-height: 1.05; letter-spacing: -0.012em;
  margin-bottom: 24px;
}
.process__title em { font-style: italic; color: var(--intuitiv-gold-deep); }
.process__lede {
  font-size: 16px; line-height: 1.7;
  color: var(--fg-3);
  max-width: 56ch;
}
.process__rows {
  border-top: 1px solid var(--stone-200);
}
.process__row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--stone-200);
  align-items: baseline;
}
.process__no {
  font-family: var(--serif-display); font-style: italic;
  font-size: 32px; color: var(--intuitiv-gold-deep);
  font-weight: 500;
}
.process__name {
  font-family: var(--serif-display);
  font-size: 26px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.process__name em { font-style: italic; color: var(--intuitiv-gold-deep); }
.process__copy {
  font-size: 14.5px; line-height: 1.75;
  color: var(--fg-3);
  max-width: 56ch;
}

@media (max-width: 880px) {
  .process__row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
}

/* ============================================
   FOR ARCHITECTS — collaborative band
   ============================================ */
.collab {
  background: var(--paper-warm);
  padding: 140px 0;
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}
.collab__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.collab__photo {
  width: 100%; aspect-ratio: 4/5;
  background: url('/assets/qualia-c.jpg') center/cover no-repeat;
}
.collab__title {
  font-family: var(--serif-display);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 500; color: var(--ink);
  line-height: 1.06; letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.collab__title em { font-style: italic; color: var(--intuitiv-gold-deep); }
.collab__copy {
  font-size: 15.5px; line-height: 1.75;
  color: var(--fg-3);
  margin-bottom: 18px;
  max-width: 48ch;
}
.collab__list {
  list-style: none;
  margin-top: 36px;
  border-top: 1px solid var(--stone-200);
}
.collab__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--stone-200);
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex; gap: 14px;
}
.collab__list li::before {
  content: '·';
  color: var(--intuitiv-gold-deep);
  font-weight: 700; font-size: 18px;
  line-height: 1;
}
.collab__cta {
  margin-top: 36px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
}

@media (max-width: 880px) {
  .collab__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   GLOBAL — quiet world map of regions
   ============================================ */
.global {
  background: var(--paper);
  padding: 140px 0;
}
.global__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.global__title {
  font-family: var(--serif-display);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 500; color: var(--ink);
  line-height: 1.06; letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.global__title em { font-style: italic; color: var(--intuitiv-gold-deep); }
.global__copy {
  font-size: 15px; line-height: 1.75;
  color: var(--fg-3);
  max-width: 44ch;
}
.global__regions {
  border-top: 1px solid var(--stone-200);
}
.global__region {
  display: grid; grid-template-columns: 32px 1fr auto;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--stone-200);
  align-items: baseline;
}
.global__region-no {
  font-family: var(--serif-display); font-style: italic;
  font-size: 13px; color: var(--intuitiv-gold-deep);
}
.global__region-name {
  font-family: var(--serif-display);
  font-size: 22px; font-weight: 500; color: var(--ink);
}
.global__region-meta {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
}

@media (max-width: 880px) {
  .global__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   CONSULT — closing chapter, light photo
   ============================================ */
.consult {
  position: relative;
  min-height: 720px;
  background: var(--paper);
  display: flex; align-items: center;
  overflow: hidden;
}
.consult__photo {
  position: absolute; inset: 0;
  background: url('/assets/qualia-g.jpg') center/cover no-repeat;
}
.consult__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250,250,248,0.55), rgba(250,250,248,0.20) 40%, rgba(250,250,248,0.92));
}
.consult__content {
  position: relative; z-index: 2;
  padding: 140px 0;
  color: var(--ink);
  width: 100%;
}
.consult__eyebrow {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--intuitiv-gold-deep);
  margin-bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  font-weight: 600;
}
.consult__eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--intuitiv-gold-deep);
}
.consult__title {
  font-family: var(--serif-display);
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 500; color: var(--ink);
  line-height: 1.02; letter-spacing: -0.015em;
  max-width: 16ch;
  margin-bottom: 36px;
}
.consult__title em { font-style: italic; color: var(--intuitiv-gold-deep); font-weight: 400; }
.consult__copy {
  font-size: 17px; line-height: 1.7;
  color: var(--fg-3);
  max-width: 56ch;
  margin-bottom: 56px;
}
.consult__cta {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700;
  transition: background var(--dur) var(--ease-standard);
}
.consult__cta:hover { background: var(--intuitiv-gold-deep); opacity: 1; }
.consult__note {
  margin-top: 24px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
}

/* ============================================
   FOOTER — paper, restrained
   ============================================ */
.footer {
  background: var(--paper);
  color: var(--fg-3);
  padding: 96px 0 40px;
  border-top: 1px solid var(--stone-200);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
.footer__brand {
  display: flex; flex-direction: column; gap: 24px;
}
.footer__brand img.logo { height: 36px; width: auto; max-width: 100%; object-fit: contain; align-self: flex-start; flex: 0 0 auto; display: block; }
.footer__tag {
  font-family: var(--serif-display); font-style: italic;
  font-size: 18px; line-height: 1.5;
  color: var(--ink-soft);
  max-width: 30ch;
}
.footer__group {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
  display: flex; align-items: center; gap: 14px;
  margin-top: 8px;
}
.footer__group img { height: 28px; opacity: 1; }

/* Phone + general inbox in the footer brand column. Visible on every
   page so contact is always one tap away regardless of where in the
   site the visitor lands. */
.footer__contact {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--stone-200);
}
.footer__contact-line {
  font-family: var(--serif-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color var(--dur) var(--ease-standard);
  width: fit-content;
}
.footer__contact-line:hover {
  color: var(--intuitiv-gold-deep);
  opacity: 1;
}
.footer__col h5 {
  font-family: var(--sans-body);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  margin-bottom: 22px;
}
.footer__col ul { list-style: none; }
.footer__col li { padding: 6px 0; }
.footer__col li a {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.footer__col li a:hover { color: var(--intuitiv-gold-deep); opacity: 1; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--stone-200);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
}
.footer__bottom a { margin-left: 28px; }

/* ============================================
   Persistent Share — small dark pill, fixed bottom-right.
   Sits opposite the cookie consent banner (bottom-left)
   so they never collide.
   ============================================ */
.share-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  background: var(--ink, #1A1A1A);
  color: rgba(253,252,251,0.92);
  border: 1px solid rgba(253,252,251,0.08);
  border-radius: 999px;
  font-family: var(--sans-body);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform var(--dur, 0.24s) var(--ease-standard, ease),
              background var(--dur, 0.24s) var(--ease-standard, ease);
}
.share-fab:hover { transform: translateY(-1px); background: #000; }
.share-fab.is-copied { background: var(--intuitiv-gold-deep, #A88947); color: #fff; }
.share-fab__icon { width: 16px; height: 16px; flex: 0 0 auto; }
.share-fab__label { line-height: 1; }
@media (max-width: 720px) {
  /* Icon-only circle on mobile so the pill stops covering page content. */
  .share-fab {
    bottom: 16px; right: 16px;
    width: 44px; height: 44px; padding: 0; gap: 0;
    justify-content: center;
  }
  .share-fab__label { display: none; }
  .share-fab__icon { width: 17px; height: 17px; }
}
@media print { .share-fab { display: none !important; } }

/* ============================================
   CONTACT FAB — persistent contact shortcut
   Sits above the share-fab on every page so visitors
   always have a one-tap path to /contact regardless
   of where they are in the site. Same pill language
   as the share-fab, but gold-accented to differentiate
   the action and to read as the "primary" floating CTA.
   ============================================ */
.contact-fab {
  position: fixed;
  bottom: 76px;
  right: 24px;
  z-index: 91;             /* above share-fab so it visually layers cleanly */
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  background: var(--intuitiv-gold-deep, #A88947);
  color: #FAF6EB;
  border: 1px solid rgba(201,168,106,0.35);
  border-radius: 999px;
  font-family: var(--sans-body);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform var(--dur, 0.24s) var(--ease-standard, ease),
              background var(--dur, 0.24s) var(--ease-standard, ease);
}
.contact-fab:hover {
  transform: translateY(-1px);
  background: var(--intuitiv-gold-deeper, #8A6F38);
  color: #FAF6EB;
  opacity: 1;
}
.contact-fab__icon { width: 16px; height: 16px; flex: 0 0 auto; }
.contact-fab__label { line-height: 1; }
@media (max-width: 720px) {
  /* Icon-only circle, stacked just above the share-fab. */
  .contact-fab {
    bottom: 70px; right: 16px;
    width: 44px; height: 44px; padding: 0; gap: 0;
    justify-content: center;
  }
  .contact-fab__label { display: none; }
  .contact-fab__icon { width: 17px; height: 17px; }
}
@media print { .contact-fab { display: none !important; } }
/* On the contact page itself the FAB is redundant; hide it so we
   don't ship a button that just reloads the same page. */
body.is-contact-page .contact-fab { display: none; }

/* Float the Contact/Share FABs out of the way while a form is on screen,
   so the pills never cover (and block taps to) form fields — this was a
   real problem on mobile, where a fixed bottom-right pill sat on top of
   the waitlist/contact inputs. Toggled by the IntersectionObserver in
   chrome.js (and the inline script on the Intuitiv AI pages). */
.contact-fab, .share-fab {
  transition: transform var(--dur, 0.24s) var(--ease-standard, ease),
              background var(--dur, 0.24s) var(--ease-standard, ease),
              opacity 0.3s var(--ease-standard, ease),
              visibility 0.3s var(--ease-standard, ease);
}
body.forms-in-view .contact-fab,
body.forms-in-view .share-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer__bottom > div:last-child a:first-child { margin-left: 0; }
}

/* =========================================================================
   Cookie consent banner (GDPR / CCPA) — refined dark card.
   Sticky bottom-left, follows the viewport, gold-accent primary CTA.
   See public/consent.js for behaviour.
   ========================================================================= */
#intuitiv-consent {
  position: fixed;
  bottom: 28px;
  left: 28px;
  right: auto;
  z-index: 9999;
  width: calc(100% - 56px);
  max-width: 460px;
  margin: 0;
  background: #1C1B19;
  color: #FDFCFB;
  border: 1px solid rgba(253,252,251,0.06);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.45),
    0 12px 32px rgba(0,0,0,0.28);
  font-family: var(--sans-body);
  font-size: 13px;
  line-height: 1.6;
  animation: ic-in 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Subtle gold rule at the top edge — a brand mark */
#intuitiv-consent::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--intuitiv-gold-deep) 0%, var(--intuitiv-gold) 50%, var(--intuitiv-gold-deep) 100%);
}
#intuitiv-consent.ic--leaving { opacity: 0; transition: opacity 0.28s ease; }
@keyframes ic-in {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ic__inner { padding: 30px 34px 26px; }
.ic__head { margin-bottom: 22px; }
.ic__eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--intuitiv-gold-soft);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
}
.ic__eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--intuitiv-gold-deep);
}
.ic__title {
  font-family: var(--serif-display);
  font-size: 22px;
  font-weight: 500;
  color: #FDFCFB;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}
.ic__title em {
  font-style: italic;
  color: var(--intuitiv-gold-soft);
  font-weight: 400;
}
.ic__copy {
  margin: 0;
  color: rgba(253,252,251,0.72);
  font-size: 13px;
  line-height: 1.65;
}
.ic__copy a {
  color: var(--intuitiv-gold-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.ic__copy a:hover { color: #FDFCFB; opacity: 1; }
.ic__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ic__actions button {
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 22px;
  cursor: pointer;
  background: transparent;
  color: rgba(253,252,251,0.85);
  border: 1px solid rgba(253,252,251,0.18);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.ic__actions button[data-act=accept] {
  background: var(--intuitiv-gold-deep);
  border-color: var(--intuitiv-gold-deep);
  color: #1C1B19;
  font-weight: 700;
}
.ic__actions button[data-act=accept]:hover {
  background: var(--intuitiv-gold);
  border-color: var(--intuitiv-gold);
}
.ic__actions button[data-act=decline]:hover {
  border-color: rgba(253,252,251,0.5);
  color: #FDFCFB;
}
.ic__actions button.ic__quiet {
  background: transparent;
  color: rgba(253,252,251,0.5);
  border: 0;
  padding: 8px 0 4px;
  text-align: center;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  align-self: center;
  margin-top: 4px;
}
.ic__actions button.ic__quiet:hover { color: var(--intuitiv-gold-soft); }
.ic__custom {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(253,252,251,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ic__custom label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(253,252,251,0.72);
  font-size: 12.5px;
  cursor: pointer;
  line-height: 1.5;
}
.ic__custom label input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--intuitiv-gold);
}
.ic__custom label strong {
  color: #FDFCFB;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ic__custom button[data-act=save] {
  margin-top: 4px;
  align-self: flex-start;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
  background: var(--intuitiv-gold-deep);
  color: #1C1B19;
  border: 1px solid var(--intuitiv-gold-deep);
}
.ic__custom button[data-act=save]:hover { background: var(--intuitiv-gold); }

@media (max-width: 600px) {
  #intuitiv-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-width: 100%;
    font-size: 12px;
    /* Never let the card — especially the expanded Customize panel —
       exceed the viewport. Scroll inside instead of shoving the buttons
       off-screen. dvh tracks the real visible height with browser chrome. */
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ic__inner { padding: 16px 16px 14px; }
  /* The decorative eyebrow costs vertical space we can't spare on mobile. */
  .ic__eyebrow { display: none; }
  .ic__head { margin-bottom: 13px; }
  .ic__title { font-size: 16px; margin: 0 0 8px; }
  .ic__copy { font-size: 12px; line-height: 1.45; }
  /* Two primary choices share one row; Customize wraps beneath as a link. */
  .ic__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ic__actions button {
    padding: 11px 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .ic__actions button[data-act=accept],
  .ic__actions button[data-act=decline] {
    flex: 1 1 0;
    min-width: 0;
  }
  .ic__actions button.ic__quiet {
    flex: 1 0 100%;
    margin-top: 2px;
    padding: 4px 0 0;
  }
  /* Compact the expanded category panel too. */
  .ic__custom { margin-top: 15px; padding-top: 15px; gap: 11px; }
  .ic__custom label { font-size: 12px; gap: 10px; }
}

/* Accessibility: respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  #intuitiv-consent { animation: none; }
}

/* =========================================================
   Intuitiv AI — coming-soon side toast
   ---------------------------------------------------------
   Anchored bottom-right, non-blocking. The wrapper (.ai-popup-veil)
   is a transparent positioning container with pointer-events: none —
   clicks fall through to the page underneath. Only the card itself
   (.ai-popup-card) catches input. No backdrop, no blur, no scroll
   lock; the visitor can keep reading and the toast doesn't fight
   for attention. Slides up from the bottom on entry.
   The cookie consent banner sits bottom-left (max-width 480), so
   the two never visually collide on desktop. On mobile the banner
   is full-width — the popup script waits for consent to clear
   before appearing, which keeps both surfaces from competing.
   ========================================================= */
.ai-popup-veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: transparent;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  pointer-events: none;
  padding: 0;
}

.ai-popup-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  /* 100% (of the full-viewport veil), not 100vw — vw includes the
     scrollbar gutter and can spill a sliver past the right edge. */
  width: calc(100% - 48px);
  max-width: 360px;
  background: var(--paper);
  border-top: 3px solid var(--intuitiv-gold);
  box-shadow: 0 18px 50px rgba(26,26,26,0.18);
  padding: 26px 28px 22px;
  font-family: var(--sans-body);
  pointer-events: auto;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 380ms var(--ease-standard),
              opacity 380ms var(--ease-standard);
}
.ai-popup-veil.is-open .ai-popup-card    { transform: translateY(0); opacity: 1; }
.ai-popup-veil.is-closing .ai-popup-card { transform: translateY(24px); opacity: 0; }
@media (max-width: 600px) {
  .ai-popup-card {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    padding: 22px 22px 18px;
  }
}

.ai-popup-close {
  position: absolute;
  top: 8px; right: 10px;
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--faint);
  cursor: pointer;
  padding: 6px 10px;
  transition: color var(--dur) var(--ease-standard);
}
.ai-popup-close:hover { color: var(--ink); }

.ai-popup-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--intuitiv-gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.ai-popup-pulse {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--intuitiv-gold);
  box-shadow: 0 0 0 0 rgba(201,168,106,0.55);
  animation: ai-popup-pulse 2.4s var(--ease-standard) infinite;
  flex-shrink: 0;
}
@keyframes ai-popup-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,168,106,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(201,168,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,106,0); }
}

.ai-popup-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 10px 0;
  text-wrap: balance;
}
.ai-popup-title em {
  font-style: italic;
  color: var(--intuitiv-gold-deep);
  font-weight: 500;
}

.ai-popup-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px 0;
}

/* Form — single-row email + submit */
.ai-popup-field { margin-bottom: 12px; }
.ai-popup-field label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.ai-popup-field input {
  width: 100%;
  font-family: var(--sans-body);
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--stone-200);
  padding: 6px 0;
  outline: 0;
  transition: border-color var(--dur) var(--ease-standard);
}
.ai-popup-field input:focus { border-bottom-color: var(--intuitiv-gold-deep); }
.ai-popup-field input::placeholder { color: var(--stone-300); }

.ai-popup-status {
  font-size: 12px;
  margin: 6px 0 0;
}

.ai-popup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.ai-popup-submit {
  font-family: var(--sans-body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  padding: 11px 18px;
  cursor: pointer;
  transition: background var(--dur) var(--ease-standard);
}
.ai-popup-submit:hover { background: var(--ink-soft); }
.ai-popup-submit:disabled { opacity: 0.6; cursor: progress; }

.ai-popup-more {
  font-size: 11.5px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 1px;
  transition: color var(--dur), border-bottom-color var(--dur);
}
.ai-popup-more:hover {
  color: var(--intuitiv-gold-deep);
  border-bottom-color: var(--intuitiv-gold-deep);
  opacity: 1;
}

.ai-popup-fineprint {
  margin-top: 12px;
  font-size: 10.5px;
  color: var(--faint);
  line-height: 1.5;
}

/* Thank-you state */
.ai-popup-thanks {
  text-align: center;
  padding: 6px 2px 4px;
}
.ai-popup-check {
  width: 44px; height: 44px;
  border: 1px solid var(--intuitiv-gold);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--intuitiv-gold-deep);
  font-size: 18px;
}
.ai-popup-thanks h3 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 8px 0;
  color: var(--ink);
}
.ai-popup-thanks p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .ai-popup-veil, .ai-popup-card { transition: none; }
  .ai-popup-pulse { animation: none; }
}
