/* =====================================================================
   GENERA HOUSE - a house of family psychology
   Palette discipline: ~80% ivory / 15% charcoal / 5% deep purple
   Type: Cormorant Garamond + Jost
   ===================================================================== */

/* ----------  TOKENS  ---------- */
:root {
    --purple:        #3C2269;
    --purple-2:      #2A184A;
    --aubergine:     #1E1030;
    --ink:           #14111C;
    --amethyst:      #7853BA;
    --amethyst-soft: #A38ACF;

    --gold:        #A88548;
    --gold-2:      #B99659;
    --gold-soft:   #CDB487;

    --ivory:   #FAF8F4;
    --ivory-2: #F4EFE6;
    --ivory-3: #EBE5D8;

    --charcoal:   #15131A;
    --charcoal-2: #0E0C11;

    --mute: #4E4A59;
    --line: rgba(33, 28, 46, 0.07);
    --line-strong: rgba(33, 28, 46, 0.14);

    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container: 1280px;
    --container-narrow: 840px;
    --section-y: clamp(7.5rem, 13vw, 12rem);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----------  RESET  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-weight: 350;
    color: var(--mute);
    background: var(--ivory);
    line-height: 1.95;
    font-size: 1.08rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    letter-spacing: 0.015em;
}
html.scroll-lock,
body.scroll-lock {
    overflow: hidden;
    height: 100%;
    touch-action: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--purple); color: var(--ivory); }

/* ----------  LAYOUT  ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: var(--section-y) 0; position: relative; scroll-margin-top: calc(6.5rem - var(--section-y)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--reverse .split__text { order: 2; }
.split--reverse .split__visual { order: 1; }

/* ----------  TYPOGRAPHY  ---------- */
.section__head { max-width: 820px; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; max-width: none; }

.section__eyebrow {
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    color: var(--gold);
    margin-bottom: 1.6rem;
    display: inline-block;
}
.section__title {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--ink);
    font-size: clamp(2.3rem, 5.6vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.014em;
}
.section__intro { margin-top: 1.8rem; font-size: 1.15rem; max-width: 60ch; line-height: 1.7; }

.lead {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--ink);
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    line-height: 1.5;
    margin-bottom: 1.4rem;
}
p { color: var(--mute); }
p + p { margin-top: 1.3rem; }

