/* ============================================================
   adsulut.com | Lloyd Vincent Luardo
   Editorial marketplace-operator portfolio
   ============================================================ */

:root {
  /* ink palette */
  --ink: #0a0c12;
  --ink-raised: #13151d;
  --ink-surface: #1a1d26;
  --ink-elevated: #22252f;

  /* warm paper */
  --paper: #f4ecdc;
  --paper-dim: #e2d6bd;
  --paper-muted: #b4a788;

  /* signature amber */
  --amber: #d6a064;
  --amber-bright: #f2b678;
  --amber-deep: #a6793f;
  --amber-wash: rgba(214, 160, 100, 0.12);

  /* cool supports */
  --slate: #8b95a8;
  --slate-dim: #5b6578;

  /* rules + shadows */
  --rule: rgba(244, 236, 220, 0.12);
  --rule-strong: rgba(244, 236, 220, 0.24);
  --rule-amber: rgba(214, 160, 100, 0.3);
  --shadow-low: 0 10px 30px rgba(4, 6, 12, 0.4);
  --shadow-mid: 0 30px 60px -20px rgba(4, 6, 12, 0.6);
  --shadow-amber: 0 20px 50px -10px rgba(214, 160, 100, 0.28);

  /* system */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --anchor-offset: 120px;

  /* type */
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
}

/* ============================================================
   Reset + base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--paper);
  background: var(--ink);
  overflow-x: clip;
  cursor: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 80% -10%, rgba(214, 160, 100, 0.1), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(139, 149, 168, 0.08), transparent 55%),
    linear-gradient(180deg, #13151d 0%, #0a0c12 55%, #07090e 100%);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
  border-radius: 2px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ============================================================
   Layered effects: grain, glow, cursor
   ============================================================ */

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

.glow {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
}

.glow-1 {
  top: -10%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(214, 160, 100, 0.35), transparent 70%);
  animation: drift 22s ease-in-out infinite;
}

.glow-2 {
  bottom: 20%;
  left: -15%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(115, 137, 180, 0.22), transparent 70%);
  animation: drift 28s ease-in-out -4s infinite reverse;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 2vw) scale(1.06); }
}

/* custom cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform 180ms ease, opacity 180ms ease;
}

.cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(244, 236, 220, 0.5);
  border-radius: 50%;
  transition: transform 280ms ease, opacity 280ms ease, border-color 180ms ease;
}

.cursor.is-hover .cursor-dot {
  transform: scale(0);
}
.cursor.is-hover .cursor-ring {
  transform: scale(1.6);
  border-color: var(--amber-bright);
}

@media (hover: none), (max-width: 820px) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* ============================================================
   Skip link
   ============================================================ */

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.skip-link:focus { top: 16px; }

/* ============================================================
   Header / nav
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--rule);
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 12, 18, 0.92);
  border-bottom-color: var(--rule-strong);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
}

.brand-mark {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-style: italic;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--paper-muted);
}

.site-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  font-weight: 500;
  transition: color 200ms ease, background 200ms ease;
}

.site-nav a:hover {
  color: var(--paper);
  background: rgba(244, 236, 220, 0.06);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.site-nav .nav-cta {
  background: var(--paper);
  color: var(--ink);
}

.site-nav .nav-cta:hover {
  background: var(--amber-bright);
  color: var(--ink);
}

.site-nav .nav-cta .nav-num {
  color: var(--amber-deep);
}

/* ============================================================
   Sections / structure
   ============================================================ */

.section {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  position: relative;
}

section[id] { scroll-margin-top: var(--anchor-offset); }

.section-frame {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 80px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}

.section-roman {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  color: var(--amber);
  line-height: 1;
  padding-top: 8px;
  font-weight: 400;
}

.section-title {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--paper);
  max-width: 24ch;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.section-title em {
  font-style: italic;
  color: var(--amber-bright);
  font-variation-settings: "opsz" 96, "SOFT" 80;
}

.section-copy {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--paper-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kicker span {
  color: var(--amber-bright);
  font-style: italic;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) var(--gutter) 0;
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  background: rgba(244, 236, 220, 0.03);
}

