/* =========================================================
   anujsingh.co — design system
   Ink / Paper / NPN Orange. Premium, minimal, human.
   ========================================================= */

:root {
  --ink: #161616;
  --body-2: #474747;
  --ink-2: #1f1f1f;
  --ink-3: #2a2a2a;
  --paper: #f5f2ed;
  --paper-2: #ebe7df;
  --white: #ffffff;
  --orange: #c66f35;
  --orange-2: #b3612b;
  --orange-soft: rgba(198, 111, 53, 0.12);
  --muted: #5b5b5b;
  --muted-2: #8a8a8a;
  --line: rgba(22, 22, 22, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "kern";
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }

p { margin: 0 0 1.1em; }
p.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.dark p.lead { color: rgba(255,255,255,0.72); }
strong { font-weight: 600; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: 0.45em; }
small, .small { font-size: 0.9rem; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 4px;
}
.skip-link:focus { left: 8px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.dark { background: var(--ink); color: var(--white); }
.dark-2 { background: var(--ink-2); color: var(--white); }
.white { background: var(--white); }
.line-top { border-top: 1px solid var(--line); }
.dark .line-top { border-top-color: var(--line-dark); }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split .sticky { position: sticky; top: 100px; }
@media (max-width: 860px) { .split .sticky { position: static; } }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--orange);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-1px);
}
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.dark .section-head p { color: rgba(255,255,255,0.7); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); box-shadow: 0 6px 20px -8px rgba(198,111,53,0.6); }
.btn-primary:hover { background: var(--orange-2); border-color: var(--orange-2); box-shadow: 0 12px 28px -10px rgba(198,111,53,0.7); }

