/* =========================================================
   danerlebach.com - v2 design system
   Warm editorial base, dark "chapters", IronCEO lime accent.
   Shared by Home, My Story and Contact.
   ========================================================= */

:root {
    --paper: #F3EFE7;
    --paper-2: #EBE5D9;
    --paper-3: #E1D9C9;
    --card: #FAF8F3;
    --ink: #0F0F10;
    --ink-2: #19191B;
    --text: #1A1918;
    --muted: #6E685E;
    --line: rgba(15, 15, 16, .12);
    --line-strong: rgba(15, 15, 16, .24);
    --danger: #B42318;

    --lime: #DBFF00;
    --lime-hover: #E7FF4D;

    --on-dark: #F3EFE7;
    --on-dark-muted: rgba(243, 239, 231, .64);
    --line-dark: rgba(243, 239, 231, .14);

    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius: 20px;
    --radius-sm: 14px;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(88px, 11vw, 160px);
    --nav-bar: 76px;
    --news-h: 0px;
    --nav-h: calc(var(--nav-bar) + var(--news-h));

    --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --ease: cubic-bezier(.2, .7, .1, 1);

    --shadow-sm: 0 1px 2px rgba(15, 15, 16, .06), 0 4px 12px rgba(15, 15, 16, .05);
    --shadow: 0 2px 6px rgba(15, 15, 16, .06), 0 18px 40px -12px rgba(15, 15, 16, .18);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background-color: var(--paper);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.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 .035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .offer--dark :focus-visible, .vcard--dark :focus-visible { outline-color: var(--lime); }

.dark { background: var(--ink); color: var(--on-dark); }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-dark-muted); }

.kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
}
.kicker::before { content: ""; width: 24px; height: 1.5px; background: currentColor; }
.kicker--lime, .dark .kicker { color: var(--lime); }

.h2 {
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: 1.02;
    font-weight: 600;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.h2 .serif { font-size: 1.06em; }
.dark .h2 .serif { color: var(--lime); }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--text); opacity: .8; max-width: 56ch; }
.dark .lede { color: var(--on-dark-muted); opacity: 1; }

.section-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 940px; }
.section-head .lede { margin-top: 20px; }
.section-head--split { display: grid; grid-template-columns: 1fr 2.2fr; gap: 24px 48px; align-items: start; max-width: none; }
.section-head--split .kicker { margin-top: 14px; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 24px;
    border-radius: 999px; border: 1.5px solid transparent;
    font: 600 16px/1 var(--font); letter-spacing: -.01em;
    cursor: pointer; white-space: nowrap; background: none;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s;
}
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; box-shadow: 0 10px 24px -10px rgba(15, 15, 16, .5); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .45); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hover); box-shadow: 0 10px 30px -10px rgba(219, 255, 0, .55); }
.btn--ghost-light { border-color: rgba(243, 239, 231, .3); color: var(--on-dark); }
.btn--ghost-light:hover { border-color: var(--on-dark); background: rgba(243, 239, 231, .06); }

.text-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 16px;
    border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
    transition: gap .25s var(--ease);
}
.text-link::after { content: "→"; }
.text-link--ext::after { content: "↗"; }
.text-link:hover { gap: 10px; }

/* ---------- Small parts ---------- */
.pulse { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2.2s var(--ease) infinite; }
.pulse--lime { background: var(--lime); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--ink); white-space: nowrap; }
.tag--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.tag--ink { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.tag--muted { color: var(--muted); }
.dark .tag, .vcard--dark .tag { border-color: var(--line-dark); color: var(--on-dark); }
.dark .tag--lime, .vcard--dark .tag--lime { border-color: var(--lime); color: var(--ink); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(243, 239, 231, .84); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.nav__inner { max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-bar); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.wordmark { display: inline-flex; align-items: flex-end; gap: 3px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; color: var(--ink); }
.wordmark__dot { width: 7px; height: 7px; border-radius: 2px; background: var(--lime); margin-bottom: 5px; box-shadow: 0 0 0 1px rgba(15, 15, 16, .15); }
.wordmark--light { color: var(--on-dark); }
.wordmark--light .wordmark__dot { box-shadow: none; }

.nav__links { display: flex; gap: 32px; }
.nav__links a { position: relative; font-size: 15px; font-weight: 500; color: var(--ink); opacity: .78; transition: opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.nav__toggle-bar { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle-bar:nth-of-type(2) { top: 18px; }
.nav__toggle-bar:nth-of-type(3) { top: 24px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

/* Pages that open on a dark, full-bleed hero: light nav until the visitor scrolls */
.has-dark-hero .nav:not(.is-scrolled) .wordmark,
.has-dark-hero .nav:not(.is-scrolled) .nav__links a { color: var(--on-dark); opacity: 1; }
.has-dark-hero .nav:not(.is-scrolled) .nav__links a::after { background: var(--on-dark); }
.has-dark-hero .nav:not(.is-scrolled) .wordmark__dot { box-shadow: none; }
.has-dark-hero .nav:not(.is-scrolled) .btn--ink { background: var(--lime); color: var(--ink); }
.has-dark-hero .nav:not(.is-scrolled) .nav__toggle { border-color: rgba(243, 239, 231, .45); }
.has-dark-hero .nav:not(.is-scrolled) .nav__toggle-bar { background: var(--on-dark); }

.mobile-menu { background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a { font-size: 28px; font-weight: 600; letter-spacing: -.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__cta { border-bottom: 0 !important; margin-top: 12px; }

/* Reading progress (Story) */
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 101; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* ---------- Hero (Home) ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(32px, 5.5vw, 80px)); padding-bottom: clamp(56px, 6vw, 88px); position: relative; overflow-x: clip; isolation: isolate; }
.hero::before {
    content: ""; position: absolute; z-index: -1; right: -10%; top: 4%;
    width: min(760px, 70vw); aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(219, 255, 0, .24), rgba(219, 255, 0, 0));
    filter: blur(20px); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.14fr .86fr; gap: clamp(36px, 5vw, 80px); align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 8px 16px 8px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .55); border: 1px solid var(--line);
    font-size: 14px; font-weight: 500; color: var(--ink);
    margin-bottom: clamp(24px, 3vw, 36px);
}

.hero__title {
    font-size: clamp(44px, 6.2vw, 90px);
    line-height: .98;
    font-weight: 600;
    letter-spacing: -.045em;
    color: var(--ink);
    text-wrap: balance;
}
.hero__title .serif { font-size: 1.08em; letter-spacing: -.02em; }
.mark {
    background-image: linear-gradient(var(--lime), var(--lime));
    background-repeat: no-repeat;
    background-size: 0% 30%;
    background-position: 0 86%;
    padding: 0 .06em;
    transition: background-size 1.1s var(--ease) .55s;
}
.is-in .mark, .is-in.mark, html:not(.js) .mark { background-size: 100% 30%; }

.hero__lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink); opacity: .8; max-width: 44ch; margin-top: clamp(24px, 3vw, 32px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 40px); }
.hero__human { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: clamp(28px, 3.4vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--muted); }
.hero__human li { display: inline-flex; align-items: center; gap: 10px; }
.hero__human li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); margin-right: 8px; }
.hero__human strong { color: var(--ink); font-weight: 600; }

