/* =========================================================
   Leading Click · /new
   Editorial-tech. Dark. Variable serif. Built to be remembered.
   ========================================================= */

:root {
  /* color */
  --bg:        #0a0a08;
  --bg-2:      #111110;
  --surface:   #15140f;
  --line:      #2a2822;
  --line-soft: #1d1c17;
  --bone:      #f4efde;
  --bone-2:    #e7e1cd;
  --muted:     #87826f;
  --muted-2:   #5a5648;
  --accent:    #3b82f6;
  --accent-2:  #1d4ed8;
  --critical:  #ffb74a;

  /* type */
  --display: "Fraunces", "Times New Roman", serif;
  --sans:    "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* metrics */
  --pad-x: clamp(20px, 5vw, 96px);
  --max:   1480px;
  --rule:  1px;

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

@font-face {
  font-family: "Geist";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Variable.woff2") format("woff2-variations");
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "kern";
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 900px), (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none !important; }
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- atmosphere ---------- */

.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 99;
  background:
    radial-gradient(80vw 60vh at 12% -10%, rgba(59,130,246,.12), transparent 60%),
    radial-gradient(60vw 60vh at 110% 110%, rgba(255,183,74,.05), transparent 60%),
    radial-gradient(120vw 90vh at 50% 60%, rgba(0,0,0,.45), transparent 60%);
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(244,239,222,.55);
  pointer-events: none;
  z-index: 1000;
  transform: translate3d(-100px,-100px,0);
  mix-blend-mode: difference;
  transition: width .25s var(--ease), height .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.cursor span {
  position: absolute; inset: 0; margin: auto;
  width: 4px; height: 4px;
  background: var(--bone);
  border-radius: 999px;
  transition: transform .25s var(--ease);
}
.cursor.is-hover {
  width: 64px; height: 64px;
  background: var(--accent);
  border-color: var(--accent);
  mix-blend-mode: normal;
}
.cursor.is-hover span { transform: scale(0); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px var(--pad-x);
  background: linear-gradient(to bottom, rgba(10,10,8,.85), rgba(10,10,8,.55) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex; align-items: center;
  justify-self: start;
}
.brand-logo {
  height: 26px;
  width: auto;
  display: block;
  transition: opacity .25s var(--ease);
}
.brand:hover .brand-logo { opacity: .8; }
@media (max-width: 480px) {
  .brand-logo { height: 22px; }
}

.nav-links {
  justify-self: center;
  display: flex; gap: 4px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 10px 14px;
  color: var(--bone-2);
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(244,239,222,.02);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
}

/* ---------- shared section heads ---------- */

.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 980px;
  margin: 0 0 80px;
}
.sec-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-num.light { color: var(--bg); opacity: .55; }

.sec-title {
  font-family: var(--display);
  font-weight: 350;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(40px, 6vw, 92px);
  line-height: .98;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--bone);
  text-wrap: balance;
}
.sec-title em {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--accent);
}
.sec-desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  will-change: transform;
  overflow: hidden;
}
.btn--lg { padding: 22px 30px; font-size: 13px; }
.btn--primary {
  background: var(--bone);
  color: var(--bg);
  border-color: var(--bone);
}
.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn--ghost {
  color: var(--bone);
  background: transparent;
}
.btn--ghost:hover {
  background: rgba(244,239,222,.06);
  border-color: var(--bone-2);
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(120px, 16vh, 180px) var(--pad-x) clamp(60px, 10vh, 110px);
  display: grid;
  align-content: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: contrast(1.02) saturate(1.05) brightness(.92);
  animation: heroFade 1.6s var(--ease-out) both;
}
@keyframes heroFade {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70vw 65vh at 12% 115%, rgba(10,10,8,.85), transparent 55%),
    linear-gradient(180deg, rgba(10,10,8,.10) 0%, rgba(10,10,8,0) 30%, rgba(10,10,8,.25) 75%, rgba(10,10,8,.85) 100%);
}

