/* =========================================================
   BONZO'S DIGGING — styles
   Cream + safety orange + deep ink. Small machine, big care.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #101b20;
  --ink-2: #0b1418;
  --ink-3: #1b2b32;
  --cream: #f3ecdc;
  --cream-2: #ece4d2;
  --paper: #faf6ea;
  --paper-2: #fffdf6;
  --orange: #f08a1d;
  --orange-hover: #ffa23a;
  --orange-deep: #c25f06;
  --teal: #12897b;
  --muted-ink: #565c53;
  --display: 'Bricolage Grotesque', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --wrap: 1320px;
  --header-h: 88px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

::selection { background: var(--orange); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--orange);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

/* ---------- Type ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.35rem, 3.9vw, 3.9rem);
  line-height: .98;
  letter-spacing: -.038em;
  margin: 0 0 24px;
  max-width: 16ch;
  text-wrap: balance;
}
.h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.11em;
  letter-spacing: -.012em;
  color: var(--accent, var(--orange-deep));
  padding-right: .05em;
}
.body {
  font-size: 16px;
  line-height: 1.72;
  color: var(--muted, var(--muted-ink));
  margin: 0 0 22px;
  max-width: 47ch;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--kicker, var(--orange-deep));
}
.kicker__rule {
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .75;
  flex: none;
}
.kicker__rule--ink { background: var(--ink); opacity: .55; }
.kicker__num {
  display: grid;
  place-items: center;
  width: 33px; height: 33px;
  flex: none;
  border: 1px solid var(--line, rgba(16,27,32,.22));
  border-radius: 50%;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--fg, var(--ink));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .3s var(--ease); }

.btn--primary {
  background: var(--orange);
  color: #0b1418;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 16px 32px -18px rgba(240,138,29,.8);
}
.btn--primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 20px 38px -18px rgba(240,138,29,.85);
}
.btn--primary:hover .btn__arrow,
.btn--dark:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  border-color: rgba(243,236,220,.24);
  color: var(--cream);
}
.btn--ghost:hover {
  background: rgba(243,236,220,.07);
  border-color: rgba(243,236,220,.5);
  transform: translateY(-2px);
}
.btn--ghost:hover .btn__down { transform: translateY(3px); }

.btn--dark {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}

.btn--lg { padding: 18px 28px; font-size: 14.5px; }
.btn--header { padding: 11px 18px; font-size: 12px; }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), backdrop-filter .45s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
  transition: height .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 20, 24, .94);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(243,236,220,.12);
}
.site-header.is-scrolled .site-header__inner { height: 70px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
  flex: none;
}
.brand__mark {
  width: 52px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
  transition: width .45s var(--ease);
}
.site-header.is-scrolled .brand__mark { width: 42px; }
.brand__text { display: flex; flex-direction: column; gap: 4px; }
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1;
  letter-spacing: .015em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__sub {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(243,236,220,.5);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 34px);
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(243,236,220,.76);
  padding: 6px 0;
  transition: color .25s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.menu-btn {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid rgba(243,236,220,.24);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  position: relative;
  z-index: 80;
}
.menu-btn__bars { display: grid; gap: 5px; }
.menu-btn__bars span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.site-header.is-open .menu-btn__bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.site-header.is-open .menu-btn__bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(243,236,220,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243,236,220,.05) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 42%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 55% 42%, #000 20%, transparent 78%);
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 620px at 78% 42%, rgba(240,138,29,.19), transparent 63%),
    radial-gradient(640px 520px at 6% 96%, rgba(18,137,123,.14), transparent 65%);
}

.hero__main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(26px, 4vh, 52px);
  padding-bottom: clamp(22px, 4vh, 52px);
}

.hero__copy { max-width: 660px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin: 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: rgba(243,236,220,.68);
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(240,138,29,.16);
  flex: none;
}
.eyebrow__sep { color: rgba(243,236,220,.28); }

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 5.7vw, 5.35rem);
  line-height: .88;
  letter-spacing: -.045em;
  margin: 26px 0 28px;
  color: var(--cream);
}
.hero__line { display: block; }
.hero__line--accent { color: var(--cream); }
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.11em;
  letter-spacing: -.012em;
  color: var(--orange);
  padding-right: .06em;
}

.hero__lede {
  max-width: 50ch;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 17.5px);
  line-height: 1.65;
  color: rgba(243,236,220,.7);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 38px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(243,236,220,.13);
  max-width: 470px;
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(243,236,220,.52);
}
.hero__meta li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--orange);
  transform: rotate(45deg);
}

/* Hero art */
.hero__art { display: flex; justify-content: center; align-items: center; }
.badge-stage {
  position: relative;
  width: min(100%, 545px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.badge-stage__halo {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, rgba(240,138,29,.45), rgba(240,138,29,0) 68%);
  filter: blur(34px);
}
.badge-stage__dash {
  position: absolute;
  inset: 1.5%;
  border-radius: 50%;
  border: 1px dashed rgba(243,236,220,.2);
  animation: spin 140s linear infinite;
}
.badge-stage__dash::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(240,138,29,.8);
}
.badge-stage__ringtext {
  position: absolute;
  inset: 3%;
  width: 94%; height: 94%;
  fill: rgba(243,236,220,.5);
  font-family: var(--body);
  font-size: 10.4px;
  letter-spacing: .4em;
  text-transform: uppercase;
  animation: spin 120s linear infinite reverse;
}
.badge-stage__badge {
  position: relative;
  z-index: 2;
  width: 76%;
  height: auto;
  transform: rotate(-5deg);
  filter: drop-shadow(0 38px 55px rgba(0,0,0,.55));
  animation: float 9s ease-in-out infinite alternate;
}
.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.65);
}
.chip--est {
  top: 5%; left: 2%;
  background: var(--cream);
  color: var(--ink);
  transform: rotate(-7deg);
}
.chip--cat {
  bottom: 7%; right: 1%;
  background: var(--orange);
  color: var(--ink);
  transform: rotate(4deg);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.chip--cat svg { width: 14px; height: 14px; }
.chip--cat:hover { background: var(--cream); transform: rotate(1deg) translateY(-3px); }

.hero__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 6px;
  padding-bottom: 28px;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(243,236,220,.62);
  text-decoration: none;
  transition: color .25s;
}
.scroll-cue:hover { color: var(--cream); }
.scroll-cue__line {
  width: 46px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243,236,220,.5));
}
.scroll-cue svg { width: 14px; height: 14px; animation: bob 2.4s ease-in-out infinite; }
.hero__foot-note {
  margin: 0;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(243,236,220,.34);
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--orange);
  color: var(--ink);
  border-top: 1px solid rgba(16,27,32,.9);
  border-bottom: 1px solid rgba(16,27,32,.9);
  overflow: hidden;
  padding: 17px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.5vw, 52px);
  padding-right: clamp(26px, 3.5vw, 52px);
}
.marquee__group span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(17px, 2.4vw, 27px);
  letter-spacing: -.015em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.marquee__group b {
  font-weight: 400;
  font-size: clamp(15px, 2vw, 22px);
  color: rgba(16,27,32,.42);
  line-height: 1;
}

