/* =================================================================
   MERAKI ADVERTISING — LANDING PAGE
   Palette: Midnight & Gold
   ================================================================= */

:root {
    /* default theme = Midnight & Gold (palette #1) */
    --midnight:    #0A1628;
    --midnight-2:  #0F1E36;
    --gold:        #C9A961;
    --gold-soft:   #D9BE7C;
    --gold-deep:   #A88A45;
    --cream:       #F5F1E8;
    --cream-2:     #EDE6D4;
    --charcoal:    #2D3748;
    --bronze:      #8B7355;
    --line:        rgba(201, 169, 97, 0.2);
    --line-soft:   rgba(45, 55, 72, 0.12);
    --gold-rgb:    201, 169, 97;
    --midnight-rgb: 10, 22, 40;
    --cream-rgb:   245, 241, 232;
    --select-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23C9A961' stroke-width='1.5' d='M1 1.5l5 5 5-5'/></svg>");

    --serif: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
    --sans:  "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --maxw: 1200px;
    --pad:  clamp(1.25rem, 4vw, 2.5rem);

    --ease: cubic-bezier(.2,.7,.2,1);
}

/* Palette 2 — Forest & Copper */
[data-theme="forest"] {
    --midnight:    #1B3A2F;
    --midnight-2:  #234A3D;
    --gold:        #B87333;
    --gold-soft:   #CC8A4F;
    --gold-deep:   #8F5A28;
    --cream:       #FAF6F0;
    --cream-2:     #F0E8D8;
    --charcoal:    #2C1810;
    --bronze:      #87A88C;
    --line:        rgba(184, 115, 51, 0.22);
    --line-soft:   rgba(44, 24, 16, 0.14);
    --gold-rgb:    184, 115, 51;
    --midnight-rgb: 27, 58, 47;
    --cream-rgb:   250, 246, 240;
    --select-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23B87333' stroke-width='1.5' d='M1 1.5l5 5 5-5'/></svg>");
}

/* Palette 3 — Obsidian & Champagne */
[data-theme="obsidian"] {
    --midnight:    #0F0F11;
    --midnight-2:  #1A1A1D;
    --gold:        #D4A574;
    --gold-soft:   #E2B98E;
    --gold-deep:   #B5895C;
    --cream:       #FAFAFA;
    --cream-2:     #E8E4DD;
    --charcoal:    #525252;
    --bronze:      #997B5A;
    --line:        rgba(212, 165, 116, 0.22);
    --line-soft:   rgba(82, 82, 82, 0.14);
    --gold-rgb:    212, 165, 116;
    --midnight-rgb: 15, 15, 17;
    --cream-rgb:   250, 250, 250;
    --select-arrow: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23D4A574' stroke-width='1.5' d='M1 1.5l5 5 5-5'/></svg>");
}

/* ---------- 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-size: 17px;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img,svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul,ol { list-style: none; }
input,textarea,select,button { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--midnight); }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: var(--pad);
}

/* ---------- GRAIN OVERLAY ---------- */
/* Subtle film grain — applied over dark sections for premium tactile feel */
.grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 240px 240px;
}
@media (prefers-reduced-motion: reduce) {
    .grain { opacity: .25; }
}

/* ---------- TYPOGRAPHY ---------- */
.display,
.h2 {
    font-family: var(--serif);
    font-weight: 450;
    line-height: 1.02;
    letter-spacing: -0.018em;
    color: var(--midnight);
    font-variation-settings: "opsz" 144;
    text-wrap: balance;
}
.display em,
.h2 em {
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 450;
    font-variation-settings: "opsz" 144;
}
.display {
    font-size: clamp(2.6rem, 6.8vw, 5.4rem);
    letter-spacing: -0.028em;
}
.h2 { font-size: clamp(2.05rem, 4.6vw, 3.6rem); letter-spacing: -0.022em; }
h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.55rem;
    color: var(--midnight);
    line-height: 1.18;
    letter-spacing: -0.012em;
    font-variation-settings: "opsz" 36;
}
h4 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--midnight); letter-spacing: -0.01em; }
h5 { font-family: var(--sans); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.1rem; }
p  { font-size: 1.0625rem; }

.eyebrow {
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 1.1rem;
}
.eyebrow--gold { color: var(--gold); }

.rule {
    display: inline-block;
    width: 3rem; height: 1px;
    background: currentColor;
    opacity: .35;
    vertical-align: middle;
    margin: 0 .9rem;
}
.rule--gold { background: var(--gold); opacity: 1; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: .5rem;
    padding: 1.05rem 1.9rem;
    font-family: var(--sans);
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .04em;
    border-radius: 2px;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
    white-space: nowrap;
    border: 1px solid transparent;
    will-change: transform;
}
.btn--sm     { padding: .75rem 1.3rem; font-size: .85rem; }
.btn--block  { width: 100%; }

