@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Holbeard Credit";
  src: url("/assets/fonts/holbeard-credit.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sorgath";
  src: url("/assets/fonts/sorgath.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #171715;
  --ink-2: #34332f;
  --ink-3: #67635c;
  --paper: #f1eee7;
  --paper-2: #e6e1d7;
  --paper-clear: #f8f6f1;
  --night: #1d272e;
  --accent: #9b4d3f;
  --line: color-mix(in oklab, var(--ink) 16%, transparent);
  --line-light: color-mix(in oklab, var(--paper-clear) 22%, transparent);
  --gutter: clamp(1.5rem, 5vw, 5.75rem);
  --side: var(--gutter);
  --section-space: clamp(5.5rem, 10vw, 10rem);
  --header-h: 5.5rem;
  --max: 90rem;
  --font-credit: "Holbeard Credit", "Arial Narrow", sans-serif;
  --font-signature: "Sorgath", Georgia, serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --decisive: cubic-bezier(0.7, 0, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  hanging-punctuation: first last;
  orphans: 3;
  text-wrap: pretty;
  widows: 3;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--paper-clear);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms var(--ease);
}

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

.scroll-progress {
  position: fixed;
  z-index: 220;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

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

.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem var(--gutter);
  border-bottom: 1px solid transparent;
  background: color-mix(in oklab, var(--paper) 94%, transparent);
  transition:
    min-height 250ms var(--ease),
    border-color 250ms var(--ease),
    background-color 250ms var(--ease);
}

.site-header.is-scrolled {
  min-height: 4.6rem;
  border-color: var(--line);
  background: var(--paper);
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(7.5rem, 10.5vw, 10rem);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.75rem);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.65rem 0;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--decisive);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.9rem !important;
  border: 1px solid var(--ink);
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--paper-clear);
  background: var(--ink);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(2.5rem, 7vh, 6rem)) var(--gutter) 0;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 0;
}

.hero-copy {
  padding-bottom: clamp(1rem, 4vw, 4rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-3);
  font-family: var(--font-credit);
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.9;
  text-transform: uppercase;
}

.eyebrow > span {
  color: var(--accent);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.58em;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 58rem;
  margin-top: clamp(2rem, 5vh, 4.5rem);
  font-size: clamp(3.2rem, 6.2vw, 6.6rem);
  font-weight: 380;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  margin-top: 0.28em;
  color: var(--accent);
  font-weight: 380;
}

.sorgath-word {
  display: inline !important;
  font-family: var(--font-signature);
  font-size: 1.08em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.8;
  white-space: nowrap;
}

.hero-object {
  position: relative;
  min-height: min(56vh, 34rem);
  overflow: hidden;
  background-color: var(--paper-2);
  background-image: url("/assets/images/texture-01.webp");
  background-position: center;
  background-size: cover;
}

.hero-object::before {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--paper-2) 46%, transparent);
  content: "";
}

.territory {
  position: absolute;
  top: -0.08em;
  right: -0.04em;
  color: color-mix(in oklab, var(--ink) 10%, transparent);
  font-size: clamp(12rem, 23vw, 23rem);
  font-weight: 250;
  letter-spacing: -0.1em;
  line-height: 0.8;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.hero-object-card {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  left: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.3rem, 3vw, 2.5rem);
  background: var(--paper-clear);
}

