/* ==========================================================================
   SIGNATURE LAYER (loaded after site.css)
   Editorial type · giant-name hero · dark bands · orbit · bento · about card
   career preview · pinned work · LET'S WORK finale · cursor · loader
   ========================================================================== */

/* ---------- Editorial typography ---------- */
.h1, .h2 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.02em; line-height: .98; }
.h1 { font-size: clamp(46px, 7vw, 104px); max-width: 16ch; }
.h2 { font-size: clamp(42px, 5.6vw, 84px); max-width: 16ch; }
.h1 em, .h2 em { font-style: italic; color: var(--accent-text); }
.page-head .lede { font-size: clamp(17px, 1.4vw, 20px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }

/* Inner page headers carry the hero's geometric signature */
.page-head { position: relative; }
.page-head:not(.about-head):not(.contact):not(.case-head)::before,
.page-head:not(.about-head):not(.contact):not(.case-head)::after { content: ""; position: absolute; pointer-events: none; z-index: -1; }
.page-head:not(.about-head):not(.contact):not(.case-head)::before { right: var(--gutter); top: calc(var(--nav-h) + 60px); width: clamp(120px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; background: var(--orange); animation: float-shape 9s ease-in-out infinite; }
.page-head:not(.about-head):not(.contact):not(.case-head)::after { right: calc(var(--gutter) + clamp(90px, 12vw, 170px)); top: calc(var(--nav-h) + clamp(150px, 19vw, 270px)); width: clamp(90px, 11vw, 150px); aspect-ratio: 1; border-radius: 100% 0 0 0; background: var(--navy); animation: float-shape 9s ease-in-out -4s infinite; }
.about-head .portrait { overflow: visible; border: 0; background: transparent; }
.about-head .portrait img { border-radius: 22px; }
.about-head .portrait::before { inset: 18px -18px -18px 18px; border-radius: 22px; background: var(--orange); z-index: -1; }
.about-head .portrait::after { display: none; }
.case-head .back { color: var(--muted); }

/* ---------- Intro loader (first visit per session) ---------- */
.loader { display: none; }
.js:not(.intro-seen) .loader {
    position: fixed; inset: 0; z-index: 500; display: flex; align-items: flex-end;
    padding: clamp(24px, 5vw, 56px); background: var(--navy-black); color: #eef1f7;
    transition: transform 1s cubic-bezier(.76, 0, .24, 1);
}
.loader.is-done { transform: translateY(-100%); }
.loader__inner { display: flex; align-items: flex-end; gap: 18px; width: 100%; }
.loader__mark { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--orange); color: var(--accent-ink); font-family: var(--font-display); font-weight: 800; font-size: 20px; animation: rise .8s var(--ease) both; }
.loader__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 36px); letter-spacing: -.02em; animation: rise .8s var(--ease) .1s both; }
.loader__count { margin-left: auto; font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: clamp(80px, 16vw, 240px); line-height: .8; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.loader__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.intro-active .intro-in, .intro-active .hero2__name .ch { animation-play-state: paused; }
.intro-active body { overflow: hidden; }

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor {
    position: fixed; left: 0; top: 0; z-index: 400; display: grid; place-items: center;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: var(--orange); pointer-events: none; mix-blend-mode: multiply;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, mix-blend-mode 0s;
}
.has-cursor .cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; opacity: .35; }
.has-cursor .cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; opacity: 1; }
.has-cursor .cursor.is-hidden { opacity: 0; }
.cursor__label { font-size: 13px; font-weight: 700; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }

