/* =========================================================
   OPMarketing — high-end agency site
   ========================================================= */

:root {
  /* Palette pulled from pixila.net — warm near-black + cream + mustard gold */
  --bg:          #13100c;
  --bg-2:        #1a1610;
  --surface:     #211b14;
  --surface-2:   #2a2218;
  --line:        rgba(236, 227, 210, 0.08);
  --line-strong: rgba(236, 227, 210, 0.18);

  --ink:         #ece3d2;
  --ink-2:       rgba(236, 227, 210, 0.62);
  --ink-3:       rgba(236, 227, 210, 0.40);
  --ink-4:       rgba(236, 227, 210, 0.20);

  --accent:      #cb9847;
  --accent-2:    #e0b768;
  --accent-rgb:  203, 152, 71;

  --display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif:   "Instrument Serif", "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 6px;
  --r:    14px;
  --r-lg: 24px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --pad:   clamp(20px, 4vw, 56px);
  --pad-y: clamp(80px, 12vw, 160px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html { scroll-behavior: auto; }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: #13100c; }

/* ---------- Custom cursor ---------- */
@media (pointer: fine) {
  body, a, button, [data-magnetic], input, textarea { cursor: none; }
  .cursor { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
  .cursor__dot {
    position: absolute; left: -3px; top: -3px;
    width: 6px; height: 6px;
    background: #fff; border-radius: 50%;
    transition: transform .25s var(--ease-out);
  }
  .cursor__ring {
    position: absolute; left: -16px; top: -16px;
    width: 32px; height: 32px;
    border: 1px solid #fff; border-radius: 50%;
    transition: transform .35s var(--ease-out), width .35s var(--ease-out), height .35s var(--ease-out), left .35s var(--ease-out), top .35s var(--ease-out), border-color .35s var(--ease-out);
  }
  .cursor.is-hover .cursor__dot { transform: scale(1); }
  .cursor.is-hover .cursor__ring {
    width: 60px; height: 60px;
    left: -30px; top: -30px;
  }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -100%;
  pointer-events: none;
  z-index: 50;
  opacity: .055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
  animation: grain 1.6s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-6%, 3%); }
  40%  { transform: translate(4%, -2%); }
  60%  { transform: translate(-2%, 5%); }
  80%  { transform: translate(3%, -4%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  gap: 0;
  transition: opacity .6s var(--ease-out), visibility .6s var(--ease-out);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__word {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(32px, 7vw, 96px);
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  animation: fadeWord 1.6s var(--ease-out) .2s forwards;
  margin-bottom: 32px;
  text-align: center;
}
@keyframes fadeWord {
  0%   { opacity: 0; transform: translateY(8px); }
  60%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; }
}
.loader__bar {
  width: 100%;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width .15s linear;
}
.loader__count {
  align-self: flex-start;
  display: flex; align-items: flex-end;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
}
.loader__count i { font-style: normal; margin-left: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), padding .4s var(--ease-out);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
}
.nav.is-stuck {
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo {
  height: 38px;
  width: auto;
  color: var(--ink);
  transition: transform .4s var(--ease-out), opacity .3s;
}
.nav.is-stuck .nav__logo { height: 32px; }
.nav__brand:hover .nav__logo { transform: translateY(-1px); opacity: .85; }
@media (max-width: 520px) { .nav__logo { height: 30px; } }

.nav__links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px 11px 24px;
  background: var(--accent);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #13100c;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  transition: background .35s, color .35s;
}
.nav__cta .arrow { width: 14px; height: 14px; display: inline-flex; transition: transform .35s var(--ease-out); }
.nav__cta:hover { background: var(--accent-2); }
.nav__cta:hover .arrow { transform: translateX(4px); }

/* Nav dropdown */
.nav__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .25s;
}
.nav__dropdown-trigger::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__dropdown:hover .nav__dropdown-trigger { color: var(--ink); }
.nav__dropdown:hover .nav__dropdown-trigger::after { transform: scaleX(1); }
.nav__dropdown-arrow {
  width: 10px; height: 6px; flex-shrink: 0;
  color: var(--ink-3);
  transition: transform .3s var(--ease-out);
}
.nav__dropdown:hover .nav__dropdown-arrow { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 190px;
  background: rgba(26,22,16,.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  z-index: 200;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav__dropdown-menu a::after { display: none !important; }
.nav__dropdown-menu a:hover { background: var(--surface); color: var(--accent); }

/* Mobile nav hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.nav__hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .3s;
  transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu drawer */
.nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,8,6,.97);
  backdrop-filter: blur(20px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.nav__drawer.is-open {
  opacity: 1;
  pointer-events: all;
}
.nav__drawer a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 6.5vw, 40px);
  text-transform: uppercase;
  letter-spacing: -.03em;
  color: var(--ink);
  transition: color .25s;
  opacity: 0;
  transform: translateY(22px);
  transition: color .25s, opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.nav__drawer.is-open a:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: .05s; }
.nav__drawer.is-open a:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .09s; }
.nav__drawer.is-open a:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .13s; }
.nav__drawer.is-open a:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .17s; }
.nav__drawer.is-open a:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: .21s; }
.nav__drawer.is-open a:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: .25s; }
.nav__drawer.is-open a:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: .29s; }
.nav__drawer.is-open a:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: .33s; }
.nav__drawer a:hover { color: var(--accent); }
.nav__drawer .nav__cta {
  font-size: 14px;
  padding: 14px 28px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(22px);
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__drawer { display: flex; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 100px var(--pad) 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__meta, .hero__descriptor, .hero__title, .hero__lede, .hero__bottom { position: relative; z-index: 2; }
.hero__topleft {
  position: absolute;
  top: 100px;
  left: var(--pad);
  z-index: 2;
}
.hero__descriptor {
  margin: 20px 0 0;
  text-align: left;
  font-family: var(--mono);
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  animation: fadeDescriptor .8s var(--ease-out) .6s forwards;
}
@keyframes fadeDescriptor {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.hero__meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

.hero__title {
  align-self: center;
  margin: 40px 0 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 9.4vw, 160px);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-align: center;
}
.hero__title em { font-style: normal; color: var(--accent-2); }

/* Single-line headline: size to fit "BUILT FOR THE CLIMB." on one row.
   ~20 chars; tuned so it fills the width without overflowing. */
.hero__title--one {
  font-size: clamp(32px, 7.4vw, 132px);
  letter-spacing: -.04em;
}
.hero__title--one .line { white-space: nowrap; }
@media (max-width: 768px) {
  .hero__title--one { font-size: clamp(36px, 12vw, 72px); }
  .hero__title--one .line { white-space: normal; }
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .reveal {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.is-loaded .hero__title .reveal {
  animation: rise 1s var(--ease-out) forwards;
}
.is-loaded .hero__title .line:nth-child(1) .reveal { animation-delay: .05s; }
.is-loaded .hero__title .line:nth-child(2) .reveal { animation-delay: .15s; }
.is-loaded .hero__title .line:nth-child(3) .reveal { animation-delay: .25s; }
.is-loaded .hero__title .line:nth-child(4) .reveal { animation-delay: .35s; }
@keyframes rise {
  to { transform: translateY(0); opacity: 1; }
}

.hero__bottom {
  position: absolute;
  bottom: 40px;
  right: var(--pad);
  z-index: 2;
}
@media (max-width: 768px) {
  .hero { padding-top: 120px; padding-bottom: 160px; }
  .hero__scroll { display: none; }
  .hero__lede { font-size: 15px; max-width: 90%; margin-bottom: 20px; }
}
.hero__lede {
  max-width: 600px;
  margin: 24px auto 0;
  text-align: center;
  font-size: clamp(15px, 1.3vw, 19px);
  color: var(--ink-2);
  line-height: 1.55;
}
.hero__scroll {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero__scroll i {
  display: block;
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--ink-3), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: -50%; }
  100% { top: 110%; }
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #13100c; /* fallback before first frame paints */
  opacity: 0;
  transform: scale(1.04);
  animation: heroVidIn 1.8s var(--ease-out) .2s forwards;
}
@keyframes heroVidIn {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1.04); }
}
/* Legibility scrim tuned for the bright wireframe video:
   - heavy top band so the headline reads against the glowing center
   - left-weighted darken under the text
   - fade to page bg at the bottom for a clean handoff to the marquee */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(19,16,12,.78) 0%, rgba(19,16,12,.40) 30%, rgba(19,16,12,.30) 55%, rgba(19,16,12,.72) 88%, var(--bg) 100%),
    linear-gradient(100deg, rgba(19,16,12,.85) 0%, rgba(19,16,12,.55) 34%, rgba(19,16,12,.12) 66%, rgba(19,16,12,0) 100%);
}
/* Mobile: reframe to show more mountain, zoom in from there */
@media (max-width: 768px) {
  .hero__video {
    object-position: 50% 50%;
    transform: scale(1.12);
    animation: heroVidInMobile 2s var(--ease-out) .2s forwards;
  }
  @keyframes heroVidInMobile {
    from { opacity: 0; transform: scale(1.22); object-position: 50% 50%; }
    to   { opacity: 1; transform: scale(1.12); object-position: 50% 50%; }
  }
}

