:root {
  --bg: #FAFAF7;
  --ink: #141414;
  --accent: #2F4BFF;
  --secondary: #8B8B85;
  --hairline: #E4E4DE;
  --font-display: 'Syne', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Spline Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Spline Sans Mono', 'SFMono-Regular', Consolas, 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

address { font-style: normal; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- top line ---------- */
.topline {
  border-bottom: 1px solid var(--hairline);
}

.topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topline-inner a { color: var(--ink); }
.topline-inner a:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.wordmark-mark {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent);
  flex: none;
}

.nav ul {
  display: flex;
  gap: 34px;
}

.nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover { color: var(--accent); }

.nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-lede {
  max-width: 56ch;
  margin-top: 30px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--ink);
}

.hero-actions { margin-top: 38px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline {
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-solid {
  background: var(--accent);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--bg);
  color: var(--accent);
}

.btn-invert {
  border-color: var(--bg);
  color: var(--bg);
  background: transparent;
}

.btn-invert:hover {
  background: var(--bg);
  color: var(--accent);
}

/* ---------- framed figures ---------- */
.frame {
  border: 1px solid var(--ink);
  background: var(--bg);
  padding: 12px;
}

.frame img { width: 100%; }

.frame-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  border-top: 1px solid var(--hairline);
  margin-top: 12px;
  padding-top: 12px;
}

/* ---------- sections ---------- */
.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section + .section { border-top: 1px solid var(--hairline); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.section-note {
  max-width: 62ch;
  color: var(--ink);
  margin-bottom: clamp(32px, 4vw, 52px);
}

.prose p + p { margin-top: 1.2em; }
.prose { max-width: 70ch; }

/* ---------- disciplines index ---------- */
.index-list { border-bottom: 1px solid var(--hairline); }

.index-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: baseline;
  padding: 30px 0;
  border-top: 1px solid var(--hairline);
}

.index-row .no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.index-row h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
}

.index-row p {
  color: var(--ink);
  font-size: 16px;
}

.index-row .desc { color: var(--secondary); }

/* ---------- studio pair (asymmetric) ---------- */
.studio-pair {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.studio-pair .frame-sm { margin-top: clamp(40px, 6vw, 88px); }

/* ---------- selected work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}

.work-card .frame-caption { color: var(--secondary); }

.work-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-top: 18px;
  letter-spacing: -0.01em;
}

.work-card p {
  margin-top: 8px;
  color: var(--secondary);
  font-size: 16px;
}

/* ---------- how we work ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.steps { margin-top: 8px; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}

.step:last-child { border-bottom: 1px solid var(--hairline); }

.step .no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 5px;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 6px;
}

.step p { color: var(--secondary); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--bg);
  padding: clamp(64px, 8vw, 110px) 0;
}

.cta-band .kicker { color: var(--bg); opacity: 0.85; }

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 22ch;
}

.cta-band p {
  max-width: 58ch;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
}

.cta-band .btn { margin-top: 36px; }

/* ---------- page head (inner pages) ---------- */
.page-head {
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--hairline);
}

.page-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 68px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 20ch;
  margin-top: 24px;
}

.page-head .lede {
  max-width: 62ch;
  margin-top: 24px;
  font-size: 18px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.info-block { padding: 26px 0; border-top: 1px solid var(--hairline); }
.info-block:last-of-type { border-bottom: 1px solid var(--hairline); }

.info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.info-block p, .info-block a { font-size: 17px; }
.info-block a:hover { color: var(--accent); }

.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 13px 14px;
  margin-bottom: 24px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.map-frame {
  border: 1px solid var(--ink);
  padding: 12px;
  margin-top: clamp(48px, 6vw, 80px);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(1) contrast(1.02);
}

.map-frame .frame-caption { color: var(--secondary); }

/* ---------- policies ---------- */
.policy { max-width: 72ch; }

.policy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}

.policy p { margin-bottom: 16px; }

.policy ul {
  list-style: square;
  padding-left: 22px;
  margin-bottom: 16px;
}

.policy li { margin-bottom: 8px; }

.updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 8px;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: clamp(56px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}

.footer-blurb {
  margin-top: 16px;
  color: #B9B9B2;
  font-size: 15px;
  max-width: 34ch;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 18px;
}

.site-footer address,
.site-footer p,
.site-footer li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 2.1;
  color: #DDDDD6;
}

.site-footer a { color: #DDDDD6; }
.site-footer a:hover { color: var(--bg); text-decoration: underline; }

.footer-small {
  border-top: 1px solid #2C2C2C;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 26px;
}

.footer-small p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--accent);
}

.cookie-banner[hidden] { display: none; }

.cookie-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 14px;
  max-width: 62ch;
  color: #DDDDD6;
}

.cookie-text a { color: var(--bg); text-decoration: underline; }
.cookie-text a:hover { color: var(--accent); }

.cookie-actions { display: flex; gap: 12px; }

.cookie-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 0;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.cookie-btn.accept {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg);
}

.cookie-btn.accept:hover { background: #1F38CC; border-color: #1F38CC; }

.cookie-btn.decline {
  border: 1px solid #55554F;
  color: #DDDDD6;
}

.cookie-btn.decline:hover { border-color: var(--bg); color: var(--bg); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav-toggle span, .btn, .cookie-btn { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .index-row {
    grid-template-columns: 64px 1fr;
  }
  .index-row .desc {
    grid-column: 2;
  }
  .how-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    display: none;
    z-index: 100;
  }

  .site-header { position: relative; }

  .nav.open { display: block; }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px clamp(20px, 4vw, 48px) 20px;
  }

  .nav li { border-top: 1px solid var(--hairline); }

  .nav a {
    display: block;
    padding: 14px 0;
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  .studio-pair { grid-template-columns: 1fr; }
  .studio-pair .frame-sm { margin-top: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-small { flex-direction: column; gap: 8px; }
  .topline-inner span:first-child { letter-spacing: 0.1em; }
}
