/* ============================================================= */
/*  THEME â€” 2-tone Black + Leaf Green                             */
/*  Edit colors here to re-brand the whole site                   */
/* ============================================================= */
:root {
  --bg:        #0a0908;   /* warm near black        */
  --bg-alt:    #100d0a;   /* alt section background */
  --surface:   #1b1712;   /* cards                  */
  --surface-2: #271f18;   /* nested / hover         */
  --border:    rgba(255,255,255,.09);
  --text:      #efece8;   /* warm white             */
  --muted:     #9b9189;   /* warm grey              */
  --accent:    #d97757;   /* Claude clay/orange     */
  --accent-rgb: 217,119,87; /* accent rgb channels â€” per-project theming */
  --accent-lt: #e8a890;   /* light orange           */
  --accent-dk: #c15f3c;   /* deep orange            */
  --ink:       #2a1206;   /* dark text on accent    */
  --glow:      rgba(217,119,87,.40);
  --glow-soft: rgba(217,119,87,.12);
  --radius:    18px;
  --maxw: 1600px;
  --ease:      cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.16,1,.3,1);
  --serif:     'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ============================ RESET =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* subtle, static ambient glow â€” calm, no rainbow */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% -5%, rgba(217,119,87,.16), transparent 70%),
    radial-gradient(45% 45% at 100% 100%, rgba(217,119,87,.08), transparent 70%);
}
h1, h2, h3, .nav__logo { font-family: 'Schibsted Grotesk', sans-serif; line-height: 1.08; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; position: relative; }

/* Emphasis = solid clay swap (no gradient-clipped text â€” an AI tell). Matches the hero <em>. */
.grad { color: var(--accent); }

/* ===================== SCROLL PROGRESS BAR ==================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 100;
  background: linear-gradient(90deg, var(--accent-lt), var(--accent));
  box-shadow: 0 0 12px var(--glow);
}

/* ========================= GRAIN OVERLAY ===================== */
.grain {
  display: none;   /* perf: a full-screen fixed layer re-composited every scroll frame — too costly on Intel UHD for a .04 texture */
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* keep content above background layers */
.nav, .hero, .section, .marquee, .footer { position: relative; z-index: 2; }

/* ========================= CUSTOM CURSOR ===================== */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; border-radius: 50%; }
.cursor { width: 34px; height: 34px; border: 1.5px solid rgba(217,119,87,.85); translate: -50% -50%; transition: width .25s var(--ease), height .25s var(--ease), background .25s; }
.cursor-dot { width: 6px; height: 6px; background: #d97757; translate: -50% -50%; }
.cursor.is-hover { width: 56px; height: 56px; background: rgba(217,119,87,.14); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }

/* ======================= REVEAL ANIMATION ===================== */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
/* directional variants */
[data-reveal="left"]  { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible,
[data-reveal="scale"].is-visible { transform: none; }
/* mobile: sideways pre-reveal offset caused horizontal scroll â€” slide vertically instead */
@media (max-width: 820px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(38px); }
}
/* fall-down (drops from top with a slight bounce) */
[data-reveal="fall"] { transform: translateY(-80px) rotate(-2deg); filter: blur(5px);
  transition: opacity .5s var(--ease), transform .9s var(--ease), filter .5s var(--ease); }
[data-reveal="fall"].is-visible { transform: translateY(0) rotate(0); filter: blur(0); }
[data-delay="1"]{transition-delay:.08s}[data-delay="2"]{transition-delay:.18s}[data-delay="3"]{transition-delay:.28s}
[data-delay="4"]{transition-delay:.40s}[data-delay="5"]{transition-delay:.52s}

/* ---- Split-text mask reveal (per word) ---- */
.rt-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .22em; margin-bottom: -.22em; }
.rt-wi { display: inline-block; transform: translateY(115%); transition: transform .85s var(--ease); }
.rt-ready.is-visible .rt-wi { transform: translateY(0); }

/* ---- Clip-path image wipe reveal ---- */
[data-clip] { clip-path: inset(0 0 100% 0); transform: scale(1.12); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); will-change: clip-path, transform; }
[data-clip].is-visible { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ---- Velocity marquee (JS-driven) ---- */
.marquee.js .marquee__track { animation: none; will-change: transform; }

/* ===================== LENIS SMOOTH SCROLL ==================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none; }
  .rt-wi { transform: none !important; }
  [data-clip] { clip-path: none !important; transform: none !important; }
  .tl-card { transform: none !important; }
  .timeline__progress::after, .tl-item.tl-on .tl-dot { animation: none !important; }
  html { scroll-behavior: auto; }
  .hero__photo::before, .marquee__track, .hero__scroll-line::after, .menu__status i, .hero__dpcard-chip { animation: none !important; }
  .hero-rise, .hero__h1-line [data-rise] { opacity: 1 !important; transform: none !important; animation: none !important; }
  .work-h__track .work__card { opacity: 1 !important; transform: none !important; }
  .cursor, .cursor-dot { display: none; }
}

/* ============================= NAV ============================ */
/* Floating glass-pill nav: persistent, subtle over the dark hero, stronger on scroll */
.nav {
  position: fixed; top: clamp(12px, 2vw, 20px); left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center; padding: 0 22px; pointer-events: none;
}
.nav__pill {
  pointer-events: auto; width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(14px, 2.2vw, 32px);
  padding: 7px 14px 7px 16px; border-radius: 100px;
  background: linear-gradient(180deg, rgba(38,32,27,.95), rgba(20,16,13,.94));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 20px 50px -22px rgba(0,0,0,.62),
    inset 0 1px 0 rgba(255,255,255,.15), inset 0 -12px 26px -18px rgba(0,0,0,.55);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.nav.scrolled .nav__pill {
  background: linear-gradient(180deg, rgba(31,26,21,.92), rgba(16,13,11,.9));
  border-color: rgba(255,255,255,.13);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 24px 56px -24px rgba(0,0,0,.72),
    inset 0 1px 0 rgba(255,255,255,.14);
}
.nav__logo { display: inline-flex; align-items: center; gap: 11px; }
.nav__logo-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--accent); color: #fff; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 800; font-size: .95rem;
  box-shadow: 0 5px 14px -5px var(--glow), inset 0 1px 0 rgba(255,255,255,.28); transition: transform .25s var(--ease); }
.nav__logo:hover .nav__logo-mark { transform: rotate(-6deg) scale(1.05); }
.nav__logo-tx { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 1.04rem; letter-spacing: -.01em; color: #efece8; }
.nav__logo-tx span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { font-family: 'Hanken Grotesk', sans-serif; font-size: .91rem; font-weight: 500; color: #b6aea4;
  padding: 8px 15px; border-radius: 100px; transition: color .2s, background .2s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__right { display: flex; align-items: center; gap: 14px; }
/* CTA: crisp warm-white pill, dark text â€” clay is reserved for the arrow chip (accent, not a loud fill) */
.nav__cta { position: relative;
  display: inline-flex; align-items: center; gap: 11px; padding: 6px 7px 6px 21px; border-radius: 100px;
  background: #f3efe9; color: #1a120c !important; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: .92rem; letter-spacing: -.005em;
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.85);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .25s; }
.nav__cta:hover { background: #fff; transform: translateY(-1.5px); box-shadow: 0 16px 34px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.95); }
.nav__cta:active { transform: translateY(0) scale(.985); }
.nav__cta-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--accent); color: #fff; font-size: .92rem; line-height: 1;
  box-shadow: 0 5px 13px -4px var(--glow), inset 0 1px 0 rgba(255,255,255,.32);
  transition: transform .3s var(--ease); }
.nav__cta:hover .nav__cta-ic { transform: translate(2px, -2px); }
/* menu button â€” shown on mobile, opens the fullscreen menu */
.nav__menu { display: none; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 6px 10px; color: #efece8; }
.nav__menu-label { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .9rem; }
.nav__menu-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.nav__menu-bars i { height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), width .3s; transform-origin: center; }
.nav__menu-bars i:last-child { width: 14px; margin-left: auto; }
.nav.menu-open .nav__menu-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.menu-open .nav__menu-bars i:last-child { width: 100%; transform: translateY(-3.5px) rotate(-45deg); }

