:root {
  --yellow: #FFCB05;
  --yellow-hover: #FFD21F;
  --yellow-active: #E0AF00;
  --yellow-subtle: #FFF4C2;
  --ink: #0A0A0A;
  --ink-soft: #1F1F1F;
  --ink-hover: #3A3A3A;
  --white: #fff;
  --gray-50: #F7F7F7;
  --gray-100: #EDEDED;
  --gray-200: #DEDEDE;
  --gray-400: #9E9E9E;
  --muted: #5C5C5C;
  --subtle: #767676;
  --link: #806300;
  --error: #B91C1C;
  --success: #15803D;
  --success-bg: #DCFCE7;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-ui: 'General Sans', system-ui, sans-serif;
  --font-sans: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;

  --shadow-sm: 0 2px 8px rgba(10,10,10,.08);
  --shadow-md: 0 8px 24px rgba(10,10,10,.12);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --header-height: 5rem;
  --container: 90rem;
  --gutter: 1rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}

p { max-width: 42rem; text-wrap: pretty; }

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

a { color: var(--link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

::selection { background: var(--yellow); color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--white);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.overline {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1.25rem;
  border: 1.5px solid transparent;
  border-radius: 9999px;
  font: 600 .875rem/1 var(--font-ui);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms var(--ease), transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.btn:active { transform: scale(.98); transition-duration: 75ms; }
.btn-lg { height: 3.5rem; padding: 0 2rem; font-size: 1rem; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:active { background: var(--yellow-active); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }

@media (hover: hover) {
  .btn-primary:hover { background: var(--yellow-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
  .btn-dark:hover { background: var(--ink-hover); }
  .btn-outline:hover { background: var(--gray-50); }
}

.site-header {
  position: relative;
  z-index: 1100;
  padding: .75rem var(--gutter) 0;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--container) - 2 * var(--gutter));
  height: 4rem;
  margin: 0 auto;
  padding: 0 .375rem 0 1.25rem;
  background: var(--yellow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font: 800 1.375rem/1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 2rem;
  height: 2rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 150ms;
}
.nav-toggle:hover { background: rgba(10,10,10,.06); }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: none;
  list-style: none;
  padding: 0;
}

.nav.is-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  right: 0;
  padding: .5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.nav-links li + li a { border-top: 1px solid var(--gray-100); }
.nav-links a[aria-current="page"] { font-weight: 600; text-decoration-line: underline; }

.hero {
  position: relative;
  margin-top: calc(-1 * (4rem + .75rem));
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,.9), rgba(10,10,10,.2) 65%),
    radial-gradient(ellipse at 72% 35%, rgba(255,203,5,.55), rgba(179,138,0,.25) 35%, transparent 65%),
    #1F1F1F;
  background-size: cover;
  background-position: center;
}
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-media { z-index: 0; isolation: isolate; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.85), rgba(10,10,10,.15) 70%);
}

.hero-inner {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 1rem;
}

.hero-kicker { font-weight: 600; color: var(--yellow); }

.hero-title {
  margin-top: .75rem;
  font-size: clamp(2.75rem, 1.9rem + 3.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.hero-text {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--gray-200);
}

.hero-bar {
  display: flex;
  margin-top: 2.25rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  height: 3.5rem;
  padding: 0 .375rem 0 1.75rem;
  border-radius: 9999px;
  background: var(--yellow);
  color: var(--ink);
  font: 600 1rem/1 var(--font-ui);
  letter-spacing: .005em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10,10,10,.25);
  transition: background-color 150ms var(--ease), transform 150ms var(--ease);
}
.hero-cta-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  transition: transform 200ms var(--ease);
}
.hero-cta:hover { background: #FFD21F; transform: translateY(-1px); }
.hero-cta:hover .hero-cta-icon { transform: translateX(3px); }
.hero-cta:active { transform: scale(.98); }
.hero-cta:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.btn-glass {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
}
.btn-glass:hover { background: rgba(255,255,255,.24); }

.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

.hero :focus-visible, .tile-large :focus-visible, .tile-dark :focus-visible, .banner :focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 4px var(--ink);
}

