/* The Gumption Studio — Ink & Tangerine */
:root {
  --ink: #14161F;
  --ink-soft: #3A3D4A;
  --muted: #6B6E7A;
  --line: #E2E2DC;
  --chalk: #F5F5F2;
  --white: #FFFFFF;
  --tangerine: #FF7A1A;      /* accent on dark */
  --tangerine-deep: #E85D04; /* accent on light */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 50, "opsz" 96;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--chalk); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.section--ink .eyebrow { color: #A9ABB5; }
.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 40ch; }
.measure { max-width: 64ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 245, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--tangerine-deep); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateX(2px); }
.btn--primary { background: var(--tangerine-deep); border-color: var(--tangerine-deep); color: var(--white); }
.btn--primary:hover { background: #cf5203; border-color: #cf5203; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--chalk); }
.section--ink .btn--primary { background: var(--tangerine); border-color: var(--tangerine); color: var(--ink); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.nav-links .btn { padding: 10px 18px; font-size: 0.9rem; color: var(--ink); }
.nav-links .btn:hover { color: var(--chalk); }

.text-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--tangerine-deep); padding-bottom: 2px; }
.text-link:hover { color: var(--tangerine-deep); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { margin-bottom: 36px; }
.hero-graphic { width: 100%; }

.page-hero { padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 18ch; }

/* ---------- When to call ---------- */
.when-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.when-list li { border-top: 2px solid var(--ink); padding-top: 20px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.when-list .num { display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }

/* ---------- Cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.section--white .card { background: var(--chalk); }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.card .tag { font-size: 0.78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.card .more { font-weight: 600; font-size: 0.95rem; margin-top: 8px; }
.card .more span { color: var(--tangerine-deep); }

/* ---------- Gumption band ---------- */
.band { padding: 104px 0; }
.band-inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.band svg { width: 120px; height: 120px; }
.band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.25; }
.band blockquote em { font-style: italic; color: var(--tangerine); }
.band blockquote p.small { font-family: var(--sans); font-size: 1.1rem; color: #C9CAD1; margin-top: 20px; max-width: 52ch; line-height: 1.6; }

/* ---------- Insight feature ---------- */
.insight-feature {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px;
}
.insight-feature .meta { font-size: 0.9rem; color: var(--muted); }
.insight-feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 22ch; margin: 0 auto 32px; }

/* ---------- Services page ---------- */
.specialty { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; max-width: 38ch; border-left: 3px solid var(--tangerine-deep); padding-left: 24px; margin: 0; }
.service { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; }
.service .scope { display: inline-block; margin-top: 8px; font-size: 0.9rem; font-weight: 600; padding: 6px 14px; border: 1px solid var(--ink); border-radius: 999px; }
.service .label { font-size: 0.8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.service .block { margin-bottom: 28px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; font-size: 1rem; color: var(--ink-soft); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 0.8rem; font-weight: 600; display: grid; place-items: center; color: var(--ink); }
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.addon { border-top: 2px solid var(--ink); padding-top: 16px; }
.addon h3 { font-size: 1.2rem; margin-bottom: 6px; }
.addon p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
.principles li strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 4px; color: var(--chalk); }
.principles li { color: #C9CAD1; font-size: 1rem; }

/* ---------- Work page ---------- */
.case { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; }
.case .pillar { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tangerine-deep); margin-bottom: 12px; }
.case dl { margin: 0; }
.case dt { font-size: 0.8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.case dd { margin: 0 0 24px; color: var(--ink-soft); }

/* ---------- Insights page ---------- */
.insight-list { list-style: none; margin: 0; padding: 0; }
.insight-item { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.insight-item .meta { font-size: 0.9rem; color: var(--muted); }
.insight-item .type { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.insight-item h2 { font-size: 1.7rem; margin-bottom: 12px; }
.insight-item h2 a { text-decoration: none; }
.insight-item h2 a:hover { color: var(--tangerine-deep); }
.insight-item p { color: var(--ink-soft); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--ink);
  display: grid; place-items: center; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait svg { width: 45%; height: auto; }
.about-copy p { font-size: 1.15rem; color: var(--ink-soft); }
.about-copy p.opening { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; color: var(--ink); }
.facts { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.facts li span:first-child { color: var(--muted); font-weight: 600; font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }

/* ---------- Contact page ---------- */
.contact { min-height: 60vh; display: flex; align-items: center; }
.contact h1 { max-width: 16ch; }
.contact .lede { max-width: 46ch; margin-bottom: 40px; }
.email-big {
  font-family: var(--serif); font-size: clamp(1.6rem, 4.4vw, 3.2rem); text-decoration: none;
  border-bottom: 3px solid var(--tangerine-deep); padding-bottom: 4px; word-break: break-word;
}
.email-big:hover { color: var(--tangerine-deep); }
.reply-note { margin-top: 28px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9CAD1; padding: 64px 0 40px; font-size: 0.95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid #2B2E3A; }
.site-footer .brand-name { color: var(--chalk); }
.site-footer .tagline { margin-top: 12px; color: #A9ABB5; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--tangerine); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.85rem; color: #8A8C96; }
.footer-bottom a { color: #C9CAD1; }
.footer-bottom a:hover { color: var(--tangerine); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .service, .case, .about-grid, .insight-feature { grid-template-columns: 1fr; gap: 32px; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: 1fr; }
  .when-list { grid-template-columns: 1fr; gap: 24px; }
  .insight-item { grid-template-columns: 1fr; gap: 8px; }
  .about-grid .portrait { max-width: 320px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 24px 24px; background: var(--chalk); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 12px; display: inline-flex; padding: 12px 22px; }
  .cards--4, .steps, .addons, .principles { grid-template-columns: 1fr; }
  .band-inner { grid-template-columns: 1fr; gap: 28px; }
  .band svg { width: 80px; height: 80px; }
  .insight-feature { padding: 28px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}
