/* =========================================================
   Mohammed Eid — portfolio
   Palette kept from the original: espresso, cream, gold.
   ========================================================= */

:root {
  --bg-deep: #140A06;
  --bg: #1D0F0A;
  --bg-2: #2C1710;
  --bg-3: #3A2117;
  --bg-4: #42291E;
  --cream: #F4EDE2;
  --cream-2: #EADFCF;
  --ink: #1D0F0A;
  --muted: #B9A99C;
  --muted-ink: #6E5747;
  --line: rgba(244, 237, 226, .12);
  --line-ink: rgba(29, 15, 10, .14);
  --gold: #D9B48A;
  --gold-hi: #F3DCB6;
  --gold-lo: #A97C50;
  --gold-deep: #8A5A33;
  --gold-grad: linear-gradient(100deg, #9C7148 0%, #E9CFA5 18%, #FFF6E6 30%, #D9B48A 46%, #F3DCB6 62%, #A97C50 80%, #E8CBA0 100%);
  --gold-flat: linear-gradient(135deg, #F6E3C3 0%, #D9B48A 45%, #B88A5C 100%);

  --ff-display: "Instrument Serif", "Bodoni Moda", Georgia, serif;
  --ff-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --sec-y: clamp(96px, 13vw, 180px);
  --r-sheet: clamp(28px, 4vw, 56px);
  --r-card: clamp(18px, 1.8vw, 26px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg-deep); scroll-padding-top: 90px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; z-index: 2; }

/* ---------- gold text ---------- */
.gold-text {
  background: var(--gold-grad);
  background-size: 260% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 9s var(--ease-io) infinite alternate;
}
@keyframes sheen { to { background-position: 100% 50%; } }

/* ---------- type ---------- */
.h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(46px, 6.6vw, 108px);
  line-height: .95;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2 em, .h3 em, .contact__title em {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
.sheet--cream .h2 em {
  background: linear-gradient(100deg, #6E4423, #A97C50 40%, #7A4E2A 70%, #A97C50);
  -webkit-background-clip: text; background-clip: text;
}
.h3 { font-family: var(--ff-display); font-size: clamp(36px, 4vw, 64px); line-height: 1; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--muted); max-width: 540px; }
.lead--ink { color: var(--muted-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow span {
  display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px;
  border: 1px solid rgba(217, 180, 138, .4); border-radius: 999px; font-size: 11px; letter-spacing: .06em;
}
.eyebrow--ink { color: var(--gold-deep); }
.eyebrow--ink span { border-color: rgba(138, 90, 51, .4); }

.sec-head { margin-bottom: clamp(48px, 7vw, 100px); }
.sec-head .lead { margin-top: 24px; }
.sec-head--split { display: grid; gap: 28px; align-items: end; }
.sec-head--split .lead { margin-top: 0; }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: 1.35fr 1fr; gap: 64px; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 650; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--gold { background: var(--gold-flat); color: var(--ink); box-shadow: 0 12px 34px -14px rgba(217, 180, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 18px 50px -12px rgba(217, 180, 138, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--ghost { color: var(--cream); border: 1px solid rgba(244, 237, 226, .24); background: rgba(29, 15, 10, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(232, 203, 160, .7); background: rgba(58, 33, 23, .55); }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--cream); transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: var(--gold); background: rgba(217, 180, 138, .12); }
.icon-btn--glass { background: rgba(20, 10, 6, .45); border-color: rgba(244, 237, 226, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--cream);
  background: rgba(29, 15, 10, .5); border: 1px solid rgba(232, 203, 160, .28);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #7BD88F; }
.pill__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #7BD88F; opacity: 0; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }

/* ---------- global layers ---------- */
.grain { position: fixed; inset: 0; z-index: 9000; pointer-events: none; overflow: hidden; }
.grain::before {
  content: ""; position: absolute; inset: -50%; width: 200%; height: 200%;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9500; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-flat); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 12px rgba(232, 203, 160, .8); }

/* ---------- loader ---------- */
.loader { display: none; }
html.js .loader {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 9800;
  background: var(--bg-deep);
}
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__mark { width: 140px; height: 70px; overflow: visible; }
.loader__mark text {
  font-family: var(--ff-display); font-size: 48px; fill: transparent;
  stroke: var(--gold); stroke-width: .8; stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: draw 1.4s var(--ease) forwards, fillin .6s .9s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill: var(--gold-hi); } }
.loader__bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--gold-flat); transform: scaleX(0); transform-origin: 0 50%; }
.loader__count { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }

/* ---------- custom cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor .cursor { display: block; }
}
.cursor { position: fixed; left: 0; top: 0; z-index: 9900; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-hi); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(232, 203, 160, .7);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .35s, border-color .35s, opacity .3s;
}
.cursor__label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .25s; }
.cursor.is-link .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(217, 180, 138, .12); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold-hi); border-color: var(--gold-hi); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
.cursor.on-light .cursor__ring { border-color: rgba(29, 15, 10, .55); }
.cursor.on-light .cursor__dot { background: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9400;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--nav-h); padding: 0 var(--gutter);
  transition: transform .6s var(--ease), background-color .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: linear-gradient(to bottom, rgba(20, 10, 6, .85), rgba(20, 10, 6, 0));
}
.nav.is-scrolled::before { opacity: 1; }
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .02em; }
.nav__mono {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font-family: var(--ff-display); font-size: 17px; color: var(--ink); background: var(--gold-flat);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 6px 20px -6px rgba(217, 180, 138, .6);
}
.nav__name { font-size: 14px; text-transform: uppercase; letter-spacing: .14em; }
.nav__links {
  display: none; position: relative; gap: 4px; padding: 6px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(29, 15, 10, .55); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.nav__links a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__pill { position: absolute; z-index: 0; top: 6px; height: calc(100% - 12px); left: 0; width: 0; border-radius: 999px; background: rgba(217, 180, 138, .16); border: 1px solid rgba(217, 180, 138, .3); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(29, 15, 10, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}
@media (max-width: 520px) {
  .nav__name { display: none; }
}

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 9300; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg { position: absolute; inset: 0; background: var(--bg-deep); clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease); }
.menu.is-open .menu__bg { clip-path: circle(150% at calc(100% - 40px) 38px); }
.menu__links { position: relative; display: grid; gap: 4px; padding: 120px var(--gutter) 0; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; font-family: var(--ff-display); font-size: clamp(44px, 12vw, 72px); line-height: 1.1; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease); }
.menu__links small { font-family: var(--ff-mono); font-size: 12px; color: var(--gold); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .25s; }
.menu__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: max(32px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--gold-hi); opacity: 0; transition: opacity .5s .3s; }
.menu.is-open .menu__foot { opacity: 1; }

/* ---------- sections as stacked sheets ---------- */
main > section:not(.hero) {
  position: relative;
  margin-top: calc(var(--r-sheet) * -1);
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  box-shadow: 0 -40px 80px -20px rgba(0, 0, 0, .45);
}
.sheet--cream { background: var(--cream); color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; z-index: 0;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden; background: var(--bg-deep);
  isolation: isolate;
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.hero.gl-ok .hero__gl { opacity: 1; }
.hero__fallback {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 60% 45% at 50% 52%, rgba(217, 180, 138, .22), transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(217, 180, 138, .18) 1.2px, transparent 1.6px) 0 0 / 9px 9px,
    var(--bg-deep);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
}
.hero.gl-ok .hero__fallback { opacity: 0; }
.hero__vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(20, 10, 6, .55) 0%, transparent 22%, transparent 62%, rgba(20, 10, 6, .92) 100%); }

.hero__content {
  position: relative; align-self: center; justify-self: center;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--nav-h) + 28px) var(--gutter) 28px;
  width: 100%;
}
/* soft dark scrim so the small text always reads cleanly over the gold dots */
.hero__content::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 64%; width: min(1180px, 130%); height: 78%; translate: -50% -50%;
  background: radial-gradient(ellipse closest-side, rgba(20, 10, 6, .8) 0%, rgba(20, 10, 6, .55) 45%, rgba(20, 10, 6, 0) 100%);
}
.hero__name {
  margin: 28px 0 18px;
  display: flex; justify-content: center; gap: .24em; white-space: nowrap;
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(60px, 10.6vw, 210px);
  line-height: .9; letter-spacing: -.005em; text-transform: uppercase;
  filter: drop-shadow(0 0 36px rgba(217, 180, 138, .22)) drop-shadow(0 4px 30px rgba(20, 10, 6, .8));
}
.hero__line { display: block; }
.hero__line .gold-text { display: inline-block; padding: 0 .02em; }
@media (max-width: 720px) {
  .hero__name { flex-direction: column; align-items: center; gap: 0; font-size: clamp(56px, 17vw, 120px); line-height: .92; }
}
.hero__roles {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi);
  text-shadow: 0 1px 12px rgba(20, 10, 6, .9);
}
.hero__roles i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .7; }
.hero__tagline { margin-top: 30px; font-family: var(--ff-display); font-size: clamp(30px, 3.8vw, 58px); line-height: 1.05; letter-spacing: -.01em; }
.hero__tagline em { color: var(--gold); }
.hero__sub { margin-top: 14px; max-width: 560px; color: rgba(244, 237, 226, .78); font-size: clamp(16px, 1.25vw, 18px); text-shadow: 0 1px 14px rgba(20, 10, 6, .95); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.hero__bottom {
  position: relative; display: grid; grid-template-columns: 1fr; align-items: end; gap: 24px;
  padding: 0 var(--gutter) calc(var(--r-sheet) + 22px);
}
.hero__meta { display: none; align-items: center; gap: 14px; color: var(--muted); }
.hero__meta--right { justify-content: flex-end; }
.clock { color: var(--gold-hi); }
.scroll-cue { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold-hi); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@media (min-width: 1000px) {
  .hero__bottom { grid-template-columns: 140px 1fr 140px; }
  .hero__meta { display: flex; }
}

/* brand marquee */
.brands { min-width: 0; text-align: center; }
.brands__label { color: var(--muted); font-size: 11px; margin-bottom: 14px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); padding-right: clamp(40px, 5vw, 72px); }
.marquee__group li { flex: none; display: grid; place-items: center; height: 56px; }
.logo { height: 30px; width: auto; transition: transform .5s var(--ease); }
.logo--sq { height: 48px; }
/* dark-coloured logos get a hairline cream outline so they read on espresso */
.logo--lift { filter: drop-shadow(0 0 .6px rgba(244, 237, 226, .9)) drop-shadow(0 0 .6px rgba(244, 237, 226, .9)); }
.marquee__group li:hover .logo { transform: scale(1.1); }