.tag-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ac780;
  box-shadow: 0 0 12px rgba(138, 199, 128, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.85fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 8.6vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero-title .line-inner {
  display: inline-block;
}

.hero-title em {
  font-style: italic;
  color: var(--amber-bright);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 32px;
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.signature-label {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--amber);
  white-space: nowrap;
  padding-top: 2px;
  font-weight: 400;
}

.lede {
  margin: 0;
  max-width: 52ch;
  color: var(--paper-dim);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   Buttons
   ============================================================ */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: none;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button-large { padding: 18px 28px; font-size: 1rem; }

.button svg { transition: transform 220ms ease; }

.button:hover { transform: translateY(-2px); }
.button:hover svg { transform: translateX(3px); }

.button-primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(244, 236, 220, 0.3);
}

.button-primary:hover {
  background: var(--amber-bright);
  color: var(--ink);
  box-shadow: var(--shadow-amber);
}

.button-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--rule-strong);
}

.button-ghost:hover {
  border-color: var(--amber);
  color: var(--amber-bright);
  background: var(--amber-wash);
}

@media (hover: none), (max-width: 820px) {
  .button { cursor: pointer; }
}

/* ============================================================
   Hero portrait
   ============================================================ */

.hero-portrait {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 12px;
  justify-self: end;
  width: min(100%, 430px);
}

.portrait-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--rule-amber);
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(214, 160, 100, 0.12), rgba(19, 21, 29, 0.9));
  box-shadow: var(--shadow-mid), 0 0 0 1px rgba(214, 160, 100, 0.08) inset;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portrait-frame:hover {
  transform: translateY(-4px);
}

.portrait-corners span {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--amber);
  z-index: 3;
}
.portrait-corners span:nth-child(1) { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.portrait-corners span:nth-child(2) { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.portrait-corners span:nth-child(3) { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.portrait-corners span:nth-child(4) { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1) contrast(1.02);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 400ms ease;
}

.portrait-frame:hover .portrait-image {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}

.portrait-stamp {
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 120px;
  height: 120px;
  color: var(--amber-bright);
  z-index: 4;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  animation: stamp-settle 1400ms cubic-bezier(0.2, 0.8, 0.2, 1) 300ms backwards;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portrait-frame:hover .portrait-stamp {
  transform: rotate(15deg) scale(1.05);
}

@keyframes stamp-settle {
  from { transform: rotate(-120deg) scale(0.4); opacity: 0; }
  60%  { transform: rotate(8deg) scale(1.03); opacity: 1; }
  to   { transform: rotate(0deg) scale(1); opacity: 1; }
}

.portrait-caption {
  display: grid;
  gap: 10px;
  padding: 20px 4px 0;
}

.caption-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.88rem;
}

.caption-row:last-child { border-bottom: 0; }

.caption-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.caption-value {
  color: var(--paper);
  font-weight: 500;
}

/* ============================================================
   Marquee (hero bottom)
   ============================================================ */

.marquee {
  margin-top: clamp(60px, 8vw, 120px);
  padding: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--paper);
  font-weight: 400;
  white-space: nowrap;
}

.marquee-group em {
  font-style: italic;
  color: var(--amber-bright);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.marquee-group .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Proof / metrics
   ============================================================ */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-left: 1px solid var(--rule);
}

.metric {
  position: relative;
  padding: 40px 28px;
  border-right: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 400ms ease;
}

.metric:hover {
  background: rgba(214, 160, 100, 0.05);
}

.metric-value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.metric-rule {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--amber);
  margin: 22px 0 16px;
}

.metric-label {
  display: block;
  color: var(--paper-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 24ch;
}

/* ============================================================
   Outcomes
   ============================================================ */

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.outcome-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(26, 29, 38, 0.8), rgba(19, 21, 29, 0.4));
  transition: transform 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
  overflow: hidden;
}

.outcome-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity 400ms ease;
}

.outcome-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-amber);
  box-shadow: var(--shadow-mid);
}

.outcome-card:hover::before { opacity: 1; }

.outcome-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outcome-index {
  color: var(--paper-muted);
}

.outcome-tag {
  color: var(--amber);
  padding: 5px 10px;
  border: 1px solid var(--rule-amber);
  border-radius: 100px;
  background: var(--amber-wash);
}