/* ----------  BUTTONS / LINKS  ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--sans); font-weight: 400;
    font-size: 0.9rem; letter-spacing: 0.12em;
    padding: 1.1rem 2.4rem; border-radius: 1px;
    transition: all 0.75s var(--ease); cursor: pointer; white-space: nowrap;
    text-transform: uppercase;
}
.btn--primary {
    background: var(--aubergine);
    color: var(--ivory); border: 1px solid rgba(168, 133, 72, 0.4);
}
.btn--primary:hover { transform: translateY(-3px); background: var(--purple-2); border-color: var(--gold); box-shadow: 0 20px 40px -20px rgba(20, 17, 28, 0.4); }
.btn--large { padding: 1.3rem 3rem; font-size: 0.95rem; }

.link-arrow {
    font-family: var(--sans); font-size: 0.88rem; letter-spacing: 0.1em;
    color: var(--ink); border-bottom: 1px solid rgba(168, 133, 72, 0.4); padding-bottom: 6px;
    transition: all 0.6s var(--ease); align-self: center;
    text-transform: uppercase;
}
.link-arrow:hover { color: var(--purple); letter-spacing: 0.16em; border-bottom-color: var(--gold); }

/* ----------  REVEAL  ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reasons-grid .reason:nth-child(2).reveal, .pillars .pillar:nth-child(2).reveal,
.insights-grid .article:nth-child(2).reveal, .cases .case:nth-child(2).reveal { transition-delay: 0.12s; }
.reasons-grid .reason:nth-child(3).reveal, .pillars .pillar:nth-child(3).reveal,
.insights-grid .article:nth-child(3).reveal, .cases .case:nth-child(3).reveal { transition-delay: 0.24s; }
.insights-grid .article:nth-child(n+4).reveal { transition-delay: 0s; }
.insights-grid .article:nth-child(5).reveal { transition-delay: 0.12s; }
.insights-grid .article:nth-child(6).reveal { transition-delay: 0.24s; }

/* ----------  NAVIGATION  ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; transition: all 0.6s var(--ease); padding: 1.8rem 0; }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__brand { display: flex; align-items: center; gap: 1rem; }
.nav__logo { width: 42px; height: 42px; object-fit: contain; transition: transform 0.8s var(--ease); }
.nav__brand:hover .nav__logo { transform: scale(1.03); }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav__brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--ink); letter-spacing: 0.03em; }
.nav__brand-title { font-size: 0.62rem; letter-spacing: 0.24em; color: var(--gold); font-weight: 500; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 2.5rem; }
.nav__link { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--mute); position: relative; padding: 0.3rem 0; transition: color 0.5s var(--ease); text-transform: uppercase; }
.nav__link::after { content: ""; position: absolute; left: 50%; x-translate: -50%; bottom: -1px; width: 0; height: 1px; background: var(--gold); transition: width 0.5s var(--ease); transform: translateX(-50%); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__link--cta { border: 1px solid var(--line-strong); border-radius: 1px; padding: 0.6rem 1.4rem; color: var(--ink); transition: all 0.5s var(--ease); }
.nav__link--cta:hover { border-color: var(--gold); background: var(--ink); color: var(--ivory); }
.nav__link--cta::after { display: none; }

.nav.scrolled { background: rgba(250, 248, 244, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--line); padding: 1.1rem 0; }

.nav__toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; z-index: 10010; }
.nav__toggle span { width: 24px; height: 1px; background: var(--ink); transition: all 0.5s var(--ease); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------  HERO  ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 9rem 0 5rem; position: relative; overflow: hidden; background: var(--ivory); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 12%, rgba(141, 107, 199, 0.10), transparent 40%), radial-gradient(circle at 92% 88%, rgba(184, 150, 90, 0.10), transparent 38%); pointer-events: none; }
.hero__inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; width: 100%; position: relative; z-index: 2; }
.hero__eyebrow { font-size: 0.78rem; letter-spacing: 0.26em; font-weight: 500; color: var(--gold); margin-bottom: 2rem; }
.hero__title { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(2.8rem, 7.2vw, 6rem); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 2rem; }
.hero__support { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--mute); font-size: clamp(1.2rem, 2.1vw, 1.6rem); line-height: 1.5; padding-left: 1.5rem; border-left: 2px solid var(--gold); margin-bottom: 2.6rem; max-width: 40ch; }
.hero__cta { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.hero__trust li { font-size: 0.76rem; letter-spacing: 0.08em; color: var(--mute); position: relative; padding-left: 1rem; }
.hero__trust li::before { content: "◆"; color: var(--gold); position: absolute; left: 0; font-size: 0.5rem; top: 0.5rem; }

.hero__visual { position: relative; justify-self: center; }
.hero__portrait { aspect-ratio: 4 / 5; width: clamp(260px, 34vw, 440px); overflow: hidden; border-radius: 2px; position: relative; box-shadow: 0 50px 90px -35px rgba(33, 28, 46, 0.5); }
.hero__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(20, 17, 28, 0.15)); }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::before { content: ""; position: absolute; top: -15px; left: -15px; width: 100%; height: 100%; border: 1px solid rgba(168, 133, 72, 0.3); border-radius: 1px; z-index: -1; }
.hero__plate { position: absolute; bottom: -1.5rem; right: -0.5rem; background: var(--ivory); padding: 0.9rem 1.4rem; border: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.35; box-shadow: 0 20px 40px -20px rgba(20,17,28,0.18); }
.hero__plate-name { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.hero__plate-role { font-size: 0.64rem; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; font-weight: 500; }

.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.8rem; font-size: 0.62rem; letter-spacing: 0.28em; color: var(--mute); text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2.6s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ----------  TRUST BAND  ---------- */
.trust { padding: clamp(3.2rem, 6vw, 4.5rem) 0; background: var(--ivory); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__lead { font-size: 0.72rem; letter-spacing: 0.35em; color: var(--gold); margin-bottom: 1.4rem; font-weight: 500; text-transform: uppercase; }
.trust__row { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 300; color: var(--ink); display: flex; justify-content: center; align-items: center; gap: 1.4rem; flex-wrap: wrap; letter-spacing: 0.01em; }
.trust__dot { color: var(--gold-soft); font-size: 0.8rem; }
.trust__note { font-size: 0.86rem; color: var(--mute); margin-top: 1.4rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* ----------  LEGACY CONVERSATION  ---------- */
.legacy-convo { padding: clamp(8rem, 15vw, 13rem) 0; background: var(--ivory); text-align: center; }
.legacy-convo__eyebrow { font-size: 0.72rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 3.5rem; font-weight: 500; text-transform: uppercase; }
.legacy-convo__lines { display: flex; flex-direction: column; gap: 1.6rem; align-items: center; }
.legacy-convo__line { font-family: var(--serif); font-weight: 300; color: var(--ink); font-size: clamp(1.8rem, 4.6vw, 3.4rem); line-height: 1.3; max-width: 26ch; letter-spacing: -0.01em; }
.legacy-convo__line--accent { font-style: italic; color: var(--purple); margin-top: 1rem; }
.legacy-convo__line--accent::before { content: ""; display: block; width: 44px; height: 1px; background: var(--gold-soft); margin: 0 auto 2.2rem; opacity: 0.7; }

/* ----------  HUMAN CAPITAL  ---------- */
.risk { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.risk__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.risk__left { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3.5rem); }
.risk__right { display: flex; flex-direction: column; gap: 2rem; background: var(--ivory); padding: clamp(2.2rem, 4vw, 3.2rem); border: 1px solid var(--line); border-radius: 1px; }

.risk__lead p { font-size: 1.12rem; line-height: 1.85; color: var(--mute); }
.risk__statement p { font-family: var(--serif); font-weight: 300; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.42; }
.risk__statement p + p { margin-top: 1.2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.risk__statement em { font-style: normal; color: var(--gold); font-weight: 400; }

.stats__note { font-size: 0.84rem; color: var(--mute); line-height: 1.7; font-style: italic; }

.discipline { padding: 0; text-align: left; border-left: 2px solid var(--gold); padding-left: 2rem; }
.discipline p { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.5; color: var(--purple); font-style: italic; }

/* ----------  PHILOSOPHY  ---------- */
.philosophy { background: var(--ivory); }
.philosophy__figure { position: relative; }
.philosophy__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1px; box-shadow: 0 40px 80px -30px rgba(20,17,28,0.25); }
.philosophy__figure::before { content: ""; position: absolute; top: -15px; right: -15px; width: 58%; height: 68%; border: 1px solid rgba(168, 133, 72, 0.3); z-index: -1; }
.philosophy__figure figcaption { margin-top: 1.4rem; font-style: italic; font-family: var(--serif); font-size: 1.15rem; color: var(--purple); text-align: right; }

/* ----------  CHALLENGE  ---------- */
.challenge { background: var(--ivory); }
.challenge__lead { max-width: 64ch; margin-bottom: clamp(3.5rem, 7vw, 5rem); }
.challenge__lead p { font-size: 1.12rem; line-height: 1.85; }

.gen-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; position: relative; padding: 2rem 0; margin-bottom: clamp(4.5rem, 8vw, 6.5rem); }
.gen-flow__track { position: absolute; top: 38px; left: 16%; right: 16%; height: 1px; background: rgba(168, 133, 72, 0.25); z-index: 0; }
.gen-flow__node { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.gen-flow__node::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); margin-bottom: 1.8rem; transition: all 0.5s var(--ease); }
.gen-flow__node--3::before { border-color: var(--amethyst); }
.gen-flow__node:hover::before { transform: scale(1.3); border-color: var(--purple); }
.gen-flow__gen { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 0.7rem; text-transform: uppercase; font-weight: 500; }
.gen-flow__label { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); margin-bottom: 0.9rem; }
.gen-flow__desc { font-size: 0.92rem; max-width: 28ch; color: var(--mute); line-height: 1.65; }

