:root {
  color-scheme: light;
  --paper: #f3f2ed;
  --paper-2: #e7e6df;
  --ink: #141412;
  --muted: #66665f;
  --line: #c8c7bf;
  --accent: #f3e52f;
  --accent-ink: #17170f;
  --display: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1280px, calc(100vw - 48px));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #11110f;
  --paper-2: #1b1b18;
  --ink: #f2f1e9;
  --muted: #a2a199;
  --line: #3a3a35;
  --accent: #f3e52f;
  --accent-ink: #17170f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 12px/1 var(--mono);
  text-transform: uppercase;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font: 700 14px/1 var(--mono);
  letter-spacing: .02em;
}

.brand b { font-weight: 400; color: var(--muted); }

.brand-mark {
  width: 28px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-face { fill: var(--accent); stroke: currentColor; }

.site-nav { display: flex; align-items: center; gap: 34px; }

.site-nav a {
  display: inline-flex;
  gap: 6px;
  text-decoration: none;
  font: 650 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.theme-toggle {
  position: relative;
  width: 50px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
}

.theme-icon {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .2s ease;
}

[data-theme="dark"] .theme-icon { transform: translateX(22px); background: var(--accent); }

.hero { padding: 104px 0 52px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font: 650 12px/1.2 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.eyebrow > span { width: 8px; height: 8px; background: var(--accent); }

.hero h1 {
  max-width: 1120px;
  margin: 34px 0 78px;
  font-size: clamp(68px, 9.4vw, 148px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.07em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  font-size: clamp(21px, 2.2vw, 32px);
  line-height: 1.3;
  letter-spacing: -.025em;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  min-width: 210px;
  padding: 19px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font: 700 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .16s ease, background .16s ease, color .16s ease;
}

.button:hover { transform: translateY(-3px); background: var(--accent); color: var(--accent-ink); }

.signal {
  height: 100px;
  margin-top: 78px;
  display: flex;
  align-items: center;
  gap: clamp(5px, .7vw, 10px);
  overflow: hidden;
}

.signal span {
  flex: 1 0 10px;
  height: 12px;
  background: var(--line);
  animation: pulse 2.8s ease-in-out infinite alternate;
  transform-origin: center;
}

.signal span:nth-child(3n) { height: 44px; animation-delay: -.8s; }
.signal span:nth-child(4n) { height: 78px; animation-delay: -1.6s; }
.signal span:nth-child(5n) { height: 28px; animation-delay: -2.2s; }
.signal span:nth-child(7n) { height: 92px; background: var(--accent); animation-delay: -.3s; }

@keyframes pulse { to { transform: scaleY(.35); } }

.focus, .principles, .people {
  padding: 128px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 70px;
}

.section-heading h2 {
  margin: -9px 0 0;
  font-size: clamp(46px, 6.2vw, 92px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.055em;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-left: calc((100% + 40px) / 3);
}

.focus-card {
  min-height: 590px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.accent-card { background: var(--accent); color: var(--accent-ink); border-color: var(--accent-ink); }

.card-number {
  margin: 0;
  color: inherit;
  font: 650 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.card-icon {
  width: 84px;
  height: 84px;
  margin: 70px 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.wave-icon path { stroke-width: 2.5; }

.focus-card h3 {
  max-width: 520px;
  margin: 50px 0 20px;
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.focus-card > p:last-child {
  max-width: 500px;
  margin: 0;
  color: inherit;
  font-size: 17px;
  line-height: 1.55;
  opacity: .72;
}

.section-heading.compact { margin-bottom: 72px; }

.principles-list { margin: 0 0 0 calc((100% + 40px) / 3); padding: 0; list-style: none; }

.principles-list li {
  display: grid;
  grid-template-columns: 70px minmax(160px, .8fr) 1.4fr;
  gap: 30px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

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

.principles-list span { color: var(--muted); font: 12px/1.5 var(--mono); }

.principles-list h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }

.principles-list p { max-width: 460px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; }

.people-list { margin-left: calc((100% + 40px) / 3); }

.people-list a {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 106px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: padding .16s ease, background .16s ease;
}

.people-list a:last-child { border-bottom: 1px solid var(--line); }
.people-list a:hover { padding-inline: 20px; background: var(--accent); color: var(--accent-ink); }
.people-list span { font-size: clamp(25px, 3vw, 40px); letter-spacing: -.035em; }
.people-list small { color: var(--muted); font: 13px/1.2 var(--mono); text-transform: uppercase; }
.people-list a:hover small { color: inherit; }
.people-list b { font-size: 24px; font-weight: 400; }

.contact {
  min-height: 650px;
  padding: 74px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--ink);
  color: var(--paper);
}

.eyebrow.light { color: var(--paper); opacity: .64; }
.contact h2 {
  margin: auto 0 60px;
  font-size: clamp(55px, 8vw, 118px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.06em;
}

.button.inverted { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button.inverted:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

.site-footer {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
}

.site-footer p { margin: 0; color: var(--muted); font: 12px/1.5 var(--mono); }
.site-footer p:last-child { text-align: right; }

@media (max-width: 860px) {
  :root { --shell: min(100% - 32px, 720px); }
  .site-header { min-height: 88px; }
  .site-nav { gap: 20px; }
  .site-nav > a:not(:last-of-type) { display: none; }
  .hero { padding-top: 74px; }
  .hero h1 { margin: 28px 0 52px; font-size: clamp(62px, 16vw, 112px); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-bottom .button { justify-self: start; }
  .signal { margin-top: 56px; }
  .focus, .principles, .people { padding: 92px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 38px; }
  .focus-grid, .principles-list, .people-list { margin-left: 0; }
  .focus-card { min-height: 530px; }
  .contact { min-height: 570px; padding: 48px; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 24px); }
  .site-header { min-height: 78px; }
  .brand { gap: 9px; font-size: 12px; }
  .brand-mark { width: 23px; height: 26px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 10px; }
  .hero { padding-top: 58px; }
  .hero h1 { margin: 24px 0 44px; font-size: clamp(58px, 18vw, 88px); }
  .hero-copy { font-size: 20px; }
  .signal { height: 76px; margin-top: 48px; }
  .focus, .principles, .people { padding: 76px 0; }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2 { font-size: 48px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 500px; padding: 22px; }
  .focus-card h3 { font-size: 34px; }
  .principles-list li { grid-template-columns: 42px 1fr; gap: 20px; }
  .principles-list p { grid-column: 2; }
  .people-list a { grid-template-columns: 1fr auto; gap: 10px; padding: 20px 0; }
  .people-list small { grid-column: 1; grid-row: 2; }
  .people-list b { grid-column: 2; grid-row: 1 / span 2; }
  .contact { width: 100%; min-height: 520px; padding: 58px 20px 24px; }
  .contact h2 { margin-bottom: 42px; font-size: 56px; }
  .contact .button { width: 100%; }
  .site-footer { min-height: 230px; grid-template-columns: 1fr; gap: 16px; padding: 44px 0; }
  .site-footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
