:root {
  --page-max: 1320px;
  --ink: #090d0f;
  --ink-2: #101719;
  --ink-3: #172226;
  --panel: rgba(18, 27, 30, 0.82);
  --panel-solid: #131d20;
  --paper: #f6f0e7;
  --paper-2: #fffaf1;
  --muted: rgba(246, 240, 231, 0.68);
  --muted-2: rgba(246, 240, 231, 0.48);
  --line: rgba(246, 240, 231, 0.14);
  --line-strong: rgba(246, 240, 231, 0.24);
  --teal: #19b7a5;
  --copper: #d58a4a;
  --oxide: #a84f42;
  --steel: #8da1a9;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --font-sans: "Outfit", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", monospace;
  --scrollProgress: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: auto;
}

body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(246, 240, 231, 0.035), transparent 34rem),
    linear-gradient(135deg, #080b0d 0%, #101719 44%, #201915 74%, #090d0f 100%);
  font-family: var(--font-sans);
  letter-spacing: 0;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.38;
  background:
    linear-gradient(90deg, rgba(246, 240, 231, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(246, 240, 231, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 78%);
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: var(--scrollProgress);
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--teal), var(--copper), var(--oxide));
  box-shadow: 0 0 20px rgba(25, 183, 165, 0.3);
}

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

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

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
}

.site-header,
.footer {
  position: relative;
  z-index: 20;
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(var(--page-max), calc(100vw - 2rem));
  min-height: 4rem;
  padding: 0.45rem;
  border: 1px solid rgba(246, 240, 231, 0.16);
  border-radius: 999px;
  background: rgba(9, 13, 15, 0.74);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: width 260ms ease, transform 260ms ease, background 260ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(25, 183, 165, 0.24), transparent 28%, rgba(213, 138, 74, 0.2));
  opacity: 0;
  transition: opacity 260ms ease;
}

.site-header.is-scrolled {
  width: min(1180px, calc(100vw - 2rem));
  background: rgba(9, 13, 15, 0.88);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.site-header.is-hidden {
  transform: translate(-50%, -140%);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  padding-inline: 0.55rem 0.7rem;
  color: var(--paper-2);
  font-weight: 800;
}

.logo-mark {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  background: url("favicon.svg") center / contain no-repeat;
}

.logo-mark span {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  min-width: 0;
  gap: 0.08rem;
  color: rgba(246, 240, 231, 0.68);
  font-size: 0.86rem;
  font-weight: 650;
}

.nav-links a,
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.68rem 0.78rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--paper-2);
  background: rgba(246, 240, 231, 0.075);
}

.header-call {
  color: #0b1113;
  background: var(--paper-2);
  font-weight: 850;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--paper-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 180ms ease;
}

.menu-toggle:hover {
  background: rgba(246, 240, 231, 0.09);
}