.challenge__reasons-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--ink); margin-bottom: 2.8rem; }
.reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.reason { padding: clamp(2.5rem, 4vw, 3.2rem) clamp(2rem, 3.5vw, 3rem); border-bottom: 1px solid var(--line); position: relative; transition: background 0.7s var(--ease); }
.reason:focus, .reason:hover { background: var(--ivory-2); }
.reason:nth-child(odd) { border-right: 1px solid var(--line); }
.reason__num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); display: block; margin-bottom: 1.2rem; letter-spacing: 0.05em; font-style: italic; }
.reason__title { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--ink); font-weight: 400; margin-bottom: 0.8rem; }
.reason__text { font-size: 0.98rem; line-height: 1.7; color: var(--mute); }

/* ----------  EDITORIAL BAND  ---------- */
.band { position: relative; height: 75vh; min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.band__bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 28, 0.45), rgba(20, 17, 28, 0.60)), url("../assets/avenue.webp") center/cover no-repeat; }
.band__inner { position: relative; z-index: 2; text-align: center; padding: 0 1.5rem; max-width: 1000px; }
.band__quote { font-family: var(--serif); font-weight: 300; color: var(--ivory); font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.25; letter-spacing: -0.01em; }
.band__quote em { font-style: italic; color: var(--gold-soft); font-weight: 300; }