.quick { padding: 2.5rem 0 1rem; }
.quick-list {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  list-style: none;
}
.quick-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  padding: .875rem .25rem;
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.35;
}
.quick-list svg { transition: transform 150ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.quick-list span { color: var(--muted); transition: color 150ms; }
.quick-list a:hover svg { transform: translateY(-2px); }
.quick-list a:hover span { color: var(--ink); }

.section-bar { display: flex; justify-content: center; margin-bottom: 2rem; }
.section-bar .h2 { text-align: center; }

.bento { display: grid; gap: 1rem; }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 16rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.tile-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.75rem 1.5rem;
}
.tile-body .btn { margin-top: .75rem; }
.tile-kicker { font-size: .875rem; font-weight: 600; }
.tile-title {
  font-size: clamp(1.375rem, 1.2rem + .75vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.tile p:not(.tile-kicker) { font-size: .9375rem; line-height: 1.55; }

.tile-large { min-height: 28rem; color: var(--white); background: var(--ink); }
.tile-large .tile-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,.92) 30%, rgba(10,10,10,.1) 80%),
    radial-gradient(circle at 60% 25%, rgba(255,203,5,.6), rgba(128,99,0,.3) 30%, transparent 60%),
    #2B2B2B;
  background-size: cover;
  background-position: center;
  transition: transform 400ms var(--ease);
}
.tile-large:hover .tile-media { transform: scale(1.03); }
.tile-large .tile-kicker { color: var(--yellow); }
.tile-large p:not(.tile-kicker) { color: var(--gray-200); }

.tile-promo { background: var(--yellow); color: var(--ink); }
.tile-dark { background: var(--ink-soft); color: var(--white); }
.tile-dark p { color: #C4C4C4; }

.intro-center .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.intro-center p { color: var(--muted); font-size: 1.0625rem; }

.banner {
  display: grid;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
}
.banner-text p { color: #C4C4C4; }
.banner-text .btn { margin-top: .5rem; }
.banner-title {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.banner-media {
  min-height: 12rem;
  background:
    radial-gradient(circle at 55% 50%, #FFE98A, #FFCB05 35%, #B38A00 75%);
  background-size: cover;
  background-position: center;
  order: -1;
}

.section { padding: 5rem 0; }
.section-tight { padding-top: 2.5rem; }
.section-gray { background: var(--gray-50); }

.split { display: grid; gap: 1.5rem; }

.split-head { display: flex; flex-direction: column; gap: .75rem; }

.h2 {
  font-size: clamp(1.75rem, 1.5rem + 1.05vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.h3 {
  font-size: clamp(1.375rem, 1.2rem + .75vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.h4 {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  line-height: 1.3;
}

.prose p + p { margin-top: 1.25rem; }
.prose .lead { font-size: 1.125rem; }
.prose .btn { margin-top: 2rem; }
.prose h3 { margin: 3rem 0 1rem; }
.prose h3:first-child { margin-top: 0; }

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

.page-intro {
  position: relative;
  margin-top: calc(-1 * (4rem + .75rem));
  padding: calc(4rem + 5rem) 0 3.5rem;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255,203,5,.35), transparent 55%),
    var(--ink);
  color: var(--white);
}
.page-intro .overline { color: var(--yellow); }
.page-intro .prose p { color: var(--gray-200); }
.page-intro :focus-visible { outline-color: var(--white); }
.page-intro h1 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.page-intro .prose { margin-top: 2rem; }
.page-intro .prose p:first-child { font-size: 1.125rem; }

.pair { display: grid; gap: 1rem; margin-top: 2.5rem; }

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .875rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.card .btn { margin-top: auto; }
.card p:not(.overline) { color: var(--muted); }
.card .card-text { padding-bottom: 1rem; }

.card-promo { background: var(--yellow); border-color: var(--yellow); }
.card-promo .overline, .card-promo p:not(.overline) { color: var(--ink); }

.terms { margin-top: 2rem; border-top: 1px solid var(--gray-200); }
.terms div {
  display: grid;
  gap: .25rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.terms dt { font-weight: 600; }
.terms dd { color: var(--muted); }

.note {
  margin-top: 3rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--yellow-subtle);
}
.note .btn { margin-top: 1.5rem; }

.commitments { display: grid; gap: 2.5rem; margin-top: 3rem; }
.commitment { padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.commitment h3 { margin-bottom: 1rem; }
.commitment p + p { margin-top: 1rem; }
.commitment p { color: var(--muted); }

.projects { margin-top: 3rem; display: grid; gap: 3.5rem; }

.project {
  display: grid;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.facts { display: grid; gap: .75rem; margin-top: 1.25rem; }
.facts div { display: grid; gap: .125rem; }
.facts dt {
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
}
.facts dd { font-size: .9375rem; }

.project-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: .875rem;
  word-break: break-all;
}

.project-story h4 { margin-bottom: 1rem; }
.project-story p { color: var(--muted); }

.logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}
.logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 1.25rem;
  border: 1px dashed var(--gray-400);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.logos a:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.logos img { max-height: 4.5rem; width: auto; }

.stagger { display: grid; gap: 2.5rem; }
.stagger-item h2 { margin-bottom: 1rem; }
.stagger-item p { color: var(--muted); }

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-2xl);
  background: var(--ink);
  color: var(--white);
}
.cta p { color: var(--gray-200); }
.cta .overline { color: var(--yellow); }
.terms + .after-terms { margin-top: 2rem; }
.cta .btn { margin-top: .75rem; }

.form { display: grid; gap: 1.25rem; }

.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .875rem; font-weight: 600; line-height: 1.25; }
.field input,
.field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: border-color 150ms var(--ease);
}
.field textarea { padding: .75rem 1rem; min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--gray-400); }
.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  box-shadow: none;
}
.field input:user-invalid,
.field textarea:user-invalid { border: 1.5px solid var(--error); }