/* =========================================================
   PROOF
   ========================================================= */
.proof { background: var(--bg); padding: var(--sec-y) 0; overflow: hidden; }
.proof__floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(217, 180, 138, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 180, 138, .16) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 100%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 100%, #000 10%, transparent 70%);
  animation: floor 4s linear infinite;
  pointer-events: none;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.proof::before {
  content: ""; position: absolute; top: -10%; left: 50%; width: 900px; height: 900px; translate: -50% 0;
  background: radial-gradient(circle, rgba(217, 180, 138, .12), transparent 60%);
  pointer-events: none;
}

.stats { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.stat--feature { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat--feature { grid-column: auto; }
}
.spot {
  position: relative; isolation: isolate;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(58, 33, 23, .62), rgba(36, 19, 13, .5));
  border: 1px solid var(--line);
  overflow: hidden;
}
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 2; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, -30%), rgba(243, 220, 182, .75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(217, 180, 138, .12), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.stat { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px; min-height: clamp(180px, 18vw, 250px); }
.stat__label { color: var(--muted); font-size: 11px; line-height: 1.5; }
.stat__value {
  margin-top: auto;
  display: flex; align-items: baseline; flex-wrap: nowrap;
  font-family: var(--ff-sans); font-weight: 750; letter-spacing: -.045em;
  font-size: clamp(42px, 5.4vw, 88px); line-height: 1.1; color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.stat--feature .stat__value { color: var(--gold-hi); }
.stat__pre { font-size: .42em; letter-spacing: 0; margin-right: .3em; color: var(--gold); font-weight: 700; align-self: center; }
.stat__suf { color: var(--gold); }
.stat__note { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 30ch; }
@media (max-width: 899px) {
  .stat:not(.stat--feature) .stat__value { font-size: clamp(36px, 10vw, 54px); }
  .stat:not(.stat--feature) .stat__note { display: none; }
  .stat:not(.stat--feature) { min-height: 150px; }
}

/* odometer */
.odo { display: inline-flex; }
.odo__col { display: inline-block; height: 1.1em; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.odo__strip { display: block; line-height: 1.1; will-change: transform; }
.odo__strip::before { content: attr(data-d); white-space: pre; display: block; text-align: center; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: var(--sec-y) 0; z-index: 2; }
.svc { border-top: 1px solid var(--line-ink); }
.svc__row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 18px;
  padding: clamp(22px, 3vw, 40px) clamp(8px, 1.5vw, 24px);
  border-bottom: 1px solid var(--line-ink);
  transition: color .5s var(--ease);
}
.svc__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bg); border-radius: 18px;
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .7s var(--ease), border-radius .7s var(--ease);
}
.svc__num { color: var(--gold-deep); grid-column: 1; }
.svc__icon { display: none; }
.svc__title { grid-column: 2; font-family: var(--ff-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 72px); line-height: 1; letter-spacing: -.01em; transition: transform .7s var(--ease); }
.svc__arrow { grid-column: 3; grid-row: 1; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-ink); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, border-color .4s; }
.svc__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc__desc { grid-column: 1 / -1; color: var(--muted-ink); font-size: 16px; max-width: 46ch; transition: color .5s; }
.svc__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.svc__tags li { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-ink); transition: border-color .5s, color .5s; }