.hero__media { position: relative; }
.hero__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-3); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero__media.is-in .hero__photo img { transform: scale(1); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 15, 16, 0) 55%, rgba(15, 15, 16, .32)); }

.float-chip {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 16px;
    background: rgba(250, 248, 243, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .6);
    box-shadow: var(--shadow);
    font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink);
    animation: float 7s ease-in-out infinite;
}
.float-chip small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin-bottom: 3px; }
.float-chip--tl { top: 28px; left: -28px; }
.float-chip--tl .pulse { box-shadow: 0 0 0 4px rgba(15, 15, 16, .9); }
.float-chip--r { top: 44%; right: -26px; animation-delay: -4.5s; }
.float-chip--bl { bottom: 32px; left: -40px; background: var(--ink); color: var(--on-dark); border-color: rgba(255, 255, 255, .08); animation-delay: -2.5s; }
.float-chip--bl small { color: var(--on-dark-muted); }
.float-chip__big { font-size: 34px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--lime); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Marquee (credentials) ---------- */
.marquee { background: var(--ink); color: var(--on-dark); overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.marquee__item::after { content: "✦"; color: var(--lime); font-size: .8em; }
.marquee__item em { font-family: var(--serif); font-weight: 400; color: var(--lime); font-size: 1.1em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Record (2× Deloitte) ---------- */
.record { padding: var(--section) 0; position: relative; overflow: hidden; isolation: isolate; }
.record::before { content: ""; position: absolute; z-index: -1; left: -15%; top: -20%; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(219, 255, 0, .13), transparent); }
.record__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.record__big { font-size: clamp(170px, 24vw, 340px); font-weight: 600; letter-spacing: -.08em; line-height: .78; color: var(--lime); display: flex; align-items: flex-start; }
.record__big span { font-size: .42em; letter-spacing: -.02em; margin-top: .12em; margin-left: .04em; }
.record .lede { margin-top: 20px; }
.record__caption { margin-top: 24px; font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); max-width: 26ch; line-height: 1.45; }
.record__caption strong { display: block; color: var(--on-dark); letter-spacing: .04em; font-size: 17px; text-transform: none; margin-bottom: 4px; }

.awards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.award { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(243, 239, 231, .04); }
.award__year { font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--on-dark); }
.award__co { font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--on-dark); }
.award__note { font-size: 15px; color: var(--on-dark-muted); line-height: 1.5; }
.award__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.award__badge { width: 100%; border-radius: 12px; overflow: hidden; margin-top: 6px; border: 1px solid var(--line-dark); }

.record__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line-dark); }
.rstat { padding: 28px 24px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
.rstat + .rstat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.rstat__value { font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--on-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rstat__label { font-size: 15px; line-height: 1.4; color: var(--on-dark-muted); max-width: 24ch; }
.unit { font-size: .46em; font-weight: 600; letter-spacing: -.02em; vertical-align: top; position: relative; top: .14em; margin-left: .05em; }
.unit--pre { margin: 0 .04em 0 0; }

/* ---------- Portfolio (Ventures) ---------- */
.portfolio { padding: var(--section) 0; }
.portfolio__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vcard {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    min-height: 380px; padding: clamp(28px, 3vw, 44px);
    border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.vcard__role { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vcard__name { font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.055em; line-height: .92; color: var(--ink); }
.vcard__desc { font-size: 16.5px; line-height: 1.55; color: var(--text); opacity: .8; max-width: 44ch; margin-top: 14px; }
.vcard__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; font-size: 15.5px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; align-self: flex-start; transition: gap .25s var(--ease); }
.vcard__link:hover { gap: 12px; }

.vcard--dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.vcard--dark::before { content: ""; position: absolute; z-index: -1; right: -30%; bottom: -50%; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(219, 255, 0, .17), transparent); }
.vcard--dark .vcard__role { color: var(--lime); }
.vcard--dark .vcard__name { color: var(--on-dark); }
.vcard--dark .vcard__desc { color: var(--on-dark); opacity: .72; }

.vcard--womo { background: var(--paper-2); }
.vcard--womo .vcard__name { font-size: clamp(64px, 8vw, 120px); letter-spacing: -.06em; }
.vcard--womo .vcard__name .serif { font-size: .9em; }

.vcard--photo { color: var(--on-dark); border-color: transparent; background: var(--ink); }
.vcard--photo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vcard--photo:hover > img { transform: scale(1.04); }
.vcard--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 15, 16, .45) 0%, rgba(15, 15, 16, .2) 30%, rgba(15, 15, 16, .78) 62%, rgba(15, 15, 16, .94) 100%); }
.vcard--photo .vcard__name, .vcard--photo .vcard__desc { text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.vcard--photo .vcard__role { color: rgba(243, 239, 231, .85); }
.vcard--photo .vcard__name { color: var(--on-dark); }
.vcard--photo .vcard__desc { color: var(--on-dark); opacity: .85; }
.vcard__route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--on-dark); }
.vcard__route img { height: 16px; width: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.vcard__route span { color: var(--lime); margin: 0 4px; }
.vcard--photo .tag { border-color: rgba(243, 239, 231, .4); color: var(--on-dark); background: rgba(15, 15, 16, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Work with me (offers) ---------- */
.work { padding: var(--section) 0; background: var(--paper-2); }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.offer {
    display: flex; flex-direction: column; gap: 20px;
    padding: clamp(28px, 3vw, 40px);
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer__for { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.offer__title { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.offer__title .serif { font-size: 1.08em; }
.offer__body { font-size: 16.5px; line-height: 1.6; color: var(--text); opacity: .82; }
.offer__foot { margin-top: auto; padding-top: 12px; }

.offer--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); position: relative; overflow: hidden; }
.offer--dark::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; background: radial-gradient(closest-side, rgba(219, 255, 0, .2), transparent); pointer-events: none; }
.offer--dark .offer__for { color: var(--lime); }
.offer--dark .offer__title { color: var(--on-dark); }
.offer--dark .offer__body { color: var(--on-dark); opacity: .76; }

.checks { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; line-height: 1.45; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%23DBFF00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/20px no-repeat;
}
.offer--dark .checks li::before { background-color: var(--lime); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%230F0F10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }

.talks { border-bottom: 1px solid var(--line); }
.talks li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.talks__n { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 2px; font-variant-numeric: tabular-nums; }

.work__also { margin-top: 36px; text-align: center; color: var(--muted); font-size: 16px; }
.work__also a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid currentColor; }

/* ---------- Story teaser (Home) ---------- */
.teaser { padding: var(--section) 0; }
.teaser__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.teaser__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.teaser__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }
.mini-tl { margin: 36px 0 40px; border-top: 1px solid var(--line); }
.mini-tl li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--ink); align-items: baseline; }
.mini-tl b { font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.mini-tl .is-key b { color: var(--ink); }
.mini-tl .is-key span { font-weight: 600; }
.mini-tl .is-key { position: relative; }
.mini-tl .is-key::after { content: ""; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--line-strong); }