/* ---------- Features ---------- */
.feature {
  position: relative;
  padding: clamp(70px, 9vw, 126px) 0;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}
.feature--light {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #565c53;
  --line: rgba(16,27,32,.15);
  --mat: #fffdf6;
  --accent: var(--orange-deep);
  --kicker: var(--orange-deep);
}
.feature--dark {
  --bg: var(--ink);
  --fg: var(--cream);
  --muted: rgba(243,236,220,.63);
  --line: rgba(243,236,220,.16);
  --mat: #19272e;
  --accent: #f6a84c;
  --kicker: rgba(243,236,220,.5);
}
.feature--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 100% 0%, rgba(240,138,29,.09), transparent 65%),
    radial-gradient(520px 420px at 0% 100%, rgba(18,137,123,.07), transparent 65%);
  pointer-events: none;
}
.feature > .wrap { position: relative; z-index: 1; }
.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(46px, 7vw, 108px);
  align-items: center;
}
.feature__copy { max-width: 565px; }
.feature__copy .h2 { max-width: 15ch; }
.feature__copy .body { max-width: 47ch; }
.feature__media {
  display: flex;
  justify-content: center;
  position: relative;
}
.feature--flip .feature__copy { order: 2; }
.feature--flip .feature__media { order: 1; }

.kicker .kicker__num {
  color: var(--fg);
  border-color: var(--line);
  background: transparent;
}

/* Reels */
.reel { position: relative; width: min(100%, 408px); }
.reel__stage { position: relative; }
.reel__offset {
  position: absolute;
  inset: 16px -15px -16px 15px;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--orange), #d96f0c);
  transform: rotate(1.8deg);
  opacity: .92;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
}
.reel__frame {
  position: relative;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--mat);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.60);
}
.reel__video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  background: #091114;
}
.reel__chip {
  position: absolute;
  top: 20px; left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(9,17,20,.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cream);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  z-index: 2;
}
.reel__chip i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,138,29,.22);
  animation: pulse 2.2s ease-in-out infinite;
}
.reel__meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding: 0 4px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.reel__loop { color: var(--accent); opacity: .9; }