.outcome-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.outcome-title em {
  font-style: italic;
  color: var(--amber-bright);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

.outcome-body {
  margin: 0 0 20px;
  color: var(--paper-dim);
  font-size: 0.98rem;
  line-height: 1.6;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--paper-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.detail-list li {
  position: relative;
  padding-left: 20px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--amber);
}

/* ============================================================
   Case studies
   ============================================================ */

.section-case-studies {
  position: relative;
}

.case-study-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.case-study-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(139, 149, 168, 0.09), transparent 52%),
    rgba(19, 21, 29, 0.64);
  overflow: hidden;
  transition: transform 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
}

.case-study-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--slate), var(--amber), transparent);
  opacity: 0.5;
}

.case-study-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-amber);
  box-shadow: var(--shadow-mid);
}

.case-study-card-feature {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px 36px;
}

.case-study-card-feature .case-study-meta,
.case-study-card-feature h3,
.case-study-card-feature p {
  grid-column: 1;
}

.case-study-card-feature .case-study-stats,
.case-study-card-feature .detail-list {
  grid-column: 2;
}

.case-study-card-feature .case-chart {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.case-study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.case-study-meta span:last-child {
  color: var(--amber);
}

.case-study-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.16;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.case-study-card p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 64ch;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.case-study-stats span {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: rgba(10, 12, 18, 0.36);
  color: var(--paper-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.case-study-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.05;
  font-weight: 400;
  color: var(--amber-bright);
  font-variation-settings: "opsz" 96, "SOFT" 80;
}

.case-chart {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(244, 236, 220, 0.035), transparent),
    rgba(10, 12, 18, 0.34);
}

.chart-eyebrow {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.case-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.case-chart figcaption {
  margin-top: 10px;
  color: var(--paper-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.chart-grid line {
  stroke: rgba(244, 236, 220, 0.12);
  stroke-width: 1;
}

.chart-bars rect,
.chart-before,
.timeline-phases rect,
.tier-bars rect {
  fill: rgba(214, 160, 100, 0.45);
}

.chart-after {
  fill: rgba(139, 149, 168, 0.7);
}

.chart-line {
  fill: none;
  stroke: var(--amber-bright);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line-muted {
  fill: none;
  stroke: rgba(139, 149, 168, 0.95);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  fill: rgba(139, 149, 168, 0.14);
}

.chart-points circle {
  fill: var(--ink);
  stroke: var(--amber-bright);
  stroke-width: 2.5;
}

.chart-axis-labels text,
.chart-value-labels text,
.chart-legend text,
.chart-row text,
.timeline-phases text,
.tier-bars text {
  font-family: var(--font-mono);
  font-size: 13px;
  fill: var(--paper-muted);
}

.chart-axis-labels text,
.chart-value-labels text {
  text-anchor: middle;
}

.chart-value-labels text,
.chart-row text:last-child {
  fill: var(--paper);
}

.chart-legend rect,
.chart-legend-bottom rect {
  fill: rgba(214, 160, 100, 0.45);
}

.chart-legend path {
  fill: none;
  stroke: var(--amber-bright);
  stroke-width: 3;
  stroke-linecap: round;
}

.chart-legend .chart-line-muted {
  stroke: rgba(139, 149, 168, 0.95);
}

.chart-legend circle {
  fill: var(--ink);
  stroke: var(--amber-bright);
  stroke-width: 2.5;
}

.timeline-phases rect,
.tier-bars rect {
  rx: 4;
}

.timeline-phases rect:nth-of-type(2) {
  fill: rgba(139, 149, 168, 0.38);
}

.timeline-phases rect:nth-of-type(3) {
  fill: rgba(214, 160, 100, 0.28);
}

.timeline-phases text:nth-of-type(odd) {
  fill: var(--paper);
}

.tier-bars rect {
  fill: rgba(139, 149, 168, 0.48);
}

.tier-bars text {
  dominant-baseline: middle;
}

/* ============================================================
   Services
   ============================================================ */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}

.service-card {
  position: relative;
  padding: 36px 32px;
  border-bottom: 1px solid var(--rule);
  transition: background 400ms ease, padding 300ms ease;
  overflow: hidden;
}

.service-card:nth-child(odd) {
  border-right: 1px solid var(--rule);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-wash), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.service-card:hover::after { opacity: 1; }

.service-card:hover {
  padding-left: 40px;
}

.service-index {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.service-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.service-card p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 48ch;
}

.answer-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin: 0 0 32px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--rule-amber);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(214, 160, 100, 0.12), transparent 55%),
    rgba(19, 21, 29, 0.7);
}

.answer-panel h3 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.answer-panel p {
  margin: 0;
  color: var(--paper-dim);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 34px;
}

.intent-card {
  padding: 24px 22px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(26, 29, 38, 0.45);
  transition: transform 400ms ease, border-color 400ms ease, background 400ms ease;
}

.intent-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-amber);
  background: rgba(214, 160, 100, 0.07);
}