.btn--gold {
    background: var(--gold);
    color: var(--midnight);
    box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 30px -12px rgba(var(--gold-rgb),.55);
}
.btn--gold:hover {
    background: var(--gold-soft);
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 18px 40px -14px rgba(var(--gold-rgb),.7);
}

.btn--ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(var(--cream-rgb),.32);
}
.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.btn__arrow {
    display: inline-block;
    transition: transform .35s var(--ease);
    margin-left: .15rem;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--midnight {
    background: var(--midnight);
    color: var(--cream);
}
.btn--midnight:hover {
    background: var(--midnight-2);
    transform: translateY(-1px);
}

/* ---------- NAV ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: rgba(var(--midnight-rgb), .82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: rgba(var(--gold-rgb),.18);
}
.nav__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1.05rem var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: var(--cream);
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 450;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 36;
}
.brand em { font-style: italic; color: var(--gold); font-weight: 400; }
.brand__mark {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: grid; place-items: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    font-variation-settings: "opsz" 36;
    transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.brand:hover .brand__mark {
    background: var(--gold);
    color: var(--midnight);
    transform: rotate(-8deg) scale(1.05);
}
.nav__links {
    display: flex;
    gap: 2.2rem;
}
.nav__links a {
    color: var(--cream);
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .03em;
    opacity: .78;
    position: relative;
    padding: .25rem 0;
}
.nav__links a:hover { color: var(--gold); opacity: 1; }
.nav__links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

@media (max-width: 880px) {
    .nav__links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--midnight);
    color: var(--cream);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 9rem 0 6rem;
}
.hero__bg {
    position: absolute; inset: 0;
    pointer-events: none;
}
.hero__glow {
    position: absolute;
    width: 70vmax; height: 70vmax;
    top: -25vmax; right: -20vmax;
    background: radial-gradient(closest-side, rgba(var(--gold-rgb),.22), rgba(var(--gold-rgb),0) 70%);
    filter: blur(40px);
}
.hero__bg::before {
    content: "";
    position: absolute;
    width: 50vmax; height: 50vmax;
    bottom: -20vmax; left: -15vmax;
    background: radial-gradient(closest-side, rgba(var(--gold-rgb),.14), rgba(var(--gold-rgb),0) 70%);
    filter: blur(30px);
}
.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(var(--gold-rgb),.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--gold-rgb),.05) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent);
}

/* Greek word as decorative backdrop — the brand's heart */
.hero__word {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(8rem, 27vw, 28rem);
    line-height: 1;
    letter-spacing: -0.045em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(var(--gold-rgb), 0.19);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    z-index: 1;
    font-variation-settings: "opsz" 144;
    mix-blend-mode: screen;
    opacity: .92;
    will-change: transform;
}

.hero__inner { position: relative; z-index: 3; }

/* Hero head bar — small editorial mark above eyebrow */
.hero__head {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 2.2rem;
    color: rgba(var(--cream-rgb), .55);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.hero__tag,
.hero__locale {
    font-family: var(--sans);
}
.hero__tag em { font-style: italic; color: var(--gold); letter-spacing: .12em; }
.hero__rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(var(--gold-rgb), .35), rgba(var(--gold-rgb), 0));
    max-width: 120px;
}
.hero__locale { color: var(--gold); opacity: .8; }
@media (max-width: 720px) {
    .hero__head { font-size: .65rem; gap: .6rem; }
    .hero__rule { max-width: 60px; }
}

.hero .display {
    color: var(--cream);
    max-width: 18ch;
    margin-bottom: 1.6rem;
}
.hero .display em { color: var(--gold); }