/* respect reduced-motion: skip the scale-in */
@media (prefers-reduced-motion: reduce) {
  .hero__video { opacity: 1; transform: none; animation: none; }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  mix-blend-mode: screen;
}
.orb--1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(203,152,71,.28), transparent 65%);
  top: -18%; right: -14%;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb--2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(224,183,104,.18), transparent 65%);
  bottom: -22%; left: -12%;
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.08); }
}

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-2);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: clamp(24px, 3.6vw, 48px);
  color: var(--ink);
  animation: marquee 40s linear infinite;
  padding-left: 100%;
}
.marquee__track span:nth-child(even) { color: var(--accent); font-size: .6em; }
@keyframes marquee {
  to { transform: translateX(-100%); }
}

/* ---------- Generic section bits ---------- */
.section__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section__label i { font-style: normal; color: var(--accent); }

.section__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 18px 0 0;
}
.section__title em { font-style: normal; color: var(--accent); }

/* ---------- MANIFESTO ---------- */
.manifesto {
  padding: var(--pad-y) var(--pad);
  display: grid;
  gap: 36px;
}
.manifesto__text {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-transform: uppercase;
  margin: 0;
  max-width: 1300px;
}
.manifesto__text em { font-style: normal; color: var(--accent); }
.reveal-word {
  display: inline-block;
  opacity: .15;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transform: translateY(.18em);
  margin-right: .26em;
}
.reveal-word.is-in { opacity: 1; transform: translateY(0); }