/* ----------  FRAMEWORK / MODEL  ---------- */
.model { background: var(--ivory); }
.model__interactive { display: grid; grid-template-columns: 0.9fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.model__diagram { display: flex; flex-direction: column; align-items: center; padding: 1rem 0; }
.model__dome { font-family: var(--serif); font-size: clamp(0.9rem, 1.4vw, 1.15rem); color: var(--ivory); background: var(--aubergine); padding: 0.8rem clamp(1.4rem, 3vw, 2.2rem); border-radius: 60px 60px 2px 2px / 80px 80px 2px 2px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid rgba(168, 133, 72, 0.3); border-bottom: none; position: relative; z-index: 2; }
.model__columns { display: flex; gap: clamp(0.5rem, 1.2vw, 1rem); align-items: flex-end; }
.mpillar { width: clamp(48px, 9vw, 78px); height: clamp(160px, 23vw, 240px); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.2rem 0.3rem; background: var(--ivory-2); border: 1px solid var(--line); border-top: none; position: relative; transition: all 0.7s var(--ease); text-align: center; border-radius: 1px; }
.mpillar::before { content: ""; position: absolute; top: 0; left: -1px; right: -1px; height: 6px; background: rgba(168, 133, 72, 0.4); }
.mpillar__num { font-family: var(--serif); font-size: 1.4rem; color: var(--gold); margin-top: 0.2rem; font-weight: 300; }
.mpillar__label { font-size: 0.68rem; letter-spacing: 0.16em; color: var(--ink); font-weight: 500; writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 0.2rem; text-transform: uppercase; }
.mpillar:hover { transform: translateY(-4px); border-color: var(--gold); }
.mpillar.active { background: var(--aubergine); border-color: var(--aubergine); transform: translateY(-8px); box-shadow: 0 15px 30px -15px rgba(20, 17, 28, 0.3); }
.mpillar.active::before { height: 8px; background: var(--gold); }
.mpillar.active .mpillar__num { color: var(--gold-soft); }
.mpillar.active .mpillar__label { color: var(--ivory); }
.model__base { margin-top: -1px; width: 100%; max-width: 430px; background: var(--purple-2); color: var(--gold-soft); text-align: center; padding: 0.8rem 1rem; font-size: 0.76rem; letter-spacing: 0.22em; border-radius: 1px; text-transform: uppercase; border: 1px solid rgba(168, 133, 72, 0.3); border-top: none; }

.model__detail { background: var(--ivory); border: 1px solid var(--line); padding: clamp(2.4rem, 4.5vw, 3.5rem); min-height: 340px; position: relative; overflow: hidden; border-radius: 1px; }
.model__detail::before { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--gold), var(--amethyst)); }
.md__index { font-size: 0.72rem; letter-spacing: 0.24em; color: var(--gold); text-transform: uppercase; }
.md__title { font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 2.8rem); color: var(--ink); margin: 0.7rem 0 1.2rem; font-weight: 400; }
.md__desc { font-size: 1.08rem; line-height: 1.8; margin-bottom: 2rem; color: var(--mute); }
.md__points { display: flex; flex-direction: column; gap: 0.8rem; }
.md__point { display: flex; align-items: baseline; gap: 0.9rem; font-size: 1rem; color: var(--ink); }
.md__point::before { content: "◆"; color: var(--gold-soft); font-size: 0.55rem; }
.md__fade { animation: mdFade 0.75s var(--ease); }
@keyframes mdFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ----------  SERVICES (charcoal)  ---------- */
.services { background: var(--charcoal); color: var(--ivory); border-top: 1px solid var(--charcoal-2); border-bottom: 1px solid var(--charcoal-2); }
.services .section__eyebrow { color: var(--gold-soft); }
.services .section__title { color: var(--ivory); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.pillar { padding: 0 1.5rem; position: relative; border-left: 1px solid rgba(221, 197, 154, 0.12); }
.pillar::before { display: none; }
.pillar__num { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-soft); letter-spacing: 0.06em; margin: 0 0 1.2rem; display: block; font-weight: 300; }
.pillar__title { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 400; color: var(--ivory); margin-bottom: 1.2rem; line-height: 1.22; }
.pillar__lead { font-size: 0.98rem; color: var(--amethyst-soft); line-height: 1.7; margin-bottom: 2rem; }
.pillar__list { display: flex; flex-direction: column; gap: 0.7rem; }
.pillar__list li { font-size: 0.9rem; color: var(--ivory); opacity: 0.78; padding-left: 1.2rem; position: relative; }
.pillar__list li::before { content: "◆"; color: var(--gold); position: absolute; left: 0; font-size: 0.5rem; top: 0.6rem; }

/* ----------  ABOUT  ---------- */
.about { background: var(--ivory); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.about__visuals { position: relative; }
.about__portrait { position: relative; z-index: 2; aspect-ratio: 4/5; overflow: hidden; border-radius: 1px; box-shadow: 0 40px 80px -30px rgba(20,17,28,0.25); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__secondary { position: absolute; bottom: -2rem; right: -1.5rem; width: 42%; z-index: 3; border: 6px solid var(--ivory); border-radius: 1px; box-shadow: 0 15px 30px -10px rgba(20,17,28,0.15); }
.about__secondary img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about__visuals::after { content: ""; position: absolute; top: -15px; left: -15px; width: 48%; height: 48%; border: 1px solid rgba(168, 133, 72, 0.3); z-index: 1; }

.about__roles { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--purple); margin: 1rem 0 2rem; text-transform: uppercase; font-weight: 500; }
.about__roles .dot { color: var(--gold-soft); }
.about__credentials { display: flex; gap: clamp(1.8rem, 4vw, 3.5rem); margin-top: 2.6rem; padding-top: 2.2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.credential { display: flex; flex-direction: column; }
.credential__num { font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 3.2rem); color: var(--purple); line-height: 1; font-weight: 300; }
.credential__label { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--mute); margin-top: 0.6rem; max-width: 16ch; text-transform: uppercase; }
.about__footnote { font-size: 0.72rem; color: var(--mute); margin-top: 1.8rem; line-height: 1.5; max-width: 50ch; opacity: 0.8; }

/* ----------  IN PRACTICE  ---------- */
.practice { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.case { background: var(--ivory); border: 1px solid var(--line); overflow: hidden; transition: all 0.7s var(--ease); display: flex; flex-direction: column; border-radius: 1px; }
.case:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -25px rgba(20, 17, 28, 0.15); border-color: var(--gold); }
.case__img { aspect-ratio: 16/10; overflow: hidden; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case__img img { transform: scale(1.02); }
.case__body { padding: clamp(1.8rem, 3vw, 2.4rem); }
.case__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.8rem); color: var(--ink); font-weight: 400; margin-bottom: 1.5rem; line-height: 1.22; }
.case__row { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.case__row:first-of-type { border-top: 1px solid rgba(168, 133, 72, 0.4); }
.case__label { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--gold); font-weight: 500; padding-top: 2px; text-transform: uppercase; }
.case__row p { font-size: 0.92rem; line-height: 1.6; color: var(--mute); }