.hero__sub {
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    color: rgba(var(--cream-rgb),.78);
    max-width: 56ch;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

/* Hero guarantee chip — small editorial pill, links to certificate */
.hero__guarantee {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem 1.1rem .55rem .9rem;
    border: 1px solid rgba(var(--gold-rgb), .35);
    border-radius: 100px;
    background: rgba(var(--gold-rgb), .055);
    color: var(--gold);
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    margin-bottom: 4rem;
    transition: border-color .3s var(--ease),
                background .3s var(--ease),
                transform .3s var(--ease),
                color .3s var(--ease);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    will-change: transform;
}
.hero__guarantee:hover {
    border-color: var(--gold);
    background: rgba(var(--gold-rgb), .14);
    color: var(--gold-soft);
    transform: translateY(-1px);
}
.hero__guarantee-mark {
    color: var(--gold);
    font-size: .72rem;
    line-height: 1;
    transform: translateY(-.5px);
}
.hero__guarantee-arrow {
    font-size: .8rem;
    transition: transform .3s var(--ease);
    opacity: .65;
}
.hero__guarantee:hover .hero__guarantee-arrow {
    transform: translateX(3px);
    opacity: 1;
}
@media (max-width: 480px) {
    .hero__guarantee { font-size: .6rem; letter-spacing: .2em; padding: .5rem .85rem .5rem .7rem; }
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2.5rem;
    border-top: 1px solid var(--line);
    padding-top: 2.2rem;
    max-width: 720px;
}
.hero__metrics li {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.metric__num {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    color: var(--gold);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
    font-variation-settings: "opsz" 96;
}
.metric__unit {
    font-family: var(--serif);
    font-style: italic;
    font-size: .65em;
    opacity: .85;
    margin-left: .04em;
    font-weight: 400;
}
.metric__lbl {
    font-size: .72rem;
    color: rgba(var(--cream-rgb),.55);
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 500;
}
@media (max-width: 720px) {
    .hero__metrics { grid-template-columns: repeat(2, 1fr); }
}

.hero__scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 38px;
    border: 1px solid rgba(var(--gold-rgb),.5);
    border-radius: 14px;
    z-index: 4;
}
.hero__scroll span {
    position: absolute;
    top: 7px; left: 50%;
    width: 3px; height: 7px;
    background: var(--gold);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
    0%   { opacity: 0; transform: translate(-50%, 0); }
    40%  { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- SECTION HEAD ---------- */
.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem;
}
.section__head .h2 em { font-style: italic; }
.section__head--light .h2 { color: var(--cream); }
.section__head--light .h2 em { color: var(--gold); }
.section__lede {
    margin-top: 1.4rem;
    color: rgba(var(--midnight-rgb),.7);
    font-size: 1.08rem;
    text-wrap: pretty;
}
.section__head--light .section__lede { color: rgba(var(--cream-rgb),.72); }

/* ---------- REALITY ---------- */
.reality {
    background: var(--cream);
    padding: 7rem 0;
}
.reality__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 4rem;
}
.reality__grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .reality__grid--three { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .reality__grid { grid-template-columns: 1fr; } }

.reality__card {
    background: var(--cream);
    border: 1px solid var(--line-soft);
    padding: 2.5rem 2rem 2rem;
    border-radius: 4px;
    position: relative;
    transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
    overflow: hidden;
}
.reality__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.reality__card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 30px 60px -30px rgba(var(--midnight-rgb),.18);
}
.reality__card:hover::before { transform: scaleX(1); }
.reality__num {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    display: block;
    margin-bottom: 1.4rem;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 96;
}
.reality__card h3 { margin-bottom: .8rem; font-weight: 500; }
.reality__card p  { color: rgba(var(--midnight-rgb),.72); line-height: 1.6; }

.reality__verdict {
    text-align: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    color: var(--midnight);
    max-width: 720px;
    margin: 0 auto;
}
.reality__verdict .rule { color: var(--gold); }

/* ---------- SYSTEM (PILLARS) ---------- */
.system {
    background: var(--midnight);
    color: var(--cream);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}
.system::before {
    content: "";
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 80vmax; height: 80vmax;
    background: radial-gradient(closest-side, rgba(var(--gold-rgb),.08), transparent 70%);
    pointer-events: none;
}
.system::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 240px;
}
.system .container { position: relative; z-index: 2; }

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
}
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
    background: rgba(var(--cream-rgb),.025);
    border: 1px solid var(--line);
    padding: 2.6rem 2rem 2rem;
    border-radius: 3px;
    transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.pillar::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(var(--gold-rgb), .4), transparent);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.pillar:hover {
    background: rgba(var(--gold-rgb),.05);
    border-color: rgba(var(--gold-rgb),.45);
    transform: translateY(-4px);
}
.pillar:hover::before { opacity: 1; }

.pillar__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}
.pillar__no {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    font-size: 3.2rem;
    line-height: .85;
    font-weight: 400;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144;
    display: inline-block;
    transition: transform .5s var(--ease);
}
.pillar:hover .pillar__no { transform: translateY(-2px); }
.pillar h3 {
    color: var(--cream);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.18;
}
.pillar > p {
    color: rgba(var(--cream-rgb),.72);
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 1.6rem;
}
.pillar > p:last-child { margin-bottom: 0; }
.pillar__list {
    margin-top: auto;
    padding-top: 1.4rem;
    border-top: 1px dashed var(--line);
    display: flex;
    flex-direction: column;
    gap: .7rem;
}
.pillar__list li {
    color: rgba(var(--cream-rgb),.85);
    font-size: .9rem;
    padding-left: 1.4rem;
    position: relative;
    line-height: 1.45;
}
.pillar__list li::before {
    content: "";
    position: absolute;
    left: 0; top: .58em;
    width: 8px; height: 1px;
    background: var(--gold);
}

