:root {
  --bg: #f7f4ea;
  --callout: #efe9da;
  --white: #ffffff;
  --ink: #2a2b22;
  --heading: #464738;
  --muted: #796d5f;
  --gold: #afa180;      /* decorative only: rules, dots, borders */
  --gold-ink: #76683f;  /* gold for text: 4.99:1 on --bg, 4.54:1 on --callout */
  --gold-soft: #c7bc9c;
  --dark: #33342a;
  --line: #ded7c4;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Mulish", sans-serif;
  --label: "Jost", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--heading); outline-offset: 3px; }

h1, h2, h3, h4, .name { font-family: var(--serif); color: var(--heading); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 234, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.scx-logo { display: flex; align-items: center; gap: 12px; }
.scx-mark { font-family: var(--label); font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: .5px; color: #1f1f1f; }
.scx-rule { width: 1px; height: 30px; background: var(--muted); }
.scx-sub { font-family: var(--label); font-size: 8.5px; line-height: 1.45; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  font-family: var(--label); font-size: 12px; line-height: 1.7; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted); padding: 10px 12px;
  transition: color .2s;
}
.nav a:hover { color: var(--heading); }
.nav .nav-cta { background: var(--heading); color: var(--bg); padding: 10px 18px; margin-left: 8px; transition: background .2s; }
.nav .nav-cta:hover { background: var(--dark); color: var(--bg); }

/* Hero: left-aligned, no glow, no ornament */
.hero { max-width: 1000px; margin: 0 auto; padding: 112px 40px 96px; }
.eyebrow {
  font-family: var(--label); font-size: 12px; line-height: 1.7; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px;
}
/* Service first (what SCX sells), promise second */
.hero h1 { max-width: 780px; font-size: clamp(34px, 5.4vw, 60px); font-weight: 500; line-height: 1.06; }
.promise {
  margin-top: 14px;
  font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; color: var(--gold-ink);
}
.lede { max-width: 620px; margin-top: 36px; font-size: 19px; font-weight: 400; line-height: 1.65; color: var(--heading); }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 40px; }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 28px; border: 1px solid transparent;
  font-family: var(--label); font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: .3px;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--heading); border-color: var(--heading); color: var(--bg); }
.btn-primary:hover { background: var(--dark); border-color: var(--dark); }
.btn-link {
  font-family: var(--label); font-size: 15px; font-weight: 500; color: var(--heading);
  border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: border-color .2s;
}
.btn-link:hover { border-color: var(--heading); }

/* Sections */
.block { padding: 88px 0; border-top: 1px solid var(--line); }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 40px; }
.kicker { margin-bottom: 28px; }
.kicker .eyebrow { margin-bottom: 12px; }
.block h2 { font-size: 40px; font-weight: 500; line-height: 1.12; letter-spacing: 0; }
.sec-lede { max-width: 720px; margin-bottom: 8px; color: var(--muted); }

/* Problem: sticky heading beside the content */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.split .kicker { position: sticky; top: 104px; margin-bottom: 0; }

.callout { padding: 28px 32px; background: var(--callout); border-left: 3px solid var(--heading); }
.callout h3 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.callout p { font-size: 17px; line-height: 1.7; }