.form .btn { justify-self: start; margin-top: .5rem; }

.confirmation {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--success-bg);
  color: var(--ink);
  font-weight: 500;
}
.confirmation:focus-visible { outline-color: var(--success); }

.site-footer {
  margin-top: 5rem;
  background: #000;
  color: var(--white);
  padding: 3.5rem 0 2rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font: 800 1.75rem/1 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--yellow);
  text-decoration: none;
}
.footer-brand img {
  width: 2.25rem;
  height: 2.25rem;
  filter: brightness(0) invert(1);
}
.footer-nav ul, .footer-office ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.footer-nav a { color: var(--yellow); text-decoration: none; font-size: .875rem; font-weight: 600; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer-office h2 {
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: .875rem;
}
.footer-office li { color: #C4C4C4; font-size: .9375rem; }
.footer-office address { font-style: normal; }
.footer-office a { color: inherit; text-decoration: none; }
.footer-office a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2B2B2B;
  font-size: .75rem;
  color: var(--gray-400);
}
.footer-bottom a { color: inherit; }
.site-footer :focus-visible { outline-color: var(--yellow); box-shadow: 0 0 0 4px #000; }

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cta { padding: 3.5rem 2.5rem; }
  .form { grid-template-columns: 1fr 1fr; }
  .field-wide, .form .btn, .form .confirmation { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  :root { --gutter: 2rem; }
  .section { padding: 7rem 0; }
  .section-tight { padding-top: 3.5rem; }
  .pair { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pair .card:nth-child(2) { margin-top: 3rem; }
  .card { padding: 2rem; }
  .commitments { grid-template-columns: 1fr 1fr; column-gap: 3rem; row-gap: 3.5rem; }
  .commitment:nth-child(even) { margin-top: 4rem; }
  .terms div { grid-template-columns: 12rem 1fr; gap: 1.5rem; }
  .project { grid-template-columns: 5fr 7fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .page-intro { padding: calc(4rem + 6.5rem) 0 4.5rem; }
  .quick-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-large { grid-column: 1 / -1; }
  .banner { grid-template-columns: 1.1fr 1fr; }
  .banner-media { order: 0; min-height: 100%; background: linear-gradient(90deg, var(--ink), transparent 35%), radial-gradient(circle at 60% 50%, #FFE98A, #FFCB05 35%, #B38A00 80%); }
  .banner-text { padding: 3.5rem 2.5rem; }
}

@media (min-width: 1024px) {
  :root { --gutter: 2.5rem; }
  .section { padding: 9rem 0; }
  .section-tight { padding-top: 4.5rem; }

  .nav { padding: 0 .5rem 0 1.5rem; }
  .nav-toggle { display: none; }
  .nav-links,
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    position: static;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .nav-links li + li a { border-top: 0; }
  .nav-links a { min-height: 2.75rem; font-size: .875rem; }
  .nav-links a:hover { text-decoration-line: underline; }
  .nav-links .nav-contact a {
    padding: 0 1.25rem;
    border-radius: 9999px;
    background: var(--ink);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
  }
  .nav-links .nav-contact a:hover { background: var(--ink-hover); }
  .nav-links .nav-contact a[aria-current="page"] { background: var(--ink-soft); }

  .hero-inner { padding-bottom: 1.5rem; }
  .bento { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
  .tile-large { grid-column: 1; grid-row: 1 / 3; }
  .tile-body { padding: 2rem; }

  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .split-head { grid-column: 1 / 5; }
  .split-body { grid-column: 6 / 12; }
  .split-shift .split-head { grid-column: 2 / 6; }
  .split-shift .split-body { grid-column: 7 / 13; }
  .split-wide .split-head { grid-column: 1 / 6; }
  .split-wide .split-body { grid-column: 6 / 13; }

  .page-intro .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .page-intro .overline, .page-intro h1 { grid-column: 1 / 10; }
  .page-intro .prose { grid-column: 5 / 12; margin-top: 2.5rem; }

  .stagger { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 4rem; }
  .stagger-item:nth-child(1) { grid-column: 1 / 7; }
  .stagger-item:nth-child(2) { grid-column: 7 / 13; margin-top: 6rem; }
  .stagger-item:nth-child(3) { grid-column: 3 / 10; }

  .cta { padding: 4.5rem 4rem; }
  .cta .h2, .cta p { max-width: 36rem; }
  .cta-offset { margin-left: 8.333%; }

  .contact-split .split-head { grid-column: 1 / 5; }
  .contact-split .split-body { grid-column: 6 / 13; }
}

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

@media (min-width: 1440px) {
  :root { --gutter: 3rem; }
}

.spread-grid {
  display: grid;
  gap: 2rem;
}
.spread-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-soft);
}
.spread-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 60%;
  display: block;
}
.spread-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
}
.spread-index {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.spread-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 12ch;
  text-wrap: balance;
}
.spread-text {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 38ch;
  text-wrap: pretty;
}

@media (min-width: 48em) {
  .spread-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
    align-items: end;
  }
  .spread-media { grid-column: 1 / 8; aspect-ratio: 4 / 5; }
  .spread-body { grid-column: 8 / 13; padding-bottom: .25rem; }
}

@media (min-width: 64em) {
  .spread-media { grid-column: 1 / 8; aspect-ratio: 6 / 5; }
  .spread-body { grid-column: 9 / 13; gap: 1.75rem; padding-top: 1.5rem; }
  .spread-text { font-size: 1.1875rem; }
}

.page-intro { padding-bottom: 0; }
.page-figure {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  margin-bottom: -4rem;
}
.page-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.page-intro + .section { padding-top: calc(4rem + 5rem); }

.split-head .overline::before {
  content: "";
  display: inline-block;
  width: .5rem;
  height: .5rem;
  margin-right: .625rem;
  border-radius: 50%;
  background: var(--yellow);
  vertical-align: .1em;
}
.split-body > p:first-child {
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.split-body > p:not(:first-child) { color: var(--muted); }

.commitments { counter-reset: commit; }
.commitment { counter-increment: commit; border-top-width: 1px; }

.cta p { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; max-width: 40ch; }

@media (min-width: 768px) {
  .page-figure { margin-top: 4.5rem; margin-bottom: -6rem; }
  .page-figure img { aspect-ratio: 16 / 9; }
  .page-intro + .section { padding-top: calc(7rem + 6rem); }
  .commitment:nth-child(even) { margin-top: 0; }
  .commitments { grid-template-columns: 1fr; row-gap: 0; }
  .commitment {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
    padding: 2.5rem 0;
  }
  .commitment h3 { grid-column: 1 / 6; grid-row: 1 / span 2; align-self: start; margin: 0; padding-right: 1rem; }
  .commitment p { grid-column: 7 / 13; }
  .commitment p + p { margin-top: 1rem; }
  .commitment:last-child { border-bottom: 1px solid var(--ink); }
  .cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; row-gap: 1.25rem; align-items: end; padding: 3.5rem 3rem; }
  .cta > :not(.btn) { grid-column: 1; }
  .cta .btn { grid-column: 2; align-self: end; margin-top: 0; }
}

@media (min-width: 1024px) {
  .page-figure { margin-bottom: -8rem; }
  .page-figure img { aspect-ratio: 21 / 9; }
  .page-intro + .section { padding-top: calc(9rem + 8rem); }
}

.about-intro { padding-bottom: 4rem; }
.about-intro-grid { display: grid; gap: 1.5rem; }
.about-intro h1 { max-width: 14ch; }
.about-intro-text {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
  color: var(--muted);
}
.about-intro-text p:first-child { color: var(--white); }
.about-intro + .section { padding-top: 5rem; }

.about-chapter-grid { display: grid; gap: 2rem; }
.about-chapter-head { display: flex; flex-direction: column; gap: .75rem; }
.about-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 2.5rem + 6vw, 8rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.04em;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  margin-bottom: .75rem;
}
.about-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 12ch;
}
.about-chapter-body { display: grid; gap: 1.25rem; color: var(--muted); }
.about-chapter-body p { padding-top: 1.25rem; border-top: 1px solid var(--gray-200); }
.about-chapter-body .about-lead {
  padding-top: 0;
  border-top: 0;
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.about-chapter-alt { background: var(--gray-50); }

.about-values-grid { display: grid; gap: 2.5rem; }
.about-values-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-values-list .overline { margin-bottom: 1.5rem; }
.value { border-top: 1px solid var(--ink); }
.value:last-child { border-bottom: 1px solid var(--ink); }
.value summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  list-style: none;
}
.value summary::-webkit-details-marker { display: none; }
.value summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.value-num { font-size: .875rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.value-title { margin: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.25; letter-spacing: -0.015em; }
.value-icon { position: relative; width: 1rem; height: 1rem; align-self: center; justify-self: end; }
.value-icon::before, .value-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 200ms var(--ease);
}
.value-icon::after { transform: rotate(90deg); }
.value[open] .value-icon::after { transform: rotate(0); }
.value summary:hover .value-title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.value-body { display: grid; gap: 1rem; padding: 0 2.5rem 1.75rem 0; color: var(--muted); max-width: 44rem; }
.value-body p:first-child { color: var(--ink); }