.pillar--feature {
    grid-column: span 1;
    background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--midnight);
    border-color: transparent;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.pillar--feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 240px;
    opacity: .14;
    pointer-events: none;
    mix-blend-mode: multiply;
}
.pillar--feature > * { position: relative; z-index: 1; }
.pillar--feature::before { display: none; }
.pillar--feature:hover { background: linear-gradient(160deg, var(--gold-soft) 0%, var(--gold) 100%); border-color: transparent; }
.pillar__feature-eyebrow {
    font-size: .72rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--midnight);
    opacity: .7;
    margin-bottom: 1.2rem;
    font-weight: 500;
}
.pillar__feature-title {
    font-family: var(--serif);
    font-size: 1.75rem;
    line-height: 1.1;
    color: var(--midnight);
    margin-bottom: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 96;
}
.pillar--feature p {
    color: rgba(var(--midnight-rgb),.82);
    font-size: 1rem;
    margin-bottom: 1.8rem;
    line-height: 1.55;
}
.pillar--feature .btn--gold {
    background: var(--midnight);
    color: var(--gold);
    box-shadow: 0 8px 24px -10px rgba(var(--midnight-rgb), .6);
}
.pillar--feature .btn--gold:hover { background: var(--midnight-2); transform: translateY(-1px); }

@media (max-width: 980px) {
    .pillar--feature { grid-column: span 2; }
}
@media (max-width: 640px) {
    .pillar--feature { grid-column: span 1; }
}

/* ---------- PROCESS / TIMELINE ---------- */
.process {
    background: var(--cream);
    padding: 8rem 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding-left: 2rem;
    counter-reset: timeline;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 9px; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), rgba(var(--gold-rgb),.15));
}
.timeline__step {
    position: relative;
    padding: 0 0 2.8rem 2.2rem;
    counter-increment: timeline;
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step::before {
    content: "";
    position: absolute;
    left: -2rem; top: 6px;
    width: 19px; height: 19px;
    border: 1px solid var(--gold);
    background: var(--cream);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--cream);
}
.timeline__step::after {
    content: "";
    position: absolute;
    left: -1.6rem; top: 10px;
    width: 11px; height: 11px;
    background: var(--gold);
    border-radius: 50%;
    transition: transform .4s var(--ease), background .4s var(--ease);
}
.timeline__step:hover::after { transform: scale(1.25); background: var(--gold-soft); }
.timeline__day {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--sans);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-deep);
    background: rgba(var(--gold-rgb),.08);
    padding: .4rem .7rem .4rem .55rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    border: 1px solid rgba(var(--gold-rgb),.18);
}
.timeline__day::before {
    content: "0" counter(timeline);
    font-family: var(--mono);
    font-size: .68rem;
    color: var(--gold);
    letter-spacing: .04em;
    padding-right: .55rem;
    border-right: 1px solid rgba(var(--gold-rgb),.3);
}
.timeline__step h3 {
    margin-bottom: .55rem;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 500;
    letter-spacing: -0.012em;
    font-variation-settings: "opsz" 36;
}
.timeline__step p  {
    color: rgba(var(--midnight-rgb),.72);
    max-width: 60ch;
    line-height: 1.6;
}

/* ---------- RESULTS ---------- */
.results {
    background: var(--midnight);
    color: var(--cream);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}
.results::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(var(--gold-rgb),.08), transparent 60%);
    pointer-events: none;
}
.results::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 240px;
}
.results .container { position: relative; z-index: 2; }

.stat__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 4rem 0;
    margin-bottom: 6rem;
    position: relative;
    counter-reset: stat;
}
.stat__row::before,
.stat__row::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 80px; height: 1px;
    background: var(--gold);
}
.stat__row::before { top: -1px; }
.stat__row::after  { bottom: -1px; }
@media (max-width: 720px) {
    .stat__row { grid-template-columns: repeat(2, 1fr); padding: 2.5rem 0; }
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
    border-right: 1px solid var(--line);
    padding: .25rem 1rem;
    position: relative;
    counter-increment: stat;
}
.stat::before {
    content: "0" counter(stat);
    position: absolute;
    top: -.25rem; left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: .62rem;
    color: rgba(var(--gold-rgb), .55);
    letter-spacing: .2em;
}
.stat:last-child { border-right: 0; }
@media (max-width: 720px) {
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
}
.stat__num {
    font-family: var(--serif);
    font-size: clamp(3.2rem, 6.2vw, 5.4rem);
    color: var(--gold);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variation-settings: "opsz" 144;
    display: inline-block;
}
.stat__plus {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    color: var(--gold);
    margin-left: .12rem;
    line-height: 1;
    font-weight: 400;
    opacity: .85;
    font-variation-settings: "opsz" 96;
}
.stat__lbl {
    margin-top: 1.4rem;
    font-size: .7rem;
    color: rgba(var(--cream-rgb),.6);
    letter-spacing: .22em;
    text-transform: uppercase;
    line-height: 1.6;
    font-weight: 500;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem 4rem;
    align-items: start;
    position: relative;
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr; gap: 2.5rem; } }