/* ====================== FULLSCREEN MENU ====================== */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: linear-gradient(160deg, #100d0a, var(--bg) 60%);
  display: grid; grid-template-rows: 1fr auto; gap: 30px;
  padding: 120px 7vw 50px;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transition: clip-path .8s var(--ease);
}
.menu::before {
  content: ""; position: absolute; top: -10%; right: -5%; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, var(--glow), transparent 65%); filter: blur(40px); opacity: .5; pointer-events: none;
}
.menu.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 4px; position: relative; }
.menu__links a {
  display: flex; align-items: baseline; gap: 22px; padding: 6px 0;
  font-family: 'Schibsted Grotesk'; font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.8rem, 7vw, 5.4rem); line-height: 1.05; color: var(--text);
  opacity: 0; transform: translateY(40px); transition: color .3s, transform .2s var(--ease);
}
.menu.open .menu__links a { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease), color .3s; }
.menu.open .menu__links a:nth-child(1){transition-delay:.12s}
.menu.open .menu__links a:nth-child(2){transition-delay:.18s}
.menu.open .menu__links a:nth-child(3){transition-delay:.24s}
.menu.open .menu__links a:nth-child(4){transition-delay:.30s}
.menu.open .menu__links a:nth-child(5){transition-delay:.36s}
.menu.open .menu__links a:nth-child(6){transition-delay:.42s}
.menu__num { font-size: .9rem; font-weight: 600; color: var(--accent); opacity: .8; font-family: 'Hanken Grotesk'; }
.menu__txt { position: relative; transition: transform .35s var(--ease); }
.menu__links a:hover { color: var(--accent); }
.menu__links a:hover .menu__txt { transform: translateX(20px); }
.menu__aside { display: flex; flex-wrap: wrap; gap: 40px 70px; border-top: 1px solid var(--border); padding-top: 26px; }
.menu__col { display: flex; flex-direction: column; gap: 8px; }
.menu__label { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 4px; }
.menu__col a { color: var(--text); font-size: 1rem; transition: color .2s; }
.menu__col a:hover { color: var(--accent); }
.menu__status { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: 1rem; }
.menu__status i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2s infinite; }

/* ====================== HERO (verteal-inspired) ============== */
.hero { position: sticky; top: 0; z-index: 1; min-height: 100vh; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px) 0 0 / 44px 44px,
    radial-gradient(66% 55% at 76% 40%, rgba(217,119,87,.08), transparent 62%),
    radial-gradient(48% 50% at 14% 20%, rgba(201,154,99,.05), transparent 70%), var(--bg); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-pin { height: 50vh; pointer-events: none; }   /* scroll-pin: scroll powers the card here before the page moves on */
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,9,8,.84) 0%, rgba(10,9,8,.5) 36%, transparent 66%),
    radial-gradient(85% 80% at 50% 0%, transparent 58%, rgba(6,7,8,.34)); }

.hero__frame { position: relative; z-index: 3; min-height: 100vh; display: flex; flex-direction: column;
  padding: 104px 0 26px; }

/* entrance helpers */
.hero-rise { opacity: 0; transform: translateY(30px); filter: blur(6px); animation: heroRise 1.05s var(--ease-spring) forwards; animation-delay: var(--d, 0s); }
@keyframes heroRise { to { opacity: 1; transform: none; filter: blur(0); } }
.hero__h1-line { display: block; overflow: hidden; padding-bottom: .14em; }
.hero__h1-line [data-rise] { display: inline-block; transform: translateY(110%); animation: h1rise 1.05s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes h1rise { to { transform: translateY(0); } }

/* left copy column */
.hero__lead { max-width: 600px; }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats b { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: -.02em; color: var(--text); }
.hero__stats b span, .hero__stats b i { color: var(--accent-lt); font-style: normal; }
.hero__stats small { font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }

/* RIG â€” the powered profile CARD (right): stats card + a glowing border that runs around it once the lines hit */
.hero__rig {justify-self: end;width: 100%;max-width: 550px;}
.hero__pcard { position: relative; border-radius: 24px; }
.hero__pcard-bd { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 4; pointer-events: none;
  opacity: 0; transition: opacity .6s ease; }
.hero__pcard.is-powered .hero__pcard-bd { opacity: 1; }
.hero__rig-trace, .hero__rig-run, .hero__rig-run2 { fill: none; vector-effect: non-scaling-stroke; }
.hero__rig-trace { stroke: rgba(var(--accent-rgb),.3); stroke-width: 1.5; }
.hero__rig-run { stroke: #ffe8c8; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 120 880;
  animation: runBorder 2.6s linear infinite; }
.hero__rig-run2 { stroke: var(--accent-lt); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 80 920; stroke-dashoffset: -500;
  animation: runBorder2 2.6s linear infinite; }
@keyframes runBorder { to { stroke-dashoffset: -1000; } }
@keyframes runBorder2 { to { stroke-dashoffset: -1500; } }
.hero__pcard-in { position: relative; z-index: 1; border-radius: 24px; padding: 22px;
  background: linear-gradient(180deg, rgba(24,29,32,.975), rgba(14,18,20,.985)); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 44px 100px -48px rgba(0,0,0,.9), 0 0 80px -22px rgba(var(--accent-rgb),.42), inset 0 1px 0 rgba(255,255,255,.08); }
.hero__pcard-top { display: flex; align-items: center; gap: 13px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.hero__pcard-av {flex: none;width: 130px;height: 130px;border-radius: 15px;overflow: hidden;border: 1px solid rgba(255,255,255,.16);background: var(--surface-2);}
.hero__pcard-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__pcard-id { display: flex; flex-direction: column; line-height: 1.26; margin-right: auto; }
.hero__pcard-id b {font-family: 'Schibsted Grotesk', sans-serif;font-weight: 700;font-size: 2rem;letter-spacing: -.01em;color: var(--text);}
.hero__pcard-id span {font-size: 1rem;color: var(--muted);}
.hero__pcard-uw { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; padding: 5px 10px 5px 6px; border-radius: 100px;
  background: rgba(20,168,0,.12); border: 1px solid rgba(20,168,0,.45); color: #5fd07e; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.hero__pcard-uw svg { width: 14px; height: 14px; }
.hero__pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 13px; overflow: hidden; background: rgba(255,255,255,.08); }
.hero__pcard-grid > div { background: rgba(18,22,23,.86); padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.hero__pcard-grid b {font-family: 'Schibsted Grotesk', sans-serif;font-weight: 700;font-size: 2rem;line-height: 1;letter-spacing: -.02em;color: var(--text);}
.hero__pcard-grid b span, .hero__pcard-grid b i { color: var(--accent-lt); font-style: normal; }
.hero__pcard-grid small {font-size: 1rem;text-transform: uppercase;letter-spacing: .04em;color: var(--muted);}

/* BODY: introduction (left) + portrait (right) */
.hero__body { flex: 1; width: 100%; max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .82fr); align-items: center;
  gap: clamp(30px, 5vw, 72px); padding: 24px 22px; }
@media (max-width: 880px) { .hero__body { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 34px; }
  .hero__body .hero__lead { text-align: center; align-items: center; }
  .hero__body .hero__trp { align-self: center; }
  .hero__stats { justify-content: center; }
  .hero__rig { order: -1; }
  .hero { position: relative; min-height: auto; }
  .hero__frame { min-height: auto; }
  .hero__gl { display: none; }
  .hero-pin { display: none; } }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: end;
  gap: clamp(32px, 5vw, 72px); }
@media (max-width: 880px) { .hero__row { grid-template-columns: 1fr; gap: 30px; } }
.hero__lead {max-width: 1440px;display: flex;flex-direction: column;align-items: flex-start;}
/* eyebrow â€” Top Rated Plus credential chip (authentic Upwork magenta mark in a premium glass pill) */
.hero__trp { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 30px; padding: 6px 15px 6px 6px; border-radius: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.028)); border: 1px solid rgba(255,255,255,.12); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 26px -14px rgba(0,0,0,.7);
  transition: border-color .35s var(--ease), transform .35s var(--ease-spring), box-shadow .35s var(--ease); }