@media (min-width: 768px) {
  .about-intro { padding-bottom: 5.5rem; }
  .about-intro-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .about-intro-grid .overline, .about-intro h1 { grid-column: 1 / -1; }
  .about-intro-text { grid-column: 1 / -1; margin-top: 3rem; }
  .about-intro + .section { padding-top: 7rem; }
  .about-chapter-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .about-chapter-head { grid-column: 1 / 6; }
  .about-chapter-body { grid-column: 7 / 13; }
}

@media (min-width: 1024px) {
  .about-intro-text { grid-column: 6 / 13; }
  .about-intro + .section { padding-top: 9rem; }
  .about-chapter-head { align-self: start; }
  .about-values-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .about-values-media { grid-column: 1 / 6; position: sticky; top: 7rem; align-self: start; }
  .about-values-media img { aspect-ratio: 4 / 5; }
  .about-values-list { grid-column: 7 / 13; }
}

html { scroll-behavior: smooth; }
.services-page section[id] { scroll-margin-top: 6rem; }
.svc-index {
  display: grid;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.svc-index a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms var(--ease);
}
.svc-index a span { font-size: .875rem; color: var(--yellow); font-variant-numeric: tabular-nums; }
.svc-index a:hover { color: var(--yellow); }

.services-page .split-body .h4 {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  letter-spacing: -0.015em;
}