.menu-toggle .bar {
  transition: transform 220ms ease, opacity 220ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .bar-top {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar-mid {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .bar-bot {
  transform: translateY(-5px) rotate(-45deg);
}

.header-call:hover,
.button:hover,
.cta-actions a:hover,
.contact-tile:hover,
.page-card:hover,
.service-card:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.65fr);
  align-items: center;
  min-height: 94svh;
  padding: 10rem clamp(1rem, 4vw, 4.5rem) 7rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 7rem 0 auto auto;
  z-index: -1;
  width: min(50vw, 720px);
  height: min(68svh, 720px);
  border: 1px solid rgba(246, 240, 231, 0.16);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background:
    linear-gradient(90deg, rgba(25, 183, 165, 0.18), transparent 34%),
    linear-gradient(rgba(246, 240, 231, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 231, 0.055) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 13, 15, 0.98) 0%, rgba(9, 13, 15, 0.74) 54%, rgba(9, 13, 15, 0.26) 100%),
    linear-gradient(180deg, transparent 0%, rgba(9, 13, 15, 0.96) 92%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 16vh 4vw 12vh auto;
  width: min(46vw, 640px);
  border: 1px solid rgba(25, 183, 165, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(25, 183, 165, 0.2) 34% 35%, transparent 35% 100%),
    linear-gradient(rgba(246, 240, 231, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 231, 0.06) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  mix-blend-mode: screen;
}

.line-field {
  position: absolute;
  right: 10vw;
  top: 19vh;
  width: min(34vw, 430px);
  aspect-ratio: 1.25;
  border: 1px solid rgba(246, 240, 231, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(25, 183, 165, 0.75) 18% 19%, transparent 19% 100%),
    linear-gradient(0deg, transparent 0 36%, rgba(213, 138, 74, 0.72) 36% 37%, transparent 37% 100%),
    linear-gradient(145deg, rgba(246, 240, 231, 0.08), rgba(9, 13, 15, 0.18));
}

.pulse {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw);
  max-width: 1120px;
}

.hero-media {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(42vw, 560px);
  height: min(68svh, 720px);
  margin: 0 0 0 -4.5rem;
  overflow: hidden;
  border: 1px solid rgba(246, 240, 231, 0.18);
  border-radius: var(--radius);
  background: rgba(246, 240, 231, 0.05);
  box-shadow: var(--shadow);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 13, 15, 0.08), rgba(9, 13, 15, 0.72)),
    linear-gradient(rgba(246, 240, 231, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 231, 0.055) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.hero-media::after {
  z-index: 2;
  border: 1px solid rgba(25, 183, 165, 0.22);
  transform: translate(1.25rem, 1.25rem);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(0.28) contrast(1.08);
  transform: scale(1.02);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.sub-hero h1 {
  max-width: min(1120px, 92vw);
  margin: 0;
  color: var(--paper-2);
  font-size: 3.35rem;
  font-weight: 850;
  line-height: 0.9;
  text-wrap: balance;
}

.hero-text,
.sub-hero > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1.45rem 0 0;
  color: rgba(246, 240, 231, 0.78);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.92rem 1.24rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-primary {
  color: #071011;
  background: var(--paper-2);
}

.button-secondary {
  color: var(--paper-2);
  border-color: rgba(246, 240, 231, 0.22);
  background: rgba(246, 240, 231, 0.07);
}

.button-primary:hover {
  background: #ffffff;
}

.button-secondary:hover {
  border-color: rgba(25, 183, 165, 0.55);
  background: rgba(25, 183, 165, 0.14);
}

.section,
.sub-hero,
.footer {
  width: min(var(--page-max), calc(100% - 2rem));
  max-width: var(--page-max);
  margin-inline: auto;
}

.section {
  padding: 8.5rem 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 2.4rem;
}

.section-intro > *,
.service-grid > *,
.flow-section > *,
.copy-section > *,
.detail-layout > *,
.skills-grid > *,
.geo-section > *,
.page-grid > *,
.contact-page-grid > *,
.faq-grid > *,
.footer > * {
  min-width: 0;
}

.section-intro h2,
.flow-copy h2,
.copy-section h2,
.detail-copy h2,
.faq-section h2,
.geo-section h2,
.cta-panel h2,
.contact-tile h2,
.page-card h2 {
  margin: 0;
  color: var(--paper-2);
  font-size: 2.2rem;
  font-weight: 820;
  line-height: 0.98;
  text-wrap: balance;
}

.section-intro .eyebrow,
.section-intro h2 {
  grid-column: 1 / -1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(17rem, auto);
  grid-auto-flow: dense;
  gap: 1px;
  border: 1px solid rgba(246, 240, 231, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(246, 240, 231, 0.1);
}

.service-card,
.page-card,
.contact-tile,
.skills-grid article,
.detail-list article,
.flow-steps article,
.faq-grid details {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(25, 183, 165, 0.18), transparent 15rem),
    linear-gradient(145deg, rgba(246, 240, 231, 0.08), rgba(246, 240, 231, 0.025));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.service-card {
  grid-column: span 3;
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.15rem, 2vw, 2rem);
}

.service-card-large {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 34rem;
}

.service-card:nth-child(4) {
  grid-column: span 6;
}

.service-card::before,
.page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(9, 13, 15, 0.02), rgba(9, 13, 15, 0.78)),
    url("https://picsum.photos/seed/consulting-desk/1200/900") center / cover;
  opacity: 0;
  filter: grayscale(0.9) contrast(1.16);
  transform: scale(1.04);
  transition: opacity 400ms ease, transform 700ms ease;
}

