:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 980px;
  --pad: clamp(22px, 4vw, 40px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wrap {
  width: min(var(--max), 100% - 2 * var(--pad));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1120px, 100% - 2 * var(--pad));
  margin-inline: auto;
}

/* Header — thin, quiet */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.021em;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.8;
}

.brand small {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
  opacity: 0.88;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  border: 0;
  font: inherit;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding-inline: 12px;
}

.btn-ghost:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
  color: #fff;
}

/* Home hero — typographic, light, one composition */
.hero {
  padding: clamp(72px, 14vw, 140px) 0 clamp(64px, 10vw, 110px);
  text-align: center;
  background: var(--bg);
}

.hero-brand {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}

.hero h1 {
  margin: 0 auto 18px;
  max-width: 16ch;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-soft);
}

.hero .lede {
  margin: 0 auto 32px;
  max-width: 34em;
  font-size: 21px;
  line-height: 1.381;
  letter-spacing: 0.011em;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.page-hero {
  padding: clamp(56px, 10vw, 96px) 0 28px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 auto 16px;
  max-width: 14ch;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.07;
}

.page-hero .lede {
  margin: 0 auto;
  max-width: 38em;
  font-size: 21px;
  line-height: 1.381;
  letter-spacing: 0.011em;
  color: var(--ink-soft);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section {
  padding: clamp(56px, 9vw, 100px) 0;
}

.section-tight {
  padding: clamp(28px, 5vw, 48px) 0 clamp(56px, 9vw, 100px);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  margin: 0 auto clamp(36px, 6vw, 56px);
  max-width: 40rem;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  font-size: 19px;
  line-height: 1.42;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.split.reverse .split-copy {
  order: 2;
}

.mosaic-frame {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 280px;
}

.mosaic-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.work-tile {
  display: grid;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.work-tile:hover {
  text-decoration: none;
}

.work-tile:hover h3 {
  color: var(--blue);
}

.work-meta {
  display: grid;
  gap: 6px;
  text-align: left;
}

.work-meta .tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.work-meta h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.work-meta p {
  margin: 0;
  font-size: 17px;
  line-height: 1.47;
  color: var(--ink-soft);
}

.principle-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.principle-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-list .num {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
}

.principle-list h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.principle-list p {
  margin: 0;
  color: var(--ink-soft);
}

.band {
  background: var(--bg-alt);
}

.cta-panel {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-panel p {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.42;
  color: var(--ink-soft);
}

.prose {
  max-width: 38rem;
  margin-inline: auto;
}

.prose p {
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.47;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.prose ul {
  color: var(--ink-soft);
  padding-left: 1.2rem;
  font-size: 19px;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline .when {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.timeline h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin-inline: auto;
}

.contact-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.contact-block h2 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 600;
}

.contact-block p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 48px 0 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--ink-soft);
  font-size: 12px;
  text-decoration: none;
}

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

.footer-note {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (max-width: 840px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header.is-open .nav-links {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: 48px;
    padding: 16px var(--pad) 20px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    gap: 14px;
  }

  .site-header.is-open .nav-cta {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(48px + 160px);
    padding: 0 var(--pad) 20px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .split,
  .split.reverse,
  .work-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .principle-list li,
  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .page-hero,
  .section-head,
  .hero {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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