.btn-outline { background: transparent; color: var(--ink); border-color: rgba(22,22,22,0.35); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.dark .btn-outline:hover { border-color: #fff; background: #fff; color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); padding-left: 0; padding-right: 0; border-color: transparent; }
.btn-ghost:hover { color: var(--orange); transform: none; }
.dark .btn-ghost { color: #fff; }
.dark .btn-ghost:hover { color: var(--orange); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 32px; }
.btn-note { font-size: 0.85rem; color: var(--muted-2); margin-top: 18px; }
.dark .btn-note { color: rgba(255,255,255,0.5); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 237, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.on-dark { background: rgba(22,22,22,0.82); color: #fff; }
.site-header.on-dark.is-scrolled { border-bottom-color: var(--line-dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.brand .mark { width: 10px; height: 10px; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.93rem; font-weight: 500; opacity: 0.8; position: relative; padding: 6px 0; transition: opacity 0.2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; }
.nav-cta .btn { padding: 11px 18px; font-size: 0.88rem; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-right: -8px; color: inherit;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform 0.3s var(--ease), opacity 0.2s; }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .site-header.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    position: absolute; left: 0; right: 0; top: 76px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 24px;
  }
  .site-header.on-dark.menu-open .nav-links { background: var(--ink); border-bottom-color: var(--line-dark); }
  .site-header.menu-open .nav-links a { font-size: 1.25rem; padding: 10px 0; }
  .site-header.menu-open .nav-links li:last-child { margin-top: 12px; }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links .mobile-cta { display: block; }
}
.nav-links .mobile-cta { display: none; }
@media (max-width: 960px) { .nav-links .mobile-cta { display: list-item; } }

/* mobile sticky CTA */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(245,242,237,0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.mobile-bar .btn { width: 100%; justify-content: center; }
@media (max-width: 960px) { .mobile-bar { display: block; } body { padding-bottom: 72px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 0.45em; }
.hero .lead { max-width: 620px; }
.hero-portrait { position: relative; }
.hero-portrait img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top;
  border-radius: 8px; filter: grayscale(12%) contrast(1.02);
}
.hero-portrait::after {
  content: ""; position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(180deg, transparent 55%, rgba(22,22,22,0.55));
  pointer-events: none;
}
.hero-portrait .tag {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.85);
}
@media (max-width: 860px) { .hero-portrait { max-width: 420px; } }
.hero-bg-word {
  position: absolute; right: -2vw; bottom: -1vw; z-index: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 18vw, 18rem);
  letter-spacing: -0.05em; line-height: 0.85; color: rgba(255,255,255,0.03); user-select: none;
}
.hero > .container { position: relative; z-index: 1; }

.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 900px; }
.page-hero .lead { max-width: 720px; }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(24px, 3vw, 36px);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(22,22,22,0.35); border-color: rgba(22,22,22,0.2); }
.card h3 { margin-bottom: 10px; }
.card p { color: #474747; margin: 0; font-size: 1.02rem; line-height: 1.6; }
.card .card-num { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 18px; display: block; }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .card:hover { border-color: rgba(255,255,255,0.28); box-shadow: 0 24px 48px -28px rgba(0,0,0,0.8); }
.dark .card p { color: rgba(255,255,255,0.68); }
.card-link { display: block; color: inherit; }
.card-link .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 600; font-size: 0.9rem; color: var(--orange); }
.card-link .more svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.card-link:hover .more svg { transform: translateX(4px); }

/* ---------- callout / rule ---------- */
.callout {
  border-left: 3px solid var(--orange); background: var(--white);
  padding: 22px 26px; border-radius: 0 6px 6px 0; margin: 28px 0;
}
.callout .label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.callout p:last-child { margin: 0; }
.dark .callout { background: var(--ink-2); }

.pull {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em; line-height: 1.25; max-width: 900px;
}

/* ---------- CTA strip ---------- */
.cta-strip { padding: clamp(56px, 8vw, 104px) 0; }
.cta-strip h2 { max-width: 860px; }
.cta-strip p { max-width: 640px; color: rgba(255,255,255,0.7); font-size: 1.1rem; }
.cta-strip.paper p { color: var(--muted); }

/* ---------- numbered list ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 22px;
  background: var(--orange); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.steps li > div { padding: 20px 24px; }
.steps h4 { margin-bottom: 6px; }
.steps p { margin: 0; color: #474747; font-size: 1.02rem; line-height: 1.6; }
.dark .steps li { background: var(--ink-2); border-color: var(--line-dark); }
.dark .steps p { color: rgba(255,255,255,0.68); }

/* ---------- check lists ---------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 14px; font-size: 1.05rem; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 2px; background: var(--orange); }
.checks.no li::before { background: var(--muted-2); }

/* ---------- offers ---------- */
.offer { display: flex; flex-direction: column; height: 100%; }
.offer .price { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--orange); margin: 6px 0 14px; }
.offer .price small { font-size: 0.85rem; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.offer ul { margin: 0 0 24px; padding: 0; list-style: none; color: var(--muted); font-size: 1rem; }
.offer ul li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.offer ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--orange); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer.featured { border-color: var(--ink); box-shadow: 0 30px 60px -36px rgba(22,22,22,0.45); }
.offer .badge { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 5px 9px; border-radius: 3px; margin-bottom: 14px; align-self: flex-start; }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 0; list-style: none; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding-left: 52px; padding-bottom: clamp(36px, 5vw, 64px); }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute; left: 0; top: 6px; width: 23px; height: 23px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--line); display: grid; place-items: center;
}
.timeline .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); transform: scale(0.6); transition: transform 0.5s var(--ease); }
.timeline li.in-view .dot::after { transform: scale(1); }
.timeline .period { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; display: block; }
.timeline h3 { margin-bottom: 10px; }
.timeline p { max-width: 680px; }
.timeline .lesson {
  margin-top: 14px; padding: 14px 18px; background: var(--white); border-left: 3px solid var(--orange);
  font-size: 0.98rem; border-radius: 0 6px 6px 0; max-width: 680px;
}
.timeline .lesson strong { color: var(--orange); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* ---------- venture cards ---------- */
.venture { display: grid; grid-template-columns: 1fr; gap: 0; }
.venture-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.venture-head .status { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.venture-head .status.live { color: #2f7a4c; }
.venture dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 24px; margin: 18px 0 0; font-size: 0.97rem; }
.venture dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); padding-top: 4px; }
.venture dd { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .venture dl { grid-template-columns: 1fr; gap: 4px 0; } .venture dd { margin-bottom: 10px; } }

/* ---------- article ---------- */
.article-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.article-row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.35s var(--ease);
}
.article-row:hover { padding-left: 8px; }
.article-row .cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.article-row h3 { font-size: 1.25rem; margin-bottom: 6px; }
.article-row p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.article-row .date { font-size: 0.85rem; color: var(--muted-2); white-space: nowrap; }
@media (max-width: 640px) { .article-row { grid-template-columns: 1fr; gap: 8px; } }