/* ---------- Life (athlete & family) ---------- */
.life { position: relative; overflow: hidden; padding: var(--section) 0 clamp(140px, 17vw, 260px); isolation: isolate; }
.life__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.life__bg::before {
    content: "IRONCEO"; position: absolute; left: 50%; bottom: -.2em; translate: -50% 0;
    font-weight: 700; font-size: clamp(120px, 21vw, 340px); letter-spacing: -.05em; line-height: 1; white-space: nowrap;
    color: rgba(219, 255, 0, .07);
}
.life__bg::after { content: ""; position: absolute; left: -10%; top: -30%; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(219, 255, 0, .12), transparent); }
.life__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.life__title { font-size: clamp(40px, 5.2vw, 78px); line-height: 1; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.life__title .serif { color: var(--lime); font-size: 1.06em; }
.life .lede { margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 36px; }
.facts li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 15px; color: var(--on-dark-muted); }
.facts strong { color: var(--on-dark); font-weight: 600; }
.life__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 0 0 1px var(--line-dark), 0 40px 80px -30px rgba(0, 0, 0, .8); position: relative; }
.life__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.life__photo::after { content: "PROJECT IRONCEO"; position: absolute; left: 20px; bottom: 18px; font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--lime); }

/* ---------- Insights ---------- */
.insights { padding: var(--section) 0; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post { display: flex; flex-direction: column; gap: 12px; }
.post__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); margin-bottom: 8px; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__img img { transform: scale(1.045); }
.post__meta { font-size: 14px; color: var(--muted); }
.post__title { font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.post:hover .post__title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* ---------- Contact band + form ---------- */
.contact-band { padding: 0 0 clamp(64px, 8vw, 120px); }
.contact-band__card {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start;
    padding: clamp(32px, 6vw, 88px);
    border-radius: var(--radius-xl);
}
.contact-band__card::before { content: ""; position: absolute; z-index: -1; left: -20%; top: -40%; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(219, 255, 0, .2), transparent); }
.contact-band__title { font-size: clamp(44px, 5.6vw, 88px); line-height: .98; font-weight: 600; letter-spacing: -.05em; text-wrap: balance; }
.contact-band__title .serif { color: var(--lime); font-size: 1.06em; }
.contact-band .lede { margin-top: 24px; }
.promise { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.promise li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--on-dark); }
.promise li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.4l2.6 2.6L14.2 7.4' fill='none' stroke='%230F0F10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/22px no-repeat; }
.contact-band__alt { margin-top: 32px; font-size: 15px; color: var(--on-dark-muted); }
.contact-band__alt a { color: var(--on-dark); font-weight: 600; border-bottom: 1.5px solid currentColor; }

.form-card { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field__label .opt { font-weight: 500; color: var(--muted); }
.input {
    width: 100%; min-height: 52px; padding: 14px 16px;
    border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: #fff;
    font-size: 16px; line-height: 1.4; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 140px; resize: vertical; }
.input::placeholder { color: #9A948A; }
.input:hover { border-color: rgba(15, 15, 16, .4); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(219, 255, 0, .6); }
.field.has-error .input { border-color: var(--danger); }
.field__error { display: none; font-size: 13.5px; font-weight: 500; color: var(--danger); }
.field.has-error .field__error { display: block; }

.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff;
    font-size: 15px; font-weight: 500; color: var(--ink);
    transition: background-color .2s, color .2s, border-color .2s;
}
.topic span:hover { border-color: var(--ink); }
.topic input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.topic input:checked + span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.topic input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.field.has-error .consent { color: var(--danger); }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__note { font-size: 14px; color: var(--muted); }
.form-status { display: none; border-radius: var(--radius); padding: 28px; }
.form-status.is-shown { display: block; }
.form-status--ok { background: var(--ink); color: var(--on-dark); }
.form-status--ok h3 { font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.form-status--ok h3 .serif { color: var(--lime); }
.form-status--ok p { color: var(--on-dark-muted); }
.form-status--err { background: #FDECEA; color: var(--danger); margin-top: 4px; padding: 16px 20px; font-size: 15px; font-weight: 500; }
.form-status--err a { text-decoration: underline; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
.is-sending .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Contact page ---------- */
.contact-page { padding: calc(var(--nav-h) + clamp(32px, 5vw, 72px)) 0 var(--section); position: relative; overflow-x: clip; isolation: isolate; }
.contact-page::before { content: ""; position: absolute; z-index: -1; left: -10%; top: 0; width: min(800px, 80vw); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(219, 255, 0, .2), transparent); filter: blur(20px); }
.contact-page__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-page__title { font-size: clamp(48px, 7vw, 104px); line-height: .96; font-weight: 600; letter-spacing: -.05em; color: var(--ink); text-wrap: balance; }
.contact-page__title .serif { font-size: 1.06em; }
.contact-page .lede { margin: 24px 0 clamp(32px, 4vw, 48px); }
.aside { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.aside-card { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); background: var(--card); }
.aside-card--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.aside-card h2 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; margin-bottom: 18px; }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 32px 1fr; gap: 14px; font-size: 15.5px; line-height: 1.5; color: var(--on-dark-muted); }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 14px; }
.steps strong { display: block; color: var(--on-dark); font-weight: 600; }
.aside-person { display: flex; align-items: center; gap: 16px; }
.aside-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 66% 30%; }
.aside-person p { font-size: 15px; color: var(--muted); line-height: 1.4; }
.aside-person strong { display: block; color: var(--ink); font-size: 17px; }
.creds { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Story page ---------- */
.s-hero { padding: calc(var(--nav-h) + clamp(40px, 6vw, 96px)) 0 0; position: relative; overflow-x: clip; isolation: isolate; }
.s-hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -5%; width: min(800px, 80vw); aspect-ratio: 1; background: radial-gradient(closest-side, rgba(219, 255, 0, .22), transparent); filter: blur(20px); }
.s-hero__title { font-size: clamp(52px, 9.4vw, 148px); line-height: .92; font-weight: 600; letter-spacing: -.06em; color: var(--ink); }
.s-hero__title .serif { font-size: 1.04em; letter-spacing: -.03em; }
.s-hero .lede { margin-top: clamp(24px, 3vw, 36px); font-size: clamp(18px, 1.6vw, 23px); max-width: 52ch; }
.s-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.s-hero__img { margin-top: clamp(48px, 6vw, 88px); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper-3); }
.s-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }

