/* ==========================================================================
   S&J Digital — main.css
   Design system + all page styling. No dependencies, no third-party requests.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-variable.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* surface */
  --page:        #D3CEC5;
  --white:       #FFFFFF;
  --ivory:       #F3F0EA;
  --ivory-deep:  #E8E2D7;
  --stone:       #C9C7C2;
  --black:       #0D0D0D;
  --soft-black:  #171717;
  --card-black:  #1A1A1A;

  /* accent — bronze stays 5–10% of the visual surface */
  --bronze:      #B2763D;
  --bronze-hi:   #D4A56A;
  --bronze-deep: #8A5A2C;

  /* ink */
  --ink:         #0D0D0D;
  --ink-2:       #45423E;
  --ink-3:       #6E6A64;
  --on-dark:     #F3F0EA;
  --on-dark-2:   #A8A49D;
  --on-dark-3:   #74706A;

  /* type */
  --display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* rhythm */
  --shell:   1560px;
  --gutter:  clamp(20px, 4.2vw, 76px);
  --radius:  32px;
  --radius-sm: 16px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout primitives ---------- */
.panel {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}
/* clip instead of hidden so position:sticky still works inside a panel */
@supports (overflow: clip) {
  .panel { overflow: clip; }
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.panel--dark::before { mix-blend-mode: overlay; opacity: 0.32; }
.panel > * { position: relative; z-index: 2; }

.panel--light {
  background: linear-gradient(168deg, #FFFFFF 0%, #FCFBF8 58%, #F7F4EE 100%);
}
.panel--light + .panel--ivory,
.panel--ivory + .panel--light { border-top: 1px solid rgba(13, 13, 13, 0.07); }
.panel--ivory {
  background: linear-gradient(172deg, #F6F3ED 0%, var(--ivory) 46%, #EBE6DC 100%);
}
.panel--dark  {
  background:
    radial-gradient(90% 55% at 50% 0%, #1C1917 0%, rgba(13,13,13,0) 62%),
    linear-gradient(180deg, #101010 0%, var(--black) 40%, #080808 100%);
  color: var(--on-dark);
}
.panel--dark::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,165,106,0.55) 35%, rgba(212,165,106,0.55) 65%, transparent);
  z-index: 3;
}

.inner {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-pad { padding-block: clamp(80px, 9.6vw, 168px); }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.panel--dark .eyebrow { color: var(--on-dark-3); }
.eyebrow--bronze { color: var(--bronze); }
.eyebrow--rule { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--rule::before {
  content: "";
  width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--bronze), rgba(178,118,61,0.15));
}

.h-display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.86;
}
.h1 em, .h2 em { font-style: normal; color: var(--bronze); }
.panel--dark .h1 em, .panel--dark .h2 em { color: var(--bronze-hi); }

.h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h1--mid {
  font-size: clamp(1.85rem, 3.4vw, 3.05rem);
  line-height: 1.06;
}

.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(1rem, 1.15vw, 1.19rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 62ch;
}
.panel--dark .lede { color: var(--on-dark-2); }
.body-sm { font-size: 0.94rem; line-height: 1.62; color: var(--ink-3); }
.panel--dark .body-sm { color: var(--on-dark-2); }
.bronze { color: var(--bronze); }
.panel--dark .bronze { color: var(--bronze-hi); }

/* dotted rule, borrowed from the reference */
.dotrule {
  height: 1px;
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  opacity: 0.28;
  margin-block: 18px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(252, 251, 248, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.is-stuck .nav-wrap {
  background: rgba(252, 251, 248, 0.92);
  border-bottom-color: rgba(13, 13, 13, 0.09);
  box-shadow: 0 18px 40px -34px rgba(13, 13, 13, 0.7);
}
.nav {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* the monogram — inherits its colours so it works on light and dark */
.mark { display: block; width: auto; }
.mark__s { fill: var(--mark-ink, #1F1E1C); }
.mark__j { fill: var(--mark-bronze, #B2763D); }

.nav-logo {
  display: flex;
  align-items: center;
  flex: none;
  margin-right: 2px;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-logo .mark { height: 26px; }
.nav-logo:hover { opacity: 0.72; transform: translateY(-1px); }
.nav-open .nav-logo { --mark-ink: var(--on-dark); }

.footer__lockup { display: flex; align-items: center; gap: 12px; }
.footer__lockup .mark { height: 34px; flex: none; }
.footer__lockup { --mark-ink: var(--on-dark); }

/* the oversized hero wordmark compresses into this on scroll */
.nav-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: max-width 0.6s var(--ease), opacity 0.35s var(--ease), transform 0.5s var(--ease), margin 0.6s var(--ease);
}
.is-stuck .nav-mark { max-width: 190px; opacity: 1; transform: none; margin-right: 4px; }
.nav-mark .dot { color: var(--bronze); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--ivory);
  border-radius: 16px;
  padding: 4px;
}
.nav-links a {
  display: block;
  padding: 8px 15px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links a:hover { background: var(--white); color: var(--ink); }
.nav-spacer { flex: 1; }

.nav-phone {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  white-space: nowrap;
  transition: background 0.25s var(--ease);
}
.nav-phone:hover { background: var(--ivory); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 0; background: var(--ivory);
  border-radius: 13px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.6px; background: var(--ink);
  border-radius: 2px; position: relative; transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.6px;
  background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top: 5.5px; }
.nav-open .nav-toggle span { transform: rotate(45deg); }
.nav-open .nav-toggle span::before { transform: translateY(5.5px) rotate(-90deg); }
.nav-open .nav-toggle span::after  { opacity: 0; }

.nav-drawer { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  padding: 13px 20px;
  border-radius: 14px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--bronze {
  background: var(--bronze);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(178, 118, 61, 0.85);
}
.btn--bronze:hover { background: var(--bronze-deep); transform: translateY(-1px); }
.btn--dark { background: var(--black); color: var(--ivory); }
.btn--dark:hover { background: var(--soft-black); transform: translateY(-1px); }
.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.4px rgba(13, 13, 13, 0.16);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.4px rgba(13, 13, 13, 0.42); transform: translateY(-1px); }
.panel--dark .btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.4px rgba(243, 240, 234, 0.22); }
.panel--dark .btn--ghost:hover { box-shadow: inset 0 0 0 1.4px rgba(243, 240, 234, 0.55); }
.btn--lg { padding: 16px 26px; font-size: 0.97rem; border-radius: 16px; }
.nav .btn { padding: 11px 17px; }

/* circular CTA, the reference's signature element */
.circle-cta {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(132px, 12vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: radial-gradient(120% 120% at 30% 20%, var(--bronze-hi) 0%, var(--bronze) 48%, var(--bronze-deep) 100%);
  color: #fff;
  text-align: center;
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(0.84rem, 0.95vw, 0.95rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  padding: 18px;
  box-shadow: 0 18px 44px -18px rgba(138, 90, 44, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.circle-cta:hover { transform: scale(1.045); box-shadow: 0 26px 56px -20px rgba(138, 90, 44, 1), inset 0 1px 0 rgba(255,255,255,0.4); }
.circle-cta__inner { display: grid; gap: 7px; justify-items: center; }
.circle-cta__play {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid; place-items: center;
}
.circle-cta__ring {
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px solid rgba(178, 118, 61, 0.34);
  animation: pulse-ring 3.4s var(--ease-io) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.94); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scale(1.16); opacity: 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 74px);
  padding-top: clamp(34px, 4.6vw, 74px);
  background:
    radial-gradient(120% 70% at 50% 108%, rgba(178,118,61,0.16) 0%, rgba(178,118,61,0) 60%),
    radial-gradient(150% 95% at 50% 0%, #FFFFFF 0%, #FCFAF6 38%, #F1ECE2 100%);
  overflow: hidden;
}
/* faint bronze topography behind the centerpiece */
.hero::after {
  content: "";
  position: absolute;
  left: 50%; top: 34%;
  width: min(1250px, 130%); aspect-ratio: 1;
  transform: translate(-50%, -30%);
  background:
    radial-gradient(circle, rgba(178, 118, 61, 0.22) 0%, rgba(178, 118, 61, 0.09) 34%, transparent 64%);
  pointer-events: none;
}

.hero__top { position: relative; z-index: 3; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  justify-content: center;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.hero__eyebrow .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px rgba(178, 118, 61, 0.14);
}

/* the oversized wordmark */
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 12.6vw, 11.6rem);
  line-height: 0.84;
  max-width: 100%;
  letter-spacing: -0.055em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(178deg, #0D0D0D 8%, #1E1C1A 40%, #55504A 78%, #7D766D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 2;
}
.wordmark .amp { font-weight: 700; }
.wordmark .dot {
  -webkit-text-fill-color: var(--bronze);
  color: var(--bronze);
}

/* HERO SCENE — three columns, nothing overlaps anything */
.hero__scene {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(0, 1.85fr) minmax(210px, 0.86fr);
  gap: clamp(16px, 2.4vw, 40px);
  align-items: stretch;
  margin-top: clamp(-30px, -2.6vw, -12px);
  padding-bottom: clamp(30px, 4vw, 56px);
}

.hero__col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(26px, 4vw, 56px);
  padding-top: clamp(10px, 1.6vw, 26px);
}
.hero__col--right { align-items: flex-end; text-align: right; }

.hero__center {
  position: relative;
  min-height: clamp(280px, 26vw, 380px);
}

.hero__promise {
  max-width: 34ch;
  font-size: clamp(1.02rem, 1.28vw, 1.3rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.hero__promise em { font-style: normal; color: var(--bronze); font-weight: 700; }

.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__cta-m { display: none; }
.hero__promise + .dotrule { max-width: 240px; }


.hero__promise { max-width: 350px; font-size: clamp(1.02rem, 1.32vw, 1.34rem); line-height: 1.4; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
.hero__promise em {
  font-style: normal;
  color: var(--bronze);
  font-weight: 700;
}
.hero__promise + .dotrule { max-width: 260px; }

/* ==========================================================================
   Centerpiece — 3D device stack
   ========================================================================== */
.stage3d {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 2;
  display: grid;
  align-items: start;
  justify-items: center;
  perspective: 1500px;
  perspective-origin: 50% 42%;
  pointer-events: none;
}
.stage3d__shadow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: min(520px, 52%);
  height: 76px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(13, 13, 13, 0.24) 0%, rgba(13, 13, 13, 0.09) 42%, transparent 70%);
  filter: blur(9px);
}

.rig {
  position: relative;
  height: 100%;
  width: auto;
  aspect-ratio: 1.46 / 1;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 9deg)) rotateY(var(--ry, -17deg));
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
.rig__float { position: absolute; inset: 0; transform-style: preserve-3d; animation: idle-float 11s ease-in-out infinite; }
@keyframes idle-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
  50%      { transform: translate3d(0, -13px, 0) rotateZ(-0.5deg); }
}

/* orbit rings */
.orbit {
  position: absolute;
  inset: -9% -4%;
  transform: rotateX(74deg) translateZ(-60px);
  transform-style: preserve-3d;
  animation: orbit-spin 34s linear infinite;
}
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit--2 { inset: -19% -12%; transform: rotateX(70deg) rotateZ(22deg) translateZ(30px); animation-duration: 52s; animation-direction: reverse; opacity: 0.6; }
@keyframes orbit-spin { to { transform: rotateX(74deg) rotateZ(360deg) translateZ(-60px); } }

/* browser frame */
.frame-browser {
  position: absolute;
  left: 0; top: 3%;
  width: 78%;
  transform: translateZ(0px);
  border-radius: 15px;
  background: linear-gradient(150deg, #2A2A2A 0%, #131313 34%, #0A0A0A 100%);
  padding: 7px 7px 8px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.07) inset,
    0 -1px 0 rgba(0, 0, 0, 0.6) inset,
    0 42px 80px -34px rgba(13, 13, 13, 0.7),
    0 10px 26px -14px rgba(13, 13, 13, 0.5);
}
.frame-browser::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(150deg, rgba(212, 165, 106, 0.6), rgba(255,255,255,0.06) 30%, rgba(0,0,0,0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.frame-browser__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 4px 8px;
}
.frame-browser__dots { display: flex; gap: 4px; }
.frame-browser__dots i { width: 6px; height: 6px; border-radius: 50%; background: #3A3A3A; display: block; }
.frame-browser__url {
  flex: 1;
  height: 16px;
  border-radius: 8px;
  background: #202020;
  display: flex; align-items: center; gap: 5px;
  padding: 0 8px;
  font-family: var(--body);
  font-size: 8.5px;
  font-weight: 600;
  color: #8B8781;
  letter-spacing: 0.01em;
  overflow: hidden;
}
.frame-browser__url .lock { color: var(--bronze-hi); font-size: 8px; }
.frame-browser__screen {
  border-radius: 9px;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 16 / 10.4;
}

/* phone frame */
.frame-phone {
  position: absolute;
  right: 1%;
  bottom: -3%;
  width: 20.5%;
  transform: translateZ(78px) rotateY(-6deg);
  border-radius: 22px;
  background: linear-gradient(160deg, #333 0%, #121212 40%, #060606 100%);
  padding: 5px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.1) inset,
    0 40px 70px -26px rgba(13, 13, 13, 0.78);
}
.frame-phone::after {
  content: "";
  position: absolute;
  top: 9px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 4px; border-radius: 3px;
  background: #0A0A0A;
  z-index: 2;
}
.frame-phone__screen {
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 9 / 19;
}

/* --- the miniature website rendered inside the frames --- */
.mini {
  --mini-accent: #2F6B3F;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  color: #14181A;
  background: #fff;
  container-type: inline-size;
}
.mini__nav {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 11px;
  border-bottom: 1px solid #EDEAE4;
  flex: none;
}
.mini__logo { font-family: var(--display); font-weight: 800; font-size: 9px; letter-spacing: -0.03em; }
.mini__logo em { font-style: normal; color: var(--mini-accent); }
.mini__navlinks { display: flex; gap: 7px; margin-left: 10px; }
.mini__navlinks i { display: block; width: 20px; height: 3.5px; border-radius: 2px; background: #E3DFD8; }
.mini__navcta { margin-left: auto; font-size: 7px; font-weight: 800; color: #fff; background: var(--mini-accent); padding: 3.5px 7px; border-radius: 5px; }

.mini__hero {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 11px;
  padding: 12px 11px;
  background: linear-gradient(115deg, #FBFAF7 0%, #F1EEE7 100%);
}
.mini__kicker { font-size: 6px; font-weight: 800; letter-spacing: 0.14em; color: var(--mini-accent); text-transform: uppercase; }
.mini__h { font-family: var(--display); font-weight: 800; font-size: 13.5px; line-height: 1.02; letter-spacing: -0.035em; margin-top: 5px; }
.mini__sub { font-size: 6.5px; line-height: 1.5; color: #5C5952; margin-top: 5px; max-width: 22ch; }
.mini__btns { display: flex; gap: 5px; margin-top: 9px; }
.mini__btn { font-size: 6.5px; font-weight: 800; padding: 4.5px 8px; border-radius: 6px; background: var(--mini-accent); color: #fff; }
.mini__btn--ghost { background: transparent; color: #14181A; box-shadow: inset 0 0 0 1px rgba(20,24,26,0.2); }
.mini__stars { display: flex; align-items: center; gap: 3px; margin-top: 10px; font-size: 6px; font-weight: 700; color: #5C5952; }
.mini__stars b { color: #14181A; }
.mini__stars svg { width: 32px; height: 7px; }

.mini__shot {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20,24,26,0) 45%, rgba(20,24,26,0.42) 100%),
    linear-gradient(150deg, #6E8F5F 0%, #3E5C3A 45%, #22331F 100%);
  position: relative;
  overflow: hidden;
}
.mini__shot::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 24% 22%, rgba(255,255,255,0.28), transparent 60%),
    repeating-linear-gradient(103deg, rgba(255,255,255,0.055) 0 3px, transparent 3px 8px);
}
.mini__shot-tag {
  position: absolute; left: 6px; bottom: 6px;
  font-size: 6px; font-weight: 700; color: #fff;
  background: rgba(10, 14, 10, 0.5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 3px 6px; border-radius: 5px;
}
.mini__strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 9px 11px 11px;
  background: #fff;
  border-top: 1px solid #EDEAE4;
  flex: none;
}
.mini__chip {
  border: 1px solid #EDEAE4; border-radius: 6px; padding: 6px;
  display: grid; gap: 3px;
}
.mini__chip b { font-size: 6.5px; font-weight: 800; letter-spacing: -0.01em; }
.mini__chip i { display: block; height: 3px; width: 76%; border-radius: 2px; background: #EDEAE4; font-style: normal; }
.mini__chip u { display: block; height: 3px; width: 52%; border-radius: 2px; background: #F3F1EC; text-decoration: none; }

/* mobile mini */
.mini--phone .mini__nav { padding: 6px 7px; }
.mini--phone .mini__hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding: 9px 7px; gap: 8px; }
.mini--phone .mini__h { font-size: 11px; }
.mini--phone .mini__shot { min-height: 46px; }
.mini--phone .mini__strip { grid-template-columns: 1fr; padding: 7px; }
.mini__callbar {
  flex: none;
  margin: 0 7px 8px;
  border-radius: 8px;
  background: var(--mini-accent);
  color: #fff;
  font-size: 7.5px;
  font-weight: 800;
  padding: 7px 6px;
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 6px 14px -7px rgba(47, 107, 63, 0.9);
  position: relative;
}
.mini__callbar::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 8px;
  border: 1.4px solid rgba(47, 107, 63, 0.55);
  animation: pulse-ring 2.8s var(--ease-io) infinite;
}




/* hero rail typography */
.proof { display: grid; justify-items: start; gap: 5px; }
.proof__label {
  font-size: clamp(0.72rem, 0.8vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.proof__steps { font-size: 0.88rem; color: var(--ink-3); font-weight: 500; }
.proof__steps b { font-weight: 700; color: var(--ink-2); }

.spec-list { display: grid; gap: 10px; }
.spec-list li {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  font-size: clamp(0.75rem, 0.85vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}
.spec-list .num { color: var(--bronze); font-variant-numeric: tabular-nums; font-weight: 800; min-width: 26px; }

.rail-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(13, 13, 13, 0.12);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rail-note i { width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); flex: none; }

/* label chip in the hero rail */
.pin {
  position: relative;
  z-index: 6;
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(13,13,13,0.05), 0 16px 34px -20px rgba(13,13,13,0.5);
  border-radius: 13px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pin i { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); font-style: normal; flex: none; }
.pin span { color: var(--ink-3); font-weight: 600; }

/* ==========================================================================
   Trade marquee
   ========================================================================== */
.marquee {
  position: relative;
  background: var(--black);
  color: var(--on-dark);
  padding: clamp(15px, 1.7vw, 22px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(212, 165, 106, 0.28);
  border-bottom: 1px solid rgba(212, 165, 106, 0.28);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(50px, 8vw, 140px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--black), rgba(13,13,13,0)); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--black), rgba(13,13,13,0)); }

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.86rem, 1.15vw, 1.06rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__track i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bronze);
  flex: none;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Dark offer pillars
   ========================================================================== */
.mark-hl {
  position: relative;
  display: inline-block;
  padding: 0 0.14em;
  z-index: 1;
  color: var(--black);
}
.mark-hl::before {
  content: "";
  position: absolute;
  inset: 0.08em -0.02em 0.06em;
  background: linear-gradient(100deg, var(--bronze-hi), var(--bronze));
  border-radius: 0.42em;
  z-index: -1;
  transform: scaleX(var(--hl, 1));
  transform-origin: left center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(38px, 5vw, 66px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(230px, 19vw, 270px);
  background: linear-gradient(180deg, #232120 0%, var(--card-black) 58%, #131211 100%);
  border: 1px solid rgba(243, 240, 234, 0.08);
  box-shadow: inset 0 1px 0 rgba(212, 165, 106, 0.14);
  border-radius: 20px;
  padding: 20px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 50% 0%, rgba(178, 118, 61, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: rgba(212, 165, 106, 0.32); }
.card:hover::after { opacity: 1; }
.card__icons { display: flex; gap: 7px; }
.card__icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: #242424;
  border: 1px solid rgba(243, 240, 234, 0.08);
  display: grid; place-items: center;
  color: var(--bronze-hi);
}
.card__icon svg { width: 17px; height: 17px; }
.card__body { margin-top: auto; }
.card h3 { color: var(--on-dark); }
.card .dotrule { color: var(--on-dark-2); }
.card p { font-size: 0.855rem; line-height: 1.56; color: var(--on-dark-2); }

.dark-head { text-align: center; max-width: 900px; margin: 0 auto; }
.dark-head .h1 { color: var(--on-dark); }

/* ==========================================================================
   Problem
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
}
.leak-list { display: grid; gap: 0; margin-top: 8px; }
.leak {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid rgba(13, 13, 13, 0.1);
  align-items: start;
}
.leak:last-child { border-bottom: 1px solid rgba(13, 13, 13, 0.1); }
.leak__n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--bronze);
  letter-spacing: 0.02em;
  padding-top: 3px;
}
.leak p { margin-top: 7px; }

.quote-band {
  margin-top: clamp(44px, 5.5vw, 80px);
  padding: clamp(30px, 3.6vw, 52px) clamp(26px, 4vw, 64px);
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(178,118,61,0.14), rgba(178,118,61,0) 62%),
    var(--ivory-deep);
  border: 1px solid rgba(178,118,61,0.22);
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}
.quote-band p {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.18rem, 2.1vw, 1.92rem);
  line-height: 1.24;
  letter-spacing: -0.028em;
  max-width: 26ch;
}
.quote-band span { font-size: 0.82rem; font-weight: 600; color: var(--ink-3); }

.quote-block {
  margin-top: clamp(28px, 3.4vw, 44px);
  background: var(--ivory-deep);
  border-radius: 20px;
  padding: clamp(22px, 2.6vw, 32px);
  border-left: 3px solid var(--bronze);
}
.quote-block p { font-family: var(--display); font-weight: 600; font-size: clamp(1.02rem, 1.35vw, 1.3rem); line-height: 1.34; letter-spacing: -0.02em; }
.quote-block span { display: block; margin-top: 12px; font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }

/* ==========================================================================
   Work
   ========================================================================== */
.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 56px);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}
.work {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(13, 13, 13, 0.08);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(13,13,13,0.42); border-color: rgba(178,118,61,0.35); }
.work__shot {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ivory-deep);
  border-bottom: 1px solid rgba(13, 13, 13, 0.07);
}
.work__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1s var(--ease);
}
.work:hover .work__shot img { transform: scale(1.035); }
.work__tag {
  position: absolute; left: 12px; top: 12px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  background: rgba(13, 13, 13, 0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ivory);
  padding: 6px 10px; border-radius: 8px;
}
.work__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.work__meta { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.work__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--bronze); }
.work h3 { margin-top: 9px; }
.work__rows { margin-top: 14px; display: grid; gap: 9px; }
.work__row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; font-size: 0.82rem; line-height: 1.5; }
.work__row dt { font-weight: 700; color: var(--ink-3); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.work__row dd { margin: 0; color: var(--ink-2); }
.work__foot { margin-top: auto; padding-top: 18px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 700; color: var(--ink);
  border-bottom: 1.5px solid rgba(178, 118, 61, 0.5);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow:hover { gap: 11px; border-color: var(--bronze); }

.work-note {
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: 0.8rem;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 9px;
}
.work-note i { width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); flex: none; }

/* ==========================================================================
   Process
   ========================================================================== */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(22px, 4vw, 72px);
  align-items: end;
}
.sec-head .h1 { max-width: 15ch; }
.sec-head .lede { padding-bottom: 6px; }
@media (max-width: 980px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec-head .h1 { max-width: none; }
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(38px, 4.6vw, 62px);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid rgba(243, 240, 234, 0.16);
}
.step__n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--bronze-hi);
}
.step h3 { margin-top: 12px; color: var(--on-dark); }
.step p { margin-top: 10px; font-size: 0.87rem; line-height: 1.6; color: var(--on-dark-2); }
.step::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 34px; height: 2px;
  background: var(--bronze);
}

/* ==========================================================================
   Included + pricing
   ========================================================================== */
.price-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(26px, 3.4vw, 56px);
  align-items: start;
}
.incl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(16px, 2vw, 34px);
  margin-top: 26px;
}
.incl {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.09);
  font-size: 0.9rem;
  font-weight: 600;
}
.incl svg { flex: none; margin-top: 3px; color: var(--bronze); }

.price-col { position: sticky; top: 104px; align-self: start; }
@media (max-width: 980px) { .price-col { position: static; top: auto; } }

.price-card {
  position: relative;
  background: linear-gradient(168deg, #1C1C1C 0%, var(--black) 58%, #0A0A0A 100%);
  color: var(--on-dark);
  border-radius: 26px;
  padding: clamp(26px, 2.8vw, 38px);
  overflow: hidden;
  box-shadow: 0 40px 80px -44px rgba(13, 13, 13, 0.8);
}
.price-card::before {
  content: "";
  position: absolute; inset: -40% -10% auto;
  height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(178, 118, 61, 0.3), transparent 70%);
  pointer-events: none;
}
.price-card__top { position: relative; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-card__amt { font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 4.6vw, 3.7rem); letter-spacing: -0.045em; line-height: 1; }
.price-card__amt sup { font-size: 0.42em; font-weight: 700; top: -0.85em; margin-right: 1px; }
.price-card__unit { font-size: 0.9rem; font-weight: 700; color: var(--on-dark-2); }
.price-card__plus {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 8px;
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  letter-spacing: -0.03em;
  color: var(--bronze-hi);
}
.price-card__plus small { font-family: var(--body); font-size: 0.82rem; font-weight: 600; color: var(--on-dark-2); letter-spacing: 0; }
.price-list { position: relative; margin-top: 22px; display: grid; gap: 0; }
.price-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0;
  border-top: 1px solid rgba(243, 240, 234, 0.1);
  font-size: 0.85rem;
  color: var(--on-dark-2);
}
.price-list li b { color: var(--on-dark); font-weight: 700; }
.price-list svg { flex: none; margin-top: 3px; color: var(--bronze-hi); }
.price-card .btn { margin-top: 24px; width: 100%; justify-content: center; }
.price-note { position: relative; margin-top: 14px; font-size: 0.74rem; line-height: 1.5; color: var(--on-dark-3); }

/* ==========================================================================
   Why S&J
   ========================================================================== */
.tri {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-top: clamp(34px, 4vw, 54px);
}
.tri-item { padding-top: 24px; border-top: 2px solid var(--black); }
.tri-item h3 { margin-bottom: 10px; }

/* objections table */
.obj { margin-top: clamp(40px, 5vw, 70px); }
.obj-row {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(16px, 3vw, 48px);
  padding: 20px 0;
  border-top: 1px solid rgba(13, 13, 13, 0.1);
  align-items: baseline;
}
.obj-row:last-child { border-bottom: 1px solid rgba(13, 13, 13, 0.1); }
.obj-row dt { font-family: var(--display); font-weight: 700; font-size: clamp(0.98rem, 1.25vw, 1.14rem); letter-spacing: -0.02em; }
.obj-row dd { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--ink-2); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { margin-top: clamp(30px, 4vw, 48px); border-top: 1px solid rgba(243, 240, 234, 0.14); }
.faq__item { border-bottom: 1px solid rgba(243, 240, 234, 0.14); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; cursor: pointer;
  padding: 22px 0;
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.3vw, 1.16rem);
  letter-spacing: -0.02em;
  color: var(--on-dark);
  transition: color 0.3s var(--ease);
}
.faq__q:hover { color: var(--bronze-hi); }
.faq__icon {
  position: relative;
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(243, 240, 234, 0.2);
  display: grid; place-items: center;
  transition: transform 0.45s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.faq__icon::before { width: 11px; height: 1.6px; }
.faq__icon::after  { width: 1.6px; height: 11px; transition: opacity 0.3s var(--ease); }
.faq__item.is-open .faq__icon { transform: rotate(90deg); background: var(--bronze); border-color: var(--bronze); color: #fff; }
.faq__item.is-open .faq__icon::after { opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 24px; max-width: 74ch; font-size: 0.94rem; line-height: 1.65; color: var(--on-dark-2); }

/* ==========================================================================
   Final CTA + form
   ========================================================================== */
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
}
.cta-points { margin-top: 28px; display: grid; gap: 14px; }
.cta-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; font-weight: 600; }
.cta-points svg { flex: none; margin-top: 3px; color: var(--bronze); }

.form-card {
  background: var(--white);
  border-radius: 26px;
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: 0 34px 74px -44px rgba(13, 13, 13, 0.5);
  border: 1px solid rgba(13, 13, 13, 0.07);
}
.form-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.form-steps__pip {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-3);
  transition: color 0.35s var(--ease);
}
.form-steps__pip b {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ivory-deep); color: var(--ink-3);
  font-size: 0.68rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.form-steps__pip.is-active { color: var(--ink); }
