@font-face {
  font-family: "Inter Variable";
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces Variable";
  src: url("fonts/fraunces-var-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #11100e;
  --ink-soft: #1c1a17;
  --paper: #f4f0e8;
  --paper-warm: #e8dfd2;
  --bone: #fcfaf6;
  --white: #fff;
  --accent: #ff641f;
  --accent-deep: #9a3108;
  --cobalt: #3453e8;
  --muted: #5f5a54;
  --line: rgba(17, 16, 14, 0.17);
  --line-light: rgba(255, 255, 255, 0.2);
  --display: "Fraunces Variable", Georgia, serif;
  --sans: "Inter Variable", Inter, Arial, sans-serif;
  --shell: min(100% - 64px, 1320px);
  --header-height: 88px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

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

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

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

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 16px;
  padding: 12px 18px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 750;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.scroll-progress {
  position: fixed;
  z-index: 160;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  transition: background-color 240ms ease, box-shadow 240ms ease, height 240ms ease;
}

.site-header.is-scrolled,
.legal-page .site-header,
.site-header.nav-open {
  height: 76px;
  background: rgba(244, 240, 232, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.brand-word {
  font-size: 19px;
  font-weight: 780;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 42px);
}

.primary-nav a {
  position: relative;
  color: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  content: "";
  inset: auto 0 -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.nav-cta):hover::after,
.primary-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.primary-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-nav .nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  position: relative;
  width: 25px;
  height: 16px;
}

.menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 25px;
  height: 1px;
  background: currentColor;
  transition: transform 200ms ease, top 200ms ease;
}

.menu-toggle__icon i:first-child {
  top: 4px;
}

.menu-toggle__icon i:last-child {
  top: 12px;
}

.nav-open .menu-toggle__icon i:first-child {
  top: 8px;
  transform: rotate(45deg);
}

.nav-open .menu-toggle__icon i:last-child {
  top: 8px;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media,
.hero-media picture,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.98) 0%, rgba(13, 12, 10, 0.88) 34%, rgba(13, 12, 10, 0.28) 67%, rgba(13, 12, 10, 0.08) 100%),
    linear-gradient(0deg, rgba(13, 12, 10, 0.86) 0%, transparent 32%);
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-copy {
  max-width: 990px;
  padding-bottom: clamp(58px, 9vh, 116px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 28px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span {
  width: 32px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.section-intro h2,
.company-copy h2,
.faq-intro h2,
.contact h2,
.legal-hero h1,
.error-page h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 580;
  font-variation-settings: "opsz" 96, "SOFT" 60, "WONK" 1;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 930px;
  font-size: clamp(64px, 8.25vw, 126px);
  line-height: 0.86;
}

.hero h1 em,
.section-intro h2 em,
.company-copy h2 em,
.faq-intro h2 em,
.contact h2 em,
.principle em,
.legal-hero h1 em {
  color: var(--accent);
  font-weight: 430;
}

.hero h1 em {
  display: block;
}

.hero-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.016em;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 230px;
  min-height: 58px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button--accent:hover {
  background: var(--bone);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 7px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 180ms ease, color 180ms ease;
}

.text-link:hover {
  gap: 18px;
  color: var(--accent-deep);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.88);
}

.text-link--light:hover {
  color: var(--accent);
}

.hero-index {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 760px);
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  list-style: none;
}

.hero-index li {
  padding-top: 18px;
}

.signal-band {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--accent);
  color: var(--ink);
  border-block: 1px solid var(--ink);
}

.signal-track {
  width: max-content;
  display: flex;
  animation: signal-marquee 30s linear infinite;
}

.signal-track span {
  display: block;
  padding: 17px 24px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 520;
  letter-spacing: -0.04em;
}

.signal-track i {
  padding-inline: 20px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 350;
}

@keyframes signal-marquee {
  to { transform: translateX(-33.333%); }
}

/* Shared sections */

.section {
  padding-block: clamp(104px, 11vw, 176px);
}

.section--paper {
  background: var(--paper);
}