.svc__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon path, .svc__icon circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc__row.is-in .svc__icon path, .svc__row.is-in .svc__icon circle { animation: icondraw 1.6s var(--ease) both; }
.svc__row:hover .svc__icon path, .svc__row:hover .svc__icon circle { animation: icondraw 1.1s var(--ease) both; }
@keyframes icondraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (min-width: 900px) {
  .svc__row { grid-template-columns: 60px 64px minmax(260px, 1.1fr) 1fr 56px; gap: 28px; }
  .svc__num { grid-column: 1; }
  .svc__icon { display: block; grid-column: 2; width: 48px; height: 48px; color: var(--gold-deep); transition: color .5s; }
  .svc__title { grid-column: 3; }
  .svc__desc { grid-column: 4; grid-row: 1; }
  .svc__tags { grid-column: 4; grid-row: 2; margin-top: 0; }
  .svc__arrow { grid-column: 5; grid-row: 1 / span 2; }
  .svc__row:hover { color: var(--cream); }
  .svc__row:hover::before { transform: scaleY(1); }
  .svc__row:hover .svc__title { transform: translateX(14px); }
  .svc__row:hover .svc__desc { color: var(--muted); }
  .svc__row:hover .svc__icon { color: var(--gold); }
  .svc__row:hover .svc__num { color: var(--gold); }
  .svc__row:hover .svc__tags li { border-color: rgba(217, 180, 138, .35); color: var(--gold-hi); }
  .svc__row:hover .svc__arrow { transform: rotate(45deg); background: var(--gold-flat); border-color: transparent; color: var(--ink); }
}

/* =========================================================
   WORK
   ========================================================= */