/* ----------  INSIGHTS  ---------- */
.insights { background: var(--ivory); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 3.5vw, 3rem); }
.article { display: flex; flex-direction: column; transition: transform 0.6s var(--ease); }
.article:hover { transform: translateY(-4px); }
.article__img { aspect-ratio: 3/2; overflow: hidden; margin-bottom: 1.6rem; border-radius: 1px; }
.article__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: saturate(0.8); }
.article:hover .article__img img { transform: scale(1.02); filter: saturate(1); }
.article__tag { font-size: 0.68rem; letter-spacing: 0.16em; color: var(--gold); font-weight: 500; text-transform: uppercase; }
.article__title { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.7rem); color: var(--ink); font-weight: 400; margin: 0.8rem 0 0.8rem; line-height: 1.25; transition: color 0.5s var(--ease); }
.article:hover .article__title { color: var(--purple); }
.article__body p { font-size: 0.94rem; line-height: 1.65; margin-bottom: 1.2rem; color: var(--mute); }
.article__meta { font-size: 0.74rem; color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase; }

/* ----------  CONSULTATION (deep purple signature)  ---------- */
.consultation { position: relative; overflow: hidden; background: var(--aubergine); scroll-margin-top: calc(2.5rem - var(--section-y)); }
.consultation__bg { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(33, 26, 43, 0.94), rgba(21, 19, 27, 0.90)), url("../assets/cta-bg.webp") center/cover no-repeat; }
.consultation__inner { position: relative; z-index: 2; text-align: center; padding: var(--section-y) clamp(1.5rem, 5vw, 4rem); }
.consultation .section__eyebrow { color: var(--gold-soft); }
.consultation__title { font-family: var(--serif); font-weight: 300; color: var(--ivory); font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.15; letter-spacing: -0.014em; margin-bottom: 2rem; }
.consultation__title em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.consultation__text { font-size: 1.1rem; color: var(--amethyst-soft); max-width: 56ch; margin: 0 auto 2.8rem; line-height: 1.8; }
.consultation__form-container {
    max-width: 600px;
    margin: 3.5rem auto 2.5rem;
    text-align: left;
    padding: 0 clamp(1rem, 5vw, 1.5rem);
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-row label {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--gold-soft);
    text-transform: uppercase;
    font-weight: 500;
}

.form-row input,
.form-row textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(221, 197, 154, 0.2);
    padding: 0.8rem 0;
    color: var(--ivory);
    font-family: var(--serif);
    font-size: 1.25rem;
    outline: none;
    transition: border-color 0.4s var(--ease);
    border-radius: 0;
}

.form-row input:focus,
.form-row textarea:focus {
    border-bottom-color: var(--gold);
}

.form-row textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit {
    margin-top: 1rem;
    text-align: center;
}

.btn--submit {
    border: 1px solid rgba(168, 133, 72, 0.4);
    background: var(--aubergine);
    color: var(--ivory);
    cursor: pointer;
    width: 100%;
}

.btn--submit:hover {
    background: var(--purple-2);
    border-color: var(--gold);
}

.btn--submit.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Success screen */
.enquiry-success {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(20, 17, 28, 0.4);
    border: 1px solid rgba(221, 197, 154, 0.08);
    border-radius: 2px;
}

.success-icon {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.success-title {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--ivory);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.success-text {
    font-size: 1.05rem;
    color: var(--amethyst-soft);
    line-height: 1.75;
    max-width: 44ch;
    margin: 0 auto;
}

/* Error screen */
.enquiry-error {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(40, 20, 20, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.15);
    border-radius: 2px;
}

.error-icon {
    font-size: 1.6rem;
    color: #cc6666;
    margin-bottom: 1.2rem;
}

.error-title {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--ivory);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.error-text {
    font-size: 1.05rem;
    color: var(--amethyst-soft);
    line-height: 1.75;
    max-width: 44ch;
    margin: 0 auto;
}

.consultation__notes { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--gold-soft); text-transform: uppercase; }
.consultation__notes .dot { color: var(--amethyst); }