.reel__play {
  display: none;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  z-index: 3;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.6);
  transition: transform .25s var(--ease);
}
.reel__play svg { width: 26px; height: 26px; margin-left: 3px; }
.reel__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.reel.is-blocked .reel__play { display: grid; }

/* Ticks + text links */
.ticks {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 11px;
}
.ticks li {
  position: relative;
  padding-left: 25px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .52em;
  width: 7px; height: 7px;
  background: var(--orange);
  transform: rotate(45deg);
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  transition: color .25s, border-color .25s;
}
.textlink svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.textlink:hover { color: var(--accent); border-color: var(--accent); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Services ---------- */
.services {
  position: relative;
  background: var(--ink-2);
  color: var(--cream);
  padding: clamp(88px, 11vw, 150px) 0;
  overflow: hidden;
}
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 480px at 88% 0%, rgba(240,138,29,.13), transparent 62%),
    radial-gradient(620px 480px at 0% 100%, rgba(18,137,123,.11), transparent 62%);
  pointer-events: none;
}
.services > .wrap { position: relative; z-index: 1; }
.services .kicker { --kicker: rgba(243,236,220,.55); }
.services .h2 { max-width: 18ch; margin-bottom: 0; }
.services .h2 em { color: #f6a84c; }
.services__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 62px);
}
.services__note {
  margin: 0 0 5px auto;
  max-width: 43ch;
  font-size: 15px;
  line-height: 1.72;
  color: rgba(243,236,220,.58);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.service {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid rgba(243,236,220,.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 180px at 100% 0%, rgba(240,138,29,.16), transparent 70%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.service:hover {
  transform: translateY(-5px);
  border-color: rgba(240,138,29,.48);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
}
.service:hover::after { opacity: 1; }
.service__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 24px;
  border: 1px solid rgba(243,236,220,.17);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(243,236,220,.62);
  transition: background .35s, color .35s, border-color .35s;
}
.service:hover .service__num {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.service h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.1;
}
.service p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 32ch;
  font-size: 13.5px;
  line-height: 1.62;
  color: rgba(243,236,220,.56);
}
.services__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(243,236,220,.12);
  font-size: 13.5px;
  color: rgba(243,236,220,.5);
}
.services__foot a {
  color: var(--orange);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(240,138,29,.4);
  padding-bottom: 4px;
  transition: color .25s, border-color .25s;
}
.services__foot a:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- About ---------- */
.about {
  background: var(--cream);
  padding: clamp(88px, 11vw, 150px) 0;
  overflow: hidden;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(52px, 8vw, 118px);
  align-items: start;
}
.about__media { position: relative; }
.about__figure { margin: 0; position: relative; }
.about__photo {
  aspect-ratio: 4 / 3;
  border: 8px solid var(--paper-2);
  border-radius: 26px;
  overflow: hidden;
  background: #d9d2c3;
  box-shadow: 0 44px 80px -44px rgba(16,27,32,.5);
  transform: rotate(-1.8deg);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  bottom: -46px;
  left: -22px;
  width: clamp(120px, 15vw, 178px);
  height: auto;
  transform: rotate(-9deg);
  filter: drop-shadow(0 20px 30px rgba(16,27,32,.28));
}
.about__caption {
  margin: 0 0 16px 4px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(16,27,32,.48);
}
.about__copy .h2 { max-width: 14ch; }
.about .h2 em { color: var(--orange-deep); }
.about .body { max-width: 50ch; }
.about__quote {
  margin: 30px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--orange);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 24ch;
}
.about .ticks { margin-bottom: 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(16,27,32,.16);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.035em;
}
.stat > span {
  display: block;
  margin-top: 9px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(16,27,32,.5);
}
.about__aside {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 30px 0 0;
  padding-top: 20px;
  border-top: 1px dashed rgba(16,27,32,.2);
  max-width: 53ch;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(16,27,32,.55);
}
.about__aside svg { width: 16px; height: 16px; flex: none; color: var(--orange-deep); margin-top: 2px; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background: var(--orange);
  color: var(--ink);
  padding: clamp(88px, 11vw, 150px) 0;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16,27,32,.18) 1px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: .42;
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  right: -200px; top: -260px;
  border: 1px solid rgba(16,27,32,.16);
  border-radius: 50%;
  pointer-events: none;
}
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
}
.contact .kicker { --kicker: rgba(16,27,32,.68); }
.contact__title {
  margin: 0 0 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.2rem, 6.3vw, 6rem);
  line-height: .86;
  letter-spacing: -.048em;
}
.contact__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.09em;
  letter-spacing: -.015em;
  padding-right: .05em;
}
.contact__lede {
  max-width: 44ch;
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.66;
  color: rgba(16,27,32,.82);
}
.contact__aside {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  max-width: 43ch;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(16,27,32,.68);
}
.contact__aside svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.contact__card {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--ink);
}
.contact__stamp {
  position: absolute;
  top: -16px; right: 26px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: rotate(2deg);
}
.contact__label {
  margin: 0 0 8px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(16,27,32,.5);
}
.contact__email {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 23px);
  letter-spacing: -.015em;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .25s, border-color .25s;
}
.contact__email:hover { color: var(--orange-deep); border-color: var(--orange-deep); }
.contact__rows {
  margin: 26px 0;
  border-top: 1px solid rgba(16,27,32,.18);
}
.contact__rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(16,27,32,.14);
}
.contact__rows dt {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(16,27,32,.5);
}
.contact__rows dd {
  margin: 0;
  text-align: right;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
.contact__fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 10px;
  color: rgba(16,27,32,.5);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-2);
  color: var(--cream);
  padding: 64px 0 26px;
  border-top: 3px solid var(--orange);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, .8fr);
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(243,236,220,.12);
}
.brand--footer .brand__mark { width: 66px; }
.brand--footer .brand__name { font-size: 17px; }
.footer__tagline {
  margin: 24px 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(243,236,220,.55);
}
.footer__joke {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(243,236,220,.76);
}
.footer__col h4 {
  margin: 8px 0 18px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(243,236,220,.38);
}
.footer__col a,
.footer__col p {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(243,236,220,.7);
  text-decoration: none;
}
.footer__col a { transition: color .25s; }
.footer__col a:hover { color: var(--orange); }
.footer__email { font-family: var(--display); font-size: 15px !important; color: var(--cream) !important; }
.footer__small { font-size: 10.5px !important; color: rgba(243,236,220,.38) !important; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 22px;
  font-size: 10px;
  letter-spacing: .03em;
  color: rgba(243,236,220,.38);
}
.footer__bottom p { margin: 0; }
.footer__credit {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px !important;
  color: rgba(243,236,220,.52);
}
.footer__top {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(243,236,220,.55);
  transition: color .25s;
}
.footer__top:hover { color: var(--orange); }