.hero-object-card > p {
  font-size: clamp(1.4rem, 2.3vw, 2.25rem);
  font-weight: 420;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-object-card ol {
  margin-top: 2rem;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.hero-object-card li {
  display: flex;
  padding: 0.7rem 0;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
}

.hero-object-card li span {
  color: var(--ink-3);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hero-lower {
  display: grid;
  max-width: var(--max);
  margin: clamp(3rem, 7vh, 6rem) auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
}

.hero-lede {
  max-width: 38rem;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 420;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.arrow-link span {
  font-size: 1rem;
  transition: transform 250ms var(--ease);
}

.arrow-link:hover span,
.arrow-link:focus-visible span {
  transform: translateY(0.25rem);
}

.discipline-strip {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.discipline-strip p {
  min-width: 0;
  padding: 1.35rem clamp(0.55rem, 1.6vw, 1.5rem);
  font-family: var(--font-credit);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.discipline-strip p + p {
  border-left: 1px solid var(--line);
}

.discipline-strip span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-3);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.section {
  display: grid;
  padding: var(--section-space) var(--gutter);
  grid-template-columns: minmax(11rem, 0.32fr) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 8rem);
}

.section > * {
  min-width: 0;
}

.section-rail,
.section-body,
.work-heading,
.work-mosaic,
.team-heading,
.team-list,
.process,
.local-grid {
  width: 100%;
  max-width: var(--max);
}

.section-rail {
  justify-self: end;
}

.section-body {
  justify-self: start;
}

.section-title {
  max-width: 66rem;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 380;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.approach {
  border-top: 1px solid var(--line);
  background-color: var(--paper-2);
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper-2) 80%, transparent),
      color-mix(in oklab, var(--paper-2) 80%, transparent)
    ),
    url("/assets/images/texture-11.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.approach-copy {
  display: grid;
  margin-top: clamp(4rem, 8vw, 8rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.72fr);
  align-items: start;
  gap: clamp(3rem, 7vw, 8rem);
}

.lede {
  font-size: clamp(1.35rem, 2.25vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.reading {
  max-width: 42rem;
  color: var(--ink-2);
}

.reading p + p {
  margin-top: 1.35em;
}

.services {
  color: var(--paper-clear);
  background: var(--night);
}

.services .eyebrow {
  color: color-mix(in oklab, var(--paper-clear) 62%, transparent);
}

.services-rail {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
  align-self: start;
}

.rail-title {
  margin-top: clamp(2rem, 4vw, 4rem);
  font-size: clamp(2.25rem, 3.5vw, 3.8rem);
  font-weight: 380;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.rail-copy {
  max-width: 20rem;
  margin-top: 1.75rem;
  color: color-mix(in oklab, var(--paper-clear) 60%, transparent);
  font-size: 0.95rem;
}

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

.service {
  display: grid;
  padding: clamp(2rem, 4vw, 4rem) 0;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  align-items: start;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  border-bottom: 1px solid var(--line-light);
}

.service-number {
  color: color-mix(in oklab, var(--paper-clear) 48%, transparent);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.service h3 {
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  font-weight: 380;
  letter-spacing: -0.05em;
  line-height: 1;
}

.service-question {
  max-width: 45rem;
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
}

.service-answer {
  max-width: 42rem;
  margin-top: 0.85rem;
  color: color-mix(in oklab, var(--paper-clear) 64%, transparent);
  font-size: 0.95rem;
}

.service svg {
  width: 2.7rem;
  fill: none;
  stroke: color-mix(in oklab, var(--paper-clear) 64%, transparent);
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.4;
  transition: transform 300ms var(--ease);
}

.service:hover svg {
  transform: rotate(6deg);
}

.honesty {
  border-bottom: 1px solid var(--line);
  background-color: color-mix(in oklab, var(--accent) 10%, var(--paper-clear));
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper-clear) 78%, transparent),
      color-mix(in oklab, var(--paper-clear) 78%, transparent)
    ),
    url("/assets/images/texture-10.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.honesty-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.honesty-word {
  margin-bottom: 2.5rem;
  color: var(--accent);
  font-family: var(--font-signature);
  font-size: clamp(5rem, 10vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.68;
}

.honesty-copy {
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
}

.honesty-copy .lede {
  margin-bottom: 1.35em;
}

.work {
  display: block;
  background: var(--paper);
}

.work-heading {
  display: grid;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.38fr);
  column-gap: clamp(3rem, 8vw, 8rem);
}

.work-heading .eyebrow,
.work-heading .section-title {
  grid-column: 1;
}

.work-heading .section-title {
  margin-top: clamp(2rem, 4vw, 4rem);
}

.work-intro {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  color: var(--ink-3);
}

.work-mosaic {
  display: grid;
  margin: clamp(5rem, 10vw, 10rem) auto 0;
  grid-template-columns: minmax(0, 1.38fr) minmax(18rem, 0.82fr);
  grid-template-rows: repeat(2, auto);
  align-items: start;
  gap: clamp(3rem, 5vw, 5.5rem) clamp(1.5rem, 3vw, 3rem);
}

.project {
  min-width: 0;
}

.project-main {
  grid-row: 1 / span 2;
}

.project-image {
  overflow: hidden;
  background: var(--paper-2);
}

.project img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.98);
  transition:
    filter 300ms var(--ease),
    transform 700ms var(--ease);
}

.project:not(.project-main) img {
  aspect-ratio: 16 / 9;
}

.project:hover img,
.project:focus-visible img {
  filter: saturate(1) contrast(1);
  transform: scale(1.025);
}

.project figcaption {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.project figcaption > p:first-child {
  color: var(--ink-3);
  font-family: var(--font-credit);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project figcaption > p:first-child span {
  margin-right: 0.8rem;
  color: var(--accent);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.project h3 {
  margin: 1.15rem 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.project figcaption > p:not(:first-child) {
  max-width: 40rem;
  color: var(--ink-3);
  font-size: 0.9rem;
}

.project b {
  display: inline-block;
  margin-top: 1.2rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team {
  display: block;
  border-top: 1px solid var(--line);
  background: var(--paper-clear);
}

.team-heading {
  display: grid;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.4fr);
  column-gap: clamp(3rem, 8vw, 8rem);
}

.team-heading .eyebrow,
.team-heading .section-title {
  grid-column: 1;
}

.team-heading .section-title {
  margin-top: clamp(2rem, 4vw, 4rem);
}

.team-intro {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  color: var(--ink-3);
}

.team-list {
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  overflow: clip;
  border-top: 1px solid var(--line);
}

.team-row {
  display: grid;
  padding: clamp(1.75rem, 3vw, 3.25rem) 0;
  grid-template-columns: 3rem minmax(14rem, 0.75fr) minmax(16rem, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.team-row > span,
.process li > span {
  color: var(--ink-3);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.team-row h3 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.team-row p {
  max-width: 34rem;
  color: var(--ink-3);
}

.process {
  margin: clamp(7rem, 13vw, 13rem) auto 0;
}

.process-title {
  max-width: 70rem;
  margin-top: clamp(2rem, 4vw, 4rem);
  font-size: clamp(2.4rem, 4.3vw, 4.7rem);
  font-weight: 380;
  letter-spacing: -0.06em;
  line-height: 1;
}

.process ol {
  display: grid;
  margin-top: clamp(4rem, 8vw, 8rem);
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.process li {
  min-width: 0;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
}

.process li + li {
  border-left: 1px solid var(--line);
}

.process li h3 {
  margin: clamp(3rem, 7vw, 7rem) 0 1rem;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 450;
  letter-spacing: -0.035em;
}

.process li p {
  color: var(--ink-3);
  font-size: 0.88rem;
}

.local {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper-clear);
  background-color: var(--night);
  background-image: url("/assets/images/texture-08.webp");
  background-position: center;
  background-size: cover;
}

.local::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: color-mix(in oklab, var(--night) 74%, transparent);
  content: "";
}

.local-grid {
  display: grid;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.local .eyebrow,
.local .section-title {
  grid-column: 1;
}

.local .eyebrow {
  color: color-mix(in oklab, var(--paper-clear) 62%, transparent);
}

.local .section-title {
  margin-top: clamp(3rem, 7vw, 7rem);
}

.local-copy {
  grid-column: 2;
  grid-row: 2;
  color: color-mix(in oklab, var(--paper-clear) 70%, transparent);
}

.local-copy p + p {
  margin-top: 1.3em;
}

.places {
  grid-column: 1 / -1;
  margin-top: clamp(4rem, 8vw, 8rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  color: color-mix(in oklab, var(--paper-clear) 62%, transparent);
  font-family: var(--font-credit);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.return {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.return-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.58fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.return .lede {
  margin-bottom: 1.2em;
}

.contact {
  padding: var(--section-space) var(--gutter);
  color: var(--paper-clear);
  background: var(--night);
}

.contact > * {
  width: 100%;
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.contact .eyebrow {
  color: color-mix(in oklab, var(--paper-clear) 62%, transparent);
}

.contact-grid {
  display: grid;
  margin-top: clamp(3rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.5fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-title {
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  font-weight: 350;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.contact-copy {
  color: color-mix(in oklab, var(--paper-clear) 68%, transparent);
}

.contact-email {
  display: flex;
  margin-top: clamp(5rem, 9vw, 9rem);
  padding: 1.4rem 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(1.65rem, 4.2vw, 4.6rem);
  font-weight: 350;
  letter-spacing: -0.055em;
  line-height: 1;
  transition: color 180ms var(--ease);
}

.contact-email span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-email b {
  color: var(--accent);
  font-size: 0.65em;
  font-weight: 400;
  transition: transform 250ms var(--ease);
}

.contact-email:hover,
.contact-email:focus-visible {
  color: color-mix(in oklab, var(--paper-clear) 72%, var(--accent));
}

.contact-email:hover b,
.contact-email:focus-visible b {
  transform: translate(0.25rem, -0.25rem);
}

.site-footer {
  display: grid;
  padding: clamp(2.5rem, 5vw, 5rem) var(--gutter);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
  color: var(--paper-clear);
  background: var(--ink);
}

.brand-footer img {
  filter: invert(1);
}

.footer-brand > p {
  margin-top: 1.2rem;
  color: color-mix(in oklab, var(--paper-clear) 48%, transparent);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
  color: color-mix(in oklab, var(--paper-clear) 38%, transparent);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page,
.error-page {
  min-height: 100svh;
  padding: calc(var(--header-h) + 4rem) var(--gutter) 5rem;
  background: var(--paper);
}

.legal-shell,
.error-shell {
  max-width: 54rem;
  margin: 0 auto;
}

.section-index {
  font-family: var(--font-credit);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-index span {
  margin-right: 0.5rem;
  color: var(--accent);
}

.legal-shell h1,
.error-shell h1 {
  margin-bottom: 3rem;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 380;
  letter-spacing: -0.06em;
  line-height: 1;
}

.legal-shell h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 550;
}

.legal-shell p + p {
  margin-top: 1rem;
}

.legal-back,
.error-back {
  display: inline-block;
  margin-top: 3rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 1rem;
    font-size: 0.6rem;
  }

  .hero-grid {
    gap: 3rem;
  }

  .section {
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 3rem;
  }

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

  .process li:nth-child(3) {
    border-left: 0;
  }

  .process li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 4.8rem;
    --gutter: clamp(1.5rem, 6vw, 2.25rem);
    --section-space: clamp(5rem, 12vw, 7rem);
  }

  .site-header {
    min-height: var(--header-h);
  }

  .brand img {
    width: 7.2rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    min-width: 3.75rem;
    min-height: 2.75rem;
    padding: 0;
    place-items: center;
    border: 1px solid var(--ink);
    background: transparent;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    padding: calc(var(--header-h) + 3rem) var(--gutter) 3rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    color: var(--paper-clear);
    background: var(--night);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -1rem, 0);
    transition:
      opacity 250ms var(--ease),
      transform 350ms var(--ease),
      visibility 0s linear 350ms;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
  }

  .site-nav a {
    display: block;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line-light);
    font-size: clamp(1.35rem, 6vw, 2rem);
    font-weight: 420;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .site-nav .nav-contact {
    display: flex;
    margin-top: 2rem;
    padding: 1rem !important;
    justify-content: space-between;
    border-color: var(--paper-clear);
  }

  body.menu-open .site-header {
    border-color: transparent;
    background: transparent;
  }

  body.menu-open .brand {
    position: relative;
    z-index: 3;
  }

  body.menu-open .brand img {
    filter: invert(1);
  }

  body.menu-open .menu-toggle {
    color: var(--paper-clear);
    border-color: var(--paper-clear);
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 3rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3.5rem;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 11.5vw, 5.5rem);
  }

  .hero-object {
    min-height: 30rem;
  }

  .territory {
    font-size: clamp(13rem, 48vw, 22rem);
  }

  .hero-lower {
    margin: 3.5rem auto;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }

  .discipline-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .discipline-strip p:nth-child(4) {
    border-left: 0;
  }

  .discipline-strip p:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-rail {
    justify-self: start;
  }

  .section-title {
    font-size: clamp(2.65rem, 9vw, 4.7rem);
  }

  .approach-copy,
  .honesty-grid,
  .return-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-rail {
    position: static;
  }

  .service {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.6rem;
  }

  .work-heading,
  .team-heading {
    display: block;
  }

  .work-heading .section-title,
  .team-heading .section-title {
    margin-top: 2.5rem;
  }

  .work-intro,
  .team-intro {
    margin-top: 2rem;
  }

  .work-mosaic {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .project-main {
    grid-row: auto;
  }

  .project:not(.project-main) img {
    aspect-ratio: 3 / 2;
  }

  .team-row {
    grid-template-columns: 2.5rem minmax(12rem, 0.72fr) minmax(15rem, 1fr);
  }

  .local-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.5rem;
  }

  .local .eyebrow,
  .local .section-title,
  .local-copy,
  .places {
    grid-column: 1;
    grid-row: auto;
  }

  .local .section-title {
    margin-top: 1rem;
  }

  .places {
    margin-top: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.5rem;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(2.8rem, 12.7vw, 4.2rem);
  }

  .hero-object {
    min-height: 27rem;
  }

  .hero-object-card > p {
    font-size: 1.4rem;
  }

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

  .discipline-strip p:nth-child(3),
  .discipline-strip p:nth-child(5) {
    border-left: 0;
  }

  .discipline-strip p:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .discipline-strip p:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .service {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
  }

  .service svg {
    display: none;
  }

  .service h3 {
    font-size: 2rem;
  }

  .team-row {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: start;
  }

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

  .process ol {
    grid-template-columns: 1fr;
  }

  .process li + li,
  .process li:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process li h3 {
    margin-top: 2.5rem;
  }

  .contact-email {
    font-size: clamp(1.05rem, 5vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.035em;
  }
}

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

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

  [data-parallax] {
    transform: none !important;
  }

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


/* Phase C — signatures, tactile parallax, portfolio network and contact form */
.eyebrow {
  font-size: 1.32rem;
  line-height: 0.96;
}

.discipline-strip p {
  font-size: 1.28rem;
}

.project figcaption > p:first-child,
.network-project > div > p {
  font-size: 1.08rem;
}

.places,
.section-index {
  font-size: 1.16rem;
}

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

.services .section-signature,
.local .section-signature,
.contact .section-signature {
  color: #d59a85;
}

.hero-object,
.approach,
.honesty,
.local {
  isolation: isolate;
  background-image: none;
}

.hero-object::before,
.local::before {
  display: none;
}

.texture-layer {
  position: absolute;
  z-index: 0;
  inset: -10%;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  transform: translate3d(0, var(--parallax-y, 0), 0) scale(1.08);
}

.hero-object > :not(.texture-layer),
.approach > :not(.texture-layer),
.honesty > :not(.texture-layer),
.local > :not(.texture-layer) {
  position: relative;
  z-index: 1;
}

.texture-hero {
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper-2) 50%, transparent),
      color-mix(in oklab, var(--paper-2) 50%, transparent)
    ),
    url("/assets/images/texture-01.webp");
}

.texture-approach {
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper-2) 78%, transparent),
      color-mix(in oklab, var(--paper-2) 78%, transparent)
    ),
    url("/assets/images/texture-11.webp");
  background-blend-mode: normal, multiply;
}

.texture-honesty {
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper-clear) 76%, transparent),
      color-mix(in oklab, var(--paper-clear) 76%, transparent)
    ),
    url("/assets/images/texture-10.webp");
  background-blend-mode: normal, multiply;
}

.texture-local {
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--night) 76%, transparent),
      color-mix(in oklab, var(--night) 76%, transparent)
    ),
    url("/assets/images/texture-08.webp");
  background-blend-mode: normal, multiply;
}

.is-parallax-active {
  will-change: transform;
}

.work-network {
  width: 100%;
  max-width: var(--max);
  margin: clamp(8rem, 14vw, 14rem) auto 0;
  padding-top: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.work-network-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.42fr);
  align-items: end;
  gap: 2rem clamp(3rem, 8vw, 8rem);
}

.work-network-heading .eyebrow {
  grid-column: 1 / -1;
}

.work-network-heading h3 {
  font-size: clamp(2.4rem, 4.6vw, 5rem);
  font-weight: 380;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.work-network-heading > p:last-child {
  color: var(--ink-3);
}

.network-grid {
  display: grid;
  margin-top: clamp(4rem, 8vw, 8rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 2.4vw, 2.5rem);
}

.network-project {
  min-width: 0;
  grid-column: span 4;
}

.network-project:nth-child(-n + 2) {
  grid-column: span 6;
}

.network-project img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-2);
  filter: saturate(0.72) contrast(0.98);
  transition:
    filter 300ms var(--ease),
    transform 700ms var(--ease);
}

.network-project:hover img,
.network-project:focus-visible img {
  filter: saturate(1) contrast(1);
  transform: scale(1.018);
}

.network-project > div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.network-project > div > p {
  color: var(--ink-3);
  font-family: var(--font-credit);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}

.network-project h3 {
  margin-top: 0.85rem;
  font-size: clamp(1.55rem, 2.5vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.network-project > div > span {
  display: inline-block;
  max-width: 100%;
  margin-top: 1rem;
  padding-bottom: 0.14rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.contact-side {
  min-width: 0;
}

.contact-details {
  display: grid;
  margin-top: 2.25rem;
  gap: 1.25rem;
  color: color-mix(in oklab, var(--paper-clear) 62%, transparent);
  font-size: 0.85rem;
  font-style: normal;
  line-height: 1.55;
}

.contact-details a {
  width: max-content;
  max-width: 100%;
  color: var(--paper-clear);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 430;
  letter-spacing: -0.035em;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: #d59a85;
}

.contact-form {
  display: grid;
  margin-top: clamp(5rem, 9vw, 9rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.form-field {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--line-light);
}

.form-field:nth-child(odd):not(.form-field-message) {
  padding-right: clamp(1.25rem, 3vw, 3rem);
  border-right: 1px solid var(--line-light);
}

.form-field:nth-child(even) {
  padding-left: clamp(1.25rem, 3vw, 3rem);
}

.form-field-message {
  grid-column: 1 / -1;
}

.form-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-credit);
  font-size: 1.18rem;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.form-field label span {
  color: color-mix(in oklab, var(--paper-clear) 42%, transparent);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 3.2rem;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--paper-clear);
  background: transparent;
  caret-color: #d59a85;
  font: inherit;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.4;
}

.form-field textarea {
  display: block;
  min-height: 9.5rem;
  resize: vertical;
}

.form-field:focus-within {
  border-bottom-color: #d59a85;
}

.form-submit {
  display: flex;
  padding-top: clamp(1.75rem, 3vw, 3rem);
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.form-submit p {
  max-width: 39rem;
  color: color-mix(in oklab, var(--paper-clear) 50%, transparent);
  font-size: 0.72rem;
}

.form-submit p a {
  color: var(--paper-clear);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form-submit button {
  display: inline-flex;
  min-height: 3.5rem;
  padding: 1rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--paper-clear);
  border-radius: 0;
  color: var(--night);
  background: var(--paper-clear);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease),
    transform 250ms var(--ease);
}

.form-submit button:hover,
.form-submit button:focus-visible {
  color: var(--paper-clear);
  background: var(--accent);
  transform: translateY(-0.18rem);
}

.form-submit button span {
  font-size: 1rem;
}

.js .reveal {
  transform: translate3d(0, 2.4rem, 0);
  transition:
    opacity 760ms var(--ease),
    transform 820ms var(--ease);
}

.js .section-title.reveal,
.js .rail-title.reveal,
.js .process-title.reveal,
.js .contact-title.reveal {
  transform: translate3d(0, 3.4rem, 0);
  transition-duration: 900ms;
}

.js .project.reveal,
.js .network-project.reveal {
  transform: translate3d(0, 2.6rem, 0) scale(0.975);
}

.js .reveal .section-signature {
  display: inline-block !important;
  opacity: 0.08;
  transform: translate3d(0, 0.16em, 0) scale(0.9);
  transition:
    opacity 900ms var(--ease) 150ms,
    transform 950ms var(--decisive) 150ms;
}

.js .reveal.is-visible,
.js .section-title.reveal.is-visible,
.js .rail-title.reveal.is-visible,
.js .process-title.reveal.is-visible,
.js .contact-title.reveal.is-visible,
.js .project.reveal.is-visible,
.js .network-project.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.js .reveal.is-visible .section-signature {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.service:nth-child(2),
.team-row:nth-child(2),
.process li:nth-child(2),
.network-project:nth-child(2) {
  transition-delay: 90ms;
}

.service:nth-child(3),
.team-row:nth-child(3),
.process li:nth-child(3),
.network-project:nth-child(3) {
  transition-delay: 180ms;
}

.service:nth-child(4),
.process li:nth-child(4),
.network-project:nth-child(4) {
  transition-delay: 270ms;
}

.service:nth-child(5),
.network-project:nth-child(5) {
  transition-delay: 360ms;
}

@media (max-width: 900px) {
  .eyebrow {
    font-size: 1.18rem;
  }

  .discipline-strip p {
    font-size: 1.18rem;
  }

  .work-network-heading {
    grid-template-columns: 1fr;
  }

  .work-network-heading .eyebrow {
    grid-column: 1;
  }

  .network-project,
  .network-project:nth-child(-n + 2) {
    grid-column: span 6;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .eyebrow,
  .project figcaption > p:first-child,
  .network-project > div > p,
  .places,
  .section-index {
    font-size: 1.08rem;
  }

  .texture-layer {
    inset: -4%;
    transform: scale(1.04);
  }

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

  .network-project,
  .network-project:nth-child(-n + 2) {
    grid-column: 1;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field,
  .form-field:nth-child(odd):not(.form-field-message),
  .form-field:nth-child(even),
  .form-field-message {
    padding-right: 0;
    padding-left: 0;
    grid-column: 1;
    border-right: 0;
  }

  .form-field label {
    font-size: 1.1rem;
  }

  .form-submit button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .texture-layer,
  .is-parallax-active {
    transform: scale(1.02) !important;
    will-change: auto;
  }

  .js .reveal .section-signature,
  .js .reveal.is-visible .section-signature {
    opacity: 1;
    transform: none;
  }
}


/* Phase C visual QA corrections */
.approach,
.honesty,
.local {
  overflow: hidden;
}

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


/* Keep each parallax texture inside its own section */
.approach,
.honesty {
  position: relative;
}


/* Phase F — larger Holbeard, stronger scroll choreography and rollovers */
.eyebrow {
  font-size: 1.72rem;
  line-height: 1;
}

.discipline-strip p {
  font-size: 1.62rem;
  line-height: 1;
}

.project figcaption > p:first-child,
.network-project > div > p {
  font-size: 1.4rem;
  line-height: 1.03;
}

.places,
.section-index {
  font-size: 1.46rem;
  line-height: 1;
}

.form-field label {
  font-size: 1.52rem;
  line-height: 1;
}

.section,
.contact {
  position: relative;
}

.section::after,
.contact::after {
  position: absolute;
  z-index: 4;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: color-mix(in oklab, var(--accent) 72%, transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 350ms var(--ease),
    transform 780ms var(--decisive);
}

.section.is-entered::after,
.contact.is-entered::after {
  opacity: 1;
  transform: scaleX(1);
}

.js [data-section] .texture-layer {
  opacity: 0.58;
  transition: opacity 780ms var(--ease);
}

.js [data-section].is-entered .texture-layer {
  opacity: 1;
}

.js .service.reveal {
  transform: translate3d(3.75rem, 0, 0);
}

.js .team-row.reveal {
  transform: translate3d(-3.75rem, 0, 0);
}

.js .process li.reveal {
  transform: translate3d(0, 3.5rem, 0) scale(0.95);
}

.js .project.reveal,
.js .network-project.reveal {
  transform: translate3d(0, 4rem, 0) scale(0.93);
}

.js .contact-form.reveal {
  transform: translate3d(0, 4rem, 0) scale(0.975);
}

.js .service.reveal.is-visible,
.js .team-row.reveal.is-visible,
.js .process li.reveal.is-visible,
.js .project.reveal.is-visible,
.js .network-project.reveal.is-visible,
.js .contact-form.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.service,
.team-row,
.process li {
  position: relative;
  isolation: isolate;
}

.service::before,
.team-row::before {
  position: absolute;
  z-index: -1;
  inset: 0 -1.5rem;
  background: var(--paper-clear);
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 380ms var(--decisive);
}

.team-row::before {
  background: color-mix(in oklab, var(--accent) 10%, var(--paper-clear));
}

.service h3,
.service svg,
.service-question,
.service-answer,
.team-row h3,
.team-row p,
.project h3,
.project b,
.network-project h3,
.network-project > div > span,
.section-signature {
  transition:
    color 220ms var(--ease),
    opacity 220ms var(--ease),
    transform 360ms var(--ease);
}

.project-image,
.network-project {
  position: relative;
  overflow: hidden;
}

.project-image::after,
.network-project::after {
  position: absolute;
  inset: 0;
  border: 2px solid color-mix(in oklab, var(--accent) 78%, transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scale(0.965);
  transition:
    opacity 240ms var(--ease),
    transform 420ms var(--decisive);
}

.process li {
  transition:
    color 220ms var(--ease),
    background-color 220ms var(--ease),
    transform 320ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .service:hover::before,
  .service:focus-within::before,
  .team-row:hover::before,
  .team-row:focus-within::before {
    transform: scaleX(1);
    transform-origin: left;
  }

  .service:hover,
  .service:focus-within {
    color: var(--night);
  }

  .service:hover h3,
  .service:focus-within h3,
  .team-row:hover h3,
  .team-row:focus-within h3 {
    transform: translate3d(0.55rem, 0, 0);
  }

  .service:hover .service-answer,
  .service:focus-within .service-answer,
  .service:hover .service-number,
  .service:focus-within .service-number {
    color: color-mix(in oklab, var(--night) 62%, transparent);
  }

  .service:hover svg,
  .service:focus-within svg {
    stroke: var(--accent);
    transform: translate3d(-0.3rem, 0, 0) rotate(10deg) scale(1.08);
  }

  .project:hover .project-image::after,
  .project:focus-visible .project-image::after,
  .network-project:hover::after,
  .network-project:focus-visible::after {
    opacity: 1;
    transform: scale(1);
  }

  .project:hover h3,
  .project:focus-visible h3,
  .network-project:hover h3,
  .network-project:focus-visible h3 {
    color: var(--accent);
    transform: translate3d(0.45rem, 0, 0);
  }

  .project:hover b,
  .project:focus-visible b,
  .network-project:hover > div > span,
  .network-project:focus-visible > div > span {
    transform: translate3d(0.35rem, 0, 0);
  }

  .team-row:hover p,
  .team-row:focus-within p {
    color: var(--ink-2);
  }

  .process li:hover {
    background: color-mix(in oklab, var(--accent) 10%, var(--paper-clear));
    transform: translate3d(0, -0.45rem, 0);
  }

  .section-title:hover .section-signature,
  .rail-title:hover .section-signature,
  .process-title:hover .section-signature,
  .contact-title:hover .section-signature,
  .work-network-heading h3:hover .section-signature {
    color: color-mix(in oklab, var(--accent) 78%, var(--ink));
    transform: translate3d(0.08em, -0.04em, 0) scale(1.045);
  }
}

@media (max-width: 900px) {
  .eyebrow {
    font-size: 1.5rem;
  }

  .discipline-strip p {
    font-size: 1.48rem;
  }

  .project figcaption > p:first-child,
  .network-project > div > p,
  .places,
  .section-index {
    font-size: 1.3rem;
  }

  .form-field label {
    font-size: 1.38rem;
  }

  .js .service.reveal,
  .js .team-row.reveal {
    transform: translate3d(0, 2.75rem, 0);
  }

  .js .service.reveal.is-visible,
  .js .team-row.reveal.is-visible {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 620px) {
  .eyebrow {
    font-size: 1.36rem;
  }

  .discipline-strip p {
    font-size: 1.38rem;
  }

  .project figcaption > p:first-child,
  .network-project > div > p,
  .places,
  .section-index {
    font-size: 1.2rem;
  }

  .form-field label {
    font-size: 1.28rem;
  }

  .section::after,
  .contact::after {
    right: var(--gutter);
    left: var(--gutter);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section::after,
  .contact::after {
    opacity: 1;
    transform: none;
  }

  .js [data-section] .texture-layer,
  .js [data-section].is-entered .texture-layer {
    opacity: 1;
  }

  .service::before,
  .team-row::before,
  .project-image::after,
  .network-project::after {
    transition: none;
  }
}


/* Phase G — compact portfolio and element-level choreography */
.work-mosaic {
  max-width: min(var(--max), 74rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: clamp(2.75rem, 4vw, 4.25rem) clamp(1rem, 2vw, 1.75rem);
}

.project-main {
  grid-row: auto;
}

.project img,
.project:not(.project-main) img {
  aspect-ratio: 4 / 3;
}

.project h3 {
  font-size: clamp(1.65rem, 2.35vw, 2.65rem);
}

.network-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 4rem) clamp(0.85rem, 1.4vw, 1.35rem);
}

.network-project,
.network-project:nth-child(-n + 2) {
  grid-column: auto;
}

.network-project > div {
  padding-top: 0.8rem;
}

.network-project > div > p {
  font-size: 1.12rem;
}

.network-project h3 {
  margin-top: 0.65rem;
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
  overflow-wrap: anywhere;
}

.network-project > div > span {
  margin-top: 0.7rem;
  font-size: 0.56rem;
}

.form-field label {
  font-size: 2.15rem;
  letter-spacing: 0.035em;
}

.form-field label span {
  font-size: 0.64rem;
}

.js .hero-object-card.reveal > p,
.js .hero-object-card.reveal li,
.js .discipline-strip p {
  opacity: 0;
  transform: translate3d(0, 1.4rem, 0);
  transition:
    opacity 520ms var(--ease),
    transform 620ms var(--ease);
}

.js .hero.is-entered .hero-object-card.reveal > p,
.js .hero.is-entered .hero-object-card.reveal li,
.js .hero.is-entered .discipline-strip p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js .hero.is-entered .hero-object-card.reveal > p {
  transition-delay: 80ms;
}

.js .hero.is-entered .hero-object-card.reveal li:nth-child(1),
.js .hero.is-entered .discipline-strip p:nth-child(1) {
  transition-delay: 150ms;
}

.js .hero.is-entered .hero-object-card.reveal li:nth-child(2),
.js .hero.is-entered .discipline-strip p:nth-child(2) {
  transition-delay: 210ms;
}

.js .hero.is-entered .hero-object-card.reveal li:nth-child(3),
.js .hero.is-entered .discipline-strip p:nth-child(3) {
  transition-delay: 270ms;
}

.js .hero.is-entered .hero-object-card.reveal li:nth-child(4),
.js .hero.is-entered .discipline-strip p:nth-child(4) {
  transition-delay: 330ms;
}

.js .hero.is-entered .discipline-strip p:nth-child(5) {
  transition-delay: 390ms;
}

.js .hero.is-entered .discipline-strip p:nth-child(6) {
  transition-delay: 450ms;
}

.js .service.reveal > .service-number,
.js .service.reveal > div > h3,
.js .service.reveal > div > .service-question,
.js .service.reveal > div > .service-answer,
.js .service.reveal > svg,
.js .team-row.reveal > span,
.js .team-row.reveal > h3,
.js .team-row.reveal > p,
.js .process li.reveal > span,
.js .process li.reveal > h3,
.js .process li.reveal > p,
.js .project.reveal .project-image,
.js .project.reveal figcaption > *,
.js .network-project.reveal > img,
.js .network-project.reveal > div > *,
.js .contact-form.reveal .form-field,
.js .contact-form.reveal .form-submit {
  opacity: 0;
  transform: translate3d(0, 1.45rem, 0);
  transition:
    color 220ms var(--ease),
    opacity 520ms var(--ease),
    transform 620ms var(--ease);
}

.js .service.reveal > .service-number,
.js .team-row.reveal > span,
.js .process li.reveal > span {
  transform: translate3d(-1.1rem, 0, 0);
}

.js .service.reveal > svg {
  transform: translate3d(1.1rem, 0, 0) rotate(-8deg) scale(0.84);
}

.js .project.reveal .project-image,
.js .network-project.reveal > img {
  transform: translate3d(0, 1rem, 0) scale(0.94);
}

.js .service.reveal.is-visible > .service-number,
.js .service.reveal.is-visible > div > h3,
.js .service.reveal.is-visible > div > .service-question,
.js .service.reveal.is-visible > div > .service-answer,
.js .service.reveal.is-visible > svg,
.js .team-row.reveal.is-visible > span,
.js .team-row.reveal.is-visible > h3,
.js .team-row.reveal.is-visible > p,
.js .process li.reveal.is-visible > span,
.js .process li.reveal.is-visible > h3,
.js .process li.reveal.is-visible > p,
.js .project.reveal.is-visible .project-image,
.js .project.reveal.is-visible figcaption > *,
.js .network-project.reveal.is-visible > img,
.js .network-project.reveal.is-visible > div > *,
.js .contact-form.reveal.is-visible .form-field,
.js .contact-form.reveal.is-visible .form-submit {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

.js .service.reveal > svg *,
.js .service.reveal > svg circle,
.js .service.reveal > svg rect,
.js .service.reveal > svg path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 720ms var(--decisive);
}

.js .service.reveal.is-visible > svg *,
.js .service.reveal.is-visible > svg circle,
.js .service.reveal.is-visible > svg rect,
.js .service.reveal.is-visible > svg path {
  stroke-dashoffset: 0;
}

.js .service.reveal.is-visible > div > h3,
.js .team-row.reveal.is-visible > h3,
.js .process li.reveal.is-visible > h3,
.js .project.reveal.is-visible figcaption > p:first-child,
.js .network-project.reveal.is-visible > div > p,
.js .contact-form.reveal.is-visible .form-field:nth-child(2) {
  transition-delay: 90ms;
}

.js .service.reveal.is-visible > div > .service-question,
.js .team-row.reveal.is-visible > p,
.js .process li.reveal.is-visible > p,
.js .project.reveal.is-visible figcaption > h3,
.js .network-project.reveal.is-visible > div > h3,
.js .contact-form.reveal.is-visible .form-field:nth-child(3) {
  transition-delay: 160ms;
}

.js .service.reveal.is-visible > div > .service-answer,
.js .service.reveal.is-visible > svg,
.js .project.reveal.is-visible figcaption > p:not(:first-child),
.js .network-project.reveal.is-visible > div > span,
.js .contact-form.reveal.is-visible .form-field:nth-child(4) {
  transition-delay: 230ms;
}

.js .project.reveal.is-visible figcaption > b,
.js .contact-form.reveal.is-visible .form-field:nth-child(5) {
  transition-delay: 300ms;
}

.js .contact-form.reveal.is-visible .form-submit {
  transition-delay: 370ms;
}

.form-field {
  transition:
    background-color 240ms var(--ease),
    border-color 240ms var(--ease),
    opacity 520ms var(--ease),
    transform 620ms var(--ease);
}

.form-field label {
  transition:
    color 220ms var(--ease),
    transform 320ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .project:hover img,
  .project:focus-visible img,
  .network-project:hover img,
  .network-project:focus-visible img {
    transform: scale(1.055);
  }

  .form-field:hover,
  .form-field:focus-within {
    background: color-mix(in oklab, var(--paper-clear) 4%, transparent);
  }

  .form-field:hover label,
  .form-field:focus-within label {
    color: #d59a85;
    transform: translate3d(0.35rem, 0, 0);
  }

  .form-submit button:hover span,
  .form-submit button:focus-visible span {
    transform: translate3d(0.3rem, -0.15rem, 0);
  }
}

.form-submit button span {
  display: inline-block;
  transition: transform 260ms var(--ease);
}

@media (max-width: 1100px) {
  .network-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .work-mosaic {
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem 1.25rem;
  }

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

  .network-project,
  .network-project:nth-child(-n + 2) {
    grid-column: auto;
  }

  .form-field label {
    font-size: 1.92rem;
  }
}

@media (max-width: 620px) {
  .work-mosaic,
  .network-grid {
    grid-template-columns: 1fr;
  }

  .work-mosaic {
    gap: 3.5rem;
  }

  .network-grid {
    gap: 3rem;
  }

  .network-project h3 {
    font-size: 1.55rem;
  }

  .network-project > div > p {
    font-size: 1.18rem;
  }

  .form-field label {
    font-size: 1.72rem;
  }

  .form-field label span {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-object-card.reveal > p,
  .js .hero-object-card.reveal li,
  .js .discipline-strip p,
  .js .service.reveal > .service-number,
  .js .service.reveal > div > h3,
  .js .service.reveal > div > .service-question,
  .js .service.reveal > div > .service-answer,
  .js .service.reveal > svg,
  .js .team-row.reveal > span,
  .js .team-row.reveal > h3,
  .js .team-row.reveal > p,
  .js .process li.reveal > span,
  .js .process li.reveal > h3,
  .js .process li.reveal > p,
  .js .project.reveal .project-image,
  .js .project.reveal figcaption > *,
  .js .network-project.reveal > img,
  .js .network-project.reveal > div > *,
  .js .contact-form.reveal .form-field,
  .js .contact-form.reveal .form-submit {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
  }

  .js .service.reveal > svg *,
  .js .service.reveal > svg circle,
  .js .service.reveal > svg rect,
  .js .service.reveal > svg path {
    stroke-dashoffset: 0;
  }
}


/* Phase G QA — honor the compact 16:9 thumbnail ratio */
.network-project img {
  height: auto;
}


/* Phase H — tactile grain, editorial hero and human details */
body::before {
  position: fixed;
  z-index: 180;
  inset: 0;
  background: url("/assets/images/texture-12.webp") center / 44rem auto repeat;
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.1;
  pointer-events: none;
}

.site-header {
  background-color: color-mix(in oklab, var(--paper) 70%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(0.88);
  backdrop-filter: blur(16px) saturate(0.88);
}

.site-header.is-scrolled {
  background-color: color-mix(in oklab, var(--paper) 84%, transparent);
}

.hero {
  background-color: var(--paper);
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper) 84%, transparent),
      color-mix(in oklab, var(--paper) 84%, transparent)
    ),
    url("/assets/images/texture-11.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.services {
  background-color: var(--night);
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--night) 84%, transparent),
      color-mix(in oklab, var(--night) 84%, transparent)
    ),
    url("/assets/images/texture-13.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.work {
  background-color: var(--paper);
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper) 86%, transparent),
      color-mix(in oklab, var(--paper) 86%, transparent)
    ),
    url("/assets/images/texture-08.webp");
  background-position: center top;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.team {
  background-color: var(--paper-clear);
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper-clear) 83%, transparent),
      color-mix(in oklab, var(--paper-clear) 83%, transparent)
    ),
    url("/assets/images/texture-15.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.return {
  background-color: var(--paper);
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--paper) 82%, transparent),
      color-mix(in oklab, var(--paper) 82%, transparent)
    ),
    url("/assets/images/texture-01.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.contact {
  background-color: var(--night);
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--night) 83%, transparent),
      color-mix(in oklab, var(--night) 83%, transparent)
    ),
    url("/assets/images/texture-10.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.site-footer {
  background-color: var(--ink);
  background-image:
    linear-gradient(
      color-mix(in oklab, var(--ink) 84%, transparent),
      color-mix(in oklab, var(--ink) 84%, transparent)
    ),
    url("/assets/images/texture-08.webp");
  background-position: center bottom;
  background-size: cover;
  background-blend-mode: normal, multiply;
}

