/* Obscurité — studio site */

:root {
  --paper: #f1ede4;
  --paper-2: #e7e0d3;
  --ink: #171512;
  --ink-soft: #2f2a24;
  --muted: #746d62;
  --line: rgba(23, 21, 18, 0.15);
  --line-strong: rgba(23, 21, 18, 0.32);
  --accent: #b3462c;
  --accent-soft: #d9a08f;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(241, 237, 228, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-sub {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 9px 0;
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
}

/* Shared type */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: var(--accent);
  content: "";
  flex: none;
}

.muted {
  color: var(--muted);
}

.serif {
  font-family: var(--serif);
  font-weight: 400;
}

.tag {
  display: inline-block;
  padding: 5px 9px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.link-arrow::after {
  content: "↗";
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.link-arrow:hover::after {
  transform: translate(3px, -3px);
}

/* Home hero */

.hero {
  padding: clamp(60px, 9vw, 132px) 0 0;
}

.hero-title {
  max-width: 12ch;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(54px, 9.4vw, 138px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.91;
}

.hero-title em {
  color: var(--accent);
  font-style: italic;
}

.hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-top: clamp(48px, 7vw, 88px);
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
}

.hero-lead {
  max-width: 48ch;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 29px);
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.hero-meta {
  display: grid;
  gap: 12px;
  justify-self: end;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-meta span:first-child {
  color: var(--ink);
}

/* Ticker */

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 13px 0;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section--flush {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(32px, 5vw, 58px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.section-index {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-head h2 {
  max-width: 15ch;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-head .link-arrow {
  flex: none;
  margin-bottom: 7px;
}

/* Work grid */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 58px) clamp(24px, 3vw, 42px);
}

.work-card {
  display: block;
  text-decoration: none;
}

.work-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.work-visual svg {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.work-card:hover .work-visual svg,
.work-card:focus-visible .work-visual svg {
  transform: scale(1.035);
}

.work-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
}

.work-info h3 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.work-info p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.work-year {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

/* Services */

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 70px minmax(180px, 0.9fr) minmax(260px, 1.1fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: start;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  padding-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.service-row h3 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.service-row p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.stat {
  padding: 26px 20px 0 0;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Journal list */

.journal-list {
  border-top: 1px solid var(--line);
}

.journal-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.journal-row time,
.journal-row .journal-cat {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journal-row h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  transition: color 0.3s ease;
}

.journal-row:hover h3 {
  color: var(--accent);
}

.journal-row .journal-cat {
  justify-self: end;
}

/* CTA */

.cta {
  padding: clamp(64px, 9vw, 112px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 40px;
  align-items: end;
}

.cta h2 {
  max-width: 12ch;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.cta h2 em {
  color: var(--accent);
  font-style: italic;
}

.cta-side {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.cta-side p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.cta-email {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.cta-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Footer */

.site-footer {
  padding: clamp(48px, 7vw, 84px) 0 28px;
  background: var(--ink);
  color: var(--paper);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(241, 237, 228, 0.16);
}

.footer-brand {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.footer-brand span {
  display: block;
  margin-top: 10px;
  color: rgba(241, 237, 228, 0.55);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, auto));
  gap: 10px 54px;
}

.footer-nav a {
  color: rgba(241, 237, 228, 0.7);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 24px;
  color: rgba(241, 237, 228, 0.5);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--paper);
}

/* Inner page hero */

.page-hero {
  padding: clamp(58px, 8vw, 108px) 0 clamp(38px, 5vw, 64px);
}

.page-hero h1 {
  max-width: 15ch;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.page-hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.44fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: end;
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.page-intro p {
  max-width: 54ch;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.32;
}

.page-intro .page-note {
  justify-self: end;
  max-width: 30ch;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* About */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(32px, 7vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

.about-intro h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.about-intro .about-copy {
  display: grid;
  gap: 20px;
  align-content: start;
  padding-top: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.principle {
  padding: 28px 32px 34px 0;
  border-bottom: 1px solid var(--line);
}

.principle:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.principle:nth-child(even) {
  padding-left: 32px;
}

.principle span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.principle h3 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.principle p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 26px 22px 0 0;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-step span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.process-step h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.process-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.capabilities .tag {
  padding: 8px 12px 7px;
  font-size: 9px;
}

/* Case pages */

.case-hero {
  padding: clamp(52px, 7vw, 96px) 0 clamp(34px, 4vw, 52px);
}

.case-hero h1 {
  max-width: 14ch;
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(52px, 8.5vw, 118px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.case-hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.case-meta div {
  padding-right: 18px;
}

.case-meta dt {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.case-meta dd {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.015em;
}

.case-art {
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.case-art svg {
  width: 100%;
  height: 100%;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 7vw, 104px);
  padding: clamp(52px, 7vw, 94px) 0;
}

.case-aside {
  align-self: start;
  position: sticky;
  top: 108px;
}

.case-aside .eyebrow {
  margin-bottom: 18px;
}

.case-aside p {
  max-width: 26ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.case-content {
  max-width: 720px;
}

.case-content h2 {
  margin: 42px 0 18px;
  font-family: var(--serif);
  font-size: clamp(29px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.case-content h2:first-child {
  margin-top: 0;
}

.case-content p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.case-content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px 18px;
  padding: 0;
}

.case-content li {
  padding-left: 5px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.case-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 34px 0 0;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}

.case-result strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(31px, 3.5vw, 44px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.case-result span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.next-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.next-project span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.next-project strong {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}

.next-project:hover strong {
  color: var(--accent);
}

/* Journal / article */

.article-header {
  padding: clamp(52px, 7vw, 96px) 0 clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 17ch;
  margin: 20px 0 24px;
  font-family: var(--serif);
  font-size: clamp(42px, 6.6vw, 86px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(160px, 0.25fr) minmax(0, 0.75fr);
  gap: clamp(30px, 7vw, 100px);
  padding: clamp(44px, 6vw, 78px) 0;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 108px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.article-aside a {
  display: inline-block;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.prose {
  max-width: 700px;
}

.prose > p {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.prose > p:first-child {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 27px);
  letter-spacing: -0.015em;
  line-height: 1.42;
}

.prose h2 {
  margin: 42px 0 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.prose h3 {
  margin: 32px 0 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 10px;
  margin: 0 0 22px 20px;
}

.prose li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.prose blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.prose a {
  border-bottom: 1px solid var(--accent-soft);
  text-decoration: none;
}

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

.prose figure {
  margin: 34px 0;
}

.prose figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  gap: clamp(36px, 8vw, 112px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

.contact-main .eyebrow {
  margin-bottom: 24px;
}

.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(31px, 5.5vw, 72px);
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.contact-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-main > p {
  max-width: 46ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-facts {
  display: grid;
  gap: 0;
  align-content: start;
  border-top: 1px solid var(--line);
}

.contact-fact {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-fact dt {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-fact dd {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.015em;
}

.contact-fact dd a {
  text-decoration: none;
}

.contact-fact dd a:hover {
  color: var(--accent);
}

.contact-brief {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(40px, 6vw, 68px) 0;
  border-top: 1px solid var(--line);
}

.contact-brief h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.brief-list {
  display: grid;
  gap: 16px;
}

.brief-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.brief-item span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding-top: 3px;
}

.brief-item p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* Privacy / legal */

.legal {
  max-width: 760px;
  padding-bottom: clamp(56px, 8vw, 100px);
}

.legal h2 {
  margin: 36px 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.legal p {
  margin-bottom: 14px;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px 20px;
}

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

/* 404 */

.not-found {
  display: grid;
  min-height: 62vh;
  align-content: center;
  padding: 80px 0;
}

.not-found .code {
  font-family: var(--serif);
  font-size: clamp(100px, 22vw, 280px);
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.not-found h1 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.not-found p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
}

.not-found .link-arrow {
  margin-top: 28px;
  justify-self: start;
}

/* Reveal */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* Responsive */

@media (max-width: 980px) {
  .hero-lower,
  .page-intro,
  .cta-inner,
  .contact-grid,
  .contact-brief,
  .case-layout,
  .article-layout,
  .about-intro {
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .page-intro .page-note {
    justify-self: start;
  }

  .cta-side {
    margin-top: 8px;
  }

  .case-aside,
  .article-aside {
    position: static;
  }

  .case-aside p {
    max-width: 46ch;
  }

  .service-row {
    grid-template-columns: 54px minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .journal-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .journal-row .journal-cat {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 66px;
  }

  .brand-sub {
    display: none;
  }

  .nav-toggle-label {
    display: grid;
    width: 38px;
    height: 38px;
    place-content: center;
    gap: 6px;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
  }

  .nav-toggle:checked + .nav-toggle-label span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
  }

  .site-nav a::after {
    display: none;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .work-info {
    padding-top: 12px;
  }

  .service-row {
    grid-template-columns: 44px 1fr;
    gap: 8px 16px;
  }

  .service-row p {
    grid-column: 2;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }

  .principle,
  .principle:nth-child(even) {
    padding: 24px 0 28px;
    border-right: 0;
  }

  .principle:nth-child(odd) {
    border-right: 0;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step {
    padding: 22px 18px 24px 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .case-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .case-result {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-top {
    display: grid;
    gap: 34px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(46px, 15vw, 66px);
  }

  .page-hero h1,
  .case-hero h1,
  .article-header h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .section-head {
    display: block;
  }

  .section-head .link-arrow {
    margin-top: 22px;
  }

  .journal-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-email {
    font-size: clamp(28px, 9vw, 38px);
    overflow-wrap: anywhere;
  }

  .cta h2 {
    font-size: clamp(42px, 13vw, 62px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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