.services-page .terms-panel {
  display: grid;
  gap: 1px;
  margin-top: 2.5rem;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.15);
}
.services-page .terms-panel div {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  padding: 1.75rem 1.5rem;
  border: 0;
  background: var(--ink);
}
.services-page .terms-panel dt { color: var(--yellow); font-weight: 600; }
.services-page .terms-panel dd { color: #D6D6D6; margin: 0; }

.services-page .terms-grid {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--ink);
}
.services-page .terms-grid div {
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.services-page .terms-grid dt { font-weight: 600; color: var(--ink); }
.services-page .terms-grid dd { margin: 0; color: var(--muted); }
.services-page .after-terms { margin-top: 2rem; }

.services-page .note {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 2rem;
  background: var(--yellow);
  border-radius: var(--radius-lg);
}
.services-page .note p { color: var(--ink); font-size: 1.0625rem; }
.services-page .note .btn { justify-self: start; margin-top: 0; }

@media (min-width: 768px) {
  .svc-index { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; border-top: 0; margin-top: 4rem; }
  .svc-index a { border-top: 1px solid rgba(255,255,255,.2); border-bottom: 0; flex-direction: column; gap: .5rem; padding: 1.25rem 0 0; }
  .services-page .terms-panel { grid-template-columns: 1fr 1fr; }
  .services-page .terms-panel div { padding: 2rem 1.75rem; }
  .services-page .terms-grid { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .services-page .terms-grid div { grid-template-columns: 1fr; align-content: start; }
}

@media (min-width: 1024px) {
  .services-page .split-head { align-self: start; }
}

.projects-page .projects { gap: 0; margin-top: 4rem; counter-reset: none; }
.case {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 4rem;
  border-top: 2px solid var(--ink);
}
.case:last-child { padding-bottom: 0; }
.case-head { display: grid; gap: 1rem; }
.case-num {
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.case-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: none;
  text-wrap: balance;
}
.case-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--gray-200);
}
.case-facts div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.case-facts dt { font-size: .875rem; font-weight: 600; color: var(--muted); }
.case-facts dd { margin: 0; font-size: 1rem; color: var(--ink); }
.case-story { display: grid; gap: 1.25rem; }
.case-sub { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.25; letter-spacing: -0.015em; }
.case-text { display: grid; gap: 1.25rem; color: var(--muted); }
.case-text .case-lead { color: var(--ink); font-size: 1.125rem; line-height: 1.6; }
.case .project-link {
  justify-self: start;
  margin-top: .5rem;
  padding-bottom: .125rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: normal;
}
.case .project-link::after { content: " \2197"; }
.case .project-link:hover { color: var(--link); }