.work { background: var(--bg); z-index: 3; }
.work__bgword {
  position: absolute; top: 50%; left: 0; translate: 0 -50%; z-index: 0; pointer-events: none;
  font-family: var(--ff-display); font-size: clamp(140px, 24vw, 420px); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(217, 180, 138, .09);
}
.work__pin { position: relative; z-index: 1; padding: var(--sec-y) 0; overflow: hidden; }
.work__track { display: flex; flex-direction: column; gap: 56px; padding: 0 var(--gutter); }
.work__intro { max-width: 560px; }
.work__intro .lead { margin-top: 24px; }
.work__hint { margin-top: 28px; color: var(--gold); display: none; align-items: center; gap: 10px; }
.work__hint-arrow { display: inline-block; animation: nudge 1.6s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.work__hint-mob { display: none; }
.work__bar { display: none; }

.card { position: relative; display: flex; flex-direction: column; gap: 22px; }
.card__link { position: absolute; inset: 0; z-index: 4; border-radius: var(--r-card); }
.card__media {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  aspect-ratio: 4 / 4.4; background: var(--bg-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  transform: translateZ(0);
}
.card__img { width: 100%; height: 100%; object-fit: cover; transform: translateX(var(--px, 0%)) scale(1.1); transition: transform 1.2s var(--ease); }
.card:hover .card__img { transform: translateX(var(--px, 0%)) scale(1.03); }
.card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(244, 237, 226, .1);
}
.card__body { display: grid; gap: 10px; }
.card__idx { color: var(--gold); font-size: 11px; }
.card__title { font-family: var(--ff-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; }
.card__title span { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); vertical-align: middle; margin-left: 8px; }
.card__desc { color: var(--muted); font-size: 15.5px; max-width: 44ch; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.card__tags li { font-size: 12px; font-weight: 600; color: var(--gold-hi); padding: 5px 11px; border-radius: 999px; background: rgba(217, 180, 138, .1); border: 1px solid rgba(217, 180, 138, .2); }

.work__end { display: grid; gap: 24px; justify-items: start; align-content: center; }

@media (min-width: 900px) {
  .work__pin { height: 100vh; height: 100svh; padding: 0; display: flex; align-items: center; overflow: hidden; }
  .work__track { flex-direction: row; align-items: center; gap: clamp(28px, 3vw, 56px); padding: 0 var(--gutter); will-change: transform; }
  .work__intro { flex: 0 0 min(500px, 36vw); }
  .work__hint { display: flex; }
  .card { flex: 0 0 clamp(320px, 31vw, 500px); }
  .card__media { aspect-ratio: auto; height: min(58vh, 34vw); }
  .work__end { flex: 0 0 min(420px, 34vw); padding-right: var(--gutter); }
  .work__bar { display: block; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 1px; background: var(--line); z-index: 2; }
  .work__bar span { display: block; height: 100%; background: var(--gold-flat); transform: scaleX(0); transform-origin: 0 50%; }
  .card:nth-of-type(even) { margin-top: 8vh; }
}

/* designed covers */
.cover { display: grid; place-items: center; }
.cover--watch { background: radial-gradient(circle at 50% 42%, #4a2a1c, #140a06 72%); }
.cover--watch .watch { width: 68%; max-width: 330px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .65)); }
.watch__brand { font-family: var(--ff-mono); font-size: 7px; letter-spacing: .3em; fill: var(--gold-hi); }
.watch__sub { font-family: var(--ff-mono); font-size: 6px; letter-spacing: .3em; fill: var(--gold); opacity: .8; }
.watch__h, .watch__m, .watch__s { transform-box: view-box; transform-origin: 50% 50%; }
.watch__h { animation: hand 43200s linear infinite; --a: var(--ah, 300deg); }
.watch__m { animation: hand 3600s linear infinite; --a: var(--am, 60deg); }
.watch__s { animation: hand 60s steps(60) infinite; --a: var(--as, 0deg); }
@keyframes hand { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) + 360deg)); } }
.cover__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 30% 20%, rgba(243, 220, 182, .16), transparent 45%); }

