/* =========================================================
   datadot — design tokens
   ========================================================= */
:root {
  --bg:        #FBFAF6;
  --bg-muted:  #F4EFE6;
  --fg:        #1F1D1A;
  --fg-muted:  #7A766B;
  --fg-soft:   #B8B3A5;
  --border:    #ECE5D6;
  --border-strong: #2A2724;
  --accent:    #E63946;   /* brand red — "the dot" */
  --accent-ink:#B82B36;

  --maxw: 1180px;
  --pad:  clamp(20px, 4vw, 40px);

  --radius: 14px;
  --radius-sm: 8px;

  --t-fast: 160ms cubic-bezier(.2,.7,.2,1);
  --t-med:  320ms cubic-bezier(.2,.7,.2,1);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(10,10,10,.04), 0 1px 1px rgba(10,10,10,.03);
  --shadow-md: 0 8px 24px -8px rgba(10,10,10,.10), 0 2px 6px rgba(10,10,10,.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #16140F;   /* warm dark, not pure black */
    --bg-muted:  #1F1C16;
    --fg:        #EFEAE0;
    --fg-muted:  #9C968A;
    --fg-soft:   #5C574E;
    --border:    #2A2620;
    --border-strong: #EFEAE0;
    --accent:    #FF4D5C;
    --accent-ink:#FF6B7A;
  }
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.015em; line-height: 1.18; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.section-muted {
  background: var(--bg-muted);
}

.section-head {
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 720px;
}

/* =========================================================
   Editorial section numbers — faded oversized italic numerals
   in section corners (option 2)
   ========================================================= */
.section-num {
  position: absolute;
  pointer-events: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(180px, 28vw, 460px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--fg);
  opacity: 0.045;
  user-select: none;
  z-index: 0;
}
.section-num.tr { top: -0.18em; right: 0.04em; }
.section-num.br { bottom: -0.22em; right: 0.04em; }
.section-num.bl { bottom: -0.22em; left: 0.04em; }
.section-num.tl { top: -0.18em; left: 0.04em; }

/* Make sure content stays above the numerals */
.hero > .container,
.section > .container,
.quote-band > .container {
  position: relative;
  z-index: 1;
}

/* On the dark CTA section, invert number color */
.section-cta .section-num { color: var(--bg); opacity: 0.06; }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.018em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
}
.section-title .muted { color: var(--fg-muted); }
.section-title .serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.015em; }

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 64ch;
  line-height: 1.6;
}

.serif { font-family: var(--font-serif); }
.muted { color: var(--fg-muted); }

/* =========================================================
   Skip link, a11y
   ========================================================= */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fg); color: var(--bg);
  padding: 10px 14px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.site-header.scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.logo {
  display: inline-flex; align-items: baseline;
  font-weight: 600; letter-spacing: -0.02em;
  font-size: 1.125rem;
}
.logo-text { display: inline-flex; align-items: baseline; gap: 0; }
.logo-dot {
  color: var(--accent);
  font-size: 0.78em;
  margin-inline: 1px;
  transform: translateY(-0.05em);
  display: inline-block;
}

.site-nav {
  display: flex; gap: 28px;
  font-size: 0.94rem;
  color: var(--fg-muted);
}
.site-nav a {
  position: relative;
  padding-block: 6px;
  transition: color var(--t-fast);
}
.site-nav a:hover { color: var(--fg); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med);
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex; align-items: center; gap: 14px;
}

.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.lang-switch button {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--fg-muted);
  font-weight: 500;
  transition: color var(--t-fast), background var(--t-fast);
}
.lang-switch button[aria-pressed="true"] {
  background: var(--fg);
  color: var(--bg);
}

/* mobile menu */
.menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--fg); transition: transform var(--t-fast), opacity var(--t-fast); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px var(--pad) 24px;
  gap: 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav.open { display: flex; }