@media (min-width: 768px) {
  .case { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem; padding: 3.5rem 0 5.5rem; }
  .case-head { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); align-items: baseline; }
  .case-facts { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; border-top: 0; }
  .case-facts div { grid-template-columns: 1fr; align-content: start; gap: .5rem; border-top: 1px solid var(--gray-200); border-bottom: 0; padding: 1.25rem 0 0; }
  .case-story { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .case-sub { grid-column: 1 / 5; }
  .case-text { grid-column: 6 / 13; }
}

@media (min-width: 1024px) {
  .case-sub { grid-column: 2 / 5; align-self: start; }
  .case-text { grid-column: 6 / 12; }
}

.phil-ways { display: grid; gap: 1rem; counter-reset: none; }
.phil-way {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
}
.phil-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1rem;
}
.phil-way-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.2; letter-spacing: -0.015em; }
.phil-way-lead { color: var(--ink); font-weight: 500; }
.phil-way p:not(.phil-way-lead) { color: var(--muted); font-size: .9375rem; line-height: 1.6; }

.phil-page .phil-orgs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3.5rem;
  border-top: 1px solid var(--ink);
}
.phil-orgs li { border-bottom: 1px solid var(--gray-200); }
.phil-orgs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  height: auto;
  aspect-ratio: auto;
  padding: 1rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
  text-decoration: none;
}
.org-name { font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 700; letter-spacing: -0.01em; }
.org-arrow { font-size: 1.25rem; transition: transform 200ms var(--ease); }
.phil-orgs a:hover .org-name { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.phil-orgs a:hover .org-arrow { transform: translate(3px, -3px); }

.phil-statement .split-head .h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; max-width: 12ch; }
.phil-statement .lead { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }

