:root {
  --paper: #efede6;
  --ink: #151a21;
  --ink-70: #454c55;
  --line: #c9c4b6;
  --gold: #b8863a;
  --teal: #1f5c58;
  --white: #fbfaf7;
  --alert: #9c3b2e;
  --gold-soft: #eadbc3;
  --teal-soft: #d8e7e4;
  --ink-soft: #2b323c;
  --container: 1280px;
  --gutter: 64px;
  --header-height: 78px;
  --font-display: "General Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Public Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

li {
  list-style: none;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

p {
  color: var(--ink-70);
  margin-bottom: 1.1rem;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: 1.1;
}

h1 {
  font-size: 72px;
  margin-bottom: 24px;
}

h2 {
  font-size: 56px;
  margin-bottom: 18px;
}

h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

.section {
  padding-block: 120px;
}

.section-compact {
  padding-block: 84px;
}

.section-header {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-kicker,
.mono-label,
.field-label,
.chip-label {
  color: var(--ink-70);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.lead {
  color: var(--ink-70);
  font-size: 20px;
  max-width: 760px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-weight: 800;
  line-height: 1;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  opacity: 0;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.btn::before {
  left: 4px;
  top: 4px;
  border-left: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: translate(2px, 2px);
}

.btn::after {
  right: 4px;
  bottom: 4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translate(-2px, -2px);
}

.btn:hover::before,
.btn:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.grid-bg {
  position: relative;
  isolation: isolate;
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(201, 196, 182, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 196, 182, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(201, 196, 182, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 196, 182, 0.13) 1px, transparent 1px);
  background-size:
    32px 32px,
    32px 32px,
    4px 4px,
    4px 4px;
}

.cornered {
  position: relative;
}

.cornered::before,
.cornered::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  opacity: 0.85;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.cornered::before {
  left: 12px;
  top: 12px;
  border-left: 1px solid currentColor;
  border-top: 1px solid currentColor;
}

.cornered::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.cornered:hover::before,
.cornered:hover::after {
  opacity: 1;
  transform: scale(1.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 237, 230, 0.92);
  border-bottom: 1px solid rgba(201, 196, 182, 0.8);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
}

.brand-mark img {
  width: 38px;
  height: 38px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 26px;
}

.nav-primary,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-primary a,
.mega-trigger,
.nav-actions .schedule-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 750;
}

.nav-primary a:hover,
.mega-trigger:hover,
.nav-actions .schedule-link:hover,
.nav-primary a[aria-current="page"] {
  color: var(--gold);
}

.nav-services {
  position: relative;
}

.nav-services::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1;
  width: min(920px, calc(100vw - 48px));
  height: 24px;
  transform: translateX(-50%);
  pointer-events: none;
}

.nav-services:hover::after,
.nav-services:focus-within::after {
  pointer-events: auto;
}

.mega-trigger {
  gap: 6px;
}

.mega-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 2;
  width: min(920px, calc(100vw - 48px));
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-services:hover .mega-panel,
.nav-services:focus-within .mega-panel,
.mega-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mega-column {
  padding: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(201, 196, 182, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 196, 182, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

.mega-column strong {
  display: block;
  margin: 8px 0 12px;
  font-size: 18px;
}

.mega-column a {
  display: block;
  min-height: 34px;
  color: var(--ink-70);
  font-size: 14px;
}

.mega-column a:hover {
  color: var(--gold);
}

.nav-book {
  min-height: 42px;
  padding-inline: 16px;
}

.hero {
  min-height: calc(88vh - var(--header-height));
  padding-block: 78px 76px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.86fr);
  gap: 64px;
  align-items: center;
}

.hero-title {
  max-width: 820px;
  font-size: 72px;
}

.hero-copy p {
  max-width: 640px;
  font-size: 20px;
}

.hero-visual {
  color: var(--gold);
  min-height: 520px;
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.58);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(0.98);
}

.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-stat-strip span {
  min-height: 74px;
  padding: 14px;
  background: rgba(251, 250, 247, 0.7);
}

.hero-stat-strip strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
}

.intro-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.partner-argument {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.partner-media {
  min-height: 330px;
  color: var(--gold);
  border: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}

.partner-media img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.98);
}

.partner-media span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 13px;
  color: var(--paper);
  background: rgba(21, 26, 33, 0.88);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-panel {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 34px;
  color: var(--ink);
  background: var(--white);
}

.service-panel.gold {
  background: linear-gradient(180deg, #fbfaf7 0%, #f2e8d8 100%);
}

.service-panel.teal {
  background: linear-gradient(180deg, #fbfaf7 0%, #dce9e6 100%);
}

.service-panel .mono-label {
  color: currentColor;
}

.service-image,
.journey-image,
.approach-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-image {
  aspect-ratio: 16 / 10;
  margin: 18px 0 24px;
}

.service-image img,
.journey-image img,
.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-image img {
  filter: saturate(0.86) contrast(0.98);
}

.service-panel p {
  min-height: 76px;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 30px;
}

.service-list li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-70);
}

.service-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

.service-panel.teal .service-list li::before,
.teal-list li::before {
  background: var(--teal);
}

.service-panel .text-link {
  margin-top: auto;
}

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

.journey-step {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 22px;
  border-right: 1px solid var(--line);
}

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

.journey-image {
  aspect-ratio: 4 / 3;
  margin: 20px 0 22px;
}

.journey-image img {
  filter: saturate(0.82) contrast(0.98);
}

.approach-band {
  color: var(--paper);
  background: var(--ink);
}

.approach-band h2,
.approach-band h3,
.approach-band p,
.approach-band .section-kicker,
.approach-band .mono-label {
  color: var(--paper);
}

.approach-content {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  gap: 1px;
  margin-top: 46px;
  border: 1px solid rgba(239, 237, 230, 0.25);
  background: rgba(239, 237, 230, 0.25);
}

.approach-image {
  min-height: 100%;
  color: var(--paper);
  border: 0;
}

.approach-image img {
  min-height: 348px;
  filter: saturate(0.78) contrast(0.98);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(239, 237, 230, 0.25);
}

.process-step {
  min-height: 174px;
  padding: 24px;
  background: var(--ink-soft);
}

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

.principle {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
}

.empty-frame {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 48px;
  text-align: center;
  color: var(--teal);
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.62);
}