.testimonials__supporting {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.testimonial {
    border-left: 1px solid var(--line);
    padding: .25rem 0 .25rem 1.6rem;
    position: relative;
}
.testimonial blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(var(--cream-rgb), .92);
    margin-bottom: 1.2rem;
    font-weight: 400;
    font-variation-settings: "opsz" 36;
}
.testimonial blockquote em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}
.testimonial figcaption {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.testimonial__name {
    font-weight: 600;
    color: var(--cream);
    font-size: .92rem;
    letter-spacing: -0.005em;
}
.testimonial__role {
    color: rgba(var(--cream-rgb),.5);
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Lead testimonial — the magazine pull-quote */
.testimonial--lead {
    border-left: 0;
    padding: 0;
    position: relative;
    padding-top: 1rem;
}
.testimonial__mark {
    position: absolute;
    top: -2.6rem; left: -.5rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 9rem;
    line-height: 1;
    color: var(--gold);
    opacity: .9;
    pointer-events: none;
    user-select: none;
    font-variation-settings: "opsz" 144;
    letter-spacing: -0.05em;
}
.testimonial--lead blockquote {
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
    font-style: italic;
    line-height: 1.32;
    color: var(--cream);
    letter-spacing: -0.012em;
    margin-bottom: 1.8rem;
    font-variation-settings: "opsz" 96;
    max-width: 24ch;
}
.testimonial--lead .testimonial__name { font-size: 1rem; }
@media (max-width: 880px) {
    .testimonial__mark { font-size: 6rem; top: -1.6rem; }
}

/* ---------- WHY MERAKI ---------- */
.why {
    background: var(--cream-2);
    padding: 8rem 0 8rem;
}

/* μεράκι — dictionary-entry treatment, the brand story moment */
.meraki-def {
    max-width: 760px;
    margin: 0 auto 6rem;
    padding: 3rem 2.5rem 2.6rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 40px 80px -40px rgba(var(--midnight-rgb), .25);
}
.meraki-def::before,
.meraki-def::after {
    content: "";
    position: absolute;
    width: 24px; height: 24px;
    border: 1px solid var(--gold);
}
.meraki-def::before {
    top: -1px; left: -1px;
    border-right: 0; border-bottom: 0;
}
.meraki-def::after {
    bottom: -1px; right: -1px;
    border-left: 0; border-top: 0;
}
.meraki-def__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding-bottom: 1.6rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px dashed var(--line);
}
.meraki-def__greek {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    color: var(--midnight);
    line-height: 1;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144;
}
.meraki-def__phon {
    font-family: var(--mono);
    font-size: .82rem;
    color: var(--bronze);
    letter-spacing: .04em;
    font-style: normal;
}
.meraki-def__phon em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold-deep);
    font-size: 1rem;
    margin-left: .4rem;
    letter-spacing: 0;
}
.meraki-def__body {
    font-family: var(--serif);
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    line-height: 1.5;
    color: var(--midnight);
    letter-spacing: -0.005em;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    font-variation-settings: "opsz" 36;
    text-wrap: pretty;
}
.meraki-def__num {
    color: var(--gold);
    font-family: var(--mono);
    font-size: .85em;
    margin-right: .6rem;
    vertical-align: .15em;
    letter-spacing: .05em;
}
.meraki-def__cite {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    gap: .9rem;
    font-family: var(--sans);
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bronze);
    font-weight: 500;
}
.meraki-def__rule {
    width: 24px; height: 1px;
    background: var(--gold);
    flex: none;
}
@media (max-width: 640px) {
    .meraki-def { padding: 2rem 1.4rem 1.6rem; }
    .meraki-def__head { gap: .6rem; }
}

.why__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
    align-items: start;
}
@media (max-width: 880px) { .why__grid { grid-template-columns: 1fr; gap: 3rem; } }

.why__copy h2 { margin-bottom: 1.6rem; }
.why__copy p { color: rgba(var(--midnight-rgb),.78); margin-bottom: 2.2rem; }

.why__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.why__list li {
    display: flex;
    gap: 1.2rem;
    background: var(--cream);
    padding: 1.5rem;
    border: 1px solid var(--line-soft);
    border-radius: 3px;
    transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why__list li:hover {
    border-color: var(--gold);
    transform: translateX(4px);
    box-shadow: 0 20px 40px -24px rgba(var(--midnight-rgb), .2);
}
.why__icon {
    flex: none;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--midnight);
    color: var(--gold);
    transition: transform .35s var(--ease);
}
.why__list li:hover .why__icon { transform: rotate(-6deg) scale(1.05); }
.why__icon svg { width: 20px; height: 20px; }
.why__list h4 { margin-bottom: .35rem; }
.why__list p  { color: rgba(var(--midnight-rgb),.7); font-size: .94rem; line-height: 1.55; }