@media (min-width: 768px) {
  .phil-ways { gap: 1.5rem; }
  .phil-way { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1.5rem; row-gap: 1rem; padding: 2.5rem 2rem; }
  .phil-way > * { grid-column: 2; }
  .phil-way .phil-num { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .phil-page .phil-orgs { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .phil-statement .split-head { grid-column: 1 / 6; }
  .phil-statement .split-body { grid-column: 6 / 13; }
}
@media (min-width: 1024px) {
  .phil-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phil-way { display: flex; padding: 2.25rem 1.75rem 2.5rem; }
  .phil-way .phil-num { margin-bottom: 1rem; }
  .phil-way:nth-child(2) { margin-top: 3rem; }
  .phil-way:nth-child(3) { margin-top: 6rem; }
  .phil-page .phil-orgs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .phil-orgs a { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 9rem; padding: 1.25rem 0; }
  .phil-orgs li { border-bottom: 0; }
}

.contact-intro { padding-bottom: 4rem; }
.contact-intro + .section { padding-top: 5rem; }
.contact-page .section-gray { background: var(--gray-50); }
.contact-aside { gap: 1.25rem; }
.contact-figure { margin: 0 0 1rem; }
.contact-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.contact-aside .h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }
.contact-aside .muted { font-size: 1.0625rem; line-height: 1.6; }

.contact-panel {
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.contact-form { gap: 0; }
.contact-form .field {
  gap: .25rem;
  padding: 1.25rem 0 .5rem;
  border-bottom: 1px solid var(--gray-200);
  transition: border-color 150ms var(--ease);
}
.contact-form .field:focus-within { border-bottom-color: var(--ink); }
.contact-form .field label { color: var(--muted); font-weight: 500; }
.contact-form .field input,
.contact-form .field textarea {
  padding: .25rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1.125rem;
  box-shadow: none;
}
.contact-form .field textarea { min-height: 8rem; resize: vertical; }
.contact-form .field input:focus-visible,
.contact-form .field textarea:focus-visible { outline: none; box-shadow: none; border: 0; }
.contact-form .field:has(:focus-visible) { box-shadow: 0 2px 0 0 var(--ink); }
.contact-form .btn { justify-self: start; margin-top: 2rem; }
.contact-page .confirmation { margin: 0; }

@media (min-width: 768px) {
  .contact-intro { padding-bottom: 5.5rem; }
  .contact-intro + .section { padding-top: 7rem; }
  .contact-page .contact-split .split-head { grid-column: 1 / 6; }
  .contact-page .contact-split .split-body { grid-column: 6 / 13; }
  .contact-panel { padding: 2.5rem 2.5rem 3rem; }
  .contact-form { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

@media (min-width: 1024px) {
  .contact-intro + .section { padding-top: 9rem; }
  .contact-aside { position: sticky; top: 7rem; align-self: start; }
  .contact-figure img { aspect-ratio: 5 / 4; }
  .contact-page .contact-split .split-body { grid-column: 7 / 13; }
  .contact-panel { padding: 3rem; }
}

.overline, .nav-links a, label, .btn, button, input, textarea, select { font-family: var(--font-ui); }
input, textarea, select { font-family: var(--font-sans); }

main .page-intro {
  background: var(--white);
  color: var(--ink);
  padding: calc(4.75rem + 4rem) 0 4rem;
  border-bottom: 1px solid var(--gray-200);
}
main .page-intro:has(.page-figure) { border-bottom: 0; padding-bottom: 0; }
main .page-intro :focus-visible { outline-color: var(--ink); }
main .page-intro h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.75rem, 1.6rem + 5vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.intro-meta {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink);
}
main .page-intro .intro-meta .overline {
  margin: 0;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
main .page-intro .intro-meta .prose,
main .page-intro .intro-meta .about-intro-text {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
}
main .page-intro .intro-meta p { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }
main .page-intro .intro-meta p:first-child:not(.overline),
main .page-intro .intro-meta .overline + div p:first-child { color: var(--ink); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; letter-spacing: -0.01em; }

main .page-intro .svc-index { margin-top: 3rem; border-top-color: var(--gray-200); }
main .page-intro .svc-index a { color: var(--ink); border-color: var(--gray-200); }
main .page-intro .svc-index a:hover { color: var(--muted); }

main .page-intro .page-figure { margin: 3rem auto 0; }
main .page-intro .page-figure img { border-radius: var(--radius-lg); }
main .page-intro:has(.page-figure) { padding-bottom: 0; }
main .page-intro + .section,
main .about-intro + .section,
main .contact-intro + .section { padding-top: 5rem; }

@media (min-width: 768px) {
  main .page-intro { padding: calc(4.75rem + 6rem) 0 5rem; }
  main .page-intro .wrap:not(.page-figure):not(.svc-index) { display: block; }
  .intro-meta {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
    margin-top: 4.5rem;
  }
  .intro-meta .overline { grid-column: 1 / 4; }
  main .page-intro .intro-meta .prose { grid-column: 5 / 13; }
  main .page-intro .intro-meta .about-intro-text { grid-column: 7 / 13; }
  main .page-intro .intro-meta .about-intro-text { grid-template-columns: 1fr; }
  main .page-intro .svc-index { margin-top: 4rem; }
  main .page-intro .page-figure { margin-top: 4rem; }
  main .page-intro + .section,
  main .about-intro + .section,
  main .contact-intro + .section { padding-top: 7rem; }
}

@media (min-width: 1024px) {
  main .page-intro { padding-top: calc(4.75rem + 7.5rem); }
  main .page-intro h1 { max-width: 14ch; }
  main .page-intro .intro-meta .prose { grid-column: 7 / 13; }
  main .page-intro .intro-meta .about-intro-text { grid-column: 7 / 13; }
  main .page-intro + .section,
  main .about-intro + .section,
  main .contact-intro + .section { padding-top: 9rem; }
}

main .page-intro .intro-meta .prose p,
main .page-intro .intro-meta .about-intro-text p { color: var(--muted); }
main .page-intro .intro-meta .prose p:first-child,
main .page-intro .intro-meta .about-intro-text p:first-child { color: var(--ink); }

.legal-body { max-width: none; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-soft); }
.legal-body p { margin: 0 0 1.125rem; text-wrap: pretty; }
.legal-body .legal-lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 1.5rem; }
.legal-body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); margin: 3.5rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); }
.legal-body h3 { font-family: var(--font-ui); font-weight: 600; font-size: 1.125rem; color: var(--ink); margin: 1.5rem 0 .75rem; }
.legal-body ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.legal-body li { margin-bottom: .5rem; padding-left: .25rem; }
.legal-body li::marker { color: var(--gray-400); }
.legal-body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--ink); }
.legal-rights { margin: 1.5rem 0; display: grid; gap: 0; }
.legal-rights div { padding: 1rem 0; border-top: 1px solid var(--gray-100); display: grid; gap: .25rem; }
.legal-rights div:last-child { border-bottom: 1px solid var(--gray-100); }
.legal-rights dt { font-family: var(--font-ui); font-weight: 600; color: var(--ink); }
.legal-rights dd { margin: 0; color: var(--muted); }