.intent-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.intent-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.intent-card p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ============================================================
   Process
   ============================================================ */

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 32px;
}

.process-line {
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 1px;
  background-image: linear-gradient(90deg, var(--amber) 50%, transparent 50%);
  background-size: 12px 1px;
  background-repeat: repeat-x;
  opacity: 0.5;
}

.process-step {
  position: relative;
  padding: 60px 28px 28px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: rgba(26, 29, 38, 0.5);
  transition: transform 400ms ease, border-color 400ms ease;
}

.process-step::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px var(--amber);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--rule-amber);
}

.process-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--amber);
  line-height: 1;
  opacity: 0.6;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.process-step h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.process-step p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   Experience
   ============================================================ */

.experience-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.experience-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding 300ms ease;
}

.experience-row:hover {
  padding-left: 12px;
}

.experience-row:last-child { border-bottom: 0; }

.experience-period {
  display: grid;
  align-content: start;
  gap: 6px;
}

.experience-period .year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.experience-period .location {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--paper-muted);
  text-transform: uppercase;
}

.experience-content h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.role-label {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--amber-bright);
  text-transform: uppercase;
}

.experience-content p {
  margin: 0 0 16px;
  color: var(--paper-dim);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 64ch;
}

.experience-content .detail-list {
  max-width: 64ch;
}

.experience-row-compact .compact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 28px;
  margin-top: 8px;
}

.compact-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.9rem;
}

.compact-list li span {
  color: var(--paper);
  font-weight: 500;
}

.compact-list li em {
  font-style: italic;
  color: var(--paper-muted);
  font-family: var(--font-serif);
  font-size: 0.92rem;
}

/* ============================================================
   Tools marquee + credentials
   ============================================================ */

.tool-marquee {
  margin: 0 calc(var(--gutter) * -1) clamp(48px, 6vw, 80px);
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tool-track {
  display: flex;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.tool-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--paper-dim);
  white-space: nowrap;
  font-variation-settings: "opsz" 144, "SOFT" 70;
  font-weight: 400;
}

.tool-group .sep {
  color: var(--amber);
  font-style: normal;
  font-family: var(--font-sans);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.credential-card {
  padding: 28px 26px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: rgba(26, 29, 38, 0.5);
  transition: transform 400ms ease, border-color 400ms ease;
}

.credential-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-amber);
}