.empty-frame > div {
  max-width: 620px;
}

.work-preview {
  min-height: 460px;
  color: var(--paper);
  border: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}

.work-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.94);
}

.work-preview-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 460px;
  width: min(720px, 100%);
  align-content: center;
  padding: 48px;
  background: linear-gradient(
    90deg,
    rgba(21, 26, 33, 0.94) 0%,
    rgba(21, 26, 33, 0.78) 68%,
    rgba(21, 26, 33, 0) 100%
  );
}

.work-preview h2,
.work-preview p,
.work-preview .section-kicker {
  color: var(--paper);
}

.work-preview .lead {
  color: rgba(239, 237, 230, 0.86);
}

.work-preview .btn-primary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.work-preview .btn-secondary {
  color: var(--paper);
  border-color: rgba(239, 237, 230, 0.82);
}

.work-preview .btn-secondary:hover {
  color: var(--ink);
  background: var(--paper);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 48px;
  color: var(--paper);
  background: var(--ink);
}

.cta-panel h2,
.cta-panel p {
  color: var(--paper);
}

.cta-panel .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.cta-panel .btn-secondary {
  color: var(--paper);
  border-color: var(--paper);
}

.page-hero {
  padding-block: 88px 80px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 54px;
  align-items: end;
}

.page-hero h1 {
  max-width: 840px;
}

.page-marker {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.62);
}

.page-marker img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(0.9);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--paper);
  background: var(--teal);
  border: 1px solid var(--teal);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-grid,
.solution-grid,
.deliverable-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

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

.info-card,
.solution-card,
.deliverable-card,
.legal-card {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
}

.info-card:hover,
.solution-card:hover,
.deliverable-card:hover {
  color: var(--gold);
}

.service-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.directory-group {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.directory-group.teal {
  border-color: var(--teal);
}

.directory-group.gold {
  border-color: var(--gold);
}

.directory-group ul {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.for-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.for-list a,
.chip,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-weight: 760;
}

.for-list a:hover,
.filter-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--white);
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: var(--ink);
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 850;
}