.hero-card {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(28px, 3.6vw, 52px);
  background: rgba(15,14,10,.62);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(244,239,222,.10);
  border-radius: 24px;
  box-shadow:
    0 1px 0 rgba(244,239,222,.06) inset,
    0 30px 80px -20px rgba(0,0,0,.55),
    0 8px 30px -10px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 12px 8px;
  border-radius: 999px;
}
.tag--dot::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(59,130,246,.28);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(59,130,246,.28); }
  50%      { box-shadow: 0 0 0 8px rgba(59,130,246,0);   }
}

.hero-h {
  font-family: var(--display);
  font-weight: 320;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: .98;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--bone);
  text-wrap: balance;
}
.hero-h .line { display: block; }
.hero-h .line:nth-child(2) { padding-left: clamp(20px, 3vw, 40px); }
.hero-h .line:nth-child(3) { padding-left: clamp(8px, 1.5vw, 16px); }

.hero-italic {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero-italic::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: .055em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: heroLine 1.2s var(--ease-out) 1.6s forwards;
}
@keyframes heroLine { to { transform: scaleX(1); } }

/* rotator */
.rotator {
  display: inline-block;
  vertical-align: baseline;
  height: 0.95em;
  overflow: hidden;
  position: relative;
  margin: 0 0.05em;
}
.r-track {
  display: flex;
  flex-direction: column;
  animation: rotate 12s cubic-bezier(.7,.0,.3,1) infinite;
}
.r-word {
  display: block;
  height: 0.95em;
  line-height: .95;
  white-space: nowrap;
}
.r-word em {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--accent);
}
@keyframes rotate {
  0%, 22%   { transform: translateY(0%); }
  25%, 47%  { transform: translateY(-20%); }
  50%, 72%  { transform: translateY(-40%); }
  75%, 97%  { transform: translateY(-60%); }
  100%      { transform: translateY(-80%); }
}

.hero-sub {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.5;
  color: var(--bone-2);
  max-width: 56ch;
  margin: 0;
  font-weight: 380;
}
.hero-sub .emph,
.hero-sub em {
  color: var(--bone);
  font-style: italic;
  font-family: var(--display);
  font-variation-settings: "opsz" 36, "SOFT" 70;
  font-weight: 400;
}
.svc-body p em {
  font-style: italic;
  font-family: var(--display);
  font-variation-settings: "opsz" 36, "SOFT" 100;
  color: var(--bone-2);
  font-weight: 380;
}
.pkg p em {
  font-style: italic;
  font-family: var(--display);
  font-variation-settings: "opsz" 24, "SOFT" 100;
  color: var(--accent);
  font-weight: 400;
}
.hero-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}

@media (max-width: 760px) {
  .hero {
    min-height: 96svh;
    padding-top: 96px;
    padding-bottom: 56px;
    gap: clamp(20px, 3vh, 40px);
  }
  .hero-card {
    padding: 20px 22px;
    border-radius: 18px;
    gap: 16px;
  }
  .hero-meta { gap: 8px; }
  .hero-meta .tag {
    font-size: 9.5px;
    padding: 5px 10px;
    letter-spacing: .14em;
  }
  .hero-h {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.04;
  }
  .hero-h .line:nth-child(2) { padding-left: 4vw; }
  .hero-h .line:nth-child(3) { padding-left: 2vw; }
  .hero-sub {
    font-size: 14px;
    line-height: 1.45;
  }
  .hero-actions { gap: 8px; }
  .hero-actions .btn {
    padding: 13px 18px;
    font-size: 11px;
  }
  /* Lighten veil on mobile so the sun reads in the top portion above the card */
  .hero-veil {
    background:
      radial-gradient(110vw 55vh at 50% 120%, rgba(10,10,8,.82), transparent 55%),
      linear-gradient(180deg, rgba(10,10,8,.10) 0%, rgba(10,10,8,0) 35%, rgba(10,10,8,.20) 70%, rgba(10,10,8,.78) 100%);
  }
  /* Crop video toward the action — on mobile the sun is more central if we anchor to top-center */
  .hero-video {
    object-position: center 30%;
  }
  .scroll-cue { display: none; }
}