.credential-kicker {
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.credential-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.credential-card p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.stack-list {
  display: grid;
  gap: 10px;
  color: var(--paper-dim);
  font-size: 0.96rem;
}

.stack-list li {
  padding: 4px 0;
  border-bottom: 1px dashed var(--rule);
}

.stack-list li:last-child { border-bottom: 0; }

.credential-card-feature {
  background: linear-gradient(135deg, var(--amber-wash), rgba(26, 29, 38, 0.6));
  border-color: var(--rule-amber);
}

/* ============================================================
   Contact
   ============================================================ */

.section-contact {
  padding-bottom: clamp(100px, 14vw, 200px);
}

.contact-block {
  padding: clamp(40px, 6vw, 80px) 0;
}

.contact-title {
  margin: 0 0 60px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--paper);
  max-width: 14ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.contact-title em {
  font-style: italic;
  color: var(--amber-bright);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.contact-body {
  display: grid;
  gap: 32px;
  max-width: 60ch;
}

.contact-copy {
  margin: 0;
  color: var(--paper-dim);
  font-size: 1.08rem;
  line-height: 1.65;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
}

.contact-email {
  font-family: var(--font-mono);
  color: var(--amber);
  transition: color 200ms ease;
}

.contact-email:hover {
  color: var(--amber-bright);
}

.contact-note {
  color: var(--paper-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: 40px var(--gutter) 60px;
  border-top: 1px solid var(--rule);
  background: rgba(7, 9, 14, 0.5);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  justify-content: space-between;
  align-items: center;
  color: var(--paper-muted);
  font-size: 0.88rem;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.footer-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--amber);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer-meta a {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: color 200ms ease;
}

.footer-meta a:hover { color: var(--amber-bright); }

/* ============================================================
   Reveal animation
   ============================================================ */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children */
.js .outcome-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.js .outcome-grid .reveal:nth-child(2) { transition-delay: 120ms; }
.js .outcome-grid .reveal:nth-child(3) { transition-delay: 240ms; }

.js .case-study-ledger .reveal:nth-child(1) { transition-delay: 0ms; }
.js .case-study-ledger .reveal:nth-child(2) { transition-delay: 100ms; }
.js .case-study-ledger .reveal:nth-child(3) { transition-delay: 180ms; }
.js .case-study-ledger .reveal:nth-child(4) { transition-delay: 260ms; }

.js .service-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.js .service-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.js .service-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.js .service-grid .reveal:nth-child(4) { transition-delay: 240ms; }

.js .process-rail .reveal:nth-child(2) { transition-delay: 0ms; }
.js .process-rail .reveal:nth-child(3) { transition-delay: 140ms; }
.js .process-rail .reveal:nth-child(4) { transition-delay: 280ms; }

.js .proof-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.js .proof-grid .reveal:nth-child(2) { transition-delay: 80ms; }
.js .proof-grid .reveal:nth-child(3) { transition-delay: 160ms; }
.js .proof-grid .reveal:nth-child(4) { transition-delay: 240ms; }

/* hero title lines stagger in on load */
.js .hero-title .line-inner {
  opacity: 0;
  transform: translateY(105%);
  animation: lineReveal 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.js .hero-title .line:nth-child(1) .line-inner { animation-delay: 120ms; }
.js .hero-title .line:nth-child(2) .line-inner { animation-delay: 240ms; }
.js .hero-title .line:nth-child(3) .line-inner { animation-delay: 360ms; }
.js .hero-title .line:nth-child(4) .line-inner { animation-delay: 480ms; }

@keyframes lineReveal {
  from { opacity: 0; transform: translateY(105%); }
  to { opacity: 1; transform: translateY(0); }
}

.js .hero-copy > .hero-body,
.js .hero-copy > .hero-actions,
.js .hero-copy > .kicker,
.js .hero-portrait,
.js .hero-meta {
  opacity: 0;
  transform: translateY(20px);
  animation: softIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.js .hero-meta { animation-delay: 80ms; }
.js .hero-copy > .kicker { animation-delay: 180ms; }
.js .hero-copy > .hero-body { animation-delay: 640ms; }
.js .hero-copy > .hero-actions { animation-delay: 780ms; }
.js .hero-portrait { animation-delay: 360ms; }

@keyframes softIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Hero promise (supports the primary CTA)
   ============================================================ */

.hero-promise {
  margin: 4px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 52ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--paper-muted);
  font-variation-settings: "opsz" 96, "SOFT" 70;
}

.hero-promise .promise-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 10px;
  box-shadow: 0 0 10px var(--amber);
}

.js .hero-copy > .hero-promise {
  opacity: 0;
  transform: translateY(20px);
  animation: softIn 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 880ms forwards;
}

/* ============================================================
   Fit-check section (lead qualifier)
   ============================================================ */

.section-fit {
  padding-top: clamp(60px, 9vw, 120px);
  padding-bottom: clamp(60px, 9vw, 120px);
}

.fit-block {
  padding: clamp(40px, 5vw, 68px) clamp(28px, 4vw, 56px);
  border: 1px solid var(--rule-amber);
  border-radius: 8px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(214, 160, 100, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(26, 29, 38, 0.85), rgba(19, 21, 29, 0.6));
  box-shadow: var(--shadow-mid);
  position: relative;
  overflow: hidden;
}

.fit-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber) 20%, var(--amber-bright) 50%, var(--amber) 80%, transparent);
  opacity: 0.7;
}