/* ---------- GUARANTEE ---------- */
.guarantee {
    background: var(--cream-2);
    padding: 8rem 0 9rem;
    position: relative;
    overflow: hidden;
}
.guarantee::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(var(--gold-rgb),.07), transparent 65%);
    pointer-events: none;
}
.guarantee::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 240px;
}
.guarantee__inner {
    position: relative;
    text-align: center;
    z-index: 2;
}
.guarantee__head {
    max-width: 680px;
    margin: 0 auto 4rem;
}
.guarantee__head .h2 { margin-bottom: 1.4rem; }
.guarantee__head .h2 em { color: var(--gold-deep); }

/* The certificate — old-world deed / wax-seal aesthetic */
.certificate {
    position: relative;
    background: var(--cream);
    padding: 5rem 3rem 4.5rem;
    margin: 0 auto;
    max-width: 720px;
    box-shadow:
        0 1px 0 rgba(255,255,255,.5) inset,
        0 60px 100px -50px rgba(var(--midnight-rgb),.32),
        0 24px 48px -28px rgba(var(--midnight-rgb),.18);
    border: 1px solid var(--line);
}
@media (max-width: 640px) {
    .certificate { padding: 3.2rem 1.4rem 3rem; }
}

/* Decorative gold corners */
.certificate__corner {
    position: absolute;
    width: 38px;
    height: 38px;
    border: 1px solid var(--gold);
    pointer-events: none;
}
.certificate__corner--tl { top: 14px; left: 14px;  border-right: 0; border-bottom: 0; }
.certificate__corner--tr { top: 14px; right: 14px; border-left: 0;  border-bottom: 0; }
.certificate__corner--bl { bottom: 14px; left: 14px;  border-right: 0; border-top: 0; }
.certificate__corner--br { bottom: 14px; right: 14px; border-left: 0;  border-top: 0; }
.certificate__corner::before {
    content: "";
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
}
.certificate__corner--tl::before { top: -3px; left: -3px; }
.certificate__corner--tr::before { top: -3px; right: -3px; }
.certificate__corner--bl::before { bottom: -3px; left: -3px; }
.certificate__corner--br::before { bottom: -3px; right: -3px; }

.certificate__rule {
    width: 88px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
    margin: 0 auto;
    opacity: .9;
}
.certificate__small {
    font-family: var(--serif);
    font-style: italic;
    color: var(--bronze);
    font-size: .92rem;
    letter-spacing: .04em;
    margin: 1.6rem 0 1.6rem;
    font-variation-settings: "opsz" 36;
}
.certificate__small--muted {
    color: rgba(var(--midnight-rgb), .55);
    font-size: .82rem;
    margin: 1.4rem 0 1.6rem;
}
.certificate__body {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.6vw, 2.05rem);
    line-height: 1.42;
    color: var(--midnight);
    font-weight: 450;
    letter-spacing: -0.014em;
    font-variation-settings: "opsz" 96;
    margin: .5rem 0 2.8rem;
    text-wrap: balance;
}
.certificate__body em {
    font-style: italic;
    color: var(--gold-deep);
    font-weight: 450;
}

/* Wax seal medallion — the centerpiece */
.certificate__seal {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.4rem;
    position: relative;
}
.certificate__seal-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: sealSpin 32s linear infinite;
    will-change: transform;
}
.certificate__seal-ring text {
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .32em;
    fill: var(--gold-deep);
    text-transform: uppercase;
}
@keyframes sealSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .certificate__seal-ring { animation: none; }
}

.certificate__seal-inner {
    position: absolute;
    inset: 26px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%,
            var(--gold-soft) 0%,
            var(--gold) 38%,
            var(--gold-deep) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 1px rgba(var(--gold-rgb),.6),
        inset 0 4px 8px rgba(255,255,255,.32),
        inset 0 -4px 8px rgba(var(--midnight-rgb),.28),
        0 16px 32px -10px rgba(var(--gold-rgb),.55),
        0 4px 12px -4px rgba(var(--midnight-rgb),.35);
}
.certificate__seal-inner::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    border: 1px dashed rgba(var(--midnight-rgb),.38);
    pointer-events: none;
}
.certificate__seal-inner::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(var(--midnight-rgb),.18);
    pointer-events: none;
}
.certificate__seal-num {
    position: relative;
    font-family: var(--serif);
    font-style: italic;
    font-size: 3.8rem;
    color: var(--midnight);
    line-height: 1;
    font-variation-settings: "opsz" 144;
    font-weight: 500;
    letter-spacing: -0.025em;
    text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
.certificate__seal-lbl {
    position: relative;
    font-family: var(--sans);
    font-size: .66rem;
    color: var(--midnight);
    letter-spacing: .32em;
    text-transform: uppercase;
    margin-top: .35rem;
    opacity: .88;
    font-weight: 700;
}
@media (max-width: 640px) {
    .certificate__seal { width: 160px; height: 160px; }
    .certificate__seal-inner { inset: 20px; }
    .certificate__seal-num { font-size: 3rem; }
    .certificate__seal-ring text { font-size: 10px; letter-spacing: .26em; }
}

.guarantee__foot {
    margin: 3rem auto 0;
    max-width: 640px;
    font-family: var(--serif);
    font-style: italic;
    color: var(--bronze);
    font-size: .98rem;
    text-align: center;
    line-height: 1.5;
    font-variation-settings: "opsz" 36;
}
.guarantee__foot em {
    color: var(--gold-deep);
    font-style: italic;
    font-weight: 500;
}
.guarantee__foot .rule { color: var(--gold); }

/* ---------- APPLY ---------- */
.apply {
    background: var(--midnight);
    color: var(--cream);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}
.apply::before {
    content: "";
    position: absolute;
    width: 70vmax; height: 70vmax;
    top: -25vmax; left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(var(--gold-rgb),.14), transparent 70%);
    pointer-events: none;
}