.service-card-large::before {
  opacity: 0.42;
}

.service-card-accent::before {
  background-image:
    linear-gradient(180deg, rgba(9, 13, 15, 0.04), rgba(9, 13, 15, 0.82)),
    url("https://picsum.photos/seed/ai-dialogue/1200/900");
  opacity: 0.36;
}

.service-card:hover,
.page-card:hover,
.contact-tile:hover,
.skills-grid article:hover,
.detail-list article:hover {
  border-color: rgba(25, 183, 165, 0.34);
}

.service-card:hover::before,
.page-card:hover::before {
  opacity: 0.48;
  transform: scale(1.1);
}

.service-card > *,
.page-card > * {
  position: relative;
  z-index: 1;
}

.service-card span,
.page-card span,
.contact-tile span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.1rem;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card h3,
.skills-grid h3,
.detail-list h3,
.flow-steps h3 {
  margin: 0;
  color: var(--paper-2);
  font-size: 1.45rem;
  line-height: 1.05;
}

.service-card-large h3 {
  max-width: 13ch;
  font-size: 2.45rem;
  line-height: 0.98;
}

.service-card p,
.page-card p,
.skills-grid p,
.detail-list p,
.flow-steps p,
.contact-tile p,
.copy-body p,
.geo-panel p,
.cta-panel p,
.faq-grid p,
.legal-list dd {
  color: rgba(246, 240, 231, 0.72);
  line-height: 1.65;
}

.service-card p,
.page-card p {
  margin: 1rem 0 0;
}