.scroll-cue {
  position: absolute;
  right: var(--pad-x); bottom: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bone-2);
  z-index: 3;
  mix-blend-mode: difference;
}
.scroll-cue svg { animation: nudge 2s var(--ease) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ---------- marquee ---------- */

.stack {
  border-top: var(--rule) solid var(--line);
  border-bottom: var(--rule) solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(60vw 30vh at 50% 50%, rgba(59,130,246,.06), transparent 70%),
    var(--bg-2);
}
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: var(--rule) solid var(--line-soft);
}
.marquee:first-child { border-top: 0; }
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 320;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  white-space: nowrap;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.marquee-track span:nth-child(2n) { color: var(--muted-2); }
.marquee--right .marquee-track {
  animation: scroll-l 50s linear infinite;
}
.marquee--left .marquee-track {
  animation: scroll-r 60s linear infinite;
}
.marquee-track .m-italic {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--accent);
}
@keyframes scroll-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- services ---------- */

.services {
  padding: clamp(100px, 14vh, 180px) var(--pad-x) clamp(80px, 12vh, 140px);
  max-width: var(--max);
  margin: 0 auto;
}
.svc-list {
  list-style: none; padding: 0; margin: 0;
}
.svc {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: clamp(20px, 5vw, 80px);
  padding: clamp(40px, 6vh, 80px) 0;
  border-top: var(--rule) solid var(--line);
  align-items: start;
  position: relative;
}
.svc:last-child { border-bottom: var(--rule) solid var(--line); }
.svc::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0;
  background: linear-gradient(to bottom, rgba(59,130,246,.07), transparent);
  transition: height .6s var(--ease-out);
  z-index: -1;
  pointer-events: none;
}
.svc:hover::before { height: 100%; }

.svc-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 280;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(80px, 10vw, 160px);
  line-height: .85;
  color: var(--accent);
  letter-spacing: -0.04em;
  position: sticky;
  top: 100px;
  align-self: start;
}
.svc:hover .svc-num {
  font-variation-settings: "opsz" 144, "SOFT" 0;
  transition: font-variation-settings .8s var(--ease-out);
}
.svc-body h3 {
  font-family: var(--display);
  font-weight: 320;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: clamp(34px, 4.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--bone);
}
.svc-body h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--bone-2);
}
.svc-body p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 24px;
}
.svc-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; padding: 0; margin: 0;
}
.svc-tags li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.svc:hover .svc-tags li { color: var(--bone-2); border-color: var(--line); }
.svc-tags li:hover { color: var(--accent); border-color: var(--accent); background: rgba(59,130,246,.10); }

@media (max-width: 800px) {
  .svc { grid-template-columns: 1fr; }
  .svc-num { position: static; }
}

/* ---------- process ---------- */

.process {
  padding: clamp(100px, 14vh, 180px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.proc-stage {
  position: relative;
}
.proc-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: var(--rule) solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}
.proc-step {
  padding: clamp(28px, 4vw, 48px);
  border-right: var(--rule) solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background .35s var(--ease);
}
.proc-step:last-child { border-right: 0; }
.proc-step:hover { background: rgba(59,130,246,.06); }
.proc-step::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.proc-step:hover::before { transform: scaleX(1); }
.proc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}
.proc-step h3 {
  font-family: var(--display);
  font-weight: 380;
  font-variation-settings: "opsz" 96, "SOFT" 60;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--bone);
}
.proc-step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.proc-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 1000px) {
  .proc-track { grid-template-columns: repeat(2, 1fr); }
  .proc-step:nth-child(2) { border-right: 0; }
  .proc-step:nth-child(-n+2) { border-bottom: var(--rule) solid var(--line); }
}
@media (max-width: 600px) {
  .proc-track { grid-template-columns: 1fr; }
  .proc-step { border-right: 0; border-bottom: var(--rule) solid var(--line); }
  .proc-step:last-child { border-bottom: 0; }
}

/* ---------- packages ---------- */

.packages {
  padding: clamp(80px, 12vh, 140px) var(--pad-x) clamp(80px, 12vh, 140px);
  max-width: var(--max);
  margin: 0 auto;
}
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pkg-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pkg-foot {
  margin: 36px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.pkg-foot a {
  color: var(--accent);
  margin-left: 8px;
  position: relative;
  transition: color .25s var(--ease);
}
.pkg-foot a:hover { color: var(--bone); }
.pkg {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border: var(--rule) solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .5s var(--ease-out), border-color .35s var(--ease), background .35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.pkg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 0%, rgba(59,130,246,.16), transparent 60%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  z-index: -1;
}
.pkg:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  background: #16150f;
}
.pkg:hover::after { opacity: 1; }