.s-body { padding: var(--section) 0; }
.s-body__grid { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(32px, 5vw, 80px); }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.toc__label { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.toc ol { border-left: 1.5px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 8px 0 8px 18px; margin-left: -1.5px; border-left: 1.5px solid transparent; font-size: 15px; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a span { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 20px; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--ink); font-weight: 600; }

.chapter { padding-bottom: clamp(72px, 9vw, 128px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.chapter + .chapter { padding-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.chapter__head { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px); margin-bottom: clamp(28px, 3vw, 40px); }
.chapter__num { font-family: var(--serif); font-size: clamp(96px, 12vw, 180px); font-weight: 400; letter-spacing: -.04em; line-height: .74; color: transparent; -webkit-text-stroke: 1.2px var(--ink); flex: none; }
.chapter__when { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.chapter__title { font-size: clamp(34px, 4.2vw, 60px); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.chapter__title .serif { font-size: 1.06em; }

.prose { max-width: 66ch; }
.prose p { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.7; color: var(--text); }
.prose p + p { margin-top: 1.1em; }
.prose .lead { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.5; letter-spacing: -.015em; color: var(--ink); font-weight: 500; }
.prose strong { font-weight: 600; color: var(--ink); }

.lesson { margin: clamp(32px, 4vw, 48px) 0 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--lime); max-width: 44rem; }
.lesson p { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
.lesson cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.figure { margin-top: clamp(32px, 4vw, 48px); }
.figure img { width: 100%; border-radius: var(--radius-lg); }
.figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.figure--wide img { aspect-ratio: 16 / 9; object-fit: cover; }
.figure--badge { max-width: 520px; }

.milestone { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); max-width: 640px; }
.milestone__big { font-size: clamp(44px, 5vw, 64px); font-weight: 600; letter-spacing: -.06em; line-height: 1; color: var(--lime); }
.milestone p { font-size: 16px; color: var(--on-dark-muted); line-height: 1.5; }
.milestone strong { display: block; color: var(--on-dark); font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 2px; }

.beliefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; margin-top: 8px; }
.belief { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.belief__n { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 20px; }
.belief h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); margin-bottom: 8px; }
.belief p { font-size: 16.5px; color: var(--muted); line-height: 1.55; }

.draft-ribbon { position: fixed; left: 16px; bottom: 16px; z-index: 150; display: none; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); }
.draft-ribbon.is-shown { display: inline-flex; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__tag { margin-top: 20px; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; color: var(--on-dark); }
.footer__tag .serif { color: var(--lime); }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; }
.footer__col a { color: var(--on-dark); opacity: .78; transition: opacity .2s; width: fit-content; }
.footer__col a:hover { opacity: 1; }
.footer__head { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 4px; }
.footer__bottom { margin-top: clamp(56px, 7vw, 88px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__legal a:hover { color: var(--on-dark); }

/* ---------- Reveal motion (only when JS runs) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    .mark { transition: none; background-size: 100% 30%; }
    .hero__photo img { transform: none; transition: none; }
    .marquee__track { flex-wrap: wrap; width: auto; }
    .marquee__group[aria-hidden] { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .offers { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
    .float-chip--tl, .float-chip--bl { left: 16px; }
    .float-chip--r { right: 16px; }
    .record__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .rstat:nth-child(3) { padding-left: 0; border-left: 0; }
    .contact-band__card { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    :root { --nav-bar: 68px; }
    .nav__links { display: none; }
    .nav__toggle { display: inline-block; }
    .nav__actions .btn--sm { display: none; }

    .hero__grid, .record__grid, .teaser__grid, .life__grid, .contact-page__grid, .s-body__grid { grid-template-columns: 1fr; }
    .hero__media { max-width: 560px; width: 100%; }
    .section-head--split { grid-template-columns: 1fr; gap: 0; }
    .section-head--split .kicker { margin-top: 0; }
    .section-head--row { flex-direction: column; align-items: flex-start; }
    .portfolio__grid { grid-template-columns: 1fr; }
    .teaser__photo { max-width: 480px; aspect-ratio: 5 / 4; }
    .life__photo { max-width: 460px; aspect-ratio: 4 / 4.4; }
    .posts { grid-template-columns: 1fr; gap: 40px; max-width: 560px; }
    .aside { position: static; }
    .toc { display: none; }
    .s-hero__img { aspect-ratio: 16 / 10; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .eyebrow { font-size: 12px; gap: 9px; padding: 7px 13px 7px 11px; }
    .hero__lede { font-size: 17px; }
    .hero__ctas .btn { flex: 1 1 100%; }
    .float-chip { padding: 10px 12px; font-size: 13.5px; }
    .float-chip--bl { bottom: 16px; }
    .float-chip__big { font-size: 26px; }
    .float-chip--r { top: auto; bottom: 92px; }
    .awards { grid-template-columns: 1fr; }
    .record__stats { grid-template-columns: 1fr 1fr; }
    .rstat { padding-right: 12px; }
    .rstat + .rstat { padding-left: 12px; }
    .rstat:nth-child(3) { padding-left: 0; }
    .vcard { min-height: 320px; }
    .form__row { grid-template-columns: 1fr; }
    .contact-band__card { padding: 28px 12px 12px; border-radius: 28px; }
    .contact-band__card > div:first-child { padding: 0 8px; }
    .form-card { padding: 20px 16px; border-radius: 22px; }
    .topic span { padding: 9px 13px; font-size: 14px; }
    .draft-ribbon { font-size: 12px; padding: 8px 12px; left: 8px; bottom: 8px; }
    .mini-tl li { grid-template-columns: 60px 1fr; }
    .beliefs { grid-template-columns: 1fr; }
    .chapter__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Story: the story in one sentence (editorial statement) ---------- */
.statement { position: relative; isolation: isolate; padding: clamp(72px, 9vw, 136px) 0; text-align: center; overflow: hidden; }
.statement::before { /* dotted paper grid, fading out at the edges */
    content: ""; position: absolute; inset: 0; z-index: -2;
    background-image: radial-gradient(rgba(15, 15, 16, .14) 1px, transparent 1.3px); background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.statement::after { /* warm glow behind the text */
    content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; translate: -50% -50%;
    width: min(1100px, 120vw); aspect-ratio: 2 / 1; background: radial-gradient(closest-side, rgba(219, 255, 0, .16), rgba(243, 239, 231, 0));
}
.statement__text {
    max-width: 21em; margin: 0 auto;
    font-family: var(--serif); font-size: clamp(30px, 3.9vw, 58px); line-height: 1.12; letter-spacing: -.015em; color: var(--ink); text-wrap: balance;
}
.statement__turn { font-style: italic; color: #5C6A00; }
.statement__mark {
    background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat;
    background-size: 0% .3em; background-position: 0 88%; transition: background-size 1.1s var(--ease) .6s;
}
.statement__text.is-in .statement__mark, html:not(.js) .statement__mark { background-size: 100% .3em; }
.nowrap { white-space: nowrap; }
.orbs { display: inline-flex; gap: .16em; margin: 0 .22em 0 .26em; vertical-align: -.12em; }
.orbs img {
    width: .9em; height: .9em; border-radius: 50%; object-fit: cover;
    box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px rgba(15, 15, 16, .12), 0 8px 18px -8px rgba(15, 15, 16, .5);
    animation: orb 6s ease-in-out infinite;
}
.orbs img + img { animation-delay: -3s; }
@keyframes orb { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.08em; } }
.statement__life { margin-top: clamp(28px, 3.4vw, 44px); font-size: clamp(15px, 1.3vw, 18px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.statement__more { margin-top: 20px; }
.s-hero__img--after { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .statement__mark { transition: none; background-size: 100% .3em; } }

/* Story hero: "Go All In." as the headline, the one-sentence story underneath */
.statement--hero { padding-top: calc(var(--nav-h) + clamp(48px, 6vw, 96px)); }
.statement .kicker { justify-content: center; }
.statement__h1 { margin: 0 auto clamp(32px, 4vw, 56px); font-size: clamp(64px, 11vw, 168px); line-height: .9; font-weight: 600; letter-spacing: -.06em; color: var(--ink); }

/* Casper's Living Mark (Granotic) inline in the story: the blob itself, slowly alive */
.orbs img.orbs__casper {
    width: 1.24em; height: 1.24em; margin: -.17em -.06em -.17em -.04em; border-radius: 0; object-fit: contain;
    box-shadow: none; filter: drop-shadow(0 8px 14px rgba(15, 15, 16, .24));
    animation: casper-live 7s ease-in-out infinite;
}
/* Granotic living mark (canvas, drawn by gmark.js) */
.orbs canvas.orbs__mark { display: block; flex: none; width: 1.24em; height: 1.24em; margin: -.17em -.06em -.17em -.04em; }
@keyframes casper-live {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); filter: hue-rotate(0deg) drop-shadow(0 8px 14px rgba(15, 15, 16, .24)); }
    33% { transform: translateY(-.05em) rotate(9deg) scale(1.05); filter: hue-rotate(16deg) drop-shadow(0 10px 16px rgba(15, 15, 16, .2)); }
    66% { transform: translateY(.02em) rotate(-7deg) scale(.97); filter: hue-rotate(-12deg) drop-shadow(0 7px 12px rgba(15, 15, 16, .26)); }
}

/* =========================================================
   v3 layer - luxury minimal (applies to every page)
   Cool white, tight type, hairlines, two-tone headlines.
   ========================================================= */
:root {
    --paper: #F7F7F5;
    --paper-2: #EFEFEC;
    --paper-3: #E5E5E1;
    --card: #FFFFFF;
    --ink: #0A0A0B;
    --ink-2: #16161A;
    --text: #141416;
    --muted: #74747A;
    --dim: #A1A1A7;
    --ghost: #D2D2D6;
    --line: rgba(10, 10, 11, .09);
    --line-strong: rgba(10, 10, 11, .2);
    --on-dark: #F7F7F5;
    --on-dark-muted: rgba(247, 247, 245, .64);
    --line-dark: rgba(247, 247, 245, .14);
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --radius-xl: 28px;
    --radius-lg: 24px;
    --radius: 20px;
}
body { background-image: none; background-color: var(--paper); }

/* Buttons: crisp rounded rectangles instead of pills */
.btn { border-radius: 12px; height: 50px; padding: 0 22px; font-weight: 600; font-size: 15.5px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn--lg { height: 58px; padding: 0 28px; font-size: 16.5px; border-radius: 14px; }
.btn--ink { box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 1px 2px rgba(10, 10, 11, .2); }
.btn--ghost { border-width: 1px; background: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: #fff; }

/* Labels: small mono with a square marker */
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); gap: 10px; }
.kicker::before { width: 7px; height: 7px; border-radius: 2px; background: var(--ink); }
.dark .kicker::before { background: var(--lime); }
.dark .kicker { color: var(--on-dark-muted); }

/* Two-tone headlines: the former serif accent becomes the quiet second tone */
.serif { font-family: var(--font); font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--dim); }
.h2 .serif, .hero__title .serif { font-size: 1em; letter-spacing: inherit; }
.dark .serif, .dark .h2 .serif { color: rgba(247, 247, 245, .5); }
.h2 { letter-spacing: -.04em; }

/* Nav */
.nav.is-scrolled { background: rgba(247, 247, 245, .82); }
.nav__links { gap: 28px; }
.nav__links a { font-size: 14.5px; }
.nav__links a::after { height: 1px; }

/* Footer: light, hairline, Granotic-calm */
.footer { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); }
.footer .wordmark--light { color: var(--ink); }
.footer .wordmark--light .wordmark__dot { box-shadow: 0 0 0 1px rgba(10, 10, 11, .15); }
.footer__tag { color: var(--ink); font-size: clamp(26px, 2.6vw, 38px); }
.footer__tag .serif { color: var(--dim); }
.footer__col a { color: var(--ink); opacity: .72; }
.footer__head { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.footer__bottom { border-top-color: var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.footer__legal a:hover { color: var(--ink); }

/* Story statement in the new type (sans, two-tone) */
.statement__text { font-family: var(--font); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; font-size: clamp(28px, 3.8vw, 56px); }
.statement__turn { font-style: normal; color: var(--ink); }
.statement__h1 { letter-spacing: -.065em; }
.statement__text .sw-flag { display: inline-block; height: .62em; width: auto; margin-right: .18em; vertical-align: .02em; }
.statement__aside { display: inline-block; padding: .45em .6em; border: 1px solid var(--ink); font-size: max(11px, .24em); font-weight: 700; letter-spacing: .12em; line-height: 1; text-transform: uppercase; white-space: nowrap; vertical-align: .9em; color: var(--ink); }
.statement__news-t .statement__aside--sm { font-size: 11px; vertical-align: .2em; padding: .5em .65em; background: var(--lime); border-color: var(--lime); }
.statement__news { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 44em; margin: clamp(36px, 4.4vw, 60px) auto 0; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--ink); }
.statement__news-k { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.statement__badge { padding: 6px 9px; background: var(--lime); color: var(--ink); }
.statement__news-t { font-size: clamp(19px, 1.75vw, 26px); line-height: 1.38; font-weight: 500; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.statement__news-t a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.statement__news-t a:hover { background: var(--lime); }
.statement__news-t .orbs { margin: 0 .1em 0 .22em; }
.statement__news-t b { font-weight: 700; }
.statement__notify { margin-top: 6px; gap: 10px; }
@media (max-width: 560px) {
    .statement__aside { vertical-align: .5em; }
    .statement__news { align-items: stretch; }
    .statement__news-k { justify-content: center; }
}

/* =========================================================
   Swiss layer (current) - one grotesk, white, black, lime
   Square corners, no shadows, no gradients. Every page.
   ========================================================= */
:root {
    --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --serif: var(--font);
    --mono: var(--font);
    --paper: #FFFFFF;
    --paper-2: #F3F3F1;
    --paper-3: #E8E8E5;
    --card: #FFFFFF;
    --ink: #0A0A0A;
    --text: #1A1A1A;
    --muted: #707070;
    --dim: #A3A3A3;
    --line: rgba(10, 10, 10, .1);
    --line-strong: rgba(10, 10, 10, .2);
    --radius-xl: 0px;
    --radius-lg: 0px;
    --radius: 0px;
    --radius-sm: 0px;
    --shadow-sm: none;
    --shadow: none;
}
body { background: #FFFFFF; font-size: 16px; font-feature-settings: normal; }
::selection { background: var(--lime); color: var(--ink); }

/* Nav: a thin black-ruled bar */
.nav { background: #FFFFFF; border-bottom: 1px solid var(--ink); }
.nav.is-scrolled { background: rgba(255, 255, 255, .94); border-bottom-color: var(--ink); }
.wordmark { font-weight: 800; font-stretch: 82%; font-size: 18px; letter-spacing: -.01em; text-transform: uppercase; align-items: baseline; gap: 4px; }
.wordmark__dot { width: 8px; height: 8px; border-radius: 0; margin: 0; box-shadow: 0 0 0 1px var(--ink); }
.nav__links { gap: 26px; }
.nav__links a { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: 1; }
.nav__links a::after { bottom: -4px; height: 2px; background: var(--lime); }
.nav__toggle { border-radius: 0; border-width: 1px; border-color: var(--ink); }
.mobile-menu { background: #FFFFFF; border-bottom: 1px solid var(--ink); }
.mobile-menu a { font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: -.01em; font-size: 34px; }

/* Buttons: square, uppercase */
.btn { border-radius: 0 !important; height: 48px; padding: 0 20px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; box-shadow: none !important; }
.btn--sm { height: 38px; padding: 0 14px; font-size: 11.5px; }
.btn--lg { height: 56px; padding: 0 24px; font-size: 13px; }
.btn--ink:hover { background: var(--lime); color: var(--ink); }
.btn--ghost { border: 1px solid var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* Labels and headings */
.kicker { font: 600 11.5px/1.5 var(--font); letter-spacing: .1em; color: var(--ink); }
.kicker::before { width: 8px; height: 8px; border-radius: 0; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); }
.dark .kicker { color: #fff; }
.dark .kicker::before { box-shadow: none; }
.h2, .hero__title, .page-hero__title, .s-hero__title, .statement__h1 { font-family: var(--font); font-weight: 800; font-stretch: 80%; letter-spacing: -.025em; text-transform: uppercase; line-height: .9; }
.serif { color: var(--muted); }

/* Kill rounding, shadows and soft glows site-wide */
.vcard, .offer, .post__img, .form-card, .input, .topic span, .contact-band__card, .proof, .cv, .film, .gallery figure, .s-hero__img, .route__node, .tag, .eyebrow, .x-pill, .proof__logo, .focus li, .chapter__img, .article-figure img, .feature, .feature__img { border-radius: 0 !important; box-shadow: none !important; }
img { border-radius: 0; }
.hero::before, .statement::after, .tv::before { display: none; }

/* Footer: white, ruled */
.footer { background: #FFFFFF; border-top: 1px solid var(--ink); }
.footer__tag { font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(34px, 3.6vw, 56px); line-height: .9; }
.footer__head { font: 600 11px/1 var(--font); letter-spacing: .1em; color: var(--muted); }
.footer__col a { font-size: 14.5px; opacity: 1; }
.footer__col a:hover { background: var(--lime); }
.footer__bottom { border-top: 1px solid var(--ink); font: 600 11px/1.5 var(--font); letter-spacing: .08em; text-transform: uppercase; }

.draft-ribbon { border-radius: 0 !important; }

/* The "Go All In" full stop: a solid lime square (shared by every page) */
.sw-sq { display: inline-block; width: .2em; height: .2em; background: var(--lime); margin-left: .04em; vertical-align: baseline; }

/* Pages with a dark photo hero: transparent nav with white type until scrolled */
.has-dark-hero .nav:not(.is-scrolled) { background: transparent; border-bottom-color: rgba(255, 255, 255, .25); }
.has-dark-hero .nav:not(.is-scrolled) .wordmark,
.has-dark-hero .nav:not(.is-scrolled) .nav__links a { color: #FFFFFF; opacity: 1; }
.has-dark-hero .nav:not(.is-scrolled) .wordmark__dot { box-shadow: none; }
.has-dark-hero .nav:not(.is-scrolled) .nav__toggle { border-color: rgba(255, 255, 255, .6); }
.has-dark-hero .nav:not(.is-scrolled) .nav__toggle-bar { background: #FFFFFF; }

/* =========================================================
   Menu: one navigation at every width. The bar keeps only the
   wordmark, "Let's talk" and a menu button; the links live in a
   full-height menu panel.
   ========================================================= */
.nav__links { display: none; }
.nav__toggle { display: inline-block; width: 46px; height: 46px; }
.nav__actions { gap: 10px; }
.nav__actions .btn--sm { display: inline-flex; height: 46px; }
.nav__toggle-bar { left: 12px; right: 12px; }
.nav__toggle-bar:nth-of-type(2) { top: 19px; }
.nav__toggle-bar:nth-of-type(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(2),
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(3) { top: 22px; }
.nav__toggle:hover { background: var(--lime); }
.nav__toggle[aria-expanded="true"] { background: var(--ink); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: #FFFFFF; }
@media (max-width: 560px) { .nav__actions .btn--sm { display: none; } }

.mobile-menu { height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; padding: clamp(20px, 4vh, 48px) var(--gutter) clamp(24px, 5vh, 56px); border-top: 1px solid var(--ink); border-bottom: 0; }
.mobile-menu nav { max-width: var(--container); margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; counter-reset: menu; }
.mobile-menu a { counter-increment: menu; display: flex; align-items: baseline; gap: clamp(14px, 2vw, 32px); padding: clamp(8px, 1.4vh, 16px) 0; border-bottom: 1px solid var(--line-strong); font-size: clamp(36px, min(8.2vh, 12.5vw), 104px); line-height: .9; font-stretch: 76%; letter-spacing: -.03em; color: var(--ink); transition: padding-left .4s var(--ease), color .2s; }
.mobile-menu a::before { content: counter(menu, decimal-leading-zero); flex: none; min-width: 2.4em; font: 600 11.5px/1 var(--font); letter-spacing: .1em; color: var(--muted); transform: translateY(-.3em); }
.mobile-menu a:hover { padding-left: 12px; }
.mobile-menu a:hover::before { color: var(--ink); }
.mobile-menu a[aria-current="page"]::after { content: ""; width: .18em; height: .18em; background: var(--lime); margin-left: .04em; }
.mobile-menu a.mobile-menu__cta { counter-increment: none; margin-top: auto; align-self: flex-start; padding: 0 22px; height: 56px; align-items: center; border: 0; background: var(--ink); color: #FFFFFF; font: 700 13px/1 var(--font); letter-spacing: .1em; }
.mobile-menu a.mobile-menu__cta::before { content: none; }
.mobile-menu a.mobile-menu__cta:hover { padding-left: 22px; background: var(--lime); color: var(--ink); }
.mobile-menu nav > a { animation: menu-in .7s var(--ease) both; }
.mobile-menu nav > a:nth-child(2) { animation-delay: .04s; }
.mobile-menu nav > a:nth-child(3) { animation-delay: .08s; }
.mobile-menu nav > a:nth-child(4) { animation-delay: .12s; }
.mobile-menu nav > a:nth-child(5) { animation-delay: .16s; }
.mobile-menu nav > a:nth-child(6) { animation-delay: .22s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(24px); } }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mobile-menu nav > a { animation: none; } }
@media (min-width: 561px) { .mobile-menu a.mobile-menu__cta { display: none; } }

/* ---------- News bar: second row of the fixed header, on every page ---------- */
.sw-news { display: flex; align-items: stretch; height: var(--news-h); background: var(--ink); color: #fff; text-decoration: none; overflow: hidden; }
.sw-news__tag { flex: none; display: flex; align-items: center; padding: 0 16px 0 max(var(--gutter), calc((100vw - var(--container)) / 2)); background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.sw-news__view { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.sw-news__track { display: flex; width: max-content; animation: sw-news 60s linear infinite; }
.sw-news:hover .sw-news__track, .sw-news:focus-visible .sw-news__track { animation-play-state: paused; }
.sw-news__group { display: flex; flex: none; }
.sw-news__item { display: flex; align-items: center; gap: 18px; padding-left: 18px; white-space: nowrap; font-size: 14px; font-weight: 500; letter-spacing: -.005em; }
.sw-news__logo { width: 28px; height: 28px; margin-right: -8px; flex: none; mix-blend-mode: screen; }
.sw-news__item b { font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.sw-news__sq { width: 7px; height: 7px; background: var(--lime); flex: none; }
.sw-news__cta { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2)) 0 20px; border-left: 1px solid rgba(255, 255, 255, .25); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; transition: color .3s var(--ease); }
.sw-news__cta span { color: var(--lime); transition: transform .3s var(--ease); }
.sw-news:hover .sw-news__cta { color: var(--lime); }
.sw-news:hover .sw-news__cta span { transform: translateX(4px); }
.sw-news:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
@keyframes sw-news { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 560px) {
    .sw-news__tag { padding: 0 12px 0 var(--gutter); }
    .sw-news__cta { padding: 0 var(--gutter) 0 14px; gap: 6px; }
    .sw-news__cta { font-size: 0; }
    .sw-news__cta span { font-size: 16px; }
    .sw-news__item { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .sw-news__track { animation: none; }
}
html:has(.sw-news) { --news-h: 46px; }
@media (max-width: 560px) { html:has(.sw-news) { --news-h: 42px; } }

/* ============ TEXT ME POPUP (any page with <dialog class="tm">) ============ */
html.has-dialog { overflow: hidden; }
.tm { width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.tm::backdrop { background: rgba(10, 10, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tm[open] .tm__panel { animation: tm-in .35s cubic-bezier(.2, .7, .2, 1) both; }
.tm[open]::backdrop { animation: tm-fade .3s ease both; }
@keyframes tm-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tm-fade { from { opacity: 0; } to { opacity: 1; } }
.tm__panel { position: relative; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(28px, 4vw, 44px); background: #fff; border-top: 6px solid var(--lime); }
.tm__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: #fff; font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.tm__close:hover { background: var(--ink); color: #fff; }
.tm__sq { width: 10px; height: 10px; background: var(--lime); flex: none; }
.tm__kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tm__title { margin-top: 14px; font-size: clamp(36px, 5vw, 56px); line-height: .92; font-weight: 800; font-stretch: 76%; letter-spacing: -.02em; text-transform: uppercase; }
.tm__title span { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); }
.tm__sub { margin-top: 12px; max-width: 42ch; font-size: 16px; line-height: 1.5; color: var(--muted); }
.tm__need { display: inline-flex; gap: 6px; margin-top: 14px; padding: 7px 10px 6px; background: var(--lime); color: var(--ink); font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tm__need[hidden] { display: none; }
.tm__form { display: grid; gap: 14px; margin-top: 24px; }
.tm__form[hidden] { display: none; }
.tm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tm__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.tm__opt { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.tm .field { gap: 6px; }
.tm .input { min-height: 50px; border-radius: 0; }
.tm textarea.input { min-height: 88px; }
.tm__send { width: 100%; justify-content: center; margin-top: 4px; }
.tm__legal { font-size: 13px; color: var(--muted); text-align: center; }
.tm__legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tm .form-status--err { border-radius: 0; }
.tm__ok { margin-top: 24px; border-radius: 0; }
/* After sending, the thank-you replaces the whole popup content. */
.tm__panel:has(.tm__ok.is-shown) :is(.tm__kicker, .tm__title, .tm__sub, .tm__need) { display: none; }
.tm__panel:has(.tm__ok.is-shown) .tm__ok { margin-top: 0; padding: clamp(32px, 5vw, 48px) 28px; }
.tm__ok p { margin-top: 6px; font-size: 18px; }
.tm__ok h3 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; font-stretch: 76%; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; }
.tm__ok h3 span { color: var(--lime); }
.tm__ok .btn { margin-top: 18px; }
@media (max-width: 560px) {
    .tm { width: 100%; max-height: 100%; margin: auto 0 0; }
    .tm__panel { max-height: 92vh; max-height: 92dvh; padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); }
    .tm__row { grid-template-columns: 1fr; }
    .tm__close { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .tm[open] .tm__panel, .tm[open]::backdrop { animation: none; }
}

/* ============ CONTACT PAGE (split: dark story left, form right) ============ */
.ct { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; padding-top: var(--nav-h); background: #FFFFFF; }
.ct__hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(40px, 6vh, 80px) clamp(24px, 4vw, 72px) clamp(32px, 5vh, 64px) var(--gutter); background: #000; color: #FFFFFF; }
.ct__media { position: absolute; inset: 0; z-index: -1; }
.ct__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 30%; }
.ct__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .85) 30%, rgba(0, 0, 0, 0) 58%); }
.ct__copy { max-width: 640px; }
.ct__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ct__title { font-size: clamp(44px, min(5.2vw, 8.6vh), 92px); line-height: .9; font-weight: 800; font-stretch: 76%; letter-spacing: -.02em; text-transform: uppercase; }
.ct__title span { display: block; color: var(--lime); }
.ct__lede { margin-top: 20px; max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: rgba(255, 255, 255, .82); }
.ct__proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: clamp(24px, 4vh, 40px) 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .28); }
.ct__proof > div { display: flex; flex-direction: column; gap: 6px; padding: 0 clamp(14px, 2vw, 28px); border-left: 1px solid rgba(255, 255, 255, .16); }
.ct__proof > div:first-child { padding-left: 0; border-left: 0; }
.ct__proof dd { margin: 0; font-size: clamp(22px, 2vw, 32px); line-height: 1; font-weight: 800; font-stretch: 76%; text-transform: uppercase; white-space: nowrap; }
.ct__proof dt { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.ct__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(24px, 4vh, 40px); }
.ct__social a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .4); font: 700 11.5px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: #FFFFFF; transition: background-color .2s, color .2s, border-color .2s; }
.ct__jump { display: none; }
#ct-form { scroll-margin-top: var(--nav-h); }
.ct__social a:hover { background: var(--lime); border-color: var(--lime); color: #0A0A0A; }

.ct__form { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vh, 72px) var(--gutter) clamp(32px, 6vh, 72px) clamp(24px, 4vw, 72px); }
.ct__f { display: grid; gap: 14px; width: 100%; max-width: 520px; }
.ct__f[hidden] { display: none; }
.ct__f-k { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; font-size: clamp(30px, 3vw, 44px); line-height: .95; font-weight: 800; font-stretch: 76%; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.ct__f-k span { font-size: 14px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ct .field { gap: 6px; }
.ct .input { min-height: 52px; border-radius: 0; }
.ct textarea.input { min-height: 110px; }
.ct__send { width: 100%; justify-content: center; margin-top: 4px; }
.ct .form-status--err { border-radius: 0; }
.ct__ok { max-width: 520px; border-radius: 0; padding: clamp(32px, 5vw, 56px) 32px; }
.ct__ok h2 { font-size: clamp(44px, 6vw, 72px); line-height: .95; font-weight: 800; font-stretch: 76%; text-transform: uppercase; letter-spacing: -.01em; }
.ct__ok h2 span { color: var(--lime); }
.ct__ok p { margin-top: 8px; font-size: 18px; }
.ct__ok .btn { margin-top: 22px; }

@media (max-width: 960px) {
    .ct { grid-template-columns: 1fr; min-height: 0; }
    .ct__hero { min-height: 0; padding-top: clamp(200px, 48vw, 360px); padding-left: var(--gutter); padding-right: var(--gutter); }
    .ct__media img { object-position: 74% 20%; }
    .ct__media::after { background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .9) 42%, rgba(0, 0, 0, 0) 75%); }
    .ct__form { padding: 40px var(--gutter) 64px; align-items: stretch; }
    .ct__f, .ct__ok { max-width: none; }
    .ct__jump { display: inline-flex; width: 100%; justify-content: center; margin-top: 22px; }
}
@media (max-width: 480px) {
    .ct__proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ct__proof > div { padding: 0 10px; }
    .ct__proof dd { font-size: 20px; white-space: normal; }
}

/* =========================================================
   MOBILE UX LAYER (phones are the main traffic)
   1. Header tucks away while scrolling down, returns on scroll up
   2. Thumb-sized tap targets on touch screens (44px)
   3. No "stuck" hover states on touch; tap feedback instead
   4. Readable minimum for small uppercase labels
   ========================================================= */
html { -webkit-tap-highlight-color: transparent; }
.nav { transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 860px) {
    .nav.is-tucked { transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

@media (pointer: coarse) {
    .wordmark, .footer__col a, .footer__legal a, .sw-rk__link, .sw-link, .text-link, .article-back-link,
    .jf__talk a, .jr__tag, .article-lang, .article-author-linkedin, .filter, .tm__legal a, .x-join__note a {
        min-height: 44px; display: inline-flex; align-items: center;
    }
    .footer__col { row-gap: 0; }
    .btn:active, .jr__end-cta:active, .ct__social a:active, .cta2__follow a:active, .jf__social a:active, .jr__svc a:active { transform: scale(.98); }
}

@media (hover: none) {
    html .svc__card:hover { background: transparent; color: inherit; }
    html .svc__card:hover::before { width: 0; }
    html .svc__card:hover .svc__text { color: var(--muted); }
    html .svc__card:hover .svc__q { color: var(--ink); }
    html .svc__card:hover .svc__go span { transform: none; }
    html .af-heads li:hover { background: transparent; color: inherit; }
    html .af-heads li:hover::before { width: 0; }
    html .af-heads li:hover > span { color: var(--muted); }
    html .jr__svc a:hover, html .jf__social a:hover { padding-left: 4px; }
    html .jr__svc a:hover i { transform: none; }
    html .sw-photo:hover img { filter: grayscale(.85) contrast(1.04); }
    html .sw-hero__photo .sw-photo:hover img { filter: grayscale(.65) contrast(1.04); }
    html .sw-hero__photo .sw-photo:hover img.sw-photo__eyes { filter: none; }
}

@media (max-width: 560px) {
    html body :is(.sw-meta, .sw-rk__tag, .sw-rk__meta, .sw-rk dt, .sw-spec dt, .wm__label, .jr__n, .jr__tag, .jr__media figcaption, .jr__btw-k, .jr__svc-k, .jr__svc span, .jr__iron dt, .tm__label, .tm__opt, .tv2__bar, .tv2__rec, .route__link span) { font-size: 12px; }
    html body .sw-f50s { gap: 3px; margin-left: 5px; vertical-align: .14em; }
    html body .sw-f50 { height: 19px; gap: 4px; padding: 0 5px 0 4px; }
    html body .sw-f50 b { font-size: 14px; }
    html body .sw-f50 span { padding-left: 4px; font-size: 7.5px; line-height: 1.05; letter-spacing: .05em; }
}
@media (max-width: 560px) {
    html body .sw-hero__photo .sw-photo--tall { aspect-ratio: 4 / 3; }
}