@media (max-width: 880px) {
  .site-nav { display: none; }
  .header-actions .btn-primary { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn-lg { padding: 14px 22px; font-size: 1rem; }

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--accent); color: #fff; }

.btn-ghost {
  border-color: var(--border);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--fg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* very subtle warm wash behind the dot — no spaceship */
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 50% 50%,
              color-mix(in oklab, var(--accent) 8%, transparent) 0%,
              transparent 65%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}
.hero > .container { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin-block: 18px 20px;
  max-width: 19ch;
}
.hero-title .serif { font-weight: 400; font-style: italic; letter-spacing: -0.015em; }

.hero-sub {
  max-width: 60ch;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--fg-muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-metrics > div {
  padding: 0 24px 0 0;
  border-right: 1px solid var(--border);
}
.hero-metrics > div:last-child { border-right: 0; }
.hero-metrics dt {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.hero-metrics dd {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
}

@media (max-width: 720px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .hero-metrics > div:nth-child(2) { border-right: 0; }
}

/* =========================================================
   Grid utilities
   ========================================================= */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }

/* =========================================================
   Service cards
   ========================================================= */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--fg);
  box-shadow: var(--shadow-md);
}
.card-num {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-serif);
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.card-num .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 0.78rem;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-muted);
}

/* =========================================================
   Quote band
   ========================================================= */
.quote-band {
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--border);
  background: var(--bg-muted);
}
.quote-band blockquote {
  margin: 0;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.quote-band blockquote p {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.36;
  letter-spacing: -0.012em;
  font-style: italic;
  font-weight: 400;
}
.quote-band blockquote footer {
  margin-top: 16px;
  color: var(--fg-muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* =========================================================
   Cases
   ========================================================= */
.cases {
  display: flex; flex-direction: column;
}
.case {
  padding-block: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr 320px;
  grid-template-rows: auto auto;
  column-gap: 32px;
  row-gap: 12px;
  align-items: start;
  transition: background var(--t-med);
}
.case > .case-meta  { grid-column: 1; grid-row: 1 / span 2; }
.case > h3          { grid-column: 2; grid-row: 1; }
.case > p           { grid-column: 2; grid-row: 2; }
.case > .case-stats { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
.case:first-child { border-top: 0; padding-top: 0; }
.case:hover { background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--accent) 4%, transparent) 50%, transparent); }
.case-meta {
  display: flex; flex-direction: column; gap: 6px;
}
.case-tag {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
}
.case-year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--fg-soft);
}
.case h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}
.case > p {
  color: var(--fg-muted);
  max-width: 56ch;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  border-left: 1px solid var(--border);
}
.case-stats > div {
  padding: 0 18px;
  border-right: 1px solid var(--border);
}
.case-stats > div:last-child { border-right: 0; }
.case-stats dt {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.case-stats dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.015em;
}

@media (max-width: 1000px) {
  .case { grid-template-columns: 1fr; row-gap: 16px; }
  .case > .case-meta,
  .case > h3,
  .case > p,
  .case > .case-stats { grid-column: 1; grid-row: auto; }
  .case-stats { border-left: 0; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 8px; }
}

/* =========================================================
   Stack grid
   ========================================================= */
.stack-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  line-height: 1.7;
  letter-spacing: -0.005em;
  text-align: center;
  color: var(--fg);
  max-width: 64ch;
  margin: 0 auto;
}

/* =========================================================
   Founder block
   ========================================================= */
.founder {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.founder-intro {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: start;
}
.founder-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--fg-muted);
}
.founder-intro h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.founder-intro .role {
  color: var(--fg-muted);
  font-size: 0.96rem;
  margin-bottom: 18px;
}
.founder-bio {
  color: var(--fg-muted);
  margin-bottom: 22px;
  line-height: 1.65;
  max-width: 50ch;
}

.founder-credentials {
  display: grid;
  gap: 36px;
}
.founder-credentials h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 14px;
  font-weight: 500;
}
.founder-credentials ul {
  display: grid;
  gap: 10px;
}
.founder-credentials li {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.founder-credentials li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
.founder-credentials .timeline li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding-left: 16px;
}
.founder-credentials .timeline strong {
  color: var(--fg);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.founder-credentials .timeline small {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--fg-soft);
  font-style: italic;
}

@media (max-width: 880px) {
  .founder { grid-template-columns: 1fr; gap: 48px; }
  .founder-intro { grid-template-columns: 64px 1fr; gap: 18px; }
  .founder-avatar { width: 64px; height: 64px; font-size: 1.1rem; }
  .founder-credentials .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   Service packages (T1–T4 + Retainer)
   ========================================================= */
.packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1100px) { .packages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .packages { grid-template-columns: 1fr; } }