.pkg header { display: flex; align-items: center; gap: 12px; }
.pkg-mark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 100;
  font-size: 22px;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg);
  line-height: 1;
}
.pkg-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.pkg h3 {
  font-family: var(--display);
  font-weight: 360;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.022em;
  color: var(--bone);
}
.pkg p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.pkg ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
  color: var(--bone-2);
  font-family: var(--mono);
  font-feature-settings: "calt", "ss03";
}
.pkg ul li { letter-spacing: .01em; }
.pkg-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.pkg--feature {
  background: linear-gradient(180deg, #1a1a14, #14130d);
  border-color: var(--line);
}
.pkg--feature .pkg-mark { background: var(--bone); }

@media (max-width: 980px) {
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .pkg-grid--four { grid-template-columns: 1fr 1fr; }
  .pkg--feature { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .pkg-grid--four { grid-template-columns: 1fr; }
  .pkg--feature { grid-column: auto; }
}

/* ---------- industries marquee ---------- */

.industries {
  padding: clamp(40px, 6vh, 80px) 0;
  border-top: var(--rule) solid var(--line);
  border-bottom: var(--rule) solid var(--line);
  background: var(--bg-2);
}
.ind-rail {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 var(--pad-x);
}
.ind-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
}
.ind-marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}
.ind-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 320;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--bone);
  animation: scroll-l 70s linear infinite;
}
.ind-track span[aria-hidden="true"] {
  font-style: normal;
  font-size: .5em;
  color: var(--accent);
  font-variation-settings: "opsz" 36, "SOFT" 0;
}

/* ---------- faq ---------- */

.faq {
  padding: clamp(100px, 14vh, 180px) var(--pad-x);
  max-width: 1180px;
  margin: 0 auto;
}
.faq-list {
  border-top: var(--rule) solid var(--line);
}
.faq details {
  border-bottom: var(--rule) solid var(--line);
  padding: 26px 0;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 360;
  font-variation-settings: "opsz" 72, "SOFT" 40;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--bone);
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq-icon {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  transition: transform .4s var(--ease), color .25s var(--ease);
  flex: 0 0 auto;
}
.faq details[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq details p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin: 16px 0 0;
  animation: fadeUp .5s var(--ease-out);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* ---------- cta ---------- */

.cta {
  padding: clamp(120px, 18vh, 220px) var(--pad-x);
  background: var(--accent);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(40vw 30vh at 90% 10%, rgba(10,10,8,.18), transparent 60%),
    radial-gradient(50vw 40vh at 10% 90%, rgba(10,10,8,.12), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 1180px; margin: 0 auto; }
.cta-h {
  font-family: var(--display);
  font-weight: 320;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(54px, 9vw, 160px);
  line-height: .92;
  letter-spacing: -0.035em;
  margin: 24px 0 28px;
  color: var(--bg);
  text-wrap: balance;
}
.cta-h em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--bg);
  text-decoration-line: underline;
  text-decoration-thickness: 0.04em;
  text-underline-offset: 0.08em;
  text-decoration-color: rgba(10,10,8,.5);
}
.cta-sub {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(10,10,8,.75);
  max-width: 50ch;
  margin: 0 0 36px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--primary {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--bg);
}
.cta .btn--primary:hover {
  background: var(--bone);
  color: var(--bg);
  border-color: var(--bone);
}
.cta .btn--ghost {
  color: var(--bg);
  border-color: rgba(10,10,8,.4);
}
.cta .btn--ghost:hover {
  background: rgba(10,10,8,.08);
  border-color: var(--bg);
}
.cta-meta {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(10,10,8,.18);
}
.cta-meta li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 24px 22px 0;
  border-right: 1px solid rgba(10,10,8,.18);
  font-family: var(--mono);
}
.cta-meta li:last-child { border-right: 0; }
.cta-meta span {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(10,10,8,.55);
}
.cta-meta b {
  font-family: var(--display);
  font-weight: 380;
  font-variation-settings: "opsz" 36, "SOFT" 40;
  font-size: 22px;
  letter-spacing: -0.012em;
  color: var(--bg);
}
.sec-num.light { color: var(--bg); opacity: .55; }
@media (max-width: 700px) {
  .cta-meta { grid-template-columns: 1fr; }
  .cta-meta li { border-right: 0; border-bottom: 1px solid rgba(10,10,8,.18); }
  .cta-meta li:last-child { border-bottom: 0; }
}