/* ---------- SERVICES ---------- */
.services {
  padding: var(--pad-y) var(--pad);
  border-top: 1px solid var(--line);
}
.services__head {
  display: grid;
  gap: 18px;
  margin-bottom: 64px;
  max-width: 1100px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 820px) {
  .services__grid { grid-template-columns: 1fr; }
}
.service {
  position: relative;
  padding: clamp(28px, 3.5vw, 56px);
  background: var(--bg);
  transition: background .4s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.service::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(203,152,71,.10), transparent 40%);
  opacity: 0;
  transition: opacity .35s;
  z-index: 0;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service > * { position: relative; z-index: 1; }
.service__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .08em;
}
.service__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  margin: 14px 0 22px;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.service__copy {
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 46ch;
  line-height: 1.55;
}
.service__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  font-size: 14px;
  color: var(--ink);
}
.service__list li {
  position: relative;
  padding-left: 18px;
}
.service__list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
}
.service--feature { background: var(--surface); }
.service--feature .service__title { color: var(--accent); }

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: clamp(60px, 10vw, 120px) var(--pad);
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(203,152,71,.13), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent calc(25% - 0.5px),
    var(--line) calc(25% - 0.5px),
    var(--line) 25%
  );
  pointer-events: none;
}
@media (max-width: 980px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stats { grid-template-columns: 1fr; } }
.stat {
  position: relative;
  padding: 40px 40px 40px 0;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 4px;
}
.stat__num {
  grid-row: 1;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--ink) 40%, rgba(236,227,210,.45));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__suffix {
  grid-row: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--accent);
  padding-bottom: .28em;
  -webkit-text-fill-color: var(--accent);
}
.stat p {
  grid-row: 2;
  grid-column: 1 / -1;
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-3);
  max-width: 28ch;
  line-height: 1.5;
  letter-spacing: .01em;
}
@media (max-width: 980px) {
  .stat { padding: 40px 24px 40px 0; }
}
@media (max-width: 540px) {
  .stat { padding: 32px 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- WORK ---------- */
.work {
  padding: var(--pad-y) var(--pad);
}
.work__head {
  display: grid;
  gap: 18px;
  margin-bottom: 72px;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 1100px) { .work__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .work__grid { grid-template-columns: 1fr; } }

.case {
  display: block;
  transition: transform .6s var(--ease-out);
}
.case:nth-child(even) { transform: translateY(0); }
@media (max-width: 1100px) { .case:nth-child(even) { transform: translateY(40px); } }
@media (max-width: 600px) { .case:nth-child(even) { transform: none; } }

.case__visual {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 22px;
  transition: transform .8s var(--ease-out);
}
.case:hover .case__visual { transform: scale(.985); }
.case__shape {
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease-out), filter .8s;
}
.case:hover .case__shape { transform: scale(1.06); filter: brightness(1.1); }

/* Photo case variant (Halcyon Coffee Co.) */
.case__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1.2s var(--ease-out), filter .8s;
}
.case__visual--photo::after {
  /* warm tint + edge vignette so the bright photo matches the dark grid */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19,16,12,.10) 0%, rgba(19,16,12,.06) 55%, rgba(19,16,12,.55) 100%),
    radial-gradient(120% 90% at 50% 40%, rgba(203,152,71,.10), transparent 70%);
  mix-blend-mode: normal;
  pointer-events: none;
  transition: opacity .6s var(--ease-out);
}
.case:hover .case__img { transform: scale(1.06); filter: brightness(1.06) saturate(1.05); }