.apply__inner {
    position: relative;
    text-align: center;
    max-width: 760px;
    z-index: 2;
}
.apply__h { color: var(--cream); margin-bottom: 1.2rem; }
.apply__h em { color: var(--gold); }
.apply__lede {
    color: rgba(var(--cream-rgb),.75);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* What happens next — step strip */
.apply__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 auto 3.5rem;
    max-width: 920px;
    text-align: left;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    counter-reset: applystep;
}
.apply__steps li {
    padding: 2rem 1.6rem;
    border-right: 1px solid var(--line);
    position: relative;
}
.apply__steps li:last-child { border-right: 0; }
.apply__step-no {
    display: inline-block;
    font-family: var(--serif);
    font-style: italic;
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: .02em;
    font-variation-settings: "opsz" 96;
}
.apply__steps h4 {
    color: var(--cream);
    font-size: 1rem;
    margin-bottom: .55rem;
    letter-spacing: -0.01em;
}
.apply__steps p {
    color: rgba(var(--cream-rgb), .65);
    font-size: .88rem;
    line-height: 1.5;
    margin: 0;
}
@media (max-width: 720px) {
    .apply__steps { grid-template-columns: 1fr; }
    .apply__steps li { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.5rem 1rem; }
    .apply__steps li:last-child { border-bottom: 0; }
}

.apply__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    text-align: left;
    background: rgba(var(--cream-rgb),.025);
    border: 1px solid var(--line);
    padding: 2.5rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}
.apply__form::before,
.apply__form::after {
    content: "";
    position: absolute;
    width: 18px; height: 18px;
    border: 1px solid var(--gold);
    pointer-events: none;
}
.apply__form::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.apply__form::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
@media (max-width: 640px) { .apply__form { grid-template-columns: 1fr; padding: 1.6rem; } }

.field--full { grid-column: 1 / -1; }

.field {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.field label {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(var(--cream-rgb),.55);
    font-weight: 500;
}
.field input,
.field select,
.field textarea {
    background: rgba(var(--midnight-rgb),.5);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: .95rem 1rem;
    color: var(--cream);
    font-size: 1rem;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
    font-family: inherit;
    letter-spacing: -0.005em;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(var(--midnight-rgb),.75);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .12);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select {
    appearance: none;
    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.field select option { background: var(--midnight); color: var(--cream); }

.apply__thanks {
    margin-top: 1.2rem;
    color: var(--gold);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    text-align: center;
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--cream);
    padding: 7rem 0;
}
.faq__list {
    max-width: 780px;
    margin: 0 auto;
    border-top: 1px solid var(--line-soft);
}
.faq__item {
    border-bottom: 1px solid var(--line-soft);
}
.faq__item summary {
    padding: 1.7rem 2rem 1.7rem 0;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 1.6vw, 1.35rem);
    font-weight: 450;
    color: var(--midnight);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color .25s var(--ease);
    letter-spacing: -0.012em;
    font-variation-settings: "opsz" 36;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.6rem;
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1;
    transition: transform .3s var(--ease), color .25s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--gold-deep); }

.faq__item p {
    padding: 0 0 1.8rem;
    color: rgba(var(--midnight-rgb),.72);
    max-width: 65ch;
    line-height: 1.65;
    animation: fadeUp .35s var(--ease);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--midnight);
    color: var(--cream);
    padding: 5rem 0 2rem;
    position: relative;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; } }

.footer__brand p {
    margin-top: 1.4rem;
    color: rgba(var(--cream-rgb),.6);
    max-width: 36ch;
    font-size: .95rem;
    line-height: 1.6;
}
.brand--light { color: var(--cream); }

.footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 540px) { .footer__nav { grid-template-columns: repeat(2, 1fr); } }

.footer__nav a {
    display: block;
    font-size: .92rem;
    color: rgba(var(--cream-rgb),.65);
    padding: .35rem 0;
}
.footer__nav a:hover { color: var(--gold); }
.footer__legal {
    color: rgba(var(--cream-rgb),.5);
}