/* ----------  FOOTER  ---------- */
.footer { background: var(--charcoal-2); color: var(--amethyst-soft); padding: clamp(5rem, 8vw, 7.5rem) 0 3rem; border-top: 1px solid rgba(221,197,154,0.06); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(221,197,154,0.08); margin-bottom: 3.5rem; }
.footer__brand { display: flex; align-items: center; gap: 1.2rem; }
.footer__logo { width: 52px; height: 52px; object-fit: contain; box-shadow: none; filter: brightness(0) invert(1); opacity: 0.85; }
.footer__name { font-family: var(--serif); font-size: 1.7rem; color: var(--ivory); font-weight: 400; letter-spacing: 0.02em; }
.footer__title { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--gold); margin-top: 0.3rem; text-transform: uppercase; }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ivory); line-height: 1.55; max-width: 46ch; font-weight: 300; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(221,197,154,0.08); }
.footer__col h4 { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-soft); font-weight: 400; margin-bottom: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer__col a { display: block; font-size: 0.86rem; color: var(--amethyst-soft); padding: 0.38rem 0; transition: color 0.5s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2.5rem; font-size: 0.76rem; color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase; }

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 1024px) {
    .nav__links { gap: 1.5rem; }
    .nav__link { font-size: 0.8rem; }
}
@media (max-width: 900px) {
    .nav__brand {
        position: relative;
        z-index: 10010;
    }
    
    body.scroll-lock .nav {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
    
    body.scroll-lock .nav__brand-name {
        color: var(--ivory) !important;
    }
    body.scroll-lock .nav__logo {
        filter: brightness(0) invert(1) !important;
    }

    .nav__links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background: var(--charcoal);
        padding: calc(6.5rem + env(safe-area-inset-top)) clamp(2rem, 8vw, 4rem) calc(3rem + env(safe-area-inset-bottom));
        gap: 1.8rem;
        transform: translateY(-15px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
        z-index: 10005;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-size: 1.35rem;
        font-family: var(--serif);
        color: var(--ivory) !important;
        padding: 0.2rem 0;
        border-bottom: none;
        text-transform: none;
        letter-spacing: 0.02em;
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    }
    
    .nav__link::after {
        display: none;
    }

    .nav__link.nav__link--active {
        color: var(--gold-soft) !important;
    }

    .nav__link--cta {
        border: 1px solid rgba(221, 197, 154, 0.35);
        border-radius: 1px;
        padding: 0.8rem 2.2rem;
        color: var(--gold-soft) !important;
        font-size: 1.05rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }
    
    .nav__link--cta:hover {
        background: var(--gold);
        color: var(--charcoal) !important;
        border-color: var(--gold);
    }

    .nav__toggle {
        display: flex;
        position: relative;
        z-index: 10010;
    }

    .nav__toggle.open span {
        background: var(--ivory);
    }

    /* Staggered entry animation for links */
    .nav__links.open .nav__link {
        opacity: 1;
        transform: translateY(0);
    }
    .nav__links.open .nav__link:nth-child(1) { transition-delay: 0.1s; }
    .nav__links.open .nav__link:nth-child(2) { transition-delay: 0.15s; }
    .nav__links.open .nav__link:nth-child(3) { transition-delay: 0.2s; }
    .nav__links.open .nav__link:nth-child(4) { transition-delay: 0.25s; }
    .nav__links.open .nav__link:nth-child(5) { transition-delay: 0.3s; }
    .nav__links.open .nav__link:nth-child(6) { transition-delay: 0.35s; }
    .nav__links.open .nav__link:nth-child(7) { transition-delay: 0.4s; }

    .hero { padding: 8rem 0 4rem; min-height: auto; }
    .hero__inner { grid-template-columns: 1fr; gap: 3.5rem; }
    .hero__scroll { display: none; }

    .split, .split--reverse .split__text, .split--reverse .split__visual,
    .about__grid, .model__interactive { grid-template-columns: 1fr; }
    .split--reverse .split__text { order: 1; }
    .split--reverse .split__visual { order: 2; }

    .gen-flow { grid-template-columns: 1fr; gap: 2.5rem; }
    .gen-flow__track { display: none; }
    .gen-flow__node::before { margin-bottom: 0; }
    .reasons-grid { grid-template-columns: 1fr; }
    .reason:nth-child(odd) { border-right: none; }
    .pillars, .cases, .insights-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer__top, .footer__grid { grid-template-columns: 1fr 1fr; }
    .about__secondary { display: none; }
    .band { height: 60vh; }

    /* Lower scroll margin on mobile so all sections land lower down */
    .section,
    .consultation {
        scroll-margin-top: calc(9.5rem - var(--section-y)) !important;
    }
}
@media (max-width: 560px) {
    body { font-size: 1.02rem; }
    .section { padding: clamp(5rem, 16vw, 7.5rem) 0; }
    .hero__cta { flex-direction: column; align-items: stretch; gap: 1.2rem; }
    .hero__cta .btn { width: 100%; }
    .btn {
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        font-size: 0.85rem;
        padding: 1.1rem 1.5rem;
    }
    .link-arrow { align-self: flex-start; }
    .footer__top, .footer__grid { grid-template-columns: 1fr; }
    .footer__base { flex-direction: column; }
    .case__row { grid-template-columns: 1fr; gap: 0.3rem; }
    
    /* Interactive Model Overrides for Mobile */
    .model__interactive {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .model__columns {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 0.3rem;
    }
    .mpillar {
        flex: 1;
        height: auto;
        padding: 0.9rem 0.2rem;
        min-height: 75px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        border-left: none;
        border-right: none;
    }
    .mpillar__label {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.64rem;
        margin-top: 0.4rem;
        margin-bottom: 0;
        letter-spacing: 0.06em;
        text-align: center;
    }
    .mpillar::before {
        display: none;
    }
    .model__dome, .model__base {
        display: none;
    }
}

/* ----------  AMBIENT GLOW (desktop only)  ---------- */
.ambient { position: fixed; top: 0; left: 0; width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%; background: radial-gradient(circle, rgba(141,107,199,0.10), transparent 65%); filter: blur(140px); pointer-events: none; z-index: 9999; opacity: 0; transition: opacity 1.2s var(--ease); will-change: transform; }
.ambient.on { opacity: 1; }
@media (pointer: coarse) { .ambient { display: none; } }

/* ----------  IMAGE CLIP REVEAL  ---------- */
.case__img, .article__img, .about__portrait { transition: clip-path 1.3s var(--ease); }
.case__img img, .article__img img, .about__portrait img { transition: transform 1.2s var(--ease); }
.js .case__img, .js .article__img, .js .about__portrait { clip-path: inset(0 0 100% 0); }
.js .case__img img, .js .article__img img, .js .about__portrait img { transform: scale(1.1); }
.js .case__img.is-visible, .js .article__img.is-visible, .js .about__portrait.is-visible,
.js .is-visible .case__img, .js .is-visible .article__img, .js .is-visible .about__portrait { clip-path: inset(0 0 0 0); }
.js .case__img.is-visible img, .js .article__img.is-visible img, .js .about__portrait.is-visible img,
.js .is-visible .case__img img, .js .is-visible .article__img img, .js .is-visible .about__portrait img { transform: scale(1); }

/* ----------  QUOTE STAGGER  ---------- */
.legacy-convo__line:nth-child(2) { transition-delay: 0.35s; }
.legacy-convo__line:nth-child(3) { transition-delay: 0.7s; }

/* ----------  PARALLAX  ---------- */
.band__bg, .consultation__bg { will-change: background-position; }

/* ----------  GENERATIVITY TREE  ---------- */
.tree { max-width: 480px; margin: 0 auto; }
.tree svg { width: 100%; height: auto; overflow: visible; }
.t-ground { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.t-root { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round; }
.t-trunk { stroke: var(--purple); stroke-width: 3.5; fill: none; stroke-linecap: round; }
.t-branch { stroke: var(--gold); stroke-width: 2; fill: none; stroke-linecap: round; }
.t-growth { stroke: var(--amethyst); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.t-leaf { fill: rgba(141,107,199,0.42); }
.t-bullet { fill: var(--gold); }
.t-label { font-family: var(--sans); font-size: 15px; fill: var(--ink); letter-spacing: 0.04em; }
.tree__caption { margin-top: 1.4rem; font-style: italic; font-family: var(--serif); font-size: 1.15rem; color: var(--purple); text-align: center; }
@media (max-width: 560px) { .t-label { font-size: 13px; } }

/* ----------  MOBILE HERO PLATE  ---------- */
@media (max-width: 560px) {
    .hero__plate { right: 0; bottom: -1.2rem; padding: 0.8rem 1.1rem; }
    .hero__plate-name { font-size: 1.05rem; }
}

/* ----------  INNER PAGES  ---------- */
.page-hero { padding: 12rem 0 4rem; background: var(--ivory); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 12%, rgba(141,107,199,0.08), transparent 42%); }
.page-hero__inner { position: relative; z-index: 2; max-width: 1000px; }
.page-hero .section__eyebrow { color: var(--gold); }
.page-hero h1 { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.016em; margin-bottom: 1.6rem; }
.page-hero__lead { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.65rem); color: var(--mute); line-height: 1.5; max-width: 56ch; }

.breadcrumb { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--mute); margin-bottom: 2rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--ink); }