.fit-head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.fit-title {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 26ch;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}

.fit-title em {
  font-style: italic;
  color: var(--amber-bright);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.fit-card {
  position: relative;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule-amber);
  transition: padding-left 400ms ease;
}

.fit-card:hover {
  padding-left: 8px;
}

.fit-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.fit-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.7vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.fit-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--paper-muted);
}

.fit-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}

.fit-cta-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--amber-bright);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

.js .fit-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.js .fit-grid .reveal:nth-child(2) { transition-delay: 120ms; }
.js .fit-grid .reveal:nth-child(3) { transition-delay: 240ms; }

/* ============================================================
   Contact form (lead magnet checklist)
   ============================================================ */

.contact-form {
  margin-top: 8px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: rgba(19, 21, 29, 0.55);
  backdrop-filter: blur(6px);
}

.contact-form-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--rule);
}

.contact-form-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.contact-checklist {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.contact-checklist li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 10px 0;
}

.check-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--amber);
  line-height: 1;
  padding-top: 2px;
  font-variation-settings: "opsz" 96, "SOFT" 100;
}

.check-title {
  display: block;
  color: var(--paper);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 3px;
}

.check-hint {
  display: block;
  color: var(--paper-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-return {
  padding: 18px 20px;
  border-left: 2px solid var(--amber);
  background: var(--amber-wash);
  border-radius: 0 6px 6px 0;
}

.return-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-bright);
}

.contact-return p {
  margin: 0;
  color: var(--paper);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */

.section-faq {
  padding-top: clamp(60px, 9vw, 120px);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(26, 29, 38, 0.62), rgba(19, 21, 29, 0.4));
  transition: transform 400ms ease, border-color 400ms ease, background 400ms ease;
}

.faq-card:hover {
  transform: translateY(-3px);
  border-color: var(--rule-amber);
  background: rgba(214, 160, 100, 0.07);
}

.faq-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.22rem, 1.9vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
  font-variation-settings: "opsz" 96, "SOFT" 40;
}

.faq-card p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-portrait {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .outcome-grid,
  .case-study-ledger,
  .process-rail,
  .credentials-grid,
  .intent-grid,
  .faq-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card-feature {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .case-study-card-feature .case-study-meta,
  .case-study-card-feature h3,
  .case-study-card-feature p,
  .case-study-card-feature .case-chart,
  .case-study-card-feature .case-study-stats,
  .case-study-card-feature .detail-list {
    grid-column: auto;
    grid-row: auto;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid .metric:nth-child(n+3) {
    border-top: 0;
  }

  .process-line { display: none; }

  .experience-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .experience-period {
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: baseline;
    gap: 16px;
  }
}

@media (max-width: 820px) {
  :root { --anchor-offset: 80px; }

  .site-header {
    padding: 14px var(--gutter);
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand-sub { display: none; }

  .site-nav {
    order: 2;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 2px;
  }

  .site-nav::-webkit-scrollbar { display: none; }

  .site-nav a {
    flex: 0 0 auto;
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .nav-num { font-size: 0.62rem; }

  .hero-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-roman { font-size: 2rem; }

  .answer-panel {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(odd) {
    border-right: 0;
  }

  .portrait-stamp {
    width: 90px;
    height: 90px;
    bottom: -16px;
    right: -16px;
  }
}

@media (max-width: 560px) {
  .metric { padding: 28px 20px; }
  .outcome-card,
  .case-study-card,
  .process-step,
  .credential-card { padding: 24px 20px; }
  .service-card { padding: 28px 22px; }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid .metric {
    border-top: 0;
  }

  .proof-grid .metric:first-child {
    border-top: 1px solid var(--rule);
  }

  .marquee-group { gap: 20px; padding-right: 20px; }
  .tool-group { gap: 18px; padding-right: 18px; }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .hero-actions .button,
  .contact-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track,
  .tool-track {
    animation: none;
  }

  .glow-1, .glow-2 { animation: none; }

  .js .hero-title .line-inner,
  .js .hero-copy > *,
  .js .hero-portrait,
  .js .hero-meta {
    opacity: 1;
    transform: none;
  }
}