/* ---------- Hero: giant name + tilted photo + shapes ---------- */
.hero2 { position: relative; padding-top: calc(var(--nav-h) + clamp(20px, 4vh, 48px)); padding-bottom: clamp(40px, 6vh, 72px); overflow: hidden; }
.hero2 .status { margin-bottom: clamp(8px, 2vh, 20px); }
.hero2__name {
    position: relative; z-index: 1; margin: 0; text-align: center; white-space: nowrap;
    font-family: var(--font-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
    font-size: clamp(64px, 15.2vw, 236px); line-height: .84; letter-spacing: -.01em; color: var(--text);
    will-change: transform;
}
.hero2__name .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em; white-space: nowrap; }
.hero2__name .w--accent { color: var(--accent); }
.hero2__name .ch { display: inline-block; animation: char-up .9s var(--ease) both; animation-delay: calc(var(--i) * 40ms + 150ms); }
@keyframes char-up { from { transform: translateY(105%); } }

.hero2__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(260px, 340px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: end; margin-top: clamp(-64px, -3.6vw, -28px); }
.hero2__photo { position: relative; justify-self: center; width: 100%; aspect-ratio: 4 / 5; margin: 0; }
.hero2__card {
    position: relative; z-index: 2; height: 100%; border-radius: 22px; overflow: hidden; background: var(--navy);
    box-shadow: 0 40px 80px -30px rgba(10, 17, 32, .55), 0 0 0 6px var(--bg);
    transform: rotate(-5deg); transition: transform .8s var(--ease);
    animation: card-in 1.2s var(--ease) .35s both;
}
@keyframes card-in { from { transform: translateY(60px) rotate(4deg); opacity: 0; } }
.hero2__photo:hover .hero2__card { transform: rotate(-1.5deg) scale(1.02); }
.hero2__card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero2__badge { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: grid; gap: 1px; padding: 12px 14px; border-radius: 14px; background: rgba(10, 17, 32, .82); color: #eef1f7; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero2__badge small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.hero2__badge strong { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.hero2__badge span { font-size: 13px; color: #b6bfd2; }

/* Geometric shapes behind the card */
.shape { position: absolute; z-index: 1; pointer-events: none; animation: float-shape 9s ease-in-out infinite; }
.shape--sun { width: 46%; aspect-ratio: 1; right: -24%; top: 16%; border-radius: 50%; background: var(--orange); }
.shape--quarter { width: 42%; aspect-ratio: 1; left: -26%; bottom: 4%; border-radius: 100% 0 0 0; background: var(--navy); animation-delay: -3s; }
.shape--pill { width: 16%; height: 38%; right: -16%; bottom: -4%; border-radius: 999px; background: var(--blue); animation-delay: -6s; }
.shape--ring { width: 26%; aspect-ratio: 1; left: -14%; top: 8%; border-radius: 50%; border: 2px solid var(--text); opacity: .7; animation-delay: -1.5s; }
@keyframes float-shape { 50% { transform: translateY(-14px) rotate(6deg); } }

.hero2__proof { display: grid; gap: 14px; align-content: end; padding-bottom: 8px; }
.avatars { display: flex; }
.avatars span { display: grid; place-items: center; width: 46px; height: 46px; margin-left: -12px; border-radius: 50%; border: 3px solid var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #eef1f7; background: var(--navy); }
.avatars span:first-child { margin-left: 0; }
.avatars span:nth-child(2) { background: var(--blue); }
.avatars span:nth-child(3) { background: var(--orange); color: var(--accent-ink); }
.avatars span:nth-child(4) { background: #2a3550; }
.hero2__proof strong { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.hero2__proof strong em { font-style: normal; color: var(--muted); font-weight: 500; }
.hero2__proof p { color: var(--text-2); font-size: 15px; max-width: 30ch; }
.hero2__intro { display: grid; gap: 22px; justify-items: start; padding-bottom: 8px; }
.hero2__intro p { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--text-2); max-width: 36ch; }
.hero2__intro .hero__actions { margin-top: 0; }

/* ---------- Dark band ---------- */
.band { padding-block: clamp(70px, 9vw, 120px); }
.band .marquee { margin-top: 0; margin-bottom: clamp(60px, 8vw, 110px); }
.band__label { text-align: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.band__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.band .stats { margin-top: clamp(50px, 7vw, 90px); }

/* Orbit (reused from v2; core now shows a number) */
.orbit { position: relative; width: min(520px, 100%); aspect-ratio: 1; justify-self: center; }
.orbit__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__canvas--front { z-index: 2; pointer-events: none; }
.orbit__core {
    position: absolute; z-index: 1; left: 50%; top: 50%; width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%);
    display: grid; place-content: center; text-align: center; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #1c3a8a, var(--navy) 60%, #0a1430);
    box-shadow: 0 0 0 1px rgba(255, 122, 53, .5), 0 0 0 12px rgba(58, 109, 240, .08), 0 0 90px 12px rgba(58, 109, 240, .35);
}
.orbit__core strong { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: clamp(48px, 6vw, 84px); line-height: .9; color: var(--orange); }
.orbit__core span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #b6bfd2; margin-top: 6px; }

/* Manifesto (scroll-lit words) */
.manifesto { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 62px); line-height: 1.08; letter-spacing: -.015em; }
.mw { display: inline-block; opacity: .16; transition: opacity .4s var(--ease), color .4s var(--ease); }
.mw.is-lit { opacity: 1; }
.mw--hl.is-lit { color: var(--orange); font-style: italic; }

/* ---------- Section head (Ober-style) ---------- */
.shead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.shead .eyebrow { grid-column: 1 / -1; color: var(--accent-text); }

/* ---------- Bento capabilities ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bcard {
    position: relative; grid-column: span 5; display: grid; align-content: space-between; gap: 46px; min-height: 280px;
    padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
    transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.bcard:nth-child(1), .bcard:nth-child(4) { grid-column: span 7; }
.bcard:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -36px rgba(10, 17, 32, .35); }
.bcard__top { display: flex; justify-content: space-between; align-items: center; }
.bcard__num { display: grid; place-items: center; min-width: 40px; height: 30px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-2); }
.bcard__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s; }
.bcard:hover .bcard__arrow { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.bcard h3 { font-family: var(--font-display); font-stretch: 85%; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.01em; line-height: 1.02; }
.bcard p { margin-top: 10px; color: var(--muted); max-width: 44ch; }
.bcard.band-dark { border-color: var(--navy-black); overflow: hidden; isolation: isolate; }
.bcard.band-dark::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--orange); opacity: .9; z-index: 0; transition: transform .8s var(--ease); }
.bcard.band-dark:hover::after { transform: scale(1.15) translate(-10px, -10px); }
.bcard > * { position: relative; z-index: 1; }

/* ---------- About snapshot ---------- */
.snap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.snap__media { position: relative; }
.snap__media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 26px; background: var(--orange); }
.snap__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--navy); }
.snap__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.snap__media:hover img { transform: scale(1.04); }
.snap__exp { position: absolute; left: -18px; top: 28px; z-index: 2; display: grid; padding: 16px 20px; border-radius: 18px; background: var(--navy-black); color: #eef1f7; box-shadow: 0 20px 40px -20px rgba(10,17,32,.6); animation: bob 7s ease-in-out infinite; }
.snap__exp strong { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: 44px; line-height: .9; color: var(--orange); }
.snap__exp span { font-size: 13px; color: #b6bfd2; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.snap__copy { display: grid; gap: 22px; justify-items: start; }
.snap__copy .eyebrow { color: var(--accent-text); }
.snap__text { font-size: clamp(17px, 1.3vw, 19px); color: var(--text-2); max-width: 54ch; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; width: 100%; padding: 24px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.info dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 3px; }
.info dd { font-size: 15.5px; color: var(--text); word-break: break-word; }
.snap__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.signature { font-family: var(--font-script); font-size: clamp(46px, 5vw, 64px); line-height: 1; color: var(--accent); transform: rotate(-6deg); margin-left: 8px; }

/* ---------- Career preview (Ober résumé) ---------- */
.career { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(30px, 6vw, 90px); border-left: 1px solid var(--line-2); padding-left: clamp(20px, 4vw, 56px); }
.career li { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.career__when { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-text); }
.career__role { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.015em; line-height: 1.2; }
.career__co { color: var(--muted); font-size: 15px; }

/* ---------- Pinned horizontal work ---------- */
.hscroll { position: relative; margin-top: clamp(96px, 12vw, 160px); }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); overflow: hidden; }
.hscroll__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hscroll__meta { display: flex; align-items: center; gap: 22px; }
.hscroll__count { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.hscroll__count b { color: var(--text); font-weight: 500; }
.hscroll__progress { position: relative; width: 120px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.hscroll__progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.hscroll__viewport { width: 100%; }
.hscroll__track { display: flex; gap: 28px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: transform; }
.hcard { flex: 0 0 auto; width: min(560px, 72vw); display: grid; align-content: start; gap: 20px; transition: transform .5s var(--ease); }
.hcard__media { position: relative; height: min(46vh, 400px); border-radius: 22px; overflow: hidden; }
.hcard:hover .cover__art { transform: scale(1.07); }
.hcard__num { position: absolute; left: 20px; top: 16px; z-index: 1; font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(238, 241, 247, .4); }
.hcard__body { display: grid; gap: 8px; }
.hcard__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.12; transition: color .25s; }
.hcard:hover .hcard__title { color: var(--accent-text); }
.hcard__text { color: var(--muted); font-size: 15.5px; max-width: 50ch; }
.hcard--more { align-content: space-between; width: min(380px, 60vw); height: min(46vh, 400px); padding: 30px; border-radius: 22px; background: var(--orange); color: var(--accent-ink); transition: transform .5s var(--ease); }
.hcard--more:hover { transform: translateY(-6px); }
.hcard__more-title { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 52px); line-height: .95; }
.hcard__more-icon { justify-self: end; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--navy-black); color: var(--orange); transition: transform .5s var(--ease); }
.hcard--more:hover .hcard__more-icon { transform: rotate(45deg) scale(1.06); }