/* ---------- Progress + reveal ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  width: 100%;
  height: 2.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  pointer-events: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes float {
  from { transform: rotate(-5deg) translateY(0); }
  to { transform: rotate(-3.4deg) translateY(-12px); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .hero__title { font-size: clamp(2.9rem, 5.3vw, 4.8rem); }
  .badge-stage { width: min(100%, 480px); }
}

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__grid { gap: 60px; }
  .feature__grid { gap: clamp(38px, 5vw, 64px); }
  .reel { width: min(100%, 372px); }
}

@media (max-width: 940px) {
  .site-header__inner { height: 76px; }
  .site-header.is-scrolled .site-header__inner { height: 64px; }
  .brand__mark { width: 46px; }
  .site-header.is-scrolled .brand__mark { width: 40px; }
  .menu-btn { display: grid; }
  .site-header__actions .btn--header { display: none; }

  .nav {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 70;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding: calc(var(--header-h) + 34px) clamp(24px, 6vw, 48px) 40px;
    background: var(--ink-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    padding: 9px 0;
    font-family: var(--display);
    font-size: clamp(30px, 6.5vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.03em;
    text-transform: none;
    color: var(--cream);
  }
  .nav a::after { display: none; }
  .nav__mobile-cta {
    display: inline-flex;
    margin-top: 26px;
    padding: 16px 26px !important;
    font-family: var(--body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: var(--ink) !important;
  }
  .site-header.is-open {
    background: var(--ink-2);
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header.is-open .brand { position: relative; z-index: 80; }
  .site-header.is-open .brand__mark { width: 42px; }

  .hero { padding-top: 76px; }
  .hero__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-top: 48px;
    padding-bottom: 44px;
  }
  .hero__copy { max-width: 640px; }
  .hero__title { font-size: clamp(3rem, 8.4vw, 5rem); }
  .hero__art { margin-top: 4px; }
  .badge-stage { width: min(78vw, 430px); }
  .hero__foot { padding-bottom: 24px; }

  .feature { padding: clamp(64px, 9vw, 92px) 0; }
  .feature__grid { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  .feature--flip .feature__copy,
  .feature__copy { order: 2; max-width: 620px; }
  .feature--flip .feature__media,
  .feature__media { order: 1; }
  .feature__copy .h2 { max-width: 18ch; }
  .reel { width: min(100%, 380px); }
  .feature--flip .reel { margin-inline: auto; }
  .feature__media .reel { margin-inline: auto; }
  .feature__copy { margin-inline: auto; width: 100%; }

  .services__head { grid-template-columns: 1fr; gap: 26px; align-items: start; }
  .services__note { margin-left: 0; }

  .about__grid { grid-template-columns: 1fr; gap: 70px; }
  .about__media { max-width: 580px; margin-inline: auto; width: 100%; }
  .about__copy { max-width: 620px; }

  .contact__grid { grid-template-columns: 1fr; gap: 54px; }
  .contact__card { max-width: 540px; margin-inline: auto; width: 100%; }
  .contact__title { font-size: clamp(3rem, 9vw, 5rem); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .wrap { padding-inline: 20px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 13.5px; }
  .brand__mark { width: 42px; }
  .site-header.is-scrolled .brand__mark { width: 38px; }
  .site-header.is-scrolled .site-header__inner { height: 60px; }

  .hero__main { padding-top: 38px; padding-bottom: 36px; gap: 34px; }
  .hero__title { font-size: clamp(2.7rem, 11.8vw, 3.8rem); margin: 22px 0 22px; }
  .hero__lede { font-size: 15.5px; }
  .hero__actions { gap: 10px; margin-top: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { margin-top: 30px; gap: 8px 18px; }
  .hero__meta li { font-size: 8.5px; }
  .badge-stage { width: min(82vw, 340px); }
  .chip { padding: 8px 12px; font-size: 8px; }
  .chip--cat svg { width: 12px; height: 12px; }
  .hero__foot { justify-content: center; }
  .hero__foot-note { display: none; }
  .scroll-cue__line { width: 28px; }

  .marquee { padding: 14px 0; }
  .marquee__group { gap: 24px; padding-right: 24px; }

  .h2 { font-size: clamp(2.15rem, 8.8vw, 3rem); }

  .feature { padding: 58px 0; }
  .feature__grid { gap: 38px; }
  .reel { width: min(100%, 340px); }
  .reel__offset { inset: 12px -10px -12px 12px; border-radius: 26px; }
  .reel__frame { padding: 7px; border-radius: 25px; }
  .reel__video { border-radius: 19px; }
  .reel__meta { font-size: 7.5px; letter-spacing: .12em; }
  .reel__chip { top: 16px; left: 16px; }
  .ticks li { font-size: 14px; }
  .textlink { font-size: 11px; }

  .services { padding: 76px 0; }
  .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 24px 22px 26px; }
  .service p { max-width: 40ch; }
  .services__foot { font-size: 12.5px; }

  .about { padding: 76px 0; }
  .about__grid { gap: 56px; }
  .about__photo { border-width: 6px; border-radius: 20px; }
  .about__badge { width: 116px; bottom: -38px; left: -10px; }
  .about__caption { margin: 0 0 14px 2px; font-size: 8px; }
  .about__quote { font-size: 25px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .about__aside { font-size: 11.5px; }

  .contact { padding: 76px 0; }
  .contact__title { font-size: clamp(2.8rem, 13vw, 4rem); }
  .contact__card { box-shadow: 8px 8px 0 var(--ink); border-radius: 22px; }
  .contact__stamp { right: 18px; }
  .contact__rows > div { flex-direction: column; align-items: flex-start; gap: 3px; }
  .contact__rows dd { text-align: left; }

  .footer { padding-top: 52px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 38px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 10.3vw; }
  .hero__actions .btn { font-size: 13px; }
  .marquee__group span { font-size: 15px; }
  .reel__meta { font-size: 7px; letter-spacing: .08em; }
  .contact__title { font-size: 2.75rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .marquee__track { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .badge-stage__badge { transform: rotate(-5deg); }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .scroll-progress, .marquee, .hero__art, .reel, .menu-btn, .skip-link { display: none !important; }
  .hero { min-height: auto; background: #fff; color: #000; }
  body { background: #fff; }
  .feature, .services, .about, .contact, .footer { background: #fff !important; color: #000 !important; }
}