.cover--lunor { background: radial-gradient(ellipse at 50% 30%, #2f1910, #0b0503 75%); }
.stars { position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, #f3dcb6, transparent), radial-gradient(1px 1px at 28% 62%, #f3dcb6, transparent),
    radial-gradient(1.4px 1.4px at 72% 22%, #fff, transparent), radial-gradient(1px 1px at 86% 54%, #f3dcb6, transparent),
    radial-gradient(1.2px 1.2px at 44% 12%, #fff, transparent), radial-gradient(1px 1px at 62% 78%, #f3dcb6, transparent),
    radial-gradient(1.3px 1.3px at 18% 84%, #fff, transparent), radial-gradient(1px 1px at 92% 10%, #f3dcb6, transparent),
    radial-gradient(1px 1px at 52% 46%, #fff, transparent), radial-gradient(1.2px 1.2px at 80% 88%, #fff, transparent);
  animation: twinkle 3.5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
.moon {
  width: clamp(120px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset -34px 12px 0 0 #f3dcb6;
  filter: drop-shadow(0 0 40px rgba(243, 220, 182, .5));
  transform: rotate(-24deg) translateY(-12%);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -10px; } }
.cover__logo { position: absolute; bottom: 9%; left: 50%; translate: -50% 0; width: 52%; max-width: 260px; height: auto; }

.cover--369 { background: radial-gradient(circle at 50% 50%, #fffaf2, var(--cream-2) 70%); }
.cover--369 .ring { position: absolute; width: 82%; max-width: 380px; animation: spin 28s linear infinite; }
.cover--369 .ring text { font-family: var(--ff-mono); font-size: 13px; fill: var(--gold-deep); }
@keyframes spin { to { transform: rotate(360deg); } }
.big369 {
  font-family: var(--ff-display); font-style: italic; font-size: clamp(110px, 11vw, 190px); line-height: 1;
  background: linear-gradient(120deg, #6E4423, #C89A68 45%, #7A4E2A 75%, #B88A5C);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 18px 22px rgba(110, 68, 35, .25));
}

.cover--traffify { background: radial-gradient(ellipse at 50% 100%, #3a2117, #140a06 70%); }
.cover--traffify .cover__logo { top: 10%; bottom: auto; width: 46%; }
.bars { position: absolute; left: 12%; right: 12%; bottom: 12%; height: 48%; display: flex; align-items: flex-end; gap: 4%; }
.bars i { flex: 1; height: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, rgba(217, 180, 138, .15), var(--gold-hi)); transform-origin: 50% 100%; animation: bar 3.2s var(--ease-io) infinite alternate; }
.bars i:nth-child(1) { --h: .22; animation-delay: -.2s; } .bars i:nth-child(2) { --h: .3; animation-delay: -.5s; }
.bars i:nth-child(3) { --h: .38; animation-delay: -.8s; } .bars i:nth-child(4) { --h: .46; animation-delay: -1.1s; }
.bars i:nth-child(5) { --h: .58; animation-delay: -1.4s; } .bars i:nth-child(6) { --h: .7; animation-delay: -1.7s; }
.bars i:nth-child(7) { --h: .84; animation-delay: -2s; } .bars i:nth-child(8) { --h: 1; animation-delay: -2.3s; }
@keyframes bar { from { transform: scaleY(calc(var(--h) * .55)); } to { transform: scaleY(var(--h)); } }
.trend { position: absolute; left: 10%; right: 10%; bottom: 30%; width: 80%; height: 34%; overflow: visible; }
.trend path { fill: none; stroke: #fff6e6; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trend 4s var(--ease) infinite; filter: drop-shadow(0 0 6px rgba(243, 220, 182, .9)); vector-effect: non-scaling-stroke; }
@keyframes trend { 0% { stroke-dashoffset: 1; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: var(--sec-y) 0; overflow: hidden; z-index: 4; }
.threads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.steps { position: relative; display: grid; gap: 40px; padding-left: 44px; }
.steps__line { position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line-ink); border-radius: 2px; }
.steps__line span { display: block; width: 100%; height: 100%; background: linear-gradient(to bottom, #C89A68, #8A5A33); transform-origin: 50% 0; transform: scaleY(0); border-radius: 2px; }
.step { position: relative; }
.step__dot {
  position: absolute; left: -44px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--cream); border: 2px solid rgba(29, 15, 10, .25);
  transition: background .5s, border-color .5s, box-shadow .6s, transform .6s var(--ease);
}
.step.is-active .step__dot { background: var(--gold); border-color: var(--gold-deep); box-shadow: 0 0 0 8px rgba(217, 180, 138, .25), 0 0 30px rgba(217, 180, 138, .9); transform: scale(1.15); }
.step__k { color: var(--gold-deep); }
.step__t { font-family: var(--ff-display); font-weight: 400; font-size: clamp(48px, 5.2vw, 84px); line-height: 1; margin: 12px 0 10px; letter-spacing: -.01em; transition: color .5s; color: rgba(29, 15, 10, .35); }
.step.is-active .step__t { color: var(--ink); }
.step__d { color: var(--muted-ink); max-width: 28ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-left: 0; padding-top: 52px; }
  .steps__line { left: 0; right: 0; top: 8px; bottom: auto; width: auto; height: 2px; }
  .steps__line span { transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #C89A68, #8A5A33); }
  .step__dot { left: 0; top: -52px; }
}

/* =========================================================
   RESULTS
   ========================================================= */
.results { background: var(--bg); padding: var(--sec-y) 0; overflow: hidden; z-index: 5; }
.results__glow {
  position: absolute; left: 50%; top: 40%; width: min(1100px, 140vw); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(217, 180, 138, .2), rgba(169, 124, 80, .06) 40%, transparent 65%);
  animation: breathe 8s ease-in-out infinite; pointer-events: none;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.equation { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: clamp(64px, 9vw, 120px); }
.equation__num { font-family: var(--ff-display); font-size: clamp(64px, 10.5vw, 176px); line-height: .95; letter-spacing: -.02em; white-space: nowrap; }
.equation__pre { font-size: .4em; vertical-align: .9em; margin-right: .18em; letter-spacing: .02em; }
.equation__lbl { color: var(--muted); margin-top: 10px; }
.equation__arrow { width: 90px; color: var(--gold); transform: rotate(90deg); margin: 6px 0; }
.equation__arrow svg { width: 100%; overflow: visible; }
.equation__arrow path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (min-width: 1000px) {
  .equation { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
  .equation__arrow { width: 150px; transform: none; }
}

.flow { position: relative; display: grid; gap: 48px; padding: 8px 0 0 52px; }
.flow__canvas { position: absolute; inset: -40px -20px; width: calc(100% + 40px); height: calc(100% + 80px); pointer-events: none; z-index: 0; }
.flow__step { position: relative; z-index: 1; }
.flow__node {
  position: absolute; left: -52px; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6e6, var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 0 0 6px rgba(217, 180, 138, .12), 0 0 34px rgba(232, 203, 160, .7);
}
.flow__k { color: var(--gold); font-size: 11px; }
.flow__t { font-family: var(--ff-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; margin: 12px 0 10px; }
.flow__d { color: var(--muted); max-width: 30ch; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 64px 0 0; text-align: center; }
  .flow__step { display: grid; justify-items: center; }
  .flow__node { left: 50%; top: -64px; translate: -50% 0; width: 26px; height: 26px; }
}
.results__campaigns { margin-top: clamp(56px, 7vw, 90px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; }
.results__campaigns .mono { color: var(--muted); margin-right: 6px; }
.results__campaigns a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(217, 180, 138, .3); font-weight: 600; font-size: 14px; color: var(--gold-hi); transition: background .3s, border-color .3s; }
.results__campaigns a:hover { background: rgba(217, 180, 138, .12); border-color: var(--gold); }

/* =========================================================
   REELS
   ========================================================= */
.reels { background: var(--bg-deep); padding: var(--sec-y) 0; overflow: hidden; z-index: 6; }
.reels__bgword {
  position: absolute; top: 46%; left: 0; display: flex; width: max-content; pointer-events: none; z-index: 0;
  font-family: var(--ff-display); font-style: italic; font-size: clamp(120px, 18vw, 300px); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(217, 180, 138, .08);
  animation: drift 60s linear infinite;
}
@keyframes drift { to { transform: translateX(-50%); } }
.reels__track {
  position: relative; z-index: 2;
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 10px var(--gutter) 30px; scrollbar-width: none;
}
.reels__track::-webkit-scrollbar { display: none; }
.reel {
  position: relative; flex: 0 0 min(72vw, 300px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  scroll-snap-align: center; background: var(--bg-2); isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(244, 237, 226, .1);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.reel__poster, .reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.reel__video { opacity: 0; }
.reel.is-playing .reel__video { opacity: 1; }
.reel__brand { position: absolute; inset: 0; display: grid; place-items: start center; padding-top: 30%; background: radial-gradient(circle at 50% 40%, #4a2a1c, #140a06 75%); }
.reel__brand img { width: 62%; height: auto; }
.reel--logo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 50% 120%, rgba(217, 180, 138, .3), transparent 60%); }
.reel__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 5, 3, .92) 0%, rgba(10, 5, 3, .1) 45%, rgba(10, 5, 3, .25) 100%); }
.reel__idx { position: absolute; z-index: 2; top: 16px; left: 18px; color: var(--gold-hi); }
.reel__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%;
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(244, 237, 226, .14); border: 1px solid rgba(244, 237, 226, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .6s var(--ease), background .4s;
}
.reel__play svg { width: 24px; height: 24px; fill: var(--cream); margin-left: 3px; }
.reel__info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 4px; }
.reel__info strong { font-family: var(--ff-display); font-weight: 400; font-size: 30px; line-height: 1.05; }
.reel__info small { color: var(--gold); font-size: 10.5px; }
.reel:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(232, 203, 160, .55); }
.reel:hover .reel__poster { transform: scale(1.06); }
.reel:hover .reel__play { transform: scale(1.12); background: var(--gold-flat); }
.reel:hover .reel__play svg { fill: var(--ink); }
@media (min-width: 900px) {
  .reels__track { justify-content: center; overflow: visible; gap: clamp(16px, 2vw, 28px); }
  .reel { flex-basis: clamp(240px, 22vw, 320px); }
  .reel:nth-child(2) { margin-top: 60px; }
}

/* viewer */
.viewer { position: fixed; inset: 0; z-index: 9700; display: none; }
.viewer.is-open { display: block; }
.viewer__backdrop { position: absolute; inset: 0; background: rgba(10, 5, 3, .96); opacity: 0; overflow: hidden; }
.viewer__bgimg { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(50px) brightness(.4) saturate(1.2); opacity: .9; }
.viewer__stage {
  --vh: min(92svh, calc((100vw - 32px) * 16 / 9));
  position: absolute; inset: 0; margin: auto;
  height: var(--vh); width: calc(var(--vh) * 9 / 16);
  border-radius: 18px; overflow: hidden; background: #000;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
  will-change: transform;
}
.viewer__poster, .viewer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewer__video { opacity: 0; transition: opacity .35s; }
.viewer.is-ready .viewer__video { opacity: 1; }
.viewer__spinner { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 2px solid rgba(244, 237, 226, .2); border-top-color: var(--gold-hi); animation: spin 0.8s linear infinite; opacity: 0; transition: opacity .3s; }
.viewer.is-loading .viewer__spinner { opacity: 1; }
.viewer__paused { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 10, 6, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.viewer__paused svg { width: 30px; fill: var(--cream); margin-left: 4px; }
.viewer.is-paused .viewer__paused { opacity: 1; transform: none; }
.viewer__zone { position: absolute; top: 70px; bottom: 0; z-index: 2; }
.viewer__zone--prev { left: 0; width: 28%; }
.viewer__zone--mid { left: 28%; width: 44%; }
.viewer__zone--next { right: 0; width: 28%; }
.viewer__bars { position: absolute; z-index: 3; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.viewer__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(244, 237, 226, .28); overflow: hidden; }
.viewer__bars i { display: block; height: 100%; background: var(--cream); transform-origin: 0 50%; transform: scaleX(0); }
.viewer__head { position: absolute; z-index: 3; top: 22px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.viewer__info { display: flex; align-items: center; gap: 10px; min-width: 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.viewer__avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-flat); color: var(--ink); font-family: var(--ff-display); font-size: 13px; }
.viewer__info strong { display: block; font-size: 15px; line-height: 1.2; }
.viewer__info small { display: block; color: var(--gold-hi); font-size: 10px; }
.viewer__ctrls { display: flex; gap: 8px; }
.viewer__ctrls .icon-btn { width: 42px; height: 42px; }
.viewer .i-mute { display: none; }
.viewer.is-muted .i-mute { display: block; }
.viewer.is-muted .i-sound { display: none; }
.viewer__side { position: absolute; top: 50%; translate: 0 -50%; display: none; width: 56px; height: 56px; }
.viewer__side--prev { left: calc(50% - (min(92svh, calc((100vw - 32px) * 16 / 9)) * 9 / 32) - 84px); }
.viewer__side--next { right: calc(50% - (min(92svh, calc((100vw - 32px) * 16 / 9)) * 9 / 32) - 84px); }
.viewer__hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgba(244, 237, 226, .55); font-size: 10.5px; display: none; }
.viewer.is-single .viewer__side { display: none !important; }
@media (min-width: 760px) {
  .viewer__side { display: grid; }
}
@media (max-width: 759px) {
  .viewer__stage { inset: 0; margin: 0; height: 100%; width: 100%; border-radius: 0; }
  .viewer__video, .viewer__poster { object-fit: contain; background: #000; }
  .viewer__hint { display: block; z-index: 3; }
  .viewer__bars { top: max(10px, env(safe-area-inset-top)); }
  .viewer__head { top: calc(max(10px, env(safe-area-inset-top)) + 12px); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: var(--sec-y) 0; z-index: 7; }
.about__grid { display: grid; gap: 56px; }
.about__side { display: grid; gap: 32px; align-content: start; }
.monogram { position: relative; width: 180px; aspect-ratio: 1; display: grid; place-items: center; }
.monogram__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(138, 90, 51, .5); animation: spin 40s linear infinite; }
.monogram__ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
.monogram__txt {
  font-family: var(--ff-display); font-size: 64px; line-height: 1;
  background: linear-gradient(120deg, #6E4423, #C89A68 45%, #7A4E2A 75%, #B88A5C);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.facts { display: grid; border-top: 1px solid var(--line-ink); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-ink); font-weight: 600; }
.facts .mono { color: var(--muted-ink); font-weight: 400; font-size: 11px; align-self: center; }
.about__title { font-size: clamp(38px, 4.8vw, 76px); }
.about__text { margin-top: 40px; font-size: clamp(21px, 2.1vw, 31px); line-height: 1.45; font-weight: 500; letter-spacing: -.01em; color: var(--ink); max-width: 30em; }
.about__text .word { opacity: .16; transition: none; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 320px 1fr; gap: 96px; }
  .about__side { position: sticky; top: 120px; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--bg); padding: var(--sec-y) 0 0; overflow: hidden; z-index: 8; }
.contact__title { font-family: var(--ff-display); font-weight: 400; font-size: clamp(56px, 10vw, 172px); line-height: .92; letter-spacing: -.025em; max-width: 12ch; text-wrap: balance; }
.contact .lead { margin-top: 26px; }
.contact__cta { display: grid; gap: 48px; align-items: center; margin-top: clamp(48px, 7vw, 90px); }
.blob {
  position: relative; display: grid; place-items: center;
  width: clamp(190px, 20vw, 250px); aspect-ratio: 1; border-radius: 50%;
  background: var(--gold-flat); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(217, 180, 138, .55), inset 0 2px 0 rgba(255, 255, 255, .5);
  transition: box-shadow .6s var(--ease);
}
.blob::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(217, 180, 138, .35); animation: pulse 3s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.92); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.blob__in { display: grid; justify-items: center; gap: 12px; text-align: center; font-weight: 700; font-size: 17px; line-height: 1.25; }
.blob svg { width: 34px; height: 34px; fill: var(--ink); }
.blob:hover { box-shadow: 0 40px 100px -20px rgba(217, 180, 138, .85), inset 0 2px 0 rgba(255, 255, 255, .5); }
.contact__list { display: grid; border-top: 1px solid var(--line); }
.contact__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; }
.contact__list .mono { color: var(--muted); font-weight: 400; }
.contact__list a { position: relative; color: var(--cream); transition: color .3s; }
.contact__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.contact__list a:hover { color: var(--gold-hi); }
.contact__list a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 900px) {
  .contact__cta { grid-template-columns: auto 1fr; gap: 96px; }
}

.footer { position: relative; z-index: 2; margin-top: clamp(80px, 12vw, 160px); }
.footer__name {
  overflow: hidden; text-align: center; line-height: .8; padding: 0 var(--gutter);
  font-family: var(--ff-display); font-size: clamp(36px, 11.2vw, 236px); text-transform: uppercase; white-space: nowrap;
}
.footer__rise { display: inline-block; }
.footer__name .footer__gold {
  display: inline-block;
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  opacity: .9;
}
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px 0 max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); }
.footer__top { color: var(--gold-hi); }

/* ---------- reveal defaults (only when JS is on) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(40px); filter: blur(10px); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .about__text .word { opacity: 1; }
}

/* video cards that open Instagram (no local file yet) */
.reel__ext { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 5px 10px; border-radius: 999px; font-size: 10px; color: var(--cream); background: rgba(20, 10, 6, .55); border: 1px solid rgba(244, 237, 226, .2); }

/* ---------- phone hero: tidy roles as chips, tighter rhythm so the logos stay in view ---------- */
@media (max-width: 720px) {
  .hero__content { padding-top: calc(var(--nav-h) + 12px); padding-bottom: 34px; }
  .hero__name { margin: 20px 0 14px; }
  .hero__roles { gap: 6px; max-width: 340px; font-size: 10px; letter-spacing: .1em; }
  .hero__roles i { display: none; }
  .hero__roles span { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(217, 180, 138, .28); background: rgba(20, 10, 6, .45); }
  .hero__tagline { margin-top: 20px; font-size: clamp(28px, 8.4vw, 40px); }
  .hero__sub { font-size: 15px; }
  .hero__ctas { margin-top: 22px; gap: 8px; flex-wrap: nowrap; }
  .hero__ctas .btn { height: 50px; padding: 0 18px; font-size: 14px; }
  .hero__bottom { gap: 12px; }
  .brands__label { margin-bottom: 8px; }
}
@media (max-width: 720px) and (max-height: 700px) {
  .hero__sub { font-size: 14px; margin-top: 10px; }
  .hero__name { margin: 14px 0 10px; }
  .pill { font-size: 12px; padding: 6px 12px 6px 10px; }
}

/* brand logo on video cards + in the player */
.reel__logo { display: inline-grid; place-items: center; justify-self: start; height: 36px; padding: 6px 12px; margin-bottom: 8px; border-radius: 10px; background: rgba(20, 10, 6, .6); border: 1px solid rgba(244, 237, 226, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.reel__logo img { filter: drop-shadow(0 0 .6px rgba(244, 237, 226, .85)) drop-shadow(0 0 .6px rgba(244, 237, 226, .85)); }
.reel__logo img { height: 22px; width: auto; max-width: 110px; object-fit: contain; }
.viewer__avatar { overflow: hidden; background: rgba(20, 10, 6, .7); border: 1px solid rgba(244, 237, 226, .25); }
.viewer__avatar img { filter: drop-shadow(0 0 .5px rgba(244, 237, 226, .9)); }
.viewer__avatar img { width: 80%; height: 80%; object-fit: contain; }
@media (min-width: 900px) { .reel:nth-child(2) { margin-top: 0; } .reel:nth-child(even) { margin-top: 60px; } }

/* ---------- polish pass (iPhone review) ---------- */
/* counters: bottom-align rolling columns with prefix/suffix so nothing floats */
.stat__value { align-items: flex-end; }
.stat__value > * { line-height: 1.1; }
.stat__pre { align-self: auto; padding-bottom: .55em; line-height: 1; }
.odo__col { vertical-align: bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
}
/* equation arrow: real vertical box on phones so it never crosses the labels */
.equation__arrow { display: grid; place-items: center; width: 40px; height: 64px; margin: 14px 0; transform: none; }
.equation__arrow svg { width: 64px; flex: none; transform: rotate(90deg); }
@media (min-width: 1000px) {
  .equation__arrow { width: 150px; height: auto; margin: 0; }
  .equation__arrow svg { width: 100%; transform: none; }
}
/* stats: last card fills its row on phones instead of leaving a gap */
@media (max-width: 899px) {
  .stats .stat:last-child { grid-column: 1 / -1; }
  .stats .stat:last-child .stat__note { display: block; }
  .stat:not(.stat--feature) .stat__label { min-height: 3em; }
}
@media (max-width: 899px) {
  .svc__arrow { display: none; }                 /* looked tappable but isn't */
  .svc__row { grid-template-columns: auto 1fr; }
  .work__bgword { display: none; }               /* sat behind the card text on phones */
  .process .threads { opacity: .45; }            /* calmer behind the step text */
  .monogram { display: none; }                   /* empty circle pushed the story down */
  .about__side { gap: 20px; }
  .about__grid { gap: 36px; }
}

@media (min-width: 900px) { .stat__note { min-height: 3em; } }

/* name SEO: Madeby link in About facts + Arabic name in footer */
.facts a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ar-name { font-family: 'Cairo', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0; text-transform: none; }