.prose { max-width: 720px; }
.prose p { font-size: 1.08rem; line-height: 1.7; }
.prose p.lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); color: var(--muted); }
.page-hero.article-hero { padding-bottom: 0; }
.page-hero.article-hero .meta { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--orange); font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.prose .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted-2); margin-bottom: 40px; }
.prose ul li, .prose ol li { font-size: 1.05rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--muted-2); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid rgba(22,22,22,0.22); border-radius: var(--radius);
  padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--orange-soft); outline: none; }
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23161616' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form .consent { font-size: 0.85rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.form .consent input { margin-top: 4px; }
.form-msg { display: none; padding: 16px 20px; border-radius: 6px; background: var(--white); border-left: 3px solid var(--orange); }
.form-msg.show { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.newsletter-form { display: flex; gap: 10px; max-width: 520px; }
.newsletter-form input { flex: 1; }
@media (max-width: 520px) { .newsletter-form { flex-direction: column; } }
.dark input[type="email"], .dark input[type="text"] { background: var(--ink-3); border-color: rgba(255,255,255,0.18); color: #fff; }
.dark input:focus { border-color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1.3fr 1fr 0.8fr; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.footer-top p { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 380px; }
.footer-col h4 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------- misc ---------- */
.stat { border-top: 2px solid var(--ink); padding-top: 16px; }
.dark .stat { border-top-color: rgba(255,255,255,0.4); }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.stat .l { font-size: 1rem; color: var(--muted); margin-top: 8px; }
.stat .stat-word { font-size: 1.35rem; }
.dark .stat .l { color: rgba(255,255,255,0.6); }

.logo-row { display: flex; flex-wrap: wrap; gap: 12px; }
.logo-row a, .logo-row span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  transition: border-color 0.25s, transform 0.35s var(--ease);
}
.logo-row a:hover { border-color: var(--ink); transform: translateY(-2px); }
.logo-row i { width: 8px; height: 8px; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }

.book-cover {
  aspect-ratio: 2/3; background: var(--ink); color: #fff; border-radius: 4px; position: relative; overflow: hidden;
  padding: 10% 9%; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 40px 70px -40px rgba(0,0,0,0.7), inset 6px 0 0 rgba(255,255,255,0.05);
  max-width: 380px; width: 100%;
}
.book-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,0.5), transparent); }
.book-cover .t { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 0.98; }
.book-cover .t em { font-style: normal; color: var(--orange); }
.book-cover .a { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.book-cover .sq { position: absolute; right: -18%; bottom: -12%; width: 55%; aspect-ratio: 1; background: var(--orange); opacity: 0.9; transform: rotate(45deg); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { font-size: 0.8rem; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.dark .tag-list span { border-color: var(--line-dark); color: rgba(255,255,255,0.7); }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: #474747; max-width: 720px; font-size: 1.05rem; line-height: 1.65; }

.marquee { overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; color: rgba(255,255,255,0.55); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* hero text reveal */
.hero .reveal-lines > * { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) forwards; }
.hero .reveal-lines > *:nth-child(1) { animation-delay: 0.05s; }
.hero .reveal-lines > *:nth-child(2) { animation-delay: 0.15s; }
.hero .reveal-lines > *:nth-child(3) { animation-delay: 0.28s; }
.hero .reveal-lines > *:nth-child(4) { animation-delay: 0.4s; }
.hero .reveal-lines > *:nth-child(5) { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .reveal-lines > * { animation: none; opacity: 1; transform: none; } }

.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 32px; }
.muted { color: var(--muted); } .dark .muted { color: rgba(255,255,255,0.65); }
.orange { color: var(--orange); }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- V2 additions ---------- */
.hero-tags span { border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.7); font-size: 0.82rem; transition: border-color 0.2s, color 0.2s; }
.hero-tags a:hover span { border-color: var(--orange); color: #fff; }
.card-link .more[href] { cursor: pointer; }
.proof-strip { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0; }
.proof-inner { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .proof-inner { grid-template-columns: 1fr; } }
.proof-inner .pull { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.proof-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.proof-facts li { position: relative; padding-left: 22px; font-size: 1rem; color: var(--muted); }
.proof-facts li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--orange); }

.case dl { margin: 12px 0 0; display: grid; gap: 10px; }
.case dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.case dd { margin: 0 0 6px; color: #474747; font-size: 1rem; line-height: 1.6; }
.case dd:last-of-type { color: var(--ink); }
.case h3 { margin-bottom: 4px; }

.offer-dl { margin: 0 0 24px; display: grid; gap: 6px; }
.offer-dl dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-top: 8px; }
.offer-dl dd { margin: 0; color: #474747; font-size: 1.02rem; line-height: 1.6; }
.offer .price small { display: block; margin-top: 2px; }
.badge-light { background: var(--paper-2); color: var(--ink); }

.offer-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-band-inner { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .offer-band-inner { grid-template-columns: 1fr; } }
.offer-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.offer-band-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.price-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; }

.trust-list { display: grid; gap: 12px; margin-top: 24px; font-size: 1.02rem; line-height: 1.6; color: #474747; }
.trust-list div { padding-left: 18px; position: relative; }
.trust-list div::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--orange); }
.trust-list strong { color: var(--ink); }
.btn-lg { padding: 18px 30px; font-size: 1.02rem; }
@media (max-width: 640px) { .btn-lg { width: 100%; justify-content: center; } .form .btn-primary { width: 100%; justify-content: center; } }