/* ---------- contact dialog ---------- */

.cdialog {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  /* Critical: reCAPTCHA challenge popup uses z-index ~2000000000 — must stay below it */
}
.cdialog[hidden] { display: none !important; }
.cdialog-veil {
  position: absolute;
  inset: 0;
  background: rgba(8,8,6,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  animation: veilIn .35s var(--ease-out);
}
@keyframes veilIn { from { opacity: 0; } to { opacity: 1; } }
.cdialog .cform {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  margin: auto;
  animation: cdialogIn .45s var(--ease-out);
}
@keyframes cdialogIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
body.cdialog-open { overflow: hidden; }

.cform {
  background: linear-gradient(180deg, #16140e, #110f0a);
  border: 1px solid rgba(244,239,222,.12);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 44px);
  box-shadow:
    0 1px 0 rgba(244,239,222,.06) inset,
    0 30px 80px -20px rgba(0,0,0,.6),
    0 8px 30px -10px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--bone);
}

.cdialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--bone-2);
  background: rgba(244,239,222,.02);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.cdialog-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: rotate(90deg);
}

.cform-head { display: flex; flex-direction: column; gap: 12px; max-width: 56ch; }
.cform-head h3 {
  font-family: var(--display);
  font-weight: 360;
  font-variation-settings: "opsz" 96, "SOFT" 50;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--bone);
}
.cform-head h3 em {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--accent);
}
.cform-head p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.cform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cfield { display: flex; flex-direction: column; gap: 8px; }
.cfield--full { grid-column: 1 / -1; }
.cfield > span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cfield > span em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 13px;
  font-variation-settings: "opsz" 18, "SOFT" 100;
  margin-left: 4px;
}

.cfield input,
.cfield textarea {
  font: inherit;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--bone);
  background: rgba(244,239,222,.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  resize: vertical;
}
.cfield input::placeholder,
.cfield textarea::placeholder {
  color: var(--muted-2);
}
.cfield input:focus,
.cfield textarea:focus {
  border-color: var(--accent);
  background: rgba(59,130,246,.06);
  box-shadow: 0 0 0 4px rgba(59,130,246,.08);
}
.cfield input:invalid:not(:placeholder-shown),
.cfield textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255,85,54,.55);
}

@media (max-width: 600px) {
  .cform-grid { grid-template-columns: 1fr; }
}

/* honeypot — visually hidden, keyboard skipped */
.honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cform-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cform-submit {
  margin-left: auto;
  padding: 16px 24px;
  font-size: 12px;
}

.cform-fine {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0;
  line-height: 1.5;
}
.cform-fine em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--display);
  color: var(--bone-2);
  font-size: 12px;
  font-variation-settings: "opsz" 18, "SOFT" 100;
}

/* sent banner */
.sent-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 200;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease-out);
}
.sent-banner.is-shown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- footer ---------- */

.foot {
  background: var(--bg);
  border-top: var(--rule) solid var(--line);
}
.foot-row {
  display: flex; align-items: center;
  gap: clamp(12px, 3vw, 36px);
  padding: 28px var(--pad-x);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}
.foot-row a { color: var(--bone); }
.foot-row a:hover { color: var(--accent); }
.foot-brand {
  display: inline-flex;
  align-items: center;
  margin-right: clamp(8px, 2vw, 24px);
}
.foot-brand img {
  height: 24px;
  width: auto;
  display: block;
  transition: opacity .25s var(--ease);
}
.foot-brand:hover img { opacity: .8; }
.foot-rail {
  overflow: hidden;
  border-top: var(--rule) solid var(--line);
  padding: 12px 0;
}
.foot-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 300;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bone);
  animation: scroll-l 50s linear infinite;
}
.foot-track span:nth-child(2n) {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--accent);
  font-size: .55em;
  vertical-align: middle;
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

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