.section--warm {
  background: var(--paper-warm);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section-kicker {
  color: var(--accent-deep);
}

.section--ink .section-kicker,
.contact .section-kicker {
  color: var(--accent);
}

.section-intro h2,
.company-copy h2,
.faq-intro h2 {
  font-size: clamp(48px, 5.7vw, 86px);
  line-height: 0.98;
}

.section-intro > p:last-child,
.section-intro > div > p,
.faq-intro > p:last-child {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.58;
}

.section-intro--split {
  display: grid;
  grid-template-columns: 0.56fr 1.44fr;
  gap: 60px;
  align-items: start;
  margin-bottom: clamp(62px, 7vw, 104px);
}

.section-intro--split .section-kicker {
  margin-top: 10px;
}

.section-intro--light > div > p {
  color: rgba(255, 255, 255, 0.6);
}

.section--paper .section-intro h2 em,
.section--warm .section-intro h2 em,
.company-copy h2 em,
.faq-intro h2 em {
  color: var(--accent-deep);
}

/* Situations */

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

.situation-card {
  position: relative;
  min-height: 330px;
  padding: clamp(28px, 4vw, 54px);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bone);
  transition: background-color 260ms ease, color 260ms ease;
}

.situation-card:hover {
  background: var(--white);
}

.situation-card__number {
  position: relative;
  z-index: 1;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.situation-card h3 {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: auto 0 16px;
  font-family: var(--display);
  font-size: clamp(30px, 3.1vw, 46px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.situation-card p {
  position: relative;
  z-index: 1;
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-arrow {
  position: absolute;
  z-index: 2;
  top: 34px;
  right: 36px;
  font-size: 22px;
  transition: transform 180ms ease;
}

.situation-card:hover .card-arrow {
  transform: translate(4px, -4px);
}

.situation-card--dark {
  background: var(--ink-soft);
  color: var(--white);
}

.situation-card--dark:hover {
  background: #28251f;
}

.situation-card--dark p {
  color: rgba(255, 255, 255, 0.63);
}

.situation-card--dark .situation-card__number {
  color: var(--accent);
}

.situation-card--image {
  background: var(--cobalt);
  color: var(--white);
}

.situation-card--image::before,
.situation-card--image::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.situation-card--image::before {
  width: 420px;
  height: 420px;
  top: -250px;
  right: -70px;
}

.situation-card--image::after {
  width: 280px;
  height: 280px;
  top: -178px;
  right: 0;
}

.situation-card--image:hover {
  background: #2c45c9;
}

.situation-card--image p {
  color: rgba(255, 255, 255, 0.9);
}

.situation-card--image .situation-card__number {
  color: #fff;
}

.situation-card--accent {
  background: var(--accent);
}

.situation-card--accent:hover {
  background: #ff763b;
}

.situation-card--accent .situation-card__number,
.situation-card--accent p {
  color: var(--ink);
}

/* Services */

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

.service-row {
  display: grid;
  grid-template-columns: 90px minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(30px, 4vw, 76px);
  padding-block: clamp(46px, 5vw, 78px);
  border-bottom: 1px solid var(--line-light);
}

.service-row__index {
  padding-top: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-row__title > p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(31px, 3.2vw, 48px);
  font-weight: 540;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.service-row__body > p {
  margin: 4px 0 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
}

.service-row ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-row li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
}

/* Approach */

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(54px, 8vw, 122px);
  align-items: start;
}

.approach-visual {
  position: sticky;
  top: 108px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.approach-visual picture,
.approach-visual img {
  width: 100%;
}

.approach-visual img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.approach-visual:hover img {
  transform: scale(1.025);
}

.approach-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(0deg, rgba(17, 16, 14, 0.92), rgba(17, 16, 14, 0));
  color: var(--white);
}

.approach-visual figcaption span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.approach-visual figcaption strong {
  font-family: var(--display);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 470;
  letter-spacing: -0.03em;
}

.approach-content {
  padding-top: 18px;
}

.approach-steps {
  margin: clamp(58px, 7vw, 98px) 0 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.approach-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding-block: 28px 32px;
  border-bottom: 1px solid var(--ink);
}

.approach-steps li > span {
  padding-top: 4px;
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.approach-steps h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(26px, 2.5vw, 37px);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.approach-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Principle */

.principle {
  padding-block: clamp(96px, 13vw, 190px);
  overflow: hidden;
  background: var(--cobalt);
  color: var(--white);
}

.principle-inner p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 8.4vw, 124px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.principle-inner p:nth-child(2) {
  text-align: right;
}

.principle em {
  color: #ffe0d1;
}

/* Company */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: end;
}

.company-copy h2 {
  margin-bottom: 34px;
}

.company-copy > p {
  max-width: 650px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.company-copy .company-lead {
  color: var(--ink);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.52;
  letter-spacing: -0.02em;
}

.company-copy .text-link {
  margin-top: 18px;
}

.company-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.company-facts > div {
  min-height: 160px;
  padding: 25px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bone);
}

.company-facts .company-facts__wide {
  grid-column: 1 / -1;
  min-height: 150px;
  background: var(--accent);
}

.company-facts dt {
  color: var(--accent-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.company-facts__wide dt {
  color: var(--ink);
}

.company-facts dd {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 30px;
  align-items: center;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.035em;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  content: "";
  top: 14px;
  left: 8px;
  width: 12px;
  height: 1px;
  background: var(--ink);
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 680px;
  margin: -4px 64px 32px 0;
  color: var(--muted);
  font-size: 16px;
}

/* Contact */

.contact {
  padding-block: clamp(104px, 12vw, 170px);
  background: var(--accent);
  color: var(--ink);
}

.contact .section-kicker {
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: end;
}

.contact h2 {
  max-width: 820px;
  font-size: clamp(58px, 7.2vw, 108px);
  line-height: 0.9;
}

.contact h2 em {
  color: var(--ink);
  font-weight: 430;
}

.contact-action p {
  max-width: 520px;
  margin: 0 0 34px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

.contact-action a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.contact-action a span {
  transition: transform 180ms ease;
}

.contact-action a:hover span {
  transform: translate(5px, -5px);
}

/* Footer */

.site-footer {
  padding-top: 78px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.55fr 0.55fr;
  gap: clamp(40px, 7vw, 100px);
  padding-bottom: 76px;
}

.footer-brand .brand {
  margin-bottom: 22px;
}

.footer-brand p,
.footer-address address,
.footer-links a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-brand p {
  margin: 0;
}

.footer-label {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-address address {
  font-style: normal;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a {
  margin-bottom: 9px;
  text-decoration: none;
}

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

.footer-bottom {
  min-height: 78px;
  padding-block: 22px;
  border-top: 1px solid var(--line-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

/* Legal and utility pages */

.legal-page,
.error-page {
  background: var(--paper);
}

.legal-page main,
.error-page main {
  padding-top: 76px;
}

.legal-page .site-header,
.error-page .site-header {
  color: var(--ink);
}

.legal-hero {
  padding-block: clamp(76px, 9vw, 132px) clamp(62px, 7vw, 104px);
  border-bottom: 1px solid var(--ink);
}

.legal-hero .section-kicker {
  margin-bottom: 24px;
}

.legal-hero h1 {
  max-width: 1050px;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.9;
}

.legal-hero p:last-child {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 780px);
  gap: clamp(70px, 11vw, 170px);
  align-items: start;
  padding-block: clamp(76px, 9vw, 132px);
}

.legal-aside {
  position: sticky;
  top: 116px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.legal-aside p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.legal-aside strong {
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.legal-content section {
  padding: 0 0 48px;
  margin: 0 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: var(--muted);
  font-size: 15px;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content address {
  margin: 0 0 18px;
  font-style: normal;
}

.legal-content strong {
  color: var(--ink);
}

.legal-content ul {
  margin: 12px 0 20px;
  padding-left: 22px;
}

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

.error-main {
  min-height: calc(100svh - 76px);
  display: grid;
  place-items: center;
  padding-block: 90px;
}

.error-page h1 {
  font-size: clamp(100px, 23vw, 290px);
  line-height: 0.72;
  color: var(--accent);
}

.error-content {
  text-align: center;
}

.error-content h2 {
  margin: 38px 0 14px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 540;
  letter-spacing: -0.04em;
}

.error-content p {
  margin: 0 auto 28px;
  color: var(--muted);
}

/* Progressive reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .situation-grid [data-reveal]:nth-child(2),
.js .approach-steps [data-reveal]:nth-child(2) {
  transition-delay: 90ms;
}

.js .situation-grid [data-reveal]:nth-child(3),
.js .approach-steps [data-reveal]:nth-child(3) {
  transition-delay: 160ms;
}

.js .situation-grid [data-reveal]:nth-child(4) {
  transition-delay: 230ms;
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 1320px);
  }

  .service-row {
    grid-template-columns: 55px minmax(270px, 0.9fr) minmax(300px, 1.1fr);
    gap: 34px;
  }

  .approach-grid {
    gap: 62px;
  }

  .company-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
    gap: 70px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .nav-shell {
    position: relative;
  }

  .js .menu-toggle {
    display: flex;
  }

  .primary-nav {
    width: 100%;
    padding: 0 0 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .js .primary-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    width: auto;
    height: calc(100svh - 76px);
    padding: 42px 24px 30px;
    background: var(--paper);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .js .nav-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .js .primary-nav > a {
    padding-block: 17px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(29px, 7vw, 48px);
    font-weight: 540;
    letter-spacing: -0.035em;
  }

  .js .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .js .primary-nav .nav-cta {
    min-height: 62px;
    margin-top: auto;
    padding-inline: 20px;
    border: 1px solid var(--ink);
    background: var(--accent);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 720;
    letter-spacing: 0;
  }

  .hero-media img {
    object-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 12, 10, 0.94), rgba(13, 12, 10, 0.45)),
      linear-gradient(0deg, rgba(13, 12, 10, 0.94) 0%, rgba(13, 12, 10, 0.06) 54%);
  }

  .section-intro--split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-intro--split .section-kicker {
    margin-top: 0;
  }

  .service-row {
    grid-template-columns: 50px 1fr;
  }

  .service-row__body {
    grid-column: 2;
  }

  .approach-grid,
  .company-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .approach-visual,
  .faq-intro {
    position: relative;
    top: auto;
  }

  .approach-visual img {
    aspect-ratio: 16 / 11;
  }

  .approach-content {
    padding-top: 0;
  }

  .company-grid,
  .faq-grid,
  .contact-grid {
    gap: 70px;
  }

  .company-facts {
    max-width: 720px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.7fr;
  }

  .footer-grid > :last-child {
    grid-column: 3;
  }

  .legal-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 60px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 36px, 1320px);
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-word {
    font-size: 17px;
  }

  .menu-toggle__label {
    display: none;
  }

  .hero-inner {
    min-height: max(740px, 100svh);
    padding-bottom: 30px;
  }

  .hero-copy {
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 78px);
    line-height: 0.9;
  }

  .hero-lead {
    margin-top: 26px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-index {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 16px;
  }

  .hero-index li {
    padding-top: 0;
  }

  .section {
    padding-block: 88px;
  }

  .section-intro h2,
  .company-copy h2,
  .faq-intro h2 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .section-intro--split {
    margin-bottom: 52px;
  }

  .situation-grid {
    grid-template-columns: 1fr;
  }

  .situation-card {
    min-height: 300px;
    padding: 28px 24px;
  }

  .card-arrow {
    top: 24px;
    right: 24px;
  }

  .situation-card h3 {
    font-size: 34px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 42px;
  }

  .service-row__index,
  .service-row__body {
    grid-column: 1;
  }

  .service-row h3 {
    font-size: 34px;
  }

  .approach-grid,
  .company-grid,
  .faq-grid,
  .contact-grid {
    gap: 54px;
  }

  .approach-visual img {
    aspect-ratio: 4 / 5;
  }

  .approach-visual figcaption {
    padding: 22px;
    display: block;
  }

  .approach-visual figcaption strong {
    display: block;
    margin-top: 6px;
  }

  .approach-steps li {
    grid-template-columns: 42px 1fr;
  }

  .principle-inner p {
    font-size: clamp(46px, 14vw, 68px);
  }

  .principle-inner p:nth-child(2) {
    margin-top: 8px;
    text-align: left;
  }

  .company-facts {
    grid-template-columns: 1fr;
  }

  .company-facts .company-facts__wide {
    grid-column: 1;
  }

  .company-facts > div {
    min-height: 136px;
  }

  .faq-list summary {
    min-height: 84px;
    gap: 18px;
    font-size: 23px;
  }

  .faq-list details > p {
    margin-right: 0;
  }

  .contact h2 {
    font-size: clamp(53px, 16vw, 76px);
  }

  .contact-action a {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }

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

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .footer-brand,
  .footer-address {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-hero {
    padding-top: 66px;
  }

  .legal-hero h1 {
    font-size: clamp(52px, 16vw, 80px);
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .legal-aside {
    position: relative;
    top: auto;
  }
}

@media (max-width: 380px) {
  :root {
    --shell: min(100% - 28px, 1320px);
  }

  .hero h1 {
    font-size: 49px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .primary-nav .nav-cta {
    min-width: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