.prose { max-width: 740px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 3.2rem 0 1.3rem; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 2.4rem 0 1rem; }
.prose p { font-size: 1.12rem; line-height: 1.85; color: var(--mute); }
.prose p + p { margin-top: 1.3rem; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { margin: 1.5rem 0; padding: 0; list-style: none; }
.prose li { font-size: 1.08rem; line-height: 1.75; color: var(--mute); margin-bottom: 0.6rem; position: relative; padding-left: 1.6rem; }
.prose li::before { content: "◆"; color: var(--gold); position: absolute; left: 0; font-size: 0.55rem; top: 0.7rem; }
.prose blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.4; color: var(--purple); border-left: 2px solid var(--gold); padding-left: 1.6rem; margin: 2.8rem 0; }

.toc { background: var(--ivory-2); border: 1px solid var(--line); padding: 1.8rem 2.2rem; margin: 3rem auto 1rem; max-width: 740px; }
.toc__title { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: 1rem; }
.toc ol { padding-left: 1.4rem; margin: 0; }
.toc li { font-size: 0.98rem; margin-bottom: 0.5rem; }
.toc a { color: var(--mute); }
.toc a:hover { color: var(--purple); }

.cluster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 3rem 0; }
.cluster a { background: var(--ivory); border: 1px solid var(--line); padding: 1.9rem; transition: all 0.5s var(--ease); display: block; }
.cluster a:hover { border-color: var(--gold); transform: translateY(-4px); }
.cluster__tag { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--gold); font-weight: 500; }
.cluster__title { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin: 0.6rem 0 0.5rem; }
.cluster__desc { font-size: 0.92rem; color: var(--mute); line-height: 1.55; }

.cta-strip { background: linear-gradient(160deg, var(--aubergine), var(--purple-2)); color: var(--ivory); padding: clamp(4rem, 8vw, 6rem) 0; text-align: center; }
.cta-strip h2 { font-family: var(--serif); font-weight: 400; color: var(--ivory); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.4rem; }
.cta-strip p { color: var(--amethyst-soft); max-width: 52ch; margin: 0 auto 2rem; }