.text-link {
  width: fit-content;
  margin-top: 1.4rem;
  color: var(--paper-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(25, 183, 165, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.flow-section,
.copy-section,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.flow-copy,
.detail-copy {
  position: sticky;
  top: 8rem;
}

.flow-copy p:not(.eyebrow),
.detail-copy p {
  max-width: 34rem;
  color: rgba(246, 240, 231, 0.74);
  font-size: 1.1rem;
  line-height: 1.75;
}

.flow-steps,
.detail-list {
  display: grid;
  gap: 1rem;
}

.flow-steps article,
.detail-list article {
  min-height: 16rem;
  padding: clamp(1.25rem, 2.4vw, 2.3rem);
  background:
    linear-gradient(145deg, rgba(246, 240, 231, 0.085), rgba(246, 240, 231, 0.028)),
    linear-gradient(90deg, rgba(25, 183, 165, 0.16), transparent 1px);
}

.flow-steps span {
  display: block;
  margin-bottom: 2rem;
  color: rgba(213, 138, 74, 0.9);
  font-family: var(--font-mono);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 0.8;
}

.copy-section {
  border-top: 1px solid rgba(246, 240, 231, 0.12);
  border-bottom: 1px solid rgba(246, 240, 231, 0.12);
}

.copy-section > div:first-child {
  display: grid;
  align-content: start;
}

.copy-body {
  min-width: 0;
  max-width: 48rem;
}

.copy-body p {
  margin: 0 0 1.2rem;
  font-size: 1.08rem;
}

.copy-list {
  display: grid;
  gap: 0.72rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.copy-list li {
  position: relative;
  min-height: 3.2rem;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  border: 1px solid rgba(246, 240, 231, 0.12);
  border-radius: var(--radius);
  background: rgba(246, 240, 231, 0.045);
  color: rgba(246, 240, 231, 0.82);
}

.copy-list li::before {
  content: "";
  position: absolute;
  top: 1.23rem;
  left: 1rem;
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(25, 183, 165, 0.1);
}

.skills-section {
  overflow: hidden;
}

.skill-marquee {
  width: 100vw;
  margin: 0 0 3rem calc(50% - 50vw);
  overflow: hidden;
  border-block: 1px solid rgba(246, 240, 231, 0.1);
  background: rgba(246, 240, 231, 0.035);
}

.skill-marquee div {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
  will-change: transform;
}

.skill-marquee span {
  padding: 1rem 1.7rem;
  color: rgba(246, 240, 231, 0.74);
  font-family: var(--font-mono);
  font-weight: 700;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.skills-grid article {
  min-height: 17rem;
  padding: 1.35rem;
}

.statement-section {
  min-height: 75svh;
  display: grid;
  place-items: center;
}

.statement {
  max-width: 16ch;
  margin: 0;
  color: rgba(246, 240, 231, 0.22);
  font-size: 3.4rem;
  font-weight: 850;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.statement span {
  color: rgba(246, 240, 231, 0.22);
}

.geo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.geo-section .eyebrow {
  grid-column: 1;
}

.geo-section h2 {
  grid-column: 1;
}

.geo-panel {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: clamp(1.25rem, 2.8vw, 2.6rem);
  border: 1px solid rgba(246, 240, 231, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(25, 183, 165, 0.1), transparent 55%),
    rgba(246, 240, 231, 0.055);
}

.geo-panel p {
  margin: 0;
  font-size: 1.12rem;
}

.geo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.geo-tags span {
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(246, 240, 231, 0.14);
  border-radius: 999px;
  color: rgba(246, 240, 231, 0.76);
  background: rgba(9, 13, 15, 0.34);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.cta-section {
  padding-bottom: 4rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 4rem);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 240, 231, 0.94), rgba(230, 217, 200, 0.86)),
    url("https://picsum.photos/seed/workshop-table/1600/900") center / cover;
  color: #111719;
}

.cta-panel .eyebrow {
  color: #0b5f59;
}

.cta-panel h2,
.cta-panel p,
.cta-panel a {
  color: #111719;
}

.cta-panel p {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1.1rem;
}

.cta-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.cta-actions .button-secondary {
  color: #111719;
  border-color: rgba(17, 23, 25, 0.2);
  background: rgba(17, 23, 25, 0.055);
}

.cta-actions > a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #111719;
  font-weight: 780;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.32em;
  transition: transform 180ms ease;
}

.subpage {
  padding-top: 8.2rem;
}

.sub-hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  align-content: end;
  padding: 5rem 0 6.5rem;
  isolation: isolate;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 1.5rem auto;
  z-index: -1;
  width: min(44vw, 560px);
  height: min(45svh, 440px);
  border: 1px solid rgba(246, 240, 231, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(9, 13, 15, 0.28), rgba(9, 13, 15, 0.9)),
    url("https://picsum.photos/seed/service-system/1200/850") center / cover;
  filter: grayscale(0.82) contrast(1.1);
  opacity: 0.76;
}

.sub-hero h1 {
  max-width: min(980px, 92vw);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

.page-card {
  grid-column: span 4;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 2.4vw, 2.2rem);
  background:
    linear-gradient(145deg, rgba(246, 240, 231, 0.085), rgba(246, 240, 231, 0.028)),
    rgba(9, 13, 15, 0.18);
}

.page-card-large {
  grid-column: span 6;
  min-height: 26rem;
}

.page-card h2 {
  font-size: 1.85rem;
}

.detail-list article {
  min-height: 14rem;
}

.sub-skills {
  padding-top: 6rem;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.contact-tile {
  min-height: 19rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 2.4vw, 2.2rem);
  background: linear-gradient(145deg, rgba(246, 240, 231, 0.085), rgba(246, 240, 231, 0.028));
}

.contact-tile-primary {
  background:
    linear-gradient(145deg, rgba(25, 183, 165, 0.22), rgba(246, 240, 231, 0.045)),
    rgba(9, 13, 15, 0.1);
}

.contact-tile h2 {
  font-size: 2rem;
}

.faq-section > .eyebrow,
.faq-section > h2 {
  max-width: 52rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.faq-grid details {
  min-height: 10rem;
  padding: 1.25rem;
  background: rgba(246, 240, 231, 0.055);
}

.faq-grid summary {
  cursor: pointer;
  color: var(--paper-2);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.faq-grid summary::marker {
  color: var(--teal);
}

.faq-grid p {
  margin: 1rem 0 0;
}

.footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(246, 240, 231, 0.13);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
  color: rgba(246, 240, 231, 0.68);
  font-size: 0.92rem;
}

.footer-links span {
  flex-basis: 100%;
  color: rgba(246, 240, 231, 0.52);
  text-align: right;
}

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

.legal-section {
  align-items: start;
}

.legal-body {
  width: 100%;
}

.legal-list {
  display: grid;
  gap: 0;
  margin: 0;
  min-width: 0;
}

.legal-list div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.36fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(246, 240, 231, 0.12);
}

.legal-list div:first-child {
  padding-top: 0;
}

.legal-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-list dt {
  color: rgba(246, 240, 231, 0.52);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-list dd {
  margin: 0;
  min-width: 0;
}

.hero h1,
.sub-hero h1,
.section h2,
.service-card h3,
.page-card h2,
.contact-tile h2,
.skills-grid h3,
.detail-list h3,
.flow-steps h3,
.copy-body,
.copy-list li,
.legal-list dd,
.faq-grid summary {
  overflow-wrap: anywhere;
}

.legal-list a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(25, 183, 165, 0.5);
  text-underline-offset: 0.18em;
}

.legal-profile-section > div:first-child {
  gap: 2rem;
}

.legal-profile-image {
  position: relative;
  overflow: hidden;
  width: min(100%, 20rem);
  margin: 2rem 0 0;
  border: 1px solid rgba(246, 240, 231, 0.14);
  border-radius: var(--radius);
  background: rgba(246, 240, 231, 0.05);
  box-shadow: var(--shadow);
}

.legal-profile-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(0.18) contrast(1.04);
}

@media (min-width: 760px) {
  .hero h1,
  .sub-hero h1 {
    font-size: 5.2rem;
  }

  .section-intro h2,
  .flow-copy h2,
  .copy-section h2,
  .detail-copy h2,
  .faq-section h2,
  .geo-section h2,
  .cta-panel h2 {
    font-size: 3.4rem;
  }

  .statement {
    font-size: 5.7rem;
  }
}

@media (min-width: 1120px) {
  .hero h1 {
    font-size: 7.15rem;
  }

  .sub-hero h1 {
    font-size: 6.2rem;
  }

  .section-intro h2,
  .flow-copy h2,
  .copy-section h2,
  .detail-copy h2,
  .faq-section h2,
  .geo-section h2,
  .cta-panel h2 {
    font-size: 4.2rem;
  }
}

@media (min-width: 960px) {
  .page-grid {
    display: flex;
    align-items: stretch;
  }

  .page-card {
    flex: 1 1 0;
    min-width: 0;
    transition: flex 420ms ease, transform 240ms ease, border-color 240ms ease;
  }

  .page-card:hover,
  .page-card:focus-within {
    flex: 1.42 1 0;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 0.35rem 0.25rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

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

  .hero::before {
    inset: auto 0 3rem auto;
    width: 62vw;
    height: 42svh;
    opacity: 0.48;
  }

  .hero-media {
    width: min(58vw, 420px);
    height: 42svh;
    margin-left: auto;
    opacity: 0.64;
  }

  .service-grid,
  .skills-grid,
  .contact-page-grid,
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card-large,
  .service-card:nth-child(4),
  .page-card,
  .page-card-large {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 20rem;
  }

  .flow-section,
  .copy-section,
  .detail-layout,
  .geo-section {
    grid-template-columns: 1fr;
  }

  .flow-copy,
  .detail-copy {
    position: static;
  }

  .geo-section .eyebrow,
  .geo-section h2,
  .geo-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  html,
  body,
  main {
    touch-action: pan-y;
  }

  .site-header {
    top: 0.5rem;
    width: calc(100vw - 1rem);
    gap: 0.35rem;
    grid-template-columns: auto 1fr auto auto;
  }

  .logo {
    font-size: 0.94rem;
  }

  .header-call {
    min-height: 2.45rem;
    padding-inline: 0.85rem;
    grid-column: 4;
    grid-row: 1;
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
    grid-row: 1;
  }

  .nav-links {
    position: fixed;
    top: 5rem;
    left: 0.5rem;
    right: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.25rem;
    padding: 0.6rem;
    font-size: 0.9rem;
    background: rgba(9, 13, 15, 0.96);
    border: 1px solid rgba(246, 240, 231, 0.14);
    border-radius: 20px;
    backdrop-filter: blur(22px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
    z-index: 89;
    overflow: visible;
    scrollbar-width: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.4rem);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease, visibility 0s 220ms;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-links a {
    min-height: 3rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    justify-content: flex-start;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 0;
    padding: 9.5rem 1rem 3.5rem;
  }

  .hero::before,
  .hero-bg::before,
  .line-field,
  .hero-media {
    display: none;
  }

  .hero h1,
  .sub-hero h1 {
    font-size: 2.95rem;
    line-height: 0.95;
  }

  .hero-text,
  .sub-hero > p:not(.eyebrow) {
    font-size: 1.03rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .service-grid,
  .skills-grid,
  .contact-page-grid,
  .page-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card-large,
  .service-card:nth-child(4),
  .page-card,
  .page-card-large,
  .skills-grid article,
  .contact-tile {
    min-height: 12rem;
  }

  .flow-steps article,
  .detail-list article {
    min-height: 10rem;
  }

  .faq-grid details {
    min-height: auto;
  }

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

  .section-intro {
    grid-template-columns: 1fr;
  }

  .section-intro h2,
  .flow-copy h2,
  .copy-section h2,
  .detail-copy h2,
  .faq-section h2,
  .geo-section h2,
  .cta-panel h2 {
    font-size: 2.35rem;
  }

  .statement {
    max-width: min(100%, 12ch);
    font-size: 2.72rem;
    line-height: 1;
  }

  .subpage {
    padding-top: 8.4rem;
  }

  .sub-hero {
    min-height: auto;
    padding: 4.5rem 0 3rem;
    align-content: start;
  }

  .sub-hero::before {
    display: none;
  }

  .statement-section {
    min-height: 45svh;
  }

  .sub-skills {
    padding-top: 2.5rem;
  }

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

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

  .footer-links span {
    text-align: left;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 380px) {
  .logo {
    gap: 0.48rem;
    padding-inline: 0.35rem 0.45rem;
    font-size: 0.86rem;
  }

  .logo-mark {
    width: 2.05rem;
    height: 2.05rem;
  }

  .header-call {
    min-height: 2.35rem;
    padding-inline: 0.72rem;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 11.5rem;
  }

  .hero h1,
  .sub-hero h1 {
    font-size: 2.55rem;
  }

  .section-intro h2,
  .flow-copy h2,
  .copy-section h2,
  .detail-copy h2,
  .faq-section h2,
  .geo-section h2,
  .cta-panel h2 {
    font-size: 2.08rem;
  }

  .service-card-large h3,
  .contact-tile h2,
  .page-card h2 {
    font-size: 1.72rem;
  }

  .statement {
    font-size: 2.28rem;
  }
}

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