@media (min-width: 768px) {
  .legal-rights div { grid-template-columns: 14rem 1fr; gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .legal-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .legal-body { grid-column: 1 / 13; }
}

.phil-orgs a.org-logo-link { justify-content: center; align-items: center; min-height: 9rem; padding: 1.5rem 1rem; }
.org-logo { display: block; max-width: 100%; max-height: 5.5rem; width: auto; height: auto; object-fit: contain; transition: transform 200ms var(--ease); }
.phil-orgs a.org-logo-link:hover .org-logo { transform: scale(1.04); }

@media (min-width: 1024px) {
  .phil-orgs a.org-logo-link { align-items: center; justify-content: center; }
}

.services-page .page-intro { border-bottom: 0; padding-bottom: 3rem; }
.tabs-bar { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.tabs { display: flex; gap: 1.75rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 1.25rem 0 1.1rem; font-family: var(--font-ui); font-weight: 500; font-size: 1rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; transition: color 150ms var(--ease), border-color 150ms var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--yellow); }
.tab-panels { padding-top: 4rem; padding-bottom: 5rem; }
.js-tabs .tp[hidden] { display: none; }
.tp { display: grid; gap: 2.5rem; }
.tp + .tp { margin-top: 5rem; }
.js-tabs .tp + .tp { margin-top: 0; }
.tp-photo { margin: 0; }
.tp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.tp-content { max-width: 42rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.tp-content > p { margin: 0 0 1.125rem; }
.tp-content .overline { margin: 0 0 1rem; }
.tp-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 2rem; text-wrap: balance; }
.tp-content .tp-lead { color: var(--ink); font-size: clamp(1.125rem, 1rem + .45vw, 1.3125rem); line-height: 1.5; margin-bottom: 1.5rem; }
.tp-sub { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.tp-rows { margin: 1.75rem 0 2rem; }
.tp-rows div { display: grid; gap: .25rem; padding: 1rem 1.25rem; background: var(--gray-50); border-radius: var(--radius-md); }
.tp-rows div + div { margin-top: .5rem; }
.tp-rows dt { font-family: var(--font-ui); font-weight: 600; color: var(--ink); }
.tp-rows dd { margin: 0; }
.tp-note { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); display: grid; gap: 1.25rem; justify-items: start; }
.tp-note p { margin: 0; color: var(--ink-soft); }

@media (min-width: 768px) {
  .tabs { gap: 2.5rem; }
  .tab-panels { padding-top: 5rem; padding-bottom: 7rem; }
  .tp-rows div { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .tab-panels { padding-top: 6rem; padding-bottom: 9rem; }
  .tp { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: start; }
  .tp-photo { grid-column: 1 / 6; }
  .tp-photo img { aspect-ratio: 4 / 5; }
  .tp-content { grid-column: 7 / 13; }
}

.projects-page .page-intro { border-bottom: 0; }
.projects-page .page-intro + .section { padding-bottom: 4rem; }
.tp-content .tp-sub:first-of-type { margin-top: 2.5rem; }
.tp-content .tp-link { display: inline-flex; margin-top: 1rem; max-width: 100%; color: var(--white); font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.tp-content .tp-link:hover { background: var(--ink-hover); color: var(--white); }

.anim-ready .anim-h { opacity: 0; transform: translateY(40px); transition: opacity 850ms cubic-bezier(0.16, 1, 0.3, 1), transform 850ms cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.anim-ready .anim-i { opacity: 0; transform: translateY(45px) scale(0.96); transition: opacity 1000ms cubic-bezier(0.16, 1, 0.3, 1), transform 1000ms cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.anim-ready .anim-h.is-in, .anim-ready .anim-i.is-in { opacity: 1; transform: none; }
.anim-ready .anim-h:not(.is-in), .anim-ready .anim-i:not(.is-in) { transition-delay: 0ms !important; }

@media (prefers-reduced-motion: reduce) {
  .anim-ready .anim-h, .anim-ready .anim-i { opacity: 1; transform: none; transition: none; }
}

.cookie-banner { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 200; background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 1.25rem; display: grid; gap: 1rem; box-shadow: 0 12px 40px rgba(0,0,0,.25); opacity: 0; transform: translateY(24px); transition: opacity 350ms var(--ease), transform 350ms var(--ease); }
.cookie-banner.is-open { opacity: 1; transform: none; }
.cookie-text { margin: 0; font-size: .9375rem; line-height: 1.55; color: #E6E6E6; }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-actions .btn { flex: 1; justify-content: center; }

@media (min-width: 768px) {
  .cookie-banner { left: 1.5rem; right: auto; bottom: 1.5rem; max-width: 36rem; padding: 1.5rem 1.75rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1.75rem; }
  .cookie-actions .btn { flex: none; }
}

main:has(> .section-gray:last-child) + .site-footer { margin-top: 0; }

.cta .cta-text-lg { font-size: 18px; }

@media (min-width: 768px) {
  .projects-page .split-wide { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .projects-page .split-wide .split-head { grid-column: 1 / 6; }
  .projects-page .split-wide .split-body { grid-column: 7 / 13; }
  .projects-page .page-intro .intro-meta .prose { grid-column: 7 / 13; }
}
.projects-page .tp-content { max-width: none; }
@media (min-width: 1024px) { .projects-page .tp-content { max-width: 42rem; } }