.faq-question::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.disclaimer-strip {
  border-block: 1px solid var(--line);
  background: var(--teal);
  color: var(--paper);
}

.disclaimer-strip p {
  color: var(--paper);
  margin: 0;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.46fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.assist-form {
  display: grid;
  gap: 26px;
  color: var(--teal);
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form-section {
  display: grid;
  gap: 16px;
}

.form-section.is-locked {
  opacity: 0.46;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  padding: 11px 12px;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  min-height: 44px;
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.chip:has(input:checked),
.chip.is-selected {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.form-note,
.form-status {
  color: var(--ink-70);
  font-size: 14px;
}

.form-status {
  min-height: 24px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.schedule-frame {
  display: grid;
  min-height: 560px;
  place-items: center;
  padding: 36px;
  color: var(--teal);
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.schedule-frame iframe {
  width: 100%;
  min-height: 620px;
  border: 0;
}

.site-footer {
  color: var(--paper);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(140px, 0.45fr));
  gap: 34px;
  padding-block: 64px;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer .mono-label {
  color: var(--paper);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(239, 237, 230, 0.78);
}

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

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(239, 237, 230, 0.2);
  color: rgba(239, 237, 230, 0.72);
  font-size: 14px;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

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

@media (max-width: 1180px) {
  :root {
    --gutter: 36px;
  }

  h1,
  .hero-title {
    font-size: 56px;
  }

  h2 {
    font-size: 44px;
  }

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

  .hero-visual,
  .hero-visual img {
    min-height: 440px;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-panel {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    display: block;
    padding: 28px;
    overflow-y: auto;
    background: var(--paper);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  body.nav-open .nav-panel {
    transform: translateX(0);
  }

  .nav-primary,
  .nav-actions {
    display: grid;
    gap: 10px;
  }

  .nav-primary a,
  .mega-trigger,
  .nav-actions .schedule-link,
  .nav-actions .btn {
    justify-content: flex-start;
    width: 100%;
    min-height: 52px;
  }

  .mega-panel {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    border: 0;
    opacity: 1;
    overflow: hidden;
    pointer-events: auto;
    transform: none;
    transition: max-height 180ms ease;
  }

  .nav-services::after {
    content: none;
  }

  .mega-panel.is-open {
    max-height: 860px;
    padding: 10px 0 18px;
  }

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

  .nav-actions {
    margin-top: 22px;
  }
}

@media (max-width: 900px) {
  .partner-argument,
  .page-hero-grid,
  .form-shell,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .card-grid,
  .solution-grid,
  .deliverable-grid,
  .legal-grid,
  .service-directory {
    grid-template-columns: 1fr;
  }

  .card-grid.two,
  .legal-grid.two {
    grid-template-columns: 1fr;
  }

  .journey-rail,
  .process-line,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .approach-content {
    grid-template-columns: 1fr;
  }

  .journey-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-step:last-child {
    border-bottom: 0;
  }

  .partner-media,
  .partner-media img {
    min-height: 300px;
  }

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

@media (max-width: 768px) {
  :root {
    --gutter: 24px;
  }

  .section {
    padding-block: 64px;
  }

  .section-compact {
    padding-block: 52px;
  }

  h1,
  .hero-title {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  .lead,
  .hero-copy p {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    padding-block: 56px;
  }

  .hero-grid {
    gap: 36px;
  }

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

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .service-panel {
    min-height: auto;
    padding: 26px;
  }

  .cta-panel {
    padding: 30px 22px;
  }

  .work-preview,
  .work-preview-copy {
    min-height: 420px;
  }

  .work-preview-copy {
    padding: 34px 24px;
    background: linear-gradient(
      90deg,
      rgba(21, 26, 33, 0.94) 0%,
      rgba(21, 26, 33, 0.84) 100%
    );
  }

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

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

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  h1,
  .hero-title {
    font-size: 32px;
  }

  .nav-panel {
    padding: 22px 16px;
  }

  .button-row {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .chip-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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

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