.about__profile-link { margin-top: 2.2rem; }
.nav__link--active { color: var(--ink); }
.nav__link--active::after { width: 100%; }

.byline { font-size: 0.82rem; letter-spacing: 0.05em; color: var(--mute); margin-top: 1.8rem; }
.byline strong { color: var(--ink); font-weight: 500; }
.byline .dot { color: var(--gold); margin: 0 0.5rem; }
.faq { max-width: 740px; margin: 4rem auto 0; }
.faq__title { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; margin-bottom: 2rem; }
.faq__item { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: 1.3rem; margin-bottom: 0.6rem; line-height: 1.3; }
.faq__a { font-size: 1.05rem; line-height: 1.75; color: var(--mute); }
.prose a { color: var(--purple); border-bottom: 1px solid var(--gold); transition: color 0.3s var(--ease); }
.prose a:hover { color: var(--ink); }

@media (max-width: 900px) { .cluster { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .page-hero { padding-top: 9rem; } }

/* ----------  REDUCED MOTION  ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .case__img, .article__img, .about__portrait { clip-path: none !important; }
    .case__img img, .article__img img, .about__portrait img { transform: none !important; }
    .ambient { display: none; }
    html { scroll-behavior: auto; }
}

/* =====================================================================
   COOKIE CONSENT & PREFERENCES SYSTEM
   ===================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--charcoal);
    border-top: 1px solid rgba(221, 197, 154, 0.15);
    padding: 1.5rem clamp(1rem, 5vw, 2.5rem);
    z-index: 99999;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), visibility 0.6s;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner__text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--amethyst-soft);
    max-width: 75ch;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn--cc-accept {
    background: var(--gold);
    color: var(--charcoal);
    border: 1px solid var(--gold);
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn--cc-accept:hover {
    background: transparent;
    color: var(--gold);
}

.btn--cc-decline {
    background: transparent;
    color: var(--ivory-3);
    border: 1px solid rgba(235, 229, 216, 0.25);
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn--cc-decline:hover {
    border-color: var(--ivory);
    color: var(--ivory);
}

.btn--cc-settings {
    background: transparent;
    color: var(--gold-soft);
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 0.6rem 0.5rem;
}

.btn--cc-settings:hover {
    color: var(--gold-2);
}

/* Cookie Preference Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    padding: 1.5rem;
}

.cookie-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 14, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-modal__content {
    position: relative;
    z-index: 2;
    background: var(--charcoal-2);
    border: 1px solid rgba(221, 197, 154, 0.16);
    max-width: 580px;
    width: 100%;
    padding: 2.8rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: translateY(20px);
    transition: transform 0.4s var(--ease);
}

.cookie-modal.visible .cookie-modal__content {
    transform: translateY(0);
}

.cookie-modal__title {
    font-family: var(--serif);
    font-size: 1.8rem;
    color: var(--gold-soft);
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.cookie-modal__desc {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--amethyst-soft);
    margin-bottom: 2rem;
}

.cookie-modal__options {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.cookie-modal__option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(221, 197, 154, 0.08);
}

.cookie-modal__option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cookie-modal__option-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cookie-modal__option-name {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--ivory);
}

.cookie-modal__option-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--mute);
}

/* Custom Toggle Switch */
.cookie-modal__toggle-wrapper {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-modal__checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-modal__toggle-label {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(235, 229, 216, 0.1);
    border: 1px solid rgba(221, 197, 154, 0.2);
    border-radius: 24px;
    transition: background-color 0.3s;
}

.cookie-modal__toggle-label::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--ivory-3);
    transition: transform 0.3s var(--ease), background-color 0.3s;
    border-radius: 50%;
}

.cookie-modal__checkbox:checked + .cookie-modal__toggle-label {
    background-color: rgba(168, 133, 72, 0.2);
    border-color: var(--gold);
}

.cookie-modal__checkbox:checked + .cookie-modal__toggle-label::before {
    transform: translateX(20px);
    background-color: var(--gold-soft);
}

.cookie-modal__checkbox:disabled + .cookie-modal__toggle-label {
    opacity: 0.4;
    cursor: not-allowed;
}

.cookie-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn--cc-modal-close {
    background: transparent;
    color: var(--ivory-3);
    border: 1px solid rgba(235, 229, 216, 0.2);
    padding: 0.7rem 1.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn--cc-modal-close:hover {
    border-color: var(--ivory);
    color: var(--ivory);
}

.btn--cc-modal-save {
    background: var(--gold);
    color: var(--charcoal);
    border: 1px solid var(--gold);
    padding: 0.7rem 1.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn--cc-modal-save:hover {
    background: transparent;
    color: var(--gold);
}

/* Responsiveness for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1.2rem;
    }
    
    .cookie-banner__actions {
        justify-content: space-between;
        width: 100%;
        gap: 0.6rem;
    }
    
    .cookie-banner__actions .btn {
        flex: 1;
        padding: 0.6rem 0.5rem;
        font-size: 0.75rem;
        text-align: center;
    }
    
    .cookie-modal__content {
        padding: 2rem;
    }
}