.case__visual--1 .case__shape {
  background:
    radial-gradient(60% 80% at 30% 30%, #3a2a18 0%, transparent 60%),
    radial-gradient(50% 80% at 70% 70%, rgba(203,152,71,.18) 0%, transparent 60%),
    linear-gradient(140deg, #1a140d, #13100c);
}
.case__visual--2 .case__shape {
  background:
    radial-gradient(70% 70% at 70% 30%, #4a3318 0%, transparent 60%),
    radial-gradient(40% 60% at 20% 80%, rgba(224,183,104,.16) 0%, transparent 60%),
    linear-gradient(200deg, #1d150d, #13100c);
}
.case__visual--3 .case__shape {
  background:
    radial-gradient(60% 80% at 50% 20%, #2a1f12 0%, transparent 60%),
    radial-gradient(40% 60% at 80% 90%, rgba(203,152,71,.14) 0%, transparent 60%),
    linear-gradient(170deg, #16110b, #13100c);
}
.case__visual--4 .case__shape {
  background:
    radial-gradient(60% 80% at 20% 70%, #3d2914 0%, transparent 60%),
    radial-gradient(40% 60% at 90% 20%, rgba(224,183,104,.18) 0%, transparent 60%),
    linear-gradient(150deg, #1b1208, #13100c);
}

.case__meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.case__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 18px;
  max-width: 24ch;
  transition: color .3s;
}
.case:hover .case__title { color: var(--accent); }
.case__tags {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.case__tags li {
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ---------- PROCESS ---------- */
.process {
  padding: var(--pad-y) var(--pad);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
}
@media (max-width: 980px) {
  .process { grid-template-columns: 1fr; }
  .process__head { position: static; }
}
.process__head {
  position: sticky;
  top: 120px;
  align-self: start;
  display: grid;
  gap: 24px;
}
.process__intro {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 38ch;
  line-height: 1.55;
}
.process__steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  background: var(--bg-2);
  padding: 40px 0;
  display: grid;
  gap: 14px;
}
.step__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--accent);
  text-transform: uppercase;
}
.step__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 52ch;
  line-height: 1.55;
}

/* ---------- AI ---------- */
.ai {
  padding: var(--pad-y) var(--pad);
}
.ai__head {
  max-width: 1100px;
  display: grid; gap: 18px;
  margin-bottom: 64px;
}
.ai__head .section__title {
  font-size: clamp(28px, 3.2vw, 52px);
}
.ai__intro {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 18px);
  max-width: 60ch;
  line-height: 1.55;
}
.ai__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 820px) { .ai__grid { grid-template-columns: 1fr; } }
.ai__card {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg));
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out);
  overflow: hidden;
}
.ai__card::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left .8s var(--ease-out);
}
.ai__card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.ai__card:hover::after { left: 100%; }
.ai__card header {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.ai__role {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.ai__price {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}
.ai__card p {
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.ai__card footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* ---------- PACKAGES ---------- */
.pkg__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.4vw, 22px);
}
@media (max-width: 1080px) { .pkg__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .pkg__grid { grid-template-columns: 1fr; } }

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg));
  transition: border-color .35s var(--ease-out), transform .35s var(--ease-out), background .35s;
  overflow: hidden;
  isolation: isolate;
}
.pkg::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: left 1s var(--ease-out);
}
.pkg:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pkg:hover::after { left: 160%; }