.hero .eyebrow {
  color: color-mix(in oklab, var(--ink) 70%, var(--accent));
  font-size: clamp(2.15rem, 2.6vw, 3.15rem);
  letter-spacing: 0.025em;
  line-height: 0.86;
}

.hero-object {
  min-height: min(56vh, 34rem);
  border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent);
  background: var(--accent);
}

.texture-hero {
  background-image:
    linear-gradient(
      145deg,
      color-mix(in oklab, var(--accent) 80%, transparent) 0 47%,
      color-mix(in oklab, var(--night) 76%, transparent) 47% 48%,
      color-mix(in oklab, var(--paper-2) 68%, transparent) 48% 100%
    ),
    url("/assets/images/texture-01.webp");
  background-blend-mode: normal, multiply;
}

.hero-object::after {
  position: absolute;
  z-index: 1;
  top: -16%;
  right: -31%;
  width: 76%;
  height: 68%;
  border: 1px solid color-mix(in oklab, var(--paper-clear) 45%, transparent);
  background: color-mix(in oklab, var(--paper-clear) 47%, transparent);
  content: "";
  pointer-events: none;
  transform: rotate(13deg);
}

.hero-object .territory {
  position: absolute;
  z-index: 1;
  top: -0.08em;
  right: auto;
  left: -0.08em;
  color: color-mix(in oklab, var(--paper-clear) 23%, transparent);
  font-size: clamp(13rem, 22vw, 22rem);
  mix-blend-mode: overlay;
  transform: translate3d(0, var(--parallax-y, 0), 0) rotate(-4deg);
}