.package {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.package:hover {
  transform: translateY(-2px);
  border-color: var(--fg);
  box-shadow: var(--shadow-md);
}
.package h3 {
  font-size: 1.15rem;
  margin: 0;
  letter-spacing: -0.015em;
}
.pkg-desc {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}
.pkg-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--accent);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  border-radius: 999px;
  padding: 2px 12px;
  letter-spacing: 0.04em;
}
.pkg-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.pkg-meta > div {
  padding-right: 12px;
  border-right: 1px solid var(--border);
}
.pkg-meta > div:last-child { border-right: 0; padding-right: 0; }
.pkg-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.pkg-meta dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fg);
  line-height: 1.3;
}
.pkg-meta strong {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.package-featured {
  border-color: var(--fg);
  background: color-mix(in oklab, var(--accent) 5%, var(--bg));
}
.package-featured .pkg-tag {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.package-retainer {
  grid-column: 1 / -1;
  background: color-mix(in oklab, var(--fg) 4%, var(--bg));
  border-style: dashed;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 32px;
}
.package-retainer .pkg-tag,
.package-retainer h3,
.package-retainer .pkg-desc { grid-column: 1; }
.package-retainer .pkg-tag { justify-self: start; }
.package-retainer .pkg-meta {
  grid-column: 2; grid-row: 1 / span 3;
  align-self: center;
  border: 0; padding-top: 0;
  grid-template-columns: 1fr 1fr;
  min-width: 280px;
}
.package-retainer .pkg-meta > div {
  border-right: 0; border-left: 1px solid var(--border);
  padding-left: 16px; padding-right: 16px;
}
.package-retainer .pkg-meta > div:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 880px) {
  .package-retainer { grid-template-columns: 1fr; }
  .package-retainer .pkg-meta { grid-column: 1; grid-row: auto; min-width: 0; }
}

/* =========================================================
   Cases note (additional clients line)
   ========================================================= */
.cases-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.95rem;
  max-width: 72ch;
  line-height: 1.55;
}

/* =========================================================
   Side projects
   ========================================================= */
.side-projects {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 720px) { .side-projects { grid-template-columns: 1fr; } }

.side-project {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  position: relative;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.side-project:hover {
  transform: translateY(-2px);
  border-color: var(--fg);
  box-shadow: var(--shadow-md);
}
.side-project h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.side-project p {
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.55;
}
.side-project .status {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent-ink);
  font-weight: 500;
}
.side-project .status.status-live {
  background: color-mix(in oklab, #16A34A 14%, transparent);
  color: #15803D;
}
@media (prefers-color-scheme: dark) {
  .side-project .status.status-live {
    background: color-mix(in oklab, #22C55E 18%, transparent);
    color: #4ADE80;
  }
}
.side-project .status.status-closed {
  background: color-mix(in oklab, var(--fg-muted) 10%, transparent);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

.side-project a.visit {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--accent) 40%, transparent);
  text-underline-offset: 3px;
  transition: color 160ms;
}
.side-project a.visit:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.side-project.placeholder {
  border-style: dashed;
  opacity: 0.7;
}
.side-project.placeholder .status {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-soft);
}

/* =========================================================
   CTA / Contact
   ========================================================= */
.section-cta {
  background: var(--fg);
  color: var(--bg);
  border-top: 0;
}
.section-cta .eyebrow,
.section-cta .lede,
.section-cta .section-title .muted { color: color-mix(in oklab, var(--bg) 70%, transparent); }
.section-cta .section-title .serif { color: var(--bg); }

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 880px) {
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
}

.contact-form {
  display: grid;
  gap: 12px;
  background: color-mix(in oklab, var(--bg) 6%, transparent);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in oklab, var(--bg) 16%, transparent);
}
.contact-form label {
  display: grid; gap: 6px;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--bg) 70%, transparent);
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--bg) 25%, transparent);
  color: var(--bg);
  font: inherit;
  padding: 8px 0;
  outline: none;
  transition: border-color var(--t-fast);
  font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  justify-self: start;
}
.contact-form button:hover { background: #fff; color: var(--fg); }
.form-note {
  font-size: 0.84rem;
  color: color-mix(in oklab, var(--bg) 55%, transparent);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  padding-bottom: 20px;
  font-size: 0.92rem;
  color: var(--fg-muted);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { font-size: 1.05rem; margin-bottom: 12px; }
.footer-brand p { max-width: 36ch; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-cols h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  padding: 4px 0;
  color: var(--fg-muted);
  transition: color var(--t-fast);
}
.footer-cols a:hover { color: var(--fg); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  font-size: 0.84rem;
  color: var(--fg-soft);
}
@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