.footer__rule {
    height: 1px;
    background: var(--line);
    margin: 0 var(--pad);
    max-width: var(--maxw);
    margin-inline: auto;
}

.footer__legal {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
    color: rgba(var(--cream-rgb),.5);
}
.footer__fineprint {
    max-width: 50ch;
    text-align: right;
}
@media (max-width: 720px) {
    .footer__fineprint { text-align: left; }
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0s);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__scroll span { animation: none; }
    * { scroll-behavior: auto !important; }
}

/* =================================================================
   PALETTE SWITCHER
   ================================================================= */

/* Cross-fade body when palette swaps */
body.is-theming { transition: opacity .25s var(--ease); opacity: .4; }

.palette {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    font-family: var(--sans);
}

.palette__toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--midnight);
    color: var(--gold);
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 18px 40px -12px rgba(0,0,0,.45),
                0 0 0 0 rgba(var(--gold-rgb), .35);
    transition: transform .3s var(--ease),
                box-shadow .4s var(--ease),
                background .3s var(--ease);
    position: relative;
}
.palette__toggle:hover {
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 22px 50px -12px rgba(0,0,0,.5),
                0 0 0 8px rgba(var(--gold-rgb), .12);
}
.palette__toggle svg {
    width: 22px;
    height: 22px;
    transition: transform .4s var(--ease);
}
.palette[data-open="true"] .palette__toggle {
    transform: rotate(135deg);
}
.palette[data-open="true"] .palette__toggle:hover {
    transform: rotate(135deg) scale(1.05);
}

/* Pulsing ring on first load to draw attention */
.palette__toggle::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    opacity: 0;
    animation: paletteHint 2.6s var(--ease) 1.5s 2;
    pointer-events: none;
}
@keyframes paletteHint {
    0%   { opacity: .9; transform: scale(1); }
    100% { opacity: 0;  transform: scale(1.6); }
}

.palette__panel {
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    width: min(340px, 88vw);
    background: var(--cream);
    color: var(--charcoal);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.25rem;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.45);
    transform-origin: bottom right;
    transform: scale(.92) translateY(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease),
                transform .3s var(--ease);
}
.palette[data-open="true"] .palette__panel {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.palette__title {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 1rem;
}

.palette__options {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.palette__opt {
    --p1: #0A1628;
    --p2: #C9A961;
    --p3: #F5F1E8;
    --p4: #2D3748;
    --p5: #8B7355;

    display: flex;
    align-items: center;
    gap: .9rem;
    width: 100%;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: .7rem .8rem;
    text-align: left;
    cursor: pointer;
    transition: border-color .25s var(--ease),
                background .25s var(--ease),
                transform .25s var(--ease);
}
.palette__opt:hover {
    border-color: var(--line);
    background: rgba(var(--midnight-rgb), .03);
    transform: translateX(2px);
}
.palette__opt[aria-pressed="true"] {
    border-color: var(--gold);
    background: rgba(var(--gold-rgb), .08);
}

.palette__opt[data-theme="forest"] {
    --p1: #1B3A2F;
    --p2: #B87333;
    --p3: #FAF6F0;
    --p4: #2C1810;
    --p5: #87A88C;
}
.palette__opt[data-theme="obsidian"] {
    --p1: #0F0F11;
    --p2: #D4A574;
    --p3: #FAFAFA;
    --p4: #525252;
    --p5: #E8E4DD;
}

.palette__swatches {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 6px 14px -6px rgba(0,0,0,.25);
    background:
        conic-gradient(from -90deg,
            var(--p1) 0 20%,
            var(--p2) 20% 40%,
            var(--p3) 40% 60%,
            var(--p4) 60% 80%,
            var(--p5) 80% 100%);
    transition: transform .35s var(--ease);
}
.palette__opt:hover .palette__swatches { transform: rotate(72deg); }
.palette__swatches::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: var(--p1);
    box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}

.palette__opt[aria-pressed="true"] .palette__swatches::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: var(--p2);
    z-index: 2;
    box-shadow: 0 0 0 2px var(--p1);
}

.palette__copy {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    flex: 1;
    min-width: 0;
}
.palette__name {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--midnight);
    line-height: 1.1;
}
.palette__sub {
    font-size: .78rem;
    color: var(--bronze);
    line-height: 1.3;
}

.palette__check {
    flex: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--gold);
    opacity: .35;
    transition: opacity .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.palette__check svg { width: 12px; height: 12px; }
.palette__opt[aria-pressed="true"] .palette__check {
    opacity: 1;
    background: var(--gold);
    border-color: var(--gold);
    color: var(--midnight);
}

@media (max-width: 540px) {
    .palette { bottom: 1rem; right: 1rem; }
    .palette__toggle { width: 48px; height: 48px; }
    .palette__toggle svg { width: 18px; height: 18px; }
}