.frictions { margin-top: 32px; border-top: 1px solid var(--line); }
.frictions .cell {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.frictions .n { grid-row: span 2; padding-top: 4px; }
.frictions h4 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.frictions p { font-size: 16px; color: var(--muted); }
.n { font-family: var(--label); font-size: 13px; letter-spacing: 1px; color: var(--gold-ink); }

/* Connects: one large statement, open columns */
.connects { background: var(--white); }
.connects .sec-lede {
  max-width: 820px; margin: 0 0 56px;
  font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.3; color: var(--heading);
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 0 28px; border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.tag { font-family: var(--label); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.pillar h3 { font-size: 26px; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.pillar p { font-size: 16px; color: var(--muted); }

/* Method: timeline */
.method { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 40px; }
.mstep { position: relative; padding: 28px 20px 0 0; border-top: 1px solid var(--heading); }
.mstep::before {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--heading);
}
.idx { font-family: var(--serif); font-size: 20px; font-weight: 600; font-style: italic; color: var(--gold-ink); margin-bottom: 4px; }
.mstep h4 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.mstep p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Services: editorial index */
.services { margin-top: 40px; border-top: 1px solid var(--heading); }
.service {
  display: grid; grid-template-columns: 4fr 7fr; gap: 40px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.service h4 { font-size: 34px; font-weight: 500; line-height: 1.1; }
.service p { font-size: 17px; color: var(--muted); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 24px; }
.member { display: flex; flex-direction: column; padding-top: 22px; border-top: 1px solid var(--heading); }
/* Files are pre-cropped to one face scale and eye line, with a shared duotone */
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; margin-bottom: 22px; background: var(--callout); }
.name { font-size: 34px; font-weight: 500; line-height: 1.1; margin-bottom: 6px; }
.role { font-family: var(--label); font-size: 14px; font-weight: 500; color: var(--gold-ink); margin-bottom: 14px; line-height: 1.5; }
.area { font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
.phrase { font-family: var(--serif); font-size: 21px; font-style: italic; line-height: 1.35; color: var(--heading); margin-bottom: 14px; }
.social-link {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; min-height: 24px; margin-top: auto;
  font-family: var(--label); font-size: 13px; font-weight: 500; color: var(--heading);
  border-bottom: 1px solid var(--gold); transition: border-color .2s;
}
.social-link:hover { border-color: var(--heading); }
.social-mark { width: 14px; height: 14px; color: var(--gold-ink); }
.credit {
  display: flex; align-items: center; gap: 6px; min-height: 24px; margin: -6px 0 14px;
  font-family: var(--label); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}
.credit-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; letter-spacing: 1.2px; color: var(--heading); }
.credit-link:hover { color: var(--ink); }
.credit-mark { width: 14px; height: 14px; color: var(--gold-ink); }

/* Dark sections */
.manifesto, .contact, footer { background: var(--dark); color: var(--bg); }
.manifesto { padding: 96px 40px; }
.manifesto blockquote {
  max-width: 920px; margin: 0 auto;
  font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 400; line-height: 1.25;
}
.manifesto cite {
  display: block; margin-top: 24px;
  font-family: var(--label); font-style: normal; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-soft);
}

.contact { padding: 88px 40px; border-top: 1px solid rgba(247, 244, 234, .12); }
.contact-inner {
  max-width: 920px; margin: 0 auto;
  display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: end;
}
.contact .eyebrow { color: var(--gold-soft); }
.contact h2 { font-size: 40px; font-weight: 500; line-height: 1.15; color: var(--bg); margin-bottom: 16px; }
.contact p { max-width: 520px; color: rgba(247, 244, 234, .82); }
.contact .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 600; }
.contact .btn-primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.contact-meta {
  display: flex; flex-direction: column; gap: 4px; margin-top: 20px;
  font-family: var(--label); font-size: 14px; color: rgba(247, 244, 234, .78);
}
.contact-meta a { align-self: flex-start; color: var(--gold-soft); border-bottom: 1px solid rgba(199, 188, 156, .5); }

footer { padding: 42px 40px 32px; border-top: 1px solid rgba(247, 244, 234, .12); }
.foot-inner { max-width: 920px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.foot-scx .m { font-family: var(--label); font-size: 20px; font-weight: 600; }
.foot-scx .s { font-family: var(--label); font-size: 8px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold-soft); margin-top: 2px; }
.foot-mid { font-family: var(--label); font-size: 13px; color: rgba(247, 244, 234, .72); }

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

/* Responsive */
@media (max-width: 900px) {
  .split, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .split .kicker { position: static; }
  .method { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .pillars { grid-template-columns: 1fr; gap: 36px; }
  .team { gap: 20px; }
  .pillar { padding: 0; border-left: 0; }
}

@media (max-width: 760px) {
  /* One-row header: logo + CTA. Section links stay on desktop only. */
  html { scroll-padding-top: 76px; }
  .topbar-inner { padding: 8px 16px; gap: 12px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { margin-left: 0; padding: 13px 14px; font-size: 11px; letter-spacing: .8px; }
  .hero { padding: 64px 20px 64px; }
  .lede { font-size: 18px; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 22px; }
  .wrap { padding: 0 20px; }
  .block { padding: 64px 0; }
  .block h2, .contact h2 { font-size: 30px; }
  .callout { padding: 22px 20px; }
  .connects .sec-lede { font-size: 24px; margin-bottom: 40px; }
  .method { grid-template-columns: 1fr; gap: 0; margin-left: 4px; }
  .mstep { padding: 0 0 28px 28px; border-top: 0; border-left: 1px solid var(--heading); }
  .mstep:last-child { border-left-color: transparent; }
  .mstep::before { top: 6px; left: -5px; }
  .service { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .service h4 { font-size: 28px; }
  .team { grid-template-columns: 1fr; gap: 48px; }
  .manifesto, .contact { padding: 64px 20px; }
  .foot-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .scx-rule, .scx-sub { display: none; }
}