.hero-object-place {
  position: absolute !important;
  z-index: 4 !important;
  top: clamp(1rem, 2vw, 1.5rem);
  left: clamp(1rem, 2vw, 1.5rem);
  padding: 0.62rem 0.72rem 0.5rem;
  color: var(--paper-clear);
  background: var(--night);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-object-card {
  z-index: 3 !important;
  right: 0;
  bottom: clamp(1.5rem, 5vh, 3.5rem);
  left: clamp(1.5rem, 5vw, 4.5rem);
  padding: clamp(1.5rem, 2.7vw, 2.35rem);
  border-top: 0.34rem solid var(--ink);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 20%, transparent);
  background: color-mix(in oklab, var(--paper-clear) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: rotate(-1deg);
  transform-origin: right bottom;
}

.hero-object-card::before {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  color: var(--ink-3);
  content: "UWL / 17";
  font-size: 0.52rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.hero-object-head {
  padding-right: 3.5rem;
}

.hero-object-kicker {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero-object-rotator {
  margin-top: clamp(1.15rem, 2.5vw, 2rem);
  font-size: clamp(1.85rem, 3.3vw, 3.25rem);
  font-weight: 390;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.hero-object-rotator > span,
.hero-object-rotator > strong {
  display: block;
}

.hero-object-rotator > span {
  margin-bottom: 0.15em;
  color: var(--ink-3);
  font-size: 0.48em;
  font-weight: 520;
  letter-spacing: 0.02em;
}

.hero-object-rotator > strong {
  color: var(--accent);
  font-weight: 430;
  transition:
    opacity 180ms var(--ease),
    transform 240ms var(--ease);
}

.hero-object-rotator > strong.is-changing {
  opacity: 0.08;
  transform: translate3d(0, -0.22em, 0);
}

.hero-object-correction {
  display: flex;
  margin-top: clamp(1.3rem, 2.5vw, 2rem);
  padding-top: 1rem;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 0.72rem !important;
  font-weight: 550;
  letter-spacing: 0.035em !important;
  line-height: 1.2 !important;
}

.hero-object-correction s {
  color: var(--ink-3);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.12em;
}

.hero-object-correction span {
  display: inline-block;
  margin-left: -0.8rem;
  padding: 0.35rem 0.5rem 0.3rem;
  color: var(--paper-clear);
  background: var(--accent);
  transform: translate3d(1.45rem, 0.48rem, 0) rotate(-2deg);
}

.hero-object-card ol {
  display: grid;
  margin-top: clamp(1.6rem, 3vw, 2.3rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-object-card li {
  min-width: 0;
  padding: 0.82rem 0.45rem;
}

.hero-object-card li:nth-child(even) {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.hero-object-card li:nth-child(-n + 2) {
  border-top: 0;
}

.js .hero .hero-object-card.reveal {
  opacity: 0;
  transform: translate3d(2.2rem, 1.6rem, 0) rotate(2deg) scale(0.96);
  transition:
    opacity 640ms var(--ease),
    transform 760ms var(--decisive);
}

.js .hero.is-entered .hero-object-card.reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
}

.js .hero-object-card .hero-object-head {
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  transition:
    opacity 520ms var(--ease) 170ms,
    transform 620ms var(--ease) 170ms;
}

.js .hero.is-entered .hero-object-card .hero-object-head {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.contact-joke {
  display: grid;
  margin-top: 1.75rem;
  justify-items: start;
  color: color-mix(in oklab, var(--paper-clear) 52%, transparent);
  font-size: 0.78rem;
  font-weight: 520;
  letter-spacing: 0.025em;
}

.contact-joke s {
  text-decoration-color: #d59a85;
  text-decoration-thickness: 0.12em;
}

.contact-joke span {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.28rem 0.42rem;
  color: var(--night);
  background: #d59a85;
  transform: translate3d(1.2rem, 0, 0) rotate(-1.5deg);
}

.js .contact-joke.reveal s,
.js .contact-joke.reveal span {
  opacity: 0;
  transform: translate3d(1.5rem, 0.75rem, 0) rotate(-1.5deg);
  transition:
    opacity 460ms var(--ease),
    transform 580ms var(--ease);
}

.js .contact-joke.reveal.is-visible s {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.js .contact-joke.reveal.is-visible span {
  opacity: 1;
  transform: translate3d(1.2rem, 0, 0) rotate(-1.5deg);
  transition-delay: 150ms;
}

.form-field:nth-child(odd):not(.form-field-message) {
  padding-left: clamp(1.25rem, 3vw, 3rem);
}

.form-field:nth-child(even) {
  padding-right: clamp(1.25rem, 3vw, 3rem);
}

.form-field-message,
.form-submit {
  padding-right: clamp(1.25rem, 3vw, 3rem);
  padding-left: clamp(1.25rem, 3vw, 3rem);
}

.footer-address {
  margin-top: 1rem;
  color: color-mix(in oklab, var(--paper-clear) 70%, transparent);
  font-size: 0.74rem;
  font-style: normal;
  letter-spacing: 0.035em;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .site-nav {
    background-color: color-mix(in oklab, var(--night) 92%, transparent);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .hero .eyebrow {
    font-size: clamp(1.9rem, 5vw, 2.35rem);
  }

  .hero-object {
    min-height: 30rem;
  }

  .hero-object-card {
    right: 0;
    left: clamp(1.25rem, 6vw, 3.5rem);
  }
}

@media (max-width: 620px) {
  body::before {
    background-size: 32rem auto;
    opacity: 0.075;
  }

  .hero .eyebrow {
    font-size: 1.75rem;
  }

  .hero-object {
    min-height: 23rem;
  }

  .hero-object .territory {
    font-size: 13rem;
  }

  .hero-object-place {
    font-size: 0.54rem;
  }

  .hero-object-card {
    right: 0;
    bottom: 1.1rem;
    left: 0.85rem;
    padding: 1.25rem;
  }

  .hero-object-head {
    padding-right: 2.6rem;
  }

  .hero-object-kicker {
    font-size: 1.25rem;
  }

  .hero-object-rotator {
    font-size: 2rem;
  }

  .hero-object-card li {
    font-size: 0.68rem;
  }

  .hero-object-correction {
    flex-wrap: wrap;
  }

  .form-field,
  .form-field:nth-child(odd):not(.form-field-message),
  .form-field:nth-child(even),
  .form-field-message {
    padding-right: 0;
    padding-left: 0;
  }

  .form-submit {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-object-rotator > strong,
  .hero-object-rotator > strong.is-changing,
  .js .hero .hero-object-card.reveal,
  .js .hero.is-entered .hero-object-card.reveal,
  .js .hero-object-card .hero-object-head,
  .js .hero.is-entered .hero-object-card .hero-object-head,
  .js .contact-joke.reveal s,
  .js .contact-joke.reveal span,
  .js .contact-joke.reveal.is-visible s,
  .js .contact-joke.reveal.is-visible span {
    opacity: 1;
    transform: none;
  }
}

@media print {
  body::before {
    display: none;
  }

  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}


/* Phase H QA — anchor the editorial card inside the hero object */
.hero-object-card {
  position: absolute !important;
  left: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-object-rotator {
  font-size: clamp(1.75rem, 2.4vw, 2.75rem);
}

@media (max-width: 900px) {
  .hero-object-card {
    left: clamp(1.25rem, 5vw, 2.5rem);
  }
}

@media (max-width: 620px) {
  .hero-object-card {
    left: 0.85rem;
  }
}


/* Phase I · privacy-respectful Google tag */

.cookie-consent {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 10000;
  width: min(34rem, calc(100vw - 2rem));
  padding: clamp(1.35rem, 3vw, 2.25rem);
  color: var(--ink);
  background:
    linear-gradient(color-mix(in oklab, var(--paper-clear) 94%, transparent), color-mix(in oklab, var(--paper-clear) 94%, transparent)),
    url("/assets/images/texture-11.webp") center / cover;
  border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent);
  box-shadow: 0 1.25rem 4rem color-mix(in oklab, var(--night) 24%, transparent);
  backdrop-filter: blur(18px) saturate(0.9);
  animation: cookie-consent-in 500ms var(--ease) both;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cookie-consent h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.cookie-consent > p:not(.cookie-consent__eyebrow) {
  max-width: 45ch;
  margin: 1rem 0 1.25rem;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.cookie-consent__actions button,
.legal-cookie-settings {
  min-height: 3rem;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color 220ms var(--ease),
    background-color 220ms var(--ease),
    transform 220ms var(--ease);
}

.cookie-consent__actions button:last-child {
  color: var(--paper-clear);
  background: var(--ink);
}

.cookie-consent__actions button:hover,
.cookie-consent__actions button:focus-visible,
.legal-cookie-settings:hover,
.legal-cookie-settings:focus-visible {
  color: var(--paper-clear);
  background: var(--accent);
  transform: translateY(-2px);
}

.cookie-consent > a {
  display: inline-block;
  margin-top: 1rem;
  border-bottom: 1px solid currentColor;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 700;
}

.legal-cookie-settings {
  padding: 0.8rem 1rem;
}

@keyframes cookie-consent-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 620px) {
  .cookie-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    animation: none;
  }

  .cookie-consent__actions button,
  .legal-cookie-settings {
    transition: none;
  }
}

@media print {
  .cookie-consent,
  .legal-cookie-settings {
    display: none !important;
  }
}


/* Phase L · directional alpha reveals for every editorial layer */
.js .reveal.reveal-motion {
  --reveal-x: 0rem;
  --reveal-y: 3.25rem;
  --reveal-scale: 0.985;
  opacity: 0;
  transform:
    translate3d(var(--reveal-x), var(--reveal-y), 0)
    scale(var(--reveal-scale));
  transition:
    opacity 620ms var(--ease) var(--reveal-delay, 0ms),
    transform 760ms var(--decisive) var(--reveal-delay, 0ms);
}

.js .reveal.reveal-motion[data-reveal-direction="left"] {
  --reveal-x: -4.5rem;
  --reveal-y: 1.15rem;
  --reveal-scale: 0.992;
}

.js .reveal.reveal-motion[data-reveal-direction="right"] {
  --reveal-x: 4.5rem;
  --reveal-y: 1.15rem;
  --reveal-scale: 0.992;
}

.js .reveal.reveal-motion[data-reveal-direction="zoom"] {
  --reveal-x: 0rem;
  --reveal-y: 2.4rem;
  --reveal-scale: 0.94;
}

.js .reveal.reveal-motion.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.js .reveal.reveal-motion.is-reveal-running {
  will-change: opacity, transform;
}

@media (max-width: 900px) {
  .js .reveal.reveal-motion[data-reveal-direction="left"],
  .js .reveal.reveal-motion[data-reveal-direction="right"] {
    --reveal-x: 0rem;
    --reveal-y: 2.5rem;
    --reveal-scale: 0.99;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal.reveal-motion,
  .js .reveal.reveal-motion.is-visible,
  .js .reveal.reveal-motion.is-reveal-running {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}
