/* ============================================================= */
/*  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:      1280px;
  --ease:      cubic-bezier(.22,1,.36,1);
}

/* ============================ 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 {
  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%; mix-blend-mode: difference; }
.cursor { width: 34px; height: 34px; border: 1.5px solid #fff; translate: -50% -50%; transition: width .25s var(--ease), height .25s var(--ease), background .25s; }
.cursor-dot { width: 6px; height: 6px; background: #fff; translate: -50% -50%; }
.cursor.is-hover { width: 56px; height: 56px; background: rgba(255,255,255,.12); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button { cursor: none; }

/* ======================= REVEAL ANIMATION ===================== */
[data-reveal] {
  opacity: 0; transform: translateY(38px); filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  will-change: opacity, transform, filter;
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: blur(0); }
/* 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(43,36,30,.66), rgba(22,18,15,.6));
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  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: radial-gradient(66% 55% at 76% 36%, 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__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,9,8,.72) 0%, rgba(10,9,8,.34) 38%, transparent 62%),
    radial-gradient(130% 95% at 50% 0%, transparent 48%, rgba(6,7,8,.5)); }

.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(20px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.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); } }

/* 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.12fr) minmax(0, .9fr); align-items: center;
  gap: clamp(32px, 5vw, 76px); padding: 24px 22px; }
.hero__lead { max-width: 640px; }
/* eyebrow — authentic Upwork Top Rated Plus badge (magenta hexagon + star) */
.hero__trp { display: inline-flex; align-items: center; gap: 10px; padding: 7px 17px 7px 8px; border-radius: 100px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); text-decoration: none;
  margin-bottom: 26px; transition: border-color .25s, background .25s, transform .2s var(--ease); }
.hero__trp:hover { border-color: rgba(224,33,138,.5); background: rgba(224,33,138,.08); transform: translateY(-1px); }
.hero__trp-hex { display: grid; place-items: center; flex: none; filter: drop-shadow(0 3px 9px rgba(224,33,138,.55)); }
.hero__trp-hex svg { width: 30px; height: 30px; display: block; }
.hero__trp-tx { display: flex; flex-direction: column; line-height: 1.12; }
.hero__trp-tx b { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 700; font-size: .86rem; color: var(--text); }
.hero__trp-tx small { font-size: .66rem; color: var(--muted); letter-spacing: .02em; }
.hero__h1 { font-family: 'Schibsted Grotesk', sans-serif; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; font-size: clamp(1.9rem, 3.4vw, 3.15rem); }
.hero__h1 em { font-style: normal; color: var(--accent); }
.hero__intro { margin-top: 24px; max-width: 50ch; color: #c8bfb5; font-size: clamp(1rem, 1.15vw, 1.14rem); line-height: 1.6; }
.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 (right): premium image that bleeds into the dark — no card, no stat tiles */
.hero__portrait { position: relative; justify-self: end; align-self: center; width: 100%; max-width: 420px; }
.hero__portrait-glow { position: absolute; inset: -14% -8% -6% -8%; z-index: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(56% 54% at 50% 36%, rgba(217,119,87,.34), transparent 72%); filter: blur(14px); }
.hero__portrait-img { position: relative; z-index: 1; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 50px 100px -44px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06); }
.hero__portrait-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(10,9,8,.55) 86%, var(--bg)); }
.hero__portrait-img img { width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; object-position: top center; display: block; background: var(--surface-2); }
.hero__portrait-img img.is-missing { display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; padding: 18px;
  background: repeating-linear-gradient(45deg, var(--surface) 0 12px, var(--surface-2) 12px 24px); }
.hero__portrait-chip { position: absolute; z-index: 3; padding: 9px 15px; border-radius: 100px; white-space: nowrap;
  background: rgba(8,9,10,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12);
  font-size: .8rem; font-weight: 600; color: var(--text); box-shadow: 0 14px 30px -12px rgba(0,0,0,.7); animation: floaty 5s ease-in-out infinite; }
.hero__portrait-chip--top { top: 20px; left: -22px; }
.hero__portrait-chip--btm { bottom: 34px; right: -24px; display: inline-flex; align-items: center; gap: 7px; animation-delay: -2.5s; transition: border-color .25s; }
.hero__portrait-chip--btm:hover { border-color: var(--accent); }
.hero__portrait-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
/* 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; align-self: center; width: 100%; max-width: 430px;
  background: linear-gradient(180deg, rgba(24,30,32,.72), rgba(14,18,19,.64));
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 20px;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 44px 100px -48px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.07); }
.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; will-change: transform; }
/* 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: var(--ink); 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: 120px 0 96px; background: var(--bg); color: var(--text);
  margin-top: -72px; box-shadow: 0 26px 54px -26px rgba(0,0,0,.5); }
.section--alt { background: var(--bg-alt); }
.section--first { margin-top: 0; padding-top: 88px; }

/* 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; }
.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) */
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 22px 48px -34px rgba(0,0,0,.45);
  transition: transform .4s var(--ease), border-color .35s, box-shadow .45s var(--ease), opacity .9s var(--ease), filter .9s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.card__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), var(--glow-soft), transparent 65%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(217,119,87,.45); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 34px 62px -30px var(--glow); }
.card:hover .card__glow { opacity: 1; }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px; background: var(--glow-soft); border: 1px solid rgba(217,119,87,.22); color: var(--accent); margin-bottom: 18px; 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: translateY(-2px) rotate(-4deg); box-shadow: 0 10px 22px -10px var(--glow); }
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
.card--wide { display: flex; gap: 24px; align-items: center; margin-top: 22px; }
.card--wide .card__icon { margin: 0; }

/* 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); }

/* 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; }
.hwork-card__media .pw2-browser__view img { transition: transform .9s cubic-bezier(.32,.72,0,1); }
.hwork-card:hover .pw2-browser__view img { transform: scale(1.045); }

/* 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; }

/* 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: "✓"; 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; transform: translateY(var(--py, 0px)); 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; }

/* ==================== 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: 108px; align-self: start; }
.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; }
}