.form-steps__pip.is-active b { background: var(--bronze); color: #fff; }
.form-steps__line { flex: 1; height: 1px; background: rgba(13,13,13,0.12); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ivory);
  border: 1.4px solid transparent;
  border-radius: 13px;
  padding: 13px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9C978F; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--bronze);
}
.field textarea { resize: vertical; min-height: 82px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.form-actions .btn { flex: 1; justify-content: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(178, 118, 61, 0.1);
  border: 1px solid rgba(178, 118, 61, 0.4);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.form-error a { text-decoration: underline; text-underline-offset: 3px; }

.form-fine { margin-top: 14px; font-size: 0.74rem; line-height: 1.5; color: var(--ink-3); }

.form-pane[hidden] { display: none; }
.form-done {
  text-align: center;
  padding: clamp(16px, 3vw, 34px) 0;
}
.form-done__check {
  width: 54px; height: 54px; border-radius: 50%;
  margin: 0 auto 18px;
  background: rgba(178, 118, 61, 0.12);
  color: var(--bronze);
  display: grid; place-items: center;
}
.form-done p { margin-top: 10px; font-size: 0.94rem; color: var(--ink-2); max-width: 42ch; margin-inline: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding-block: clamp(52px, 6vw, 82px) 30px; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(26px, 3vw, 44px);
  padding-bottom: clamp(36px, 4vw, 54px);
  border-bottom: 1px solid rgba(243, 240, 234, 0.14);
}
.footer__mark { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; color: var(--on-dark); }
.footer__mark .dot { color: var(--bronze-hi); }
.footer__line { margin-top: 12px; font-size: 0.9rem; color: var(--on-dark-2); max-width: 30ch; }
.footer h4 { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 0.9rem; color: var(--on-dark-2); transition: color 0.25s var(--ease); }
.footer ul a:hover { color: var(--bronze-hi); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  align-items: center; justify-content: space-between;
  padding-top: 26px;
  font-size: 0.78rem; color: var(--on-dark-3);
}
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* sticky mobile CTA */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  gap: 10px;
  padding: 11px var(--gutter) calc(11px + env(safe-area-inset-bottom));
  background: rgba(252, 251, 248, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid rgba(13, 13, 13, 0.1);
  box-shadow: 0 -18px 40px -32px rgba(13, 13, 13, 0.8);
  transform: translateY(140%);
  transition: transform 0.55s var(--ease);
}
.mobile-cta .btn { flex: 1; justify-content: center; padding-inline: 12px; }
.mobile-cta .btn--ghost { flex: 0 1 38%; }
.mobile-cta.is-in { transform: none; }
.mobile-cta .btn { flex: 1; justify-content: center; box-shadow: 0 16px 36px -14px rgba(13,13,13,0.55); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1340px) {
  .hero__scene { grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.7fr) minmax(190px, 0.8fr); }
  .pin { font-size: 0.72rem; padding: 9px 12px; }
  .pin span { display: none; }
}

@media (max-width: 1180px) {
  .hero__promise { font-size: 1rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circle-cta { width: clamp(118px, 11vw, 140px); }
}

/* ==========================================================================
   Tablet and below — the nav collapses into a drawer
   ========================================================================== */
@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-mark { max-width: 190px; opacity: 1; transform: none; margin-right: auto; }
  .nav { gap: 10px; height: 68px; }
  .nav-spacer { display: none; }

  .nav-drawer {
    display: grid;
    position: fixed; inset: 0;
    z-index: 89;
    background: rgba(13, 13, 13, 0.97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    padding: 104px var(--gutter) 40px;
    align-content: start;
    gap: 4px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }
  .nav-open .nav-drawer { opacity: 1; pointer-events: auto; }
  .nav-drawer a {
    font-family: var(--display); font-weight: 700;
    font-size: 2rem; letter-spacing: -0.04em;
    color: var(--on-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(243,240,234,0.1);
  }
  .nav-drawer .drawer-cta {
    margin-top: 30px;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    border-bottom: 0;
    font-family: var(--body);
    letter-spacing: 0;
  }
  .nav-drawer .drawer-foot { margin-top: 22px; display: grid; gap: 12px; }

  /* the bar goes transparent over the open drawer so the two do not fight */
  .nav-open .nav-wrap {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav-open .nav-mark { color: var(--on-dark); }
  .nav-drawer .drawer-foot a {
    font-family: var(--body); font-size: 1rem; border: 0;
    color: var(--on-dark-2); padding: 0; word-break: break-word;
  }

  /* hero stacks: copy, then actions, then the visual */
  .hero { min-height: 0; }
  .hero__scene {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(22px, 5vw, 34px);
    margin-top: 14px;
    padding-bottom: 0;
  }
  .hero__col { gap: clamp(20px, 4vw, 30px); padding-top: 0; }
  .hero__col--left { order: 1; }
  .hero__col--right { order: 3; align-items: stretch; text-align: left; }
  .hero__center { order: 2; min-height: 0; margin: 0; }
  .stage3d { position: relative; inset: auto; }
  .rig { width: 100%; height: auto; }
  .hero__promise { max-width: 34ch; }

  .split, .price-wrap, .cta-grid, .work-head { grid-template-columns: minmax(0, 1fr); }
  .obj-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tri { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tri-item { padding: 22px 0; border-top: 1px solid rgba(13,13,13,0.12); }
  .tri-item:first-child { border-top: 2px solid var(--black); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-cta { display: flex; }
  .nav > .btn { display: none; }
  .hero__cta-m { display: inline-flex; }
  .circle-cta { display: none; }
  body { padding-bottom: 82px; }
}

/* ==========================================================================
   Phones
   ========================================================================== */
@media (max-width: 720px) {
  :root { --radius: 24px; --gutter: 22px; }

  /* one CTA on screen at a time: the sticky bar owns it, the bar at the top does not */
  .nav-wrap { background: rgba(252, 251, 248, 0.94); }
  .is-stuck .nav-wrap { background: rgba(252, 251, 248, 0.97); }
  .nav { height: 62px; }
  .nav-mark { font-size: 0.95rem; }

  .section-pad { padding-block: clamp(58px, 13vw, 84px); }
  .h1 { font-size: clamp(2rem, 8.6vw, 2.8rem); }
  .h2 { font-size: clamp(1.35rem, 6vw, 1.75rem); }
  .lede { font-size: 1rem; }

  /* hero */
  .hero { padding-top: 22px; padding-bottom: 36px; }
  .hero__eyebrow { margin-bottom: 14px; }
  .hero__top { text-align: left; }
  .hero__eyebrow { justify-content: flex-start; }
  .wordmark { line-height: 0.8; text-align: left; }
  .wm-line { display: block; }
  .hero__scene { gap: 26px; margin-top: 16px; }
  .proof, .pin { display: none; }
  .hero__promise {
    max-width: none;
    font-size: 1.12rem;
    line-height: 1.38;
    font-weight: 600;
  }
  .hero__promise + .dotrule { max-width: none; }

  .hero__buttons { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  /* the three specs become one tidy row instead of three stacked lines */
  .spec-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid rgba(13, 13, 13, 0.12);
  }
  .spec-list li {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 3px;
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .spec-list .num { font-size: 0.7rem; min-width: 0; }
  .rail-note { margin-top: 16px; padding-top: 0; border-top: 0; font-size: 0.78rem; }

  .stage3d__shadow { bottom: 0; height: 42px; }

  /* flatten the 3D tilt on phones so nothing clips off the edge */
  .rig { transform: rotateX(4deg) rotateY(-5deg); }
  .rig__float { animation: none; }
  .frame-browser { width: 76%; top: 2%; }
  .frame-phone { right: 0; bottom: 0; width: 27%; transform: translateZ(20px) rotateY(-3deg); }
  .orbit { display: none; }
  .mini--phone .mini__navcta { display: none; }

  /* stacks */
  .cards, .steps, .work-grid, .incl-grid { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; gap: 18px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .work__row { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .quote-band { padding: 28px 22px; border-radius: 20px; }
  .quote-band p { font-size: 1.14rem; max-width: none; }
  .marquee__track { gap: 20px; }
  .marquee__track span { font-size: 0.9rem; }
}

@media (max-width: 400px) {
  :root { --gutter: 18px; }
  .spec-list { gap: 8px; }
  .spec-list li { font-size: 0.72rem; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .rig { transform: rotateX(6deg) rotateY(-12deg); }
}

@media (max-width: 480px) {
  .nav { height: 66px; }
  .nav .btn { padding: 10px 13px; font-size: 0.82rem; }
  .nav-mark { font-size: 0.86rem; }
  .nav { gap: 8px; padding: 9px 10px 9px 12px; }
  }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { max-width: 780px; }
.legal .h1 { margin-bottom: 14px; }
.legal__updated { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 1.24rem; letter-spacing: -0.02em; margin-top: 38px; margin-bottom: 10px; }
.legal p, .legal li { font-size: 0.95rem; line-height: 1.68; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin-top: 12px; display: grid; gap: 8px; }
.legal ul li { position: relative; padding-left: 18px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }
.legal a { font-weight: 700; color: var(--ink); border-bottom: 1.5px solid rgba(178,118,61,0.5); }
.legal__note { margin-top: 40px; padding: 18px 20px; border-radius: 16px; background: var(--ivory-deep); border-left: 3px solid var(--bronze); font-size: 0.88rem; }