/* Case covers are dark tiles on the light page */
.cover { background: radial-gradient(120% 90% at 85% 10%, rgba(58, 109, 240, .32), transparent 55%), linear-gradient(180deg, #13214a, var(--navy-black)); }
.pcard__media, .case-cover { border-color: transparent; }

/* ---------- LET'S WORK finale ---------- */
.finale { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); text-align: center; }
.finale__kicker { color: var(--muted); font-size: 17px; }
.finale__word { position: relative; margin: 10px 0 34px; user-select: none; font-size: clamp(80px, 19vw, 320px); }
.finale__word span { display: block; font-family: var(--font-display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1em; line-height: .82; letter-spacing: -.01em; white-space: nowrap; }
.finale__base { color: transparent; -webkit-text-stroke: 1.5px rgba(238, 241, 247, .35); }
.finale__lit {
    position: absolute; inset: 0; color: var(--orange);
    -webkit-mask-image: radial-gradient(circle 260px at var(--x, 50%) var(--y, 60%), #000 20%, transparent 72%);
    mask-image: radial-gradient(circle 260px at var(--x, 50%) var(--y, 60%), #000 20%, transparent 72%);
}
.finale__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; }
.finale__mail { color: var(--text-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.finale__mail:hover { color: var(--orange); border-color: var(--orange); }
.finale + .footer { margin-top: 0; }

/* ---------- Scroll-to-top with progress ring ---------- */
.to-top { position: fixed; right: clamp(14px, 2.5vw, 28px); bottom: clamp(14px, 2.5vw, 28px); z-index: 90; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: 0 12px 30px -12px rgba(10,17,32,.35); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 2.5; }
.to-top .ring .ring__bg { stroke: var(--line); }
.to-top .ring .ring__fg { stroke: var(--orange); stroke-linecap: round; }
.to-top:hover { color: var(--accent-text); }

/* ---------- Footer now dark, sits flush under the finale ---------- */
.footer { margin-top: 0; border-top: 1px solid var(--line); }
.page-contact main, .page-error main { padding-bottom: clamp(80px, 10vw, 120px); }

/* ---------- Testimonials: editorial quotes ---------- */
.slide blockquote { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.01em; max-width: 30ch; }
.slide figcaption { display: flex; align-items: center; gap: 12px; }
.quotes .avatar { background: var(--navy); color: #eef1f7; border-color: var(--navy); }
.quotes { position: relative; overflow: hidden; }
.quotes::after { content: "\201C"; position: absolute; right: clamp(10px, 5vw, 70px); bottom: -.42em; font-family: var(--font-serif); font-size: clamp(220px, 30vw, 420px); line-height: 1; color: var(--orange); opacity: .9; pointer-events: none; }
.quotes > * { position: relative; z-index: 1; }

/* ---------- Status line ---------- */
.status__text { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: .02em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hero2__grid { grid-template-columns: 1fr minmax(240px, 300px) 1fr; }
}
@media (max-width: 920px) {
    .hero2__name { white-space: normal; font-size: clamp(64px, 22vw, 160px); line-height: .82; }
    .hero2__name .w { display: block; }
    .hero2__grid { grid-template-columns: 1fr; margin-top: 28px; justify-items: center; gap: 36px; }
    .hero2__photo { width: min(320px, 78vw); order: 1; }
    .hero2__intro { order: 2; justify-items: center; text-align: center; }
    .hero2__intro p { margin-inline: auto; }
    .hero2__intro .hero__actions { justify-content: center; }
    .hero2__proof { order: 3; justify-items: center; text-align: center; }
    .band__grid, .snap { grid-template-columns: 1fr; }
    .orbit { width: min(440px, 100%); }
    .bento { grid-template-columns: 1fr; }
    .bcard, .bcard:nth-child(1), .bcard:nth-child(4) { grid-column: auto; }
    .career { grid-template-columns: 1fr; }
    .snap__media { max-width: 420px; }
    .hscroll__sticky { position: static; height: auto; overflow: visible; }
    .hscroll__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .hscroll__viewport::-webkit-scrollbar { display: none; }
    .hscroll__track { transform: none !important; padding-inline: var(--gutter); gap: 16px; }
    .hcard, .hcard--more { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
    .hcard__media, .hcard--more { height: 260px; }
    .hscroll__progress, .hscroll__count { display: none; }
    .shead { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .info { grid-template-columns: 1fr; }
    .hcard { width: 84vw; }
    .snap__exp { left: 10px; }
    .shape--sun { right: -6%; width: 38%; } .shape--pill { right: -4%; } .shape--quarter { left: -8%; } .shape--ring { left: -4%; }
    .hero2 { overflow: clip; }
    .snap__media { margin-right: 14px; }
    .snap__media::before { inset: 14px -14px -14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .mw { opacity: 1; }
    .shape, .snap__exp { animation: none; }
}

/* ==========================================================================
   v4 additions · spacing, sticky header, page-head art, services, habits
   ========================================================================== */

/* Light content never touches the dark finale */
.finale { margin-top: clamp(96px, 12vw, 160px); }

/* Header: always visible, glass background once scrolled */
.nav.is-hidden { transform: none; }
.nav.is-scrolled::before { box-shadow: 0 10px 30px -24px rgba(10, 17, 32, .5); }

/* Menu hover: text rolls up, orange copy rolls in (no width change) */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll__inner { display: inline-block; transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.roll::after { content: attr(data-text); content: attr(data-text) / ""; position: absolute; left: 0; top: 100%; color: var(--accent-text); transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
a:hover > .roll .roll__inner, a:focus-visible > .roll .roll__inner,
a:hover > .roll::after, a:focus-visible > .roll::after { transform: translateY(-100%); }
.nav__links a.is-active .roll::after { color: var(--text); }
.footer .roll::after { color: var(--orange); }
@media (prefers-reduced-motion: reduce) {
    .roll::after { display: none; }
    a:hover > .roll .roll__inner { transform: none; }
}

/* Page heads with an illustration on the right */
.page-head--art { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); align-items: center; column-gap: clamp(24px, 5vw, 80px); }
.page-head--art::before, .page-head--art::after { display: none !important; }
.page-head__copy { display: grid; gap: 22px; justify-items: start; }
.illo { width: 100%; max-width: 460px; justify-self: end; }
.illo svg { width: 100%; height: auto; overflow: visible; }
.illo__float { transform-box: fill-box; transform-origin: center; animation: illo-float 8s ease-in-out infinite; }
.illo__d1 { animation-delay: -1s; }
.illo__d2 { animation-delay: -3.5s; animation-duration: 9s; }
.illo__d3 { animation-delay: -6s; animation-duration: 10s; }
@keyframes illo-float { 50% { transform: translateY(-10px) rotate(1.5deg); } }

/* ---------- Services ---------- */
.svc-group { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 0 clamp(28px, 5vw, 72px); align-items: start; }
.svc-group__aside { position: sticky; top: calc(var(--nav-h) + 36px); display: grid; gap: 18px; justify-items: start; }
.svc-group__aside .h2 { font-size: clamp(36px, 4.2vw, 60px); }
.svc-group__num { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: 64px; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.svc-group__venture { display: inline-flex; align-items: center; gap: 14px; margin-top: 4px; color: var(--text-2); font-size: 14.5px; }
.svc-group__venture .founder__logo { height: 46px; padding: 9px 14px; }
.svc-group__venture span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.svc-group__venture:hover span:last-child { color: var(--accent-text); }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-left: 1px solid var(--line-2); }
.svc { position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); transition: background-color .35s var(--ease); }
.svc:nth-child(odd) { border-right: 1px solid var(--line); }
.svc:hover { background: var(--surface); }
.svc__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); transition: background-color .35s, color .35s, transform .5s var(--ease); }
.svc:hover .svc__icon { background: var(--accent); color: var(--accent-ink); transform: rotate(-8deg) scale(1.05); }
.svc__title { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.015em; line-height: 1.2; }
.svc__text { color: var(--text-2); font-size: 15.5px; }
.svc__points { display: flex; flex-wrap: wrap; gap: 6px; }
.svc__points li { font-family: var(--font-mono); font-size: 11.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.svc__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 600; font-size: 14.5px; color: var(--accent-text); width: fit-content; }
.svc__link .icon { transition: transform .35s var(--ease); }
.svc__link:hover .icon { transform: translateX(4px); }

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.process__step { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.process__step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -18px; width: 18px; height: 2px; background: var(--accent); }
.process__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-black); color: var(--orange); font-family: var(--font-mono); font-size: 13px; margin-bottom: 8px; }
.process__step h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.015em; }
.process__step p { color: var(--muted); font-size: 15px; }

.svc-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.svc-bottom .eyebrow { color: var(--accent-text); margin-bottom: 20px; }
.models { border-top: 1px solid var(--line-2); }
.models li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.models strong { font-family: var(--font-serif); font-weight: 400; font-size: 30px; letter-spacing: -.01em; line-height: 1.1; }
.models span { color: var(--muted); }
.models__note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; color: var(--text-2); }
.models__note .icon { color: var(--accent-text); }
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.faq__item[open] { border-color: var(--accent-line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq__item p { padding: 0 22px 20px; color: var(--text-2); }

/* ---------- About: How I work (habits panel) ---------- */
.habits { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 5vw, 72px); border-radius: 32px; }
.habits__sun { position: absolute; z-index: -1; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; background: var(--orange); animation: float-shape 10s ease-in-out infinite; }
.habits__quarter { position: absolute; z-index: -1; left: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 0 100% 0 0; background: var(--blue); opacity: .55; animation: float-shape 11s ease-in-out -4s infinite; }
.habits__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.habits__head .eyebrow { color: var(--orange); margin-bottom: 14px; }
.habits__head .h2 { color: var(--text); max-width: 14ch; }
.habits__head .h2 em { color: var(--orange); }
.habits__intro { color: var(--text-2); max-width: 40ch; }
.habits__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.habit {
    display: grid; align-content: start; gap: 14px; padding: 26px 26px 28px; border-radius: 22px;
    background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2);
    transition: transform .5s var(--ease), border-color .3s, background-color .3s;
}
.habit:hover { transform: translateY(-5px); border-color: rgba(255, 122, 53, .55); background: rgba(255, 255, 255, .06); }
.habit__top { display: flex; align-items: center; justify-content: space-between; }
.habit__num { font-family: var(--font-display); font-stretch: 70%; font-weight: 800; font-size: 54px; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(238, 241, 247, .55); transition: color .35s, -webkit-text-stroke-color .35s; }
.habit:hover .habit__num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.habit__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: var(--orange); border: 1px solid rgba(255, 122, 53, .45); }
.habit__line { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.005em; color: var(--text); }
.habit__practice { display: grid; gap: 4px; padding-top: 14px; border-top: 1px dashed var(--line-2); color: var(--text-2); font-size: 15px; }
.habit__practice span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1100px) {
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process__step:nth-child(2)::after { display: none; }
}
@media (max-width: 920px) {
    .page-head--art { grid-template-columns: 1fr; }
    .illo { justify-self: center; max-width: 300px; margin-top: 8px; }
    .svc-group, .svc-bottom { grid-template-columns: 1fr; }
    .svc-group__aside { position: static; margin-bottom: 28px; }
    .habits__head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .svc-grid { grid-template-columns: 1fr; border-left: 0; }
    .svc:nth-child(odd) { border-right: 0; }
    .svc { padding-inline: 0; }
    .process { grid-template-columns: 1fr; }
    .process__step::after { display: none; }
    .habits { border-radius: 24px; padding: 28px 20px; }
    .habits__grid { grid-template-columns: 1fr; }
    .habits__sun { width: 160px; height: 160px; right: -60px; top: -60px; }
}
@media (prefers-reduced-motion: reduce) {
    .illo__float, .habits__sun, .habits__quarter { animation: none; }
}

/* Footer intro: a little larger and easier to read */
.footer__intro { gap: 20px; }
.footer__intro .brand__mark { width: 44px; height: 44px; font-size: 17px; border-radius: 12px; }
.footer__intro .brand__name { font-size: 20px; }
.footer__intro p { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 34ch; }
.footer__more { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-size: 15px; font-weight: 600; color: var(--orange); padding-bottom: 2px; border-bottom: 1px solid rgba(255, 122, 53, .4); transition: border-color .25s, gap .3s var(--ease); }
.footer__more:hover { border-color: var(--orange); gap: 12px; }
@media (min-width: 1101px) { .footer__intro { padding-right: 24px; } }

/* Contact form: fields side by side keep their natural height and align at the top
   (a hint line under one field must not stretch the input next to it) */
.form__row { align-items: start; }
.field { align-content: start; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus::placeholder, .field textarea:focus::placeholder { opacity: .45; }

/* Phone fixes: decorative shapes must never sit on top of text */
@media (max-width: 640px) {
    .bcard.band-dark { padding-bottom: 96px; }
    .bcard.band-dark::after { width: 120px; height: 120px; right: -36px; bottom: -44px; }
    .quotes { padding-bottom: 80px; }
    .quotes::after { font-size: 170px; right: 18px; bottom: -.58em; }
}