.pkg--feature {
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(203,152,71,.10), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--bg));
  border-color: rgba(203,152,71,.36);
}
.pkg__flag {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #13100c;
  background: var(--accent);
  padding: 4px 10px;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
}

.pkg__head {
  display: grid;
  gap: 6px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.pkg__name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pkg__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 8px 0 6px;
}
.pkg__price span {
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink-2);
  padding-bottom: .25em;
}
.pkg__price strong {
  font-weight: 400;
  font-size: clamp(48px, 5.6vw, 72px);
  color: var(--ink);
}
.pkg__price em {
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--ink-3);
  padding-bottom: .5em;
}
.pkg--feature .pkg__price strong { color: var(--accent); }
.pkg__tagline {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 14px;
}

.pkg__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}
.pkg__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.pkg__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 10px; height: 1px;
  background: var(--accent);
}

.pkg__cta {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 13px;
  transition: background .3s, color .3s, border-color .3s;
  align-self: stretch;
}
.pkg__cta .arrow { width: 14px; height: 14px; display: inline-flex; transition: transform .35s var(--ease-out); }
.pkg__cta:hover { background: var(--accent); color: #13100c; border-color: var(--accent); }
.pkg__cta:hover .arrow { transform: translateX(4px); }
.pkg--feature .pkg__cta {
  background: var(--accent);
  color: #13100c;
  border-color: var(--accent);
}
.pkg--feature .pkg__cta:hover { background: var(--accent-2); border-color: var(--accent-2); }

.pkg__foot {
  margin: 32px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .04em;
}

/* ---------- QUOTE ---------- */
.quote {
  padding: var(--pad-y) var(--pad);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(203,152,71,.10), transparent 60%),
    var(--bg);
}
.quote__mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 140px;
  line-height: .6;
  color: var(--accent);
  margin-bottom: 24px;
}
.quote blockquote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 24px);
  line-height: 1.5;
  letter-spacing: .01em;
  text-transform: none;
  max-width: 26ch;
  margin: 0 auto 36px;
}
.quote__attr {
  display: grid; gap: 4px;
  font-size: 14px;
  color: var(--ink-2);
}
.quote__attr strong { color: var(--ink); font-weight: 500; }

/* ---------- CTA ---------- */
.cta {
  padding: var(--pad-y) var(--pad);
}
.cta__inner {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.cta__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 5.6vw, 80px);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 8px 0 0;
  white-space: nowrap;
}
.cta__title em { font-style: normal; color: var(--accent); }
.cta__sub {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 58ch;
  line-height: 1.55;
}
.cta__calendar {
  margin-top: 32px;
  width: 100%;
  max-width: 900px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.cta__calendar iframe {
  display: block;
  width: 100%;
  height: 555px;
  margin-bottom: -62px;
  border: none;
  filter: invert(1) sepia(0.55) saturate(1.4) brightness(0.82) contrast(0.92);
}
@media (max-width: 640px) {
  .cta__calendar iframe { height: 720px; margin-bottom: -62px; }
}

/* ---------- FOOTER ---------- */
.foot {
  padding: 80px var(--pad) 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.foot__big {
  display: block;
  width: clamp(220px, 34vw, 380px);
  height: auto;
  margin: 0 auto 64px;
  user-select: none;
  overflow: visible;
}
.foot__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot__grid > div { display: grid; gap: 8px; align-content: start; }
.foot__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.foot__grid a, .foot__grid p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0;
  transition: color .3s;
}
.foot__grid a:hover { color: var(--accent); }
.foot__legal {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .04em;
  padding-top: 32px;
}
@media (max-width: 600px) { .foot__legal { flex-direction: column; gap: 8px; } }

/* ---------- Reveal on scroll ---------- */
.r-up { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.r-up.is-in { opacity: 1; transform: translateY(0); }

/* prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { transform: none !important; opacity: 1 !important; }
  .reveal-word { opacity: 1 !important; transform: none !important; }
}