.book-cover-sm { max-width: 300px; }

.article-cta { display: grid; grid-template-columns: 3fr 2fr; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 48px 0 40px; }
@media (max-width: 720px) { .article-cta { grid-template-columns: 1fr; } }
.article-cta-main { padding: 28px; background: var(--white); }
.article-cta-main h3 { margin-bottom: 8px; }
.article-cta-main p { font-size: 1rem; margin-bottom: 18px; }
.article-cta-side { padding: 28px; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.article-cta-side p { font-size: 1rem; margin: 0; color: rgba(255,255,255,0.8); }
.article-cta-side .btn { align-self: flex-start; color: #fff; border-color: rgba(255,255,255,0.4); }
.article-cta-side .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.related { display: grid; gap: 0; }
.related-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; transition: color 0.2s; }
.related-row:last-child { border-bottom: 1px solid var(--line); }
.related-row:hover { color: var(--orange); }
.related-row .cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.related-row svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .related-row { grid-template-columns: 1fr auto; } .related-row .cat { grid-column: 1 / -1; } }

.mobile-bar { display: none; align-items: center; gap: 8px; }
.mobile-bar .btn { flex: 1; min-height: 48px; }
.mobile-bar-close { background: none; border: 1px solid var(--line); border-radius: 6px; width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; color: var(--muted); cursor: pointer; flex: none; }
.mobile-bar.is-hidden { transform: translateY(110%); }
.mobile-bar { transition: transform 0.3s var(--ease); }
@media (max-width: 960px) { .mobile-bar { display: flex; } .mobile-bar[hidden] { display: none; } body.bar-hidden { padding-bottom: 0; } }
.cta-strip:not(.dark) { background: var(--paper-2); }
.cta-strip:not(.dark) p { color: var(--muted); }

/* ---------- full case studies ---------- */
.case-full { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3.5vw, 44px); }
.case-head { display: flex; align-items: baseline; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.case-head h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.case-head .card-num { margin: 0; }
.case-head .status { margin-left: auto; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; gap: 20px; } }
.case-grid > div { padding-top: 14px; border-top: 2px solid var(--paper-2); }
.case-grid > div:nth-child(4) { border-top-color: var(--orange); }
.case-label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.case-grid p { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--body-2); }
.case-grid > div:nth-child(4) p { color: var(--ink); }
.case-lesson { margin: 24px 0 0; padding: 16px 20px; background: var(--paper); border-left: 3px solid var(--orange); border-radius: 0 6px 6px 0; font-size: 1.02rem; line-height: 1.6; }
.case-lesson strong { color: var(--orange); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 10px; }
.case-lesson a { font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; }
.case-lesson a svg { width: 14px; height: 14px; }
.nav-cta .btn { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 961px) { .nav-links { gap: 20px; } .nav-cta .btn { padding: 10px 14px; font-size: 0.82rem; } }

/* ---------- mobile CTA wrapping ---------- */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; justify-content: center; }
  .btn-row .btn-primary, .offer .btn, .offer-band-cta .btn-primary, .cta-strip .btn { width: 100%; }
  .offer .btn { align-self: stretch; }
  .mobile-bar .btn { min-width: 0; font-size: 0.9rem; padding: 12px 10px; }
  .case-head .status { margin-left: 0; }
  .nav-links .mobile-cta .btn { width: 100%; }
}

/* ---------- final UX corrections ---------- */
.phone-field { display: grid; grid-template-columns: 128px 1fr; gap: 10px; }
.phone-field select { padding-right: 32px; }
@media (max-width: 400px) { .phone-field { grid-template-columns: 112px 1fr; } }
body.menu-open .mobile-bar { transform: translateY(110%); }
body[data-booked] { padding-bottom: 0; }

.site-footer .newsletter-form { flex-wrap: wrap; }
.site-footer .newsletter-form input { min-width: 200px; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr 1fr; } }