.hero__trp:hover { transform: translateY(-2px); border-color: rgba(224,33,138,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 16px 34px -14px rgba(224,33,138,.45); }
.hero__trp-hex { display: grid; place-items: center; flex: none; filter: drop-shadow(0 2px 6px rgba(224,33,138,.55)); }
.hero__trp-hex svg { width: 23px; height: 23px; display: block; }
.hero__trp-tx { display: inline-flex; align-items: baseline; gap: 5px; }
.hero__trp-tx b { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .005em; color: var(--text); }
.hero__trp-tx small { font-size: .74rem; color: var(--muted); font-weight: 500; }
.hero__h1 {font-family: 'Schibsted Grotesk', sans-serif;font-weight: 700;letter-spacing: 0;line-height: 1.08;font-size: clamp(2.05rem, 3.6vw, 3.15rem);max-width: 30ch;color: var(--text);text-wrap-style: pretty;}
.hero__h1 em { font-style: normal; font-weight: 700; color: var(--accent); }
.hero__intro {margin-top: 26px;max-width: 44ch;color: #c4baaf;font;font-size: clamp(1rem, 1.5vw, 1.12rem);-height: 1.66;}
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* inline credibility row â€” replaces the boxy stat tiles */
.hero__cred { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero__cred li { font-family: 'Hanken Grotesk', sans-serif; font-size: .9rem; color: var(--muted); }
.hero__cred b { font-family: 'Schibsted Grotesk', sans-serif; color: var(--text); font-weight: 700; }

/* PORTRAIT â€” the powered core: circular photo + rotating energy ring + glow */
.hero__portrait { position: relative; width: clamp(172px, 19vw, 236px); aspect-ratio: 1; display: grid; place-items: center; }
.hero__portrait::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb),.45), transparent 70%); }
.hero__portrait-ring { position: absolute; inset: -13px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(var(--accent-rgb),0) 40deg, var(--accent) 120deg, var(--accent-lt) 168deg, transparent 240deg, transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: spin 7s linear infinite; }
.hero__portrait-img { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 70px -22px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.08), 0 0 0 9px rgba(10,9,8,.5); }
.hero__portrait-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; background: var(--surface-2); }
.hero__portrait-uw { position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 100px;
  background: rgba(8,9,10,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(20,168,0,.5); color: #5fd07e; font-size: .72rem; font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.7); }
.hero__portrait-uw svg { width: 15px; height: 15px; }
@keyframes spin { to { transform: rotate(360deg); } }
/* premium Top Rated Plus badge (the key credential) */
.hero__badge { position: absolute; display: inline-flex; align-items: center; gap: 11px; padding: 8px 16px 8px 9px; border-radius: 100px; z-index: 3;
  background: rgba(8,9,10,.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 34px -14px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.1); animation: floaty 5s ease-in-out infinite; }
.hero__badge-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: linear-gradient(150deg, #f0a878, var(--accent)); color: #fff;
  box-shadow: 0 5px 13px -3px var(--glow), inset 0 1px 0 rgba(255,255,255,.45); }
.hero__badge-ic svg { width: 17px; height: 17px; }
.hero__badge-tx { display: flex; flex-direction: column; line-height: 1.18; }
.hero__badge-tx b { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: .84rem; color: var(--text); letter-spacing: -.01em; }
.hero__badge-tx small { font-size: .68rem; color: var(--muted); }

/* hero credentials panel â€” the prime focus (small avatar, badge, stat grid) */
.hero__creds { justify-self: end; width: 100%; max-width: 430px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 26px; padding: 7px;
  box-shadow: 0 44px 100px -48px rgba(0,0,0,.9); }
.hero__creds-inner { background: linear-gradient(180deg, rgba(26,32,34,.68), rgba(15,19,20,.62));
  border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 18px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.09); }
@media (max-width: 880px) { .hero__creds { justify-self: stretch; max-width: none; } }
.hero__creds-top { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.09); }
.hero__creds-av { flex: none; width: 72px; height: 72px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: var(--surface-2); box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); }
.hero__creds-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__creds-id { display: flex; flex-direction: column; line-height: 1.28; margin-right: auto; }
.hero__creds-id b { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--text); letter-spacing: -.01em; }
.hero__creds-id span { font-size: .86rem; color: var(--muted); }
.hero__creds-uw { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 11px 5px 7px; border-radius: 100px;
  background: rgba(20,168,0,.12); border: 1px solid rgba(20,168,0,.4); color: #4ade80; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.hero__creds-uw svg { width: 16px; height: 16px; }
.hero__creds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 13px; overflow: hidden; background: rgba(255,255,255,.08); }
.hero__stat { background: rgba(18,22,23,.78); padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.hero__stat b { font-family: 'Schibsted Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; line-height: 1; }
.hero__stat b span { color: var(--accent-lt); }
.hero__stat b i { font-style: normal; color: var(--accent-lt); font-size: .75em; }
.hero__stat small { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* BOTTOM STRIP */
.hero__strip { width: 100%; max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--border); padding: 18px 22px 0; }
.hero__strip-status { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.hero__strip-status i { width: 8px; height: 8px; border-radius: 50%; background: #5fcf86; box-shadow: 0 0 8px #5fcf86; animation: pulse 2s infinite; }
.hero__strip-otw { color: var(--accent); font-weight: 600; }
.hero__cats { list-style: none; display: flex; gap: 18px; }
.hero__cats li { font-family: 'Schibsted Grotesk'; font-weight: 600; font-size: .95rem; }
.hero__cats a { color: var(--text); text-decoration: none; transition: color .2s; }
.hero__cats a:hover { color: var(--accent); }

/* On-load entrance â€” reliable, not observer-dependent */
.anim { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .anim { animation: none; opacity: 1; transform: none; } }

/* Award / credential badge */
.hero__award {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 100px;
  border: 1px solid rgba(217,119,87,.4); background: var(--glow-soft);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-lt);
}

/* Avatar pill link (press / Upwork) */
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 12px;
  padding: 6px 15px 6px 6px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .84rem; font-weight: 500; color: var(--muted);
  transition: border-color .25s, color .25s, transform .25s;
}
.hero__pill:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.hero__pill-ava { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

.hero__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; margin-top: 20px; }
.hl { color: var(--accent); }
.hl--alt { color: var(--text); background: linear-gradient(transparent 62%, rgba(217,119,87,.32) 0); padding: 0 2px; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(217,119,87,.5)} 70%{box-shadow:0 0 0 8px rgba(217,119,87,0)} 100%{box-shadow:0 0 0 0 rgba(217,119,87,0)} }

.hero__sub { color: var(--muted); font-size: 1.05rem; margin: 20px 0 0; max-width: 52ch; }
.hero__sub strong { color: var(--text); font-weight: 600; }

/* Light inline stats (no boxes) */
.hero__statcards { display: flex; flex-wrap: wrap; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--border); }
.hstat { padding: 0 24px; border-left: 1px solid var(--border); }
.hstat:first-child { padding-left: 0; border-left: 0; }
.hstat__icon { display: block; font-size: 1.05rem; margin-bottom: 9px; line-height: 1; }
.hstat__num { display: block; font-family: 'Schibsted Grotesk'; font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--text); }
.hstat__label { display: block; margin-top: 6px; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ===================== HERO PROFILE CARD ===================== */
.hero__cardwrap { position: relative; justify-self: end; width: 100%; max-width: 380px; perspective: 1000px; }
.hero__profile { position: relative; border-radius: 24px; transform-style: preserve-3d; will-change: transform; }
/* animated gradient border via mask */
.hero__profile-border {
  position: absolute; inset: 0; border-radius: 24px; padding: 1.5px; z-index: 2;
  background: linear-gradient(140deg, var(--accent), rgba(217,119,87,0) 38%, rgba(34,211,238,0) 60%, var(--accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.hero__profile-inner {
  position: relative; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22,29,24,.92), var(--surface));
  border: 1px solid var(--border); box-shadow: 0 44px 90px -40px rgba(0,0,0,.85);
}
.hero__profile-photo { position: relative; padding: 14px 14px 0; }
.hero__profile-photo .hero__img { width: 100%; aspect-ratio: 4/3.5; object-fit: cover; object-position: center; border-radius: 16px; background: var(--surface-2); }
.hero__img.is-missing {
  display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 20px;
  background: repeating-linear-gradient(45deg, var(--surface) 0 12px, var(--surface-2) 12px 24px);
}
.hero__profile-body { padding: 18px 22px 22px; }
.hero__profile-name { font-size: 1.42rem; font-weight: 700; letter-spacing: -.02em; }
.hero__profile-role { color: var(--muted); font-size: .88rem; margin-top: 3px; }
.hero__profile-info { list-style: none; display: grid; gap: 10px; margin: 16px 0 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.hero__profile-info li { display: flex; align-items: center; gap: 11px; font-size: .92rem; color: var(--text); }
.hero__profile-info li span { width: 20px; text-align: center; flex-shrink: 0; }
.hero__profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero__profile-actions .btn { padding: 13px 16px; justify-content: center; font-size: .92rem; }

/* Floating chips â€” mouse parallax */
.hero__chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 100px; white-space: nowrap;
  background: rgba(8,9,10,.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1); font-size: .82rem; font-weight: 600;
  box-shadow: 0 14px 34px -12px rgba(0,0,0,.7); will-change: transform;
}
.hero__chip--1 { top: -14px; left: -28px; }
.hero__chip--2 { bottom: 70px; right: -36px; }
.hero__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Scroll indicator */
.hero__scroll { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; margin: 54px auto 0; color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__scroll-line { width: 60px; height: 1px; background: var(--border); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; width: 50%; background: var(--accent); animation: scrollline 2s var(--ease) infinite; }
@keyframes scrollline { 0%{transform:translateX(-100%)} 100%{transform:translateX(200%)} }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: .98rem; cursor: pointer; transition: transform .25s var(--ease), box-shadow .3s, border-color .3s, background .3s; }
/* smaller CTAs on phones */
@media (max-width: 600px) {
  .btn { padding: 11px 20px; font-size: .9rem; gap: 7px; }
  .hero__work-cta { padding: 8px 15px; font-size: .85rem; }
  .nav__cta { padding: 8px 15px; font-size: .82rem; }
  .nav__link { padding: 7px 13px; font-size: .82rem; }
  .hero__btns { gap: 10px; }
}
.btn--primary { position: relative; overflow: hidden; background: var(--accent); color: #fff; font-weight: 700;
  box-shadow: 0 12px 34px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.32), inset 0 -12px 22px -14px rgba(0,0,0,.28); }
.btn--primary::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 50%); }
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary:hover { background: var(--accent-dk); box-shadow: 0 20px 50px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.36); }
.btn__arrow { transition: transform .3s var(--ease); }
.btn--primary .btn__arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,.18); color: #fff; font-size: .82rem; margin-right: -13px; box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.btn--primary:hover .btn__arrow { transform: translate(3px, -2px); background: rgba(0,0,0,.26); }
.btn--ghost { background: var(--surface); border: 1px solid var(--border); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.btn--ghost:hover { border-color: rgba(var(--accent-rgb),.55); background: var(--surface-2); transform: translateY(-1.5px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 26px -14px rgba(0,0,0,.55); }

/* =========================== MARQUEE ========================= */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--bg-alt); padding: 18px 0; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: scroll 36s linear infinite; white-space: nowrap; align-items: center; }
.marquee__track span { color: var(--text); font-weight: 600; font-size: 1.1rem; font-family: 'Schibsted Grotesk'; }
.marquee__track .dot { color: var(--accent); font-size: .8rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================== SECTIONS ======================== */
/* peel stacking: each section sits ON TOP of the next (reverse z via JS). As a
   section scrolls up, the next emerges FROM BEHIND it (from below) â€” NOT over it.
   Sections are relative & full height, so nothing is cut. */
.section {
  position: relative;
  padding: 90px 0;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 26px 54px -26px rgba(0,0,0,.5);
  }   /* visible: top 120, bottom 144-72 overlap = 72 (generous top, moderate bottom) */
.section.contact { background: linear-gradient(180deg, #120e0a, #0a0807); padding: 88px 0 96px; }   /* dark closing section (quiet contact redesign) */
.section--alt { background: var(--bg-alt); }
.section--first { margin-top: 0; padding-top: 88px; }
/* merge #clients ("Built for founders") into #contact — one continuous light section, no divider */
#clients { box-shadow: none; padding-bottom: 48px; }

/* LIGHT section â€” warm cream + orange (alternates with dark) */
.section--light {
  --bg: #f6f3ee; --bg-alt: #efeae3; --surface: #ffffff; --surface-2: #f4f0ea;
  --border: rgba(28,20,14,.12); --text: #1a120c; --muted: #6b6058;
  --accent: #c15f3c; --accent-lt: #9a3412; --accent-dk: #9a3412; --ink: #ffffff;
  --glow: rgba(193,95,60,.28); --glow-soft: rgba(193,95,60,.10);
  background: var(--bg);
  box-shadow: 0 32px 62px -30px rgba(40,22,12,.24);
}

/* (1) static dot texture on every section */
.section:not(.contact):not(.work-section)::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(193,95,60,.08) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 38%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 38%, #000 30%, transparent 90%);
}
.section > .container { position: relative; z-index: 1; }

/* (2) animated ASCII field on the contact section */
.contact { overflow: hidden; }
.sec-ascii { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.contact > .container { position: relative; z-index: 1; }

/* ===================== CONTACT (premium redesign, system-correct) ===================== */
.ct3 .avail { font-size: .86rem; color: #9b9189; }
.ct3 .avail::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fcf86; box-shadow: 0 0 9px rgba(95,207,134,.7); margin-right: 9px; vertical-align: middle; position: relative; top: -1px; }
.ct3 .avail b { color: #cfc6bb; font-weight: 500; }
.ct3 .h { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: clamp(2.1rem, 3.6vw, 3.05rem); line-height: 1.08; letter-spacing: -.028em; margin-top: 16px; max-width: none; color: #efece8; text-wrap: balance; }
.ct3 .h em { font-style: normal; font-weight: 700; color: #d97757; }
.ct3 .sub { color: #9b9189; font-size: 1.05rem; line-height: 1.6; max-width: 46ch; margin-top: 18px; }
.ct3 .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 0; align-items: start; }
.ct3 .direct { display: flex; flex-direction: column; position: sticky; top: 100px; align-self: start; }
.ct3 .mailwrap { display: flex; align-items: center; gap: 10px; margin-top: 46px; }
.ct3 .mail { display: inline-flex; align-items: center; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 500; font-size: 1.3rem; color: #efece8; text-decoration: none; letter-spacing: -.01em; }
.ct3 .mail u { text-decoration: none; background-image: linear-gradient(#d97757, #d97757); background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease), color .3s; }
.ct3 .mail:hover u { background-size: 100% 1.5px; color: #e8a890; }
.ct3 .copy { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #1b1712; border: 1px solid rgba(255,255,255,.09); color: #9b9189; cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.ct3 .copy:hover { color: #e8a890; border-color: rgba(217,119,87,.4); background: #271f18; }
.ct3 .copy.is-copied { color: #5fcf86; border-color: rgba(95,207,134,.45); }
.ct3 .alt { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.ct3 .alt a { display: inline-flex; align-items: center; gap: 8px; color: #9b9189; font-size: 1rem; text-decoration: none; width: fit-content; transition: color .25s; }
.ct3 .alt a:hover { color: #efece8; }
.ct3 .alt a i { color: #73685c; font-style: normal; transition: transform .3s, color .3s; }
.ct3 .alt a:hover i { color: #e8a890; transform: translate(2px,-2px); }
.ct3 .cred { margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); color: #9b9189; font-size: .9rem; line-height: 1.55; max-width: 34ch; }
.ct3 .r { border-radius: 28px; padding: 7px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 46px 100px -48px rgba(0,0,0,.68), 0 0 110px -40px rgba(217,119,87,.2); }
.ct3 .r__core { position: relative; overflow: hidden; border-radius: 21px; padding: 32px 34px; background: linear-gradient(157deg, #221a13, #130f0a); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.ct3 .r__core::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='cn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23cn)'/%3E%3C/svg%3E"); }
.ct3 .r__core > * { position: relative; z-index: 1; }
.ct3 .rlabel { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 1.14rem; letter-spacing: -.01em; color: #efece8; margin-bottom: 20px; }
.ct3 .form { display: flex; flex-direction: column; gap: 16px; max-width: none; }
.ct3 .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct3 .cm-field { display: flex; flex-direction: column; margin: 0; }
.ct3 .cm-field label { font-size: .8rem; color: #9b9189; margin-bottom: 8px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.ct3 .cm-field input, .ct3 .cm-field select, .ct3 .cm-field textarea { width: 100%; background: #1c1610; border: 1px solid rgba(255,255,255,.06); border-radius: 13px; color: #efece8; font-family: inherit; font-size: .98rem; padding: 13px 15px; outline: none; box-shadow: inset 0 1px 3px rgba(0,0,0,.45), inset 0 -1px 0 rgba(255,255,255,.03); transition: border-color .25s, box-shadow .25s, background .25s; }
.ct3 .cm-field textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.ct3 .cm-field input::placeholder, .ct3 .cm-field textarea::placeholder { color: #9b9189; }
.ct3 .cm-field input:focus, .ct3 .cm-field select:focus, .ct3 .cm-field textarea:focus { border-color: #d97757; background: #211a12; box-shadow: inset 0 1px 3px rgba(0,0,0,.45), 0 0 0 3px rgba(217,119,87,.16), 0 8px 22px -10px rgba(217,119,87,.3); }
.ct3 .cm-field.is-error input, .ct3 .cm-field.is-error select, .ct3 .cm-field.is-error textarea { border-color: #e0654a; }
.ct3 .cm-field select { appearance: none; -webkit-appearance: none; cursor: pointer; color: #efece8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' fill='none' stroke='%239b9189' stroke-width='2'%3E%3Cpath d='M3 5l3.5 3.5L10 5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
.ct3 .cm-field select option { background: #1b1712; color: #efece8; }
.ct3 .cm-submit { margin: 8px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 7px 7px 7px 26px; border: none; border-radius: 100px; cursor: pointer; font-family: inherit; color: #fff; background: linear-gradient(180deg, #e88e62, #d4703f); box-shadow: 0 13px 34px -10px rgba(217,119,87,.5), inset 0 1px 0 rgba(255,255,255,.22); transition: box-shadow .35s var(--ease), transform .25s var(--ease); }
.ct3 .cm-submit:hover { box-shadow: 0 20px 46px -12px rgba(217,119,87,.64), inset 0 1px 0 rgba(255,255,255,.26); }
.ct3 .cm-submit:active { transform: scale(.985); }
.ct3 .cm-submit:disabled { opacity: .65; cursor: default; }
.ct3 .cm-submit__txt { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 1rem; }
.ct3 .cm-submit__ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(50,18,4,.22); display: grid; place-items: center; transition: transform .4s var(--ease), background .4s var(--ease); }
.ct3 .cm-submit:hover .cm-submit__ic { transform: translate(3px,-1px) scale(1.05); background: rgba(50,18,4,.32); }
.ct3 .cm-status { margin-top: 12px; font-size: .9rem; color: #9b9189; }
.ct3 .cm-status.is-ok { color: #5fcf86; }
.ct3 .cm-status.is-err { color: #e0654a; }
.ct3 .cm-status a { color: #e8a890; }
.ct3 .callrow { margin-top: 16px; font-size: .92rem; color: #9b9189; text-align: center; }
.ct3 .callrow a { color: #e8a890; text-decoration: none; border-bottom: 1px solid rgba(232,168,144,.4); padding-bottom: 1px; }
@media (max-width: 880px) {
  .ct3 .grid { grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
  .ct3 .row { grid-template-columns: 1fr; gap: 16px; }
  .ct3 .r { padding: 26px 22px; }
  .section.contact { padding: 72px 0 80px; }
}
.section__head { max-width: 660px; margin-bottom: 48px; }
.eyebrow { display: inline-block; color: var(--accent-lt); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.section__title { font-size: clamp(1.5rem, 4.6vw, 2.9rem); font-weight: 700; letter-spacing: -.025em; }
.section__lead { color: var(--muted); font-size: clamp(1rem, 2.6vw, 1.1rem); margin-top: 16px; }

/* ============================ GRIDS ========================== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Cards (spotlight + tilt) */
#services .sticky-cols__items { counter-reset: svc; }
.card {
  position: relative; overflow: hidden; will-change: transform;
  display: grid; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 20px; row-gap: 7px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 23px 26px; counter-increment: svc;
  box-shadow: 0 1px 2px rgba(40,22,12,.04), 0 18px 40px -30px rgba(40,22,12,.42);
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
}
.card::before { content: counter(svc, decimal-leading-zero); position: absolute; top: 20px; right: 22px;
  font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .76rem; letter-spacing: .06em; color: rgba(var(--accent-rgb), .42); }
.card__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), var(--glow-soft), transparent 60%);
}
.card:hover { transform: translateY(-5px); border-color: rgba(217,119,87,.42); box-shadow: 0 1px 2px rgba(40,22,12,.05), 0 30px 56px -28px var(--glow); }
.card:hover .card__glow { opacity: 1; }
.card__icon { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px;
  background: var(--glow-soft); border: 1px solid rgba(217,119,87,.22); color: var(--accent);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover .card__icon { background: linear-gradient(140deg, var(--accent), var(--accent-dk)); border-color: transparent; color: #fff; transform: rotate(-5deg); box-shadow: 0 12px 24px -10px var(--glow); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { grid-column: 2; grid-row: 1; font-size: 1.16rem; letter-spacing: -.01em; margin: 1px 0 0; padding-right: 32px; }
.card p { grid-column: 2; grid-row: 2; color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0; }
.card--wide { display: flex; gap: 24px; align-items: center; margin-top: 22px; }
.card--wide .card__icon { margin: 0; }

/* ===== Services horizontal rail (smooth scroll-scrub) ===== */
.svc-rail { position: relative; height: 270vh; }                 /* container = scrub scroll room (knob) */
.svc-rail__stage { position: sticky; top: 84px; }                /* CONTENT-HEIGHT pin (not 100vh) â€” sticks just under the nav */
.svc-rail__head { margin-bottom: 20px; }
.svc-rail__head .section__title { margin-top: 10px; font-size: clamp(2.5rem, 4.7vw, 3.7rem); line-height: 1.04; }
.svc-rail__lead { margin-top: 14px; max-width: 52ch; }
.svc-rail__bar { margin-top: 26px; width: 150px; height: 3px; border-radius: 3px; background: rgba(40,22,12,.12); overflow: hidden; }
.svc-rail__barfill { display: block; width: 100%; height: 100%; background: var(--accent); border-radius: 3px; transform: scaleX(0); transform-origin: left; }
.svc-rail__vp { overflow: hidden; }
.svc-rail__track { display: flex; gap: 24px; padding: 10px 0 18px; will-change: transform; }   /* 1 continuously-scrubbed element → keep it a stable layer (correct use; stops Layerize churn) */
.svc-rcard { position: relative; flex: 0 0 350px; height: clamp(360px, 48vh, 470px); display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; background: linear-gradient(180deg, #ffffff, #fcf8f3); border: 1px solid rgba(40,22,12,.07); border-radius: 20px; padding: 32px 34px 30px; box-shadow: 0 2px 4px rgba(40,22,12,.05), 0 20px 38px -24px rgba(40,22,12,.17); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc-rcard:hover { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 2px 4px rgba(40,22,12,.05), 0 18px 30px -16px rgba(40,22,12,.13), 0 44px 70px -36px rgba(40,22,12,.2); }
.svc-rcard__num { position: absolute; right: 18px; bottom: -14px; z-index: 0; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: clamp(5rem, 12vh, 8.5rem); line-height: .76; letter-spacing: -.04em; color: rgba(var(--accent-rgb), .07); pointer-events: none; }
.svc-rcard__ic, .svc-rcard__t, .svc-rcard__d, .svc-rcard__tags { position: relative; z-index: 1; }
.svc-rcard__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, var(--accent-lt), var(--accent-dk)); color: #fff; box-shadow: 0 10px 22px -12px var(--glow); margin-bottom: 18px; }
.svc-rcard__ic svg { width: 25px; height: 25px; }
.svc-rcard__t { font-size: 1.34rem; letter-spacing: -.02em; color: var(--text); margin: 0 0 9px; }
.svc-rcard__d { color: var(--muted); font-size: .96rem; line-height: 1.58; margin: 0 0 18px; }
.svc-rcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.svc-rcard__tags span { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 500; font-size: .74rem; letter-spacing: .01em; color: var(--accent-dk); background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .2); padding: 5px 12px; border-radius: 100px; }
.svc-rcard--cta { background: linear-gradient(150deg, var(--accent), var(--accent-dk)); border-color: transparent; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 12px 28px -16px rgba(var(--accent-rgb),.5), 0 30px 56px -34px rgba(var(--accent-rgb),.42); }
.svc-rcard--cta h3 { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: #fff; margin: 0 0 12px; }
.svc-rcard--cta p { color: rgba(255,255,255,.86); font-size: .98rem; line-height: 1.55; margin: 0 0 24px; }
.svc-cta-btn { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; background: #fff; color: var(--accent-dk); font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .95rem; padding: 13px 22px; border-radius: 100px; box-shadow: 0 12px 26px -12px rgba(0,0,0,.4); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.svc-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(0,0,0,.45); }
.svc-cta-btn span { transition: transform .35s var(--ease); }
.svc-cta-btn:hover span { transform: translateX(4px); }

@media (max-width: 880px), (prefers-reduced-motion: reduce) {
  .svc-rail { height: auto; }
  .svc-rail__stage { position: static; height: auto; display: block; padding: 6px 0; }
  .svc-rail__inner { display: block; }
  .svc-rail__head { margin-bottom: 24px; }
  .svc-rail__bar { display: none; }
  .svc-rail__vp { display: block; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .svc-rail__track { display: flex; flex: none; height: auto; transform: none !important; gap: 16px; padding: 18px 0; }
  .svc-rcard { flex: 0 0 82%; height: auto; scroll-snap-align: center; }
}

/* Pills (tech stack) */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pills span {
  padding: 11px 19px; border-radius: 100px; background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.1); font-size: .94rem; font-weight: 500; color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: color .25s, border-color .25s, transform .25s, background .25s, box-shadow .25s, opacity .9s var(--ease), filter .9s var(--ease);
}
.pills span:hover { color: #fff; border-color: rgba(var(--accent-rgb),.65); transform: translateY(-3px); background: var(--surface); box-shadow: 0 12px 26px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.09); }

/* Tech stack â€” categorized groups */
.tstack { display: flex; flex-direction: column; gap: 26px; }
.tstack__label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tstack__ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(var(--accent-rgb),.13); border: 1px solid rgba(var(--accent-rgb),.28); color: var(--accent-lt); flex: none; }
.tstack__ic svg { width: 16px; height: 16px; }
.tstack__lname { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text); opacity: .82; }
.tstack__count { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .72rem; letter-spacing: .05em; color: rgba(var(--accent-rgb),.65); }
.tstack__chips { display: flex; flex-wrap: wrap; gap: 9px; }
.tstack__chips span {
  padding: 9px 16px; border-radius: 100px; background: var(--surface-2);
  border: 1px solid rgba(255,255,255,.1); font-size: .9rem; font-weight: 500; color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: color .25s, border-color .25s, transform .25s, background .25s, box-shadow .25s;
}
.tstack__chips span:hover { color: #fff; border-color: rgba(var(--accent-rgb),.65); transform: translateY(-3px); background: var(--surface); box-shadow: 0 12px 26px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.09); }

/* Process â€” sticky stacking cards */
.stack { display: flex; flex-direction: column; gap: 26px; }
.stack__card {
  position: sticky; display: flex; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 40px 44px; min-height: 230px;
  box-shadow: 0 -10px 40px -20px rgba(0,0,0,.6);
}
.stack__card:nth-child(1) { top: 110px; }
.stack__card:nth-child(2) { top: 128px; }
.stack__card:nth-child(3) { top: 146px; }
.stack__card:nth-child(4) { top: 164px; }
.stack__num { font-family: 'Schibsted Grotesk'; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.6px var(--accent); flex-shrink: 0; }
.stack__body h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 10px; }
.stack__body p { color: var(--muted); font-size: 1.02rem; max-width: 60ch; }

/* ===================== WHY WORK WITH ME ====================== */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* Why â€” de-carded typographic list (deliberately NOT the Services card grid) */
.sticky-cols__items.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; list-style: none; }
.why-row { padding: 22px 2px 22px 0; border-top: 1px solid var(--border); transition: transform .4s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.why-row:hover { transform: translateX(5px); }
.why-row:nth-child(-n+2) { border-top: 0; padding-top: 2px; }
.why-row h3 { display: flex; align-items: baseline; gap: 12px; font-size: 1.12rem; margin-bottom: 7px; }
.why-row h3::before { content: ""; flex: none; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); transform: translateY(-5px); transition: width .35s var(--ease); }
.why-row:hover h3::before { width: 30px; }
.why-row p { color: var(--muted); font-size: .95rem; line-height: 1.6; }
@media (max-width: 760px) {
  .sticky-cols__items.why-list { grid-template-columns: 1fr; gap: 0; }
  .why-row:first-child { border-top: 0; }
  .why-row:nth-child(2) { border-top: 1px solid var(--border); padding-top: 22px; }
}

/* ======================= PORTFOLIO (horizontal carousel) ===== */
.work-section { padding-bottom: 60px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; max-width: none; }
.section__head--row .section__lead { margin-bottom: 0; }
.work__all { flex-shrink: 0; }
@media (max-width: 720px) { .section__head--row { flex-direction: column; align-items: flex-start; gap: 20px; } }

/* ============ SELECTED WORK â€” premium showcase (homepage) ==== */
.hwork-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 18px; }

.hwork-card {
  position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 13px;
  box-shadow: 0 2px 4px rgba(0,0,0,.03), 0 30px 60px -42px rgba(40,22,12,.5);
  transition: transform .6s cubic-bezier(.32,.72,0,1), box-shadow .6s cubic-bezier(.32,.72,0,1), border-color .4s;
}
.hwork-card:hover { transform: translateY(-8px); border-color: rgba(var(--accent-rgb), .4);
  box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 48px 84px -36px var(--glow); }

/* media â€” browser mockup seated in a nested tray (double-bezel) */
.hwork-card__media { position: relative; border-radius: 15px; overflow: hidden; }
.hwork-card__media .pw2-browser { border: 1px solid rgba(40,22,12,.07); border-radius: 13px; box-shadow: none; transition: transform .6s cubic-bezier(.32,.72,0,1); }
.hwork-card:hover .hwork-card__media .pw2-browser { transform: scale(1.03); }
.hwork-card__media .pw2-browser__view img { object-position: center top; }

/* result metric â€” glass pill overlaid on the shot */
.hwork-card__res {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 11px; border-radius: 100px;
  background: rgba(14,11,9,.86); color: #fff;
  font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .8rem;
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 24px -10px rgba(0,0,0,.55);
}
.hwork-card__res::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-lt); box-shadow: 0 0 9px rgba(var(--accent-rgb), .9); }

.hwork-card__body { display: flex; flex-direction: column; gap: 9px; padding: 19px 9px 11px; flex: 1; }
.hwork-card__eyebrow { font-family: 'Schibsted Grotesk', sans-serif; font-size: .71rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent-dk); }
.hwork-card__title { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600;
  font-size: 1.3rem; line-height: 1.16; letter-spacing: -.01em; margin: 0; color: var(--text); transition: color .35s; }
.hwork-card:hover .hwork-card__title { color: var(--accent-dk); }
.hwork-card__desc { color: var(--muted); font-size: .95rem; line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hwork-card__cta { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: .9rem; color: var(--text); }
.hwork-card__cta i { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glow-soft); border: 1px solid rgba(var(--accent-rgb), .25); color: var(--accent);
  font-style: normal; font-size: .92rem;
  transition: transform .5s cubic-bezier(.32,.72,0,1), background .4s, color .4s, border-color .4s; }
.hwork-card:hover .hwork-card__cta i { transform: translate(3px, -3px); background: var(--accent); color: #fff; border-color: transparent; }

/* featured card â€” spans full width, landscape (meta left, big shot right) */
.hwork-card--feat { grid-column: 1 / -1; flex-direction: row-reverse; align-items: center; gap: 6px; }
.hwork-card--feat .hwork-card__media { flex: 1.22; }
.hwork-card--feat .hwork-card__body { flex: 1; padding: 18px 18px 18px 26px; gap: 12px; }
.hwork-card--feat .hwork-card__title { font-size: clamp(1.5rem, 2.3vw, 2.05rem); }
.hwork-card--feat .hwork-card__desc { font-size: 1rem; -webkit-line-clamp: 3; }

@media (max-width: 860px) {
  .hwork-grid { grid-template-columns: 1fr; gap: 20px; }
  .hwork-card--feat { flex-direction: column; align-items: stretch; }
  .hwork-card--feat .hwork-card__media, .hwork-card--feat .hwork-card__body { flex: auto; }
  .hwork-card--feat .hwork-card__body { padding: 19px 9px 11px; }
}

/* ============ PROJECT CARDS â€” clean split (text + shot) ====== */
.work-list { display: flex; flex-direction: column; gap: 28px; margin-top: 48px; }
.work-card { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  box-shadow: 0 20px 54px -34px rgba(40,22,12,.45);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 34px 74px -32px rgba(40,22,12,.5); }

.work-card__text { padding: clamp(32px, 4vw, 54px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.work-card__eyebrow { color: var(--accent); font-weight: 700; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; }
.work-card__title { font-size: clamp(1.55rem, 2.4vw, 2.15rem); letter-spacing: -.02em; line-height: 1.1; margin-top: 18px; color: var(--text); transition: color .3s; }
.work-card:hover .work-card__title { color: var(--accent-dk); }
.work-card__rule { width: 54px; height: 2px; border-radius: 2px; background: rgba(28,20,14,.2); margin: 24px 0; }
.work-card__desc { color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.work-card__cta { margin-top: 30px; color: var(--accent); font-weight: 700; font-size: .98rem; display: inline-flex; align-items: center; gap: 10px; transition: gap .3s var(--ease); }
.work-card__cta i { font-style: normal; transition: transform .3s var(--ease); }
.work-card:hover .work-card__cta { gap: 16px; }
.work-card:hover .work-card__cta i { transform: translateX(4px); }

.work-card__media { position: relative; min-height: 320px; background: var(--surface-2); overflow: hidden; }
/* browser-window mockup â€” fills the full media area, edge to edge */
.shot { width: 100%; height: 100%; display: flex; flex-direction: column; background: #fff; overflow: hidden; }
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: #ece6dd; border-bottom: 1px solid var(--border); flex: none; }
.shot__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8c9b8; flex: none; }
.shot__bar i:nth-child(1) { background: #e6857a; }
.shot__bar i:nth-child(2) { background: #e8c07a; }
.shot__bar i:nth-child(3) { background: #8fc99a; }
.shot__url { margin-left: 10px; font-size: .74rem; color: var(--muted); background: #fff; padding: 5px 16px; border-radius: 100px; border: 1px solid var(--border); }
.shot__frame { position: relative; flex: 1; overflow: hidden; background: var(--surface-2); }
.shot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.work-card:hover .shot__frame img { transform: scale(1.04); }
.work-card__metric { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 7px 14px; border-radius: 100px;
  font-size: .8rem; font-weight: 700; color: var(--accent-dk); background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border: 1px solid var(--border); box-shadow: 0 8px 22px -10px rgba(40,22,12,.4); }
.work-card__fallback { position: absolute; inset: 0; place-items: center; gap: 8px; color: var(--muted); text-align: center; }
.work-card__fallback span:first-child { font-size: 2.4rem; }
.work-card__fallback span:last-child { font-size: .82rem; }

/* alternate the image side for visual rhythm */
.work-card:nth-child(even) .work-card__text { order: 2; }
.work-card:nth-child(even) .work-card__media { order: 1; }

.work-h { position: relative; }
.work-h__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.work-h__track { display: flex; gap: 26px; will-change: transform;
  padding-inline: max(22px, calc((100vw - var(--maxw)) / 2 + 22px)); }
.work-h__track .work__card { flex: 0 0 clamp(300px, 34vw, 420px); }

/* scroll-driven: each card falls in from the right as it enters view */
.work-h__track .work__card { opacity: 0; transform: translate(60px, -170px) rotate(5deg);
  transition: opacity .5s var(--ease), transform 1s var(--ease); }
.work-h__track .work__card.is-in { opacity: 1; transform: none; }
.work-h__track .work__card:nth-child(2){transition-delay:.05s}
.work-h__track .work__card:nth-child(3){transition-delay:.10s}
.work-h__track .work__card:nth-child(4){transition-delay:.15s}
.work-h__track .work__card:nth-child(5){transition-delay:.20s}
.work-h__track .work__card.is-in:hover { transform: translateY(-8px); transition-delay: 0s; }

.work__card {
  position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  display: flex; flex-direction: column;
}
.work__card::after {
  content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none; opacity: 0; transition: opacity .4s;
  box-shadow: inset 0 0 0 1px rgba(217,119,87,.4), 0 30px 60px -30px var(--glow);
}
.work__card:hover { transform: translateY(-8px); }
.work__card:hover::after { opacity: 1; }

.work__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work__card:hover .work__thumb img { transform: scale(1.07); }
.work__thumb-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; place-items: center; gap: 8px; text-align: center; padding: 20px; color: var(--muted); font-size: .8rem;
  background: radial-gradient(120% 120% at 30% 20%, rgba(217,119,87,.08), transparent 60%), linear-gradient(135deg, var(--surface-2), var(--surface));
}
.work__thumb-fallback span:first-child { font-size: 2.2rem; }
.work__tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 13px; border-radius: 100px; font-size: .74rem; font-weight: 700; background: rgba(8,9,10,.82); backdrop-filter: blur(8px); border: 1px solid rgba(217,119,87,.3); color: var(--accent-lt); }
/* hover overlay on thumbnail */
.work__view { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 100px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: .82rem;
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.work__view i { font-style: normal; }
.work__card:hover .work__view { opacity: 1; transform: none; }

.work__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.work__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work__num { font-family: 'Schibsted Grotesk'; font-weight: 700; font-size: 1.5rem; color: transparent; -webkit-text-stroke: 1.3px var(--accent-lt); line-height: 1; }
.work__result { font-weight: 700; color: var(--accent); font-size: .86rem; padding: 5px 12px; border-radius: 100px; background: var(--glow-soft); border: 1px solid rgba(217,119,87,.25); }
.work__body h3 { font-size: 1.34rem; letter-spacing: -.01em; transition: color .3s; margin-top: 2px; }
.work__card:hover .work__body h3 { color: var(--accent-lt); }
.work__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.work__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.work__tags span { font-size: .74rem; color: var(--muted); padding: 4px 11px; border-radius: 100px; border: 1px solid var(--border); background: var(--surface-2); }

/* End CTA card */
.work__card--cta { background: linear-gradient(150deg, var(--accent-dk), #1f1208 70%); border-color: rgba(217,119,87,.4); color: #efece8; }
.work__cta-inner { display: flex; flex-direction: column; gap: 12px; padding: 40px 34px; height: 100%; justify-content: center; align-items: flex-start; }
.work__cta-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(217,119,87,.15); border: 1px solid rgba(217,119,87,.4); font-size: 1.5rem; color: var(--accent); }
.work__cta-inner h3 { font-size: 1.6rem; margin-top: 6px; }
.work__cta-inner p { color: #d6cbbf; font-size: 1rem; }
.work__cta-btn { margin-top: 8px; font-weight: 700; color: var(--accent); }
.work__card--cta:hover { transform: translateY(-8px); }

/* ======================= TESTIMONIALS ======================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 26px 52px -38px rgba(0,0,0,.7); transition: border-color .35s, transform .4s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.quote::before { content: "\201C"; position: absolute; top: 8px; right: 24px; font-family: 'Schibsted Grotesk', Georgia, serif; font-size: 4.6rem; line-height: 1; color: rgba(var(--accent-rgb), .17); pointer-events: none; }
.quote:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .42); box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 38px 66px -34px var(--glow); }
.quote:hover { border-color: rgba(217,119,87,.4); transform: translateY(-5px); }
.quote__stars { color: #f5b945; letter-spacing: 2px; font-size: .95rem; }
.quote__text { color: var(--text); font-size: 1rem; line-height: 1.65; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ink); background: linear-gradient(135deg, var(--accent), var(--accent-dk)); font-family: 'Schibsted Grotesk'; }
.quote__name { font-weight: 600; font-size: .95rem; }
.quote__role { color: var(--muted); font-size: .83rem; }

/* Testimonials — 3D coverflow (scroll-scrubbed) */
.cflow { position: relative; height: 260vh; }
.cflow__pin { position: sticky; top: 84px; }
.cflow__head { text-align: center; max-width: 40ch; margin: 0 auto 30px; }
.cflow__head .section__title { margin-top: 10px; }
.cflow__head .section__lead { margin: 12px auto 0; }
.cflow__stage { position: relative; height: 372px; perspective: 1500px; transform-style: preserve-3d; }
.cflow__card { position: absolute; top: 50%; left: 50%; width: 460px; height: 308px; box-sizing: border-box; margin: -154px 0 0 -230px; padding: 34px 38px; border-radius: 20px; background: linear-gradient(165deg, #241b16, #120e0b); border: 1px solid rgba(255,255,255,.11); box-shadow: 0 46px 92px -36px rgba(0,0,0,.84); display: flex; flex-direction: column; opacity: 0; }
.cflow__card:first-child { opacity: 1; }
.cflow__stars { color: #e0a06a; letter-spacing: 2px; font-size: 1.02rem; margin-bottom: 17px; }
.cflow__quote { font-size: 1.24rem; line-height: 1.6; letter-spacing: -.01em; color: #ece5dc; margin: 0 0 24px; flex: 1; }
.cflow__who { display: flex; align-items: center; gap: 13px; }
.cflow__av { width: 47px; height: 47px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(140deg, var(--accent-lt), var(--accent-dk)); color: #fff; font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 1rem; }
.cflow__name { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; font-size: 1.12rem; color: #f2ece4; }
.cflow__role { color: #9a8f84; font-size: .9rem; margin-top: 3px; }
.cflow__foot { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 30px; }
.cflow__dots { display: flex; gap: 7px; }
.cflow__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.16); transition: width .35s var(--ease), background .35s var(--ease); }
.cflow__dot.on { width: 22px; border-radius: 4px; background: var(--accent); }

@media (max-width: 880px), (prefers-reduced-motion: reduce) {
  .cflow { height: auto; }
  .cflow__pin { position: static; }
  .cflow__stage { height: auto; perspective: none; transform-style: flat; display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 6px 0 16px; }
  .cflow__card { position: static; margin: 0; flex: 0 0 80%; height: auto; min-height: 220px; opacity: 1 !important; transform: none !important; scroll-snap-align: center; }
  .cflow__dots { display: none; }
}

/* Checklist */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; list-style: none; }
.checklist li { position: relative; padding-left: 40px; font-size: 1.06rem; color: var(--text); }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 27px; height: 27px; display: grid; place-items: center;
  border-radius: 50%; background: var(--glow-soft); color: var(--accent-lt); font-weight: 700; font-size: .85rem;
}

/* =========================== CONTACT ========================= */
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.calendly { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.contact__side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact__side h3 { font-size: 1.32rem; margin-bottom: 10px; }
.contact__side > p { color: var(--muted); margin-bottom: 24px; }
.contact__links { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.contact__links a {
  display: block; padding: 13px 18px; border-radius: 12px; background: var(--surface-2);
  border: 1px solid var(--border); font-weight: 500; transition: border-color .2s, transform .2s;
}
.contact__links a:hover { border-color: var(--accent); transform: translateX(5px); }
.contact__badge { padding: 20px; border-radius: 14px; background: var(--glow-soft); border: 1px solid rgba(217,119,87,.22); }
.contact__badge strong { display: block; font-size: 1.06rem; margin-bottom: 4px; }
.contact__badge span { color: var(--muted); font-size: .9rem; }

/* ============================ FOOTER ========================= */
.footer { position: relative; padding: 110px 0 36px; margin-top: -72px; background: var(--bg-alt); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .92rem; }
.footer__top { color: var(--accent-lt); font-weight: 600; }

/* ===================== TIMELINE / JOURNEY ==================== */
.section__head--center { margin-inline: auto; text-align: center; }

.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.timeline__line { position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; background: var(--border); transform: translateX(-50%); border-radius: 2px; }
.timeline__progress { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: linear-gradient(var(--accent), var(--accent-2)); box-shadow: 0 0 14px var(--glow); border-radius: 2px; }
.timeline__progress::after { content: ""; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent), 0 0 6px var(--accent); animation: tldotpulse 1.8s ease-in-out infinite; }
@keyframes tldotpulse { 0%,100%{transform:translateX(-50%) scale(1);opacity:1} 50%{transform:translateX(-50%) scale(1.35);opacity:.7} }

.tl-item { position: relative; width: 50%; padding: 0 46px 44px 0; }
.tl-item:nth-child(odd) { margin-left: 50%; padding: 0 0 44px 46px; }   /* right side (line is child 1) */
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute; top: 6px; width: 16px; height: 16px; border-radius: 50%; z-index: 2;
  background: var(--surface-2); border: 2px solid var(--border);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.tl-item .tl-dot { right: -9px; }
.tl-item:nth-child(odd) .tl-dot { left: -9px; right: auto; }
.tl-item.tl-on .tl-dot { background: var(--accent); border-color: var(--accent); animation: tlpulse 2.2s ease-in-out infinite; }
@keyframes tlpulse { 0%,100%{box-shadow:0 0 0 3px var(--glow-soft), 0 0 14px var(--glow)} 50%{box-shadow:0 0 0 8px transparent, 0 0 22px var(--glow)} }

.tl-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px 26px; transition: border-color .4s, box-shadow .4s; }
.tl-item.tl-on .tl-card { border-color: rgba(217,119,87,.35); }
.tl-card:hover { border-color: var(--accent); box-shadow: 0 16px 44px -18px var(--glow); }
.tl-step { display: inline-block; color: var(--accent-lt); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.tl-card h3 { font-size: 1.22rem; margin: 9px 0 8px; }
.tl-card p { color: var(--muted); font-size: .96rem; }
/* light-theme timeline: darker step, soft card shadow + crisper dots on cream */
.section--light .tl-step { color: var(--accent-dk); }
.section--light .tl-card { box-shadow: 0 1px 2px rgba(40,22,12,.04), 0 16px 38px -28px rgba(40,22,12,.32); }
.section--light .tl-dot { background: #fff; border-color: rgba(40,22,12,.16); }

/* ==================== STICKY COLUMN SECTIONS ================= */
.sticky-cols {display: grid;grid-template-columns: .82fr 1.18fr;gap: 56px;align-items: start;}
.sticky-cols--rev { grid-template-columns: 1.18fr .82fr; }
.sticky-cols__head {position: sticky;top: 110px;/* align-self: center; */}
.sticky-cols--rev .sticky-cols__head { order: 2; }
.sticky-cols--rev .sticky-cols__items { order: 1; }
.sticky-cols__cta { margin-top: 28px; }
.sticky-cols__items { display: flex; flex-direction: column; gap: 18px; }
.sticky-cols__items.pills { flex-direction: row; flex-wrap: wrap; gap: 12px; }
.sticky-cols .card--wide { margin-top: 0; }

/* ========================= RESPONSIVE ======================== */
@media (max-width: 900px) {
  body.has-cursor { cursor: auto; }
  .cursor, .cursor-dot { display: none; }

  /* nav â†’ logo + menu button on mobile (links + CTA live in the fullscreen menu) */
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__pill { padding: 7px 7px 7px 14px; }
  .menu { padding: 110px 7vw 40px; }
  .menu__aside { gap: 26px 50px; }

  /* hero â†’ stacked on mobile */
  .hero__frame { padding: 96px 22px 26px; }
  .hero__body { justify-content: flex-start; }
  .hero__body { grid-template-columns: 1fr; align-items: start; gap: 30px; max-width: none; padding: 26px 0; }
  .hero__lead { max-width: 100%; }
  .hero__dpcard { max-width: 380px; width: 100%; justify-self: center; }
  .hero__dpcard-chip--2 { right: -10px; }
  .hero__h1 { font-size: clamp(1.65rem, 7.4vw, 3.6rem); }
  .hero__h1-line { overflow: visible; }
  .hero__h1-line [data-rise] { transform: none; animation: none; }
  .hero__strip { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* disable stacking on mobile (sections scroll normally) */
  .section { position: relative; margin-top: 0; box-shadow: none; padding: 64px 0; }
  .section--first { padding-top: 64px; }
  .footer { margin-top: 0; padding-top: 44px; }
  .hero { position: relative; }
  .sticky-cols, .sticky-cols--rev { grid-template-columns: 1fr; gap: 30px; }
  .sticky-cols__head { position: static; top: auto; }
  .sticky-cols--rev .sticky-cols__head, .sticky-cols--rev .sticky-cols__items { order: 0; }

  /* Timeline â†’ single-sided on mobile */
  .timeline__line { left: 9px; transform: none; }
  .tl-item, .tl-item:nth-child(odd) { width: 100%; margin-left: 0; padding: 0 0 30px 40px; }
  .tl-item .tl-dot, .tl-item:nth-child(odd) .tl-dot { left: 2px; right: auto; }

  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .why, .quotes { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .card--wide { flex-direction: column; text-align: center; }

  /* Project cards stack on mobile: image on top, text below */
  .work-list { gap: 22px; margin-top: 36px; }
  .work-card { grid-template-columns: 1fr; }
  .work-card__media { order: 1 !important; min-height: 210px; }
  .work-card__text { order: 2 !important; padding: 30px 26px; }
}
@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .stack__card { flex-direction: column; gap: 14px; align-items: flex-start; padding: 28px 24px; min-height: 0; }
  .stack__card:nth-child(1){top:88px}.stack__card:nth-child(2){top:102px}.stack__card:nth-child(3){top:116px}.stack__card:nth-child(4){top:130px}
  .grid--3, .grid--4, .checklist, .why, .quotes { grid-template-columns: 1fr; }
  .sticky-cols__items, .quotes.sticky-cols__items, .checklist.sticky-cols__items { grid-template-columns: 1fr; }
  .hero__cats { flex-wrap: wrap; gap: 8px 16px; }
  .hero__dpcard-stats { gap: 12px; }
}
