:root {
  --ink: #17212b;
  --ink-soft: #465461;
  --forest: #163a3a;
  --teal: #0b6b69;
  --teal-dark: #075351;
  --plum: #6546b8;
  --plum-dark: #4d318f;
  --lavender: #eee9ff;
  --mint: #def1ed;
  --gold: #e5b45c;
  --paper: #fbfcf9;
  --warm: #f3f1eb;
  --white: #ffffff;
  --line: #d9dfdc;
  --shadow-sm: 0 12px 36px rgb(23 33 43 / 0.08);
  --shadow-lg: 0 28px 80px rgb(23 33 43 / 0.16);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --shell: 1180px;
  --header-height: 76px;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 720;
}

h1 em {
  color: var(--plum-dark);
  font-style: normal;
}

h2 {
  margin-bottom: 1.25rem;
  max-width: 19ch;
  font-size: clamp(2.25rem, 4.6vw, 4.15rem);
  font-weight: 700;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
}

p:last-child {
  margin-bottom: 0;
}

.shell {
  width: min(calc(100% - 3rem), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.eyebrow {
  margin-bottom: 1rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #aee5dc;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgb(251 252 249 / 0.9);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgb(23 33 43 / 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal-dark);
}

.site-nav .nav-cta {
  padding-inline: 1.15rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
}

.site-nav .nav-cta:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100svh - var(--header-height));
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(2rem, 4vh, 3.5rem) 1.5rem;
  background: var(--paper);
}

.hero-orb {
  display: none;
}

.hero-orb-one {
  top: 10%;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  background: var(--mint);
}

.hero-orb-two {
  bottom: 8%;
  left: -9rem;
  width: 20rem;
  height: 20rem;
  background: var(--lavender);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-copy {
  max-width: 720px;
}

.hero-lead {
  max-width: 60ch;
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.48;
}

.hero-detail {
  max-width: 64ch;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.hero-actions,
.case-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  box-shadow: 0 10px 24px rgb(23 33 43 / 0.12);
}

.button-primary {
  background: var(--plum-dark);
  color: var(--white);
}

.button-primary:hover {
  background: #3f287b;
}

.button-secondary {
  border-color: var(--forest);
  background: transparent;
  color: var(--forest);
}

.button-secondary:hover {
  background: var(--forest);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--forest);
}

.button-light:hover {
  background: #eff8f5;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.hero-links a,
.text-link {
  color: var(--teal-dark);
  font-weight: 800;
  text-underline-offset: 0.23em;
}

.portrait-frame {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  padding: clamp(0.9rem, 2vw, 1.35rem);
  border: 1px solid rgb(101 70 184 / 0.18);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.76);
  box-shadow: var(--shadow-lg);
}

.portrait-frame::before {
  position: absolute;
  z-index: -1;
  inset: -1.25rem 1.25rem 1.25rem -1.25rem;
  border-radius: var(--radius-lg);
  background: var(--lavender);
  content: "";
}

.portrait-frame > img {
  width: 100%;
  height: clamp(220px, 28vw, 315px);
  border-radius: 1.25rem;
  object-fit: cover;
  object-position: center 18%;
}

.availability-card {
  position: absolute;
  right: -1.2rem;
  bottom: 1.4rem;
  display: flex;
  max-width: 280px;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
}

.status-dot {
  flex: 0 0 auto;
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.2rem;
  border: 2px solid #bfe3dc;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px #e2f4ef;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.proof-strip div {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: rgb(255 255 255 / 0.88);
}

.proof-strip strong {
  font-size: 1.05rem;
}

.proof-strip span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-heading > p:not(.eyebrow),
.split-heading > p {
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  min-height: 320px;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: #b7c7c3;
  box-shadow: var(--shadow-sm);
}

.service-card p {
  color: var(--ink-soft);
}

.service-number {
  display: inline-block;
  margin-bottom: 3.5rem;
  color: var(--plum-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
  background: #f8f5ff;
}

.service-card:nth-child(3),
.service-card:nth-child(6) {
  background: #f0f8f5;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.tag-list li,
.case-meta span {
  padding: 0.3rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.72);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 750;
}

.case-study-list {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.case-study {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border: 1px solid #d6d9d3;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 16px 50px rgb(23 33 43 / 0.06);
}

.case-study-reverse .case-image {
  order: 2;
}

.case-image {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: var(--forest);
}

.case-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-image-dei {
  display: grid;
  place-items: center;
  background: #45b6de;
}

.case-image-dei > img {
  position: absolute;
  inset: 0;
}

.dei-symbol {
  position: relative;
  width: min(54%, 300px);
  padding: 1.1rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.93);
  box-shadow: var(--shadow-lg);
}

.case-index {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.case-content {
  padding: clamp(2rem, 5vw, 4.2rem);
}

.case-content h3 {
  max-width: 19ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.case-summary {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.case-details {
  margin-block: 2rem;
}

.case-details div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
}

.case-details div:last-child {
  border-bottom: 1px solid var(--line);
}

.case-details dt {
  font-weight: 850;
}

.case-details dd {
  margin: 0;
  color: var(--ink-soft);
}

.privacy-note {
  padding-left: 0.8rem;
  border-left: 3px solid var(--gold);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-button {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 800;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  border-color: #b4c4c0;
  box-shadow: var(--shadow-sm);
}

.project-card[hidden] {
  display: none;
}

.project-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem;
}

.project-body p:not(.project-type) {
  color: var(--ink-soft);
}

.project-type {
  margin-bottom: 0.6rem;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  margin-top: auto;
  border: 0;
  background: transparent;
  color: var(--plum-dark);
  cursor: pointer;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
}

.text-button:hover {
  text-decoration-color: currentColor;
}

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

.process-section .split-heading > p {
  color: #c7d9d6;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-md);
  margin: 0;
  overflow: hidden;
  background: rgb(255 255 255 / 0.18);
  list-style: none;
}

.process-grid li {
  min-height: 310px;
  padding: 1.7rem;
  background: var(--forest);
}

.process-grid span {
  display: block;
  margin-bottom: 5rem;
  color: #aee5dc;
  font-size: 0.8rem;
  font-weight: 900;
}

.process-grid p {
  color: #c7d9d6;
  font-size: 0.94rem;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 9rem);
}

.about-copy {
  max-width: 680px;
}

.about-copy p {
  color: var(--ink-soft);
}

.about-copy .large-copy {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.45;
}

.contact-section {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--plum-dark);
  color: var(--white);
}

.contact-grid h2 {
  max-width: 17ch;
}

.contact-copy {
  max-width: 600px;
}

.contact-copy > p:first-child {
  color: #e4dafb;
  font-size: 1.12rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: 2rem;
}

.contact-links a {
  min-height: 36px;
  color: var(--white);
  font-weight: 750;
  text-underline-offset: 0.2em;
}

.contact-note {
  margin-top: 1rem;
  color: #d9cef6;
  font-size: 0.9rem;
}

.site-footer {
  padding-block: 2.5rem;
  background: #102c2c;
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
}

.footer-inner span,
.footer-inner p {
  color: #b9ceca;
  font-size: 0.85rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.preview-dialog {
  width: min(96vw, 1450px);
  height: min(92vh, 960px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.preview-dialog::backdrop {
  background: rgb(9 17 24 / 0.78);
  backdrop-filter: blur(8px);
}

.preview-shell {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.preview-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.preview-header h2 {
  max-width: none;
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.preview-label {
  margin: 0 0 0.05rem;
  color: var(--teal-dark);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.preview-new-tab {
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.preview-close {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.preview-close:hover {
  background: var(--warm);
}

.preview-frame-wrap {
  flex: 1;
  min-height: 0;
  background: #e7ebe9;
}

.preview-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

.card-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: auto;
  color: var(--plum-dark);
  font-weight: 850;
  text-underline-offset: 0.22em;
}

.page-hero {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  overflow: hidden;
  background: linear-gradient(135deg, var(--paper) 0%, #f7f4ff 58%, #edf7f4 100%);
}

.page-hero::after {
  position: absolute;
  z-index: 0;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgb(238 233 255 / 0.72);
  content: "";
  filter: blur(1px);
  inset: auto -12rem -15rem auto;
}

.page-hero-grid,
.page-content,
.page-cta .shell {
  position: relative;
  z-index: 1;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.breadcrumbs a {
  color: var(--teal-dark);
  font-weight: 750;
  text-underline-offset: 0.2em;
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.7vw, 4.9rem);
}

.page-lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.page-summary-card,
.content-card,
.result-callout {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.9);
  box-shadow: var(--shadow-sm);
}

.page-summary-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.page-summary-card h2 {
  max-width: none;
  font-size: 1.35rem;
}

.page-summary-card ul,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-summary-card li,
.check-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.55rem;
  border-top: 1px solid var(--line);
}

.page-summary-card li::before,
.check-list li::before {
  position: absolute;
  top: 0.75rem;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.page-content {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.content-section + .content-section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.content-grid h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.content-copy {
  max-width: 720px;
}

.content-copy > p,
.content-card p {
  color: var(--ink-soft);
}

.content-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.content-card h3 {
  font-size: 1.25rem;
}

.content-card + .content-card {
  margin-top: 1rem;
}

.content-card-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.result-callout {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-color: rgb(101 70 184 / 0.22);
  background: var(--lavender);
  box-shadow: none;
}

.result-callout strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--plum-dark);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.1;
}

.page-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-visual figcaption {
  padding: 0.85rem 1rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.page-cta {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--forest);
  color: var(--white);
}

.page-cta .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.page-cta h2 {
  max-width: 18ch;
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-cta p {
  max-width: 650px;
  color: #c7d9d6;
}

body.social-card .site-header,
body.social-card .hero-detail,
body.social-card .hero-lead,
body.social-card .hero-actions,
body.social-card .hero-links,
body.social-card .proof-strip,
body.social-card .availability-card,
body.social-card main > section:not(.hero),
body.social-card .site-footer {
  display: none;
}

body.social-card .hero {
  height: 630px;
  padding-block: 3.5rem;
}

body.social-card .hero-grid {
  height: 100%;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: start;
  gap: 4rem;
}

body.social-card .hero-copy {
  padding-top: 4rem;
}

body.social-card .hero h1 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: 3.8rem;
}

body.social-card .portrait-frame {
  max-width: 430px;
}

@media (max-width: 1000px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.5rem;
    left: 1.5rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding-inline: 0.75rem;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 0.4rem;
  }

  .nav-toggle {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
    gap: 2rem;
  }

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

  .hero-detail {
    display: none;
  }

  .portrait-frame {
    max-width: 320px;
  }

  .availability-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 0.75rem;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study,
  .case-study-reverse {
    grid-template-columns: 1fr;
  }

  .case-study-reverse .case-image {
    order: 0;
  }

  .case-image {
    min-height: 430px;
  }

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

  .process-grid li {
    min-height: 270px;
  }

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

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

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

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .portrait-frame {
    max-width: 390px;
    margin-top: 1rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .shell {
    width: min(calc(100% - 2rem), var(--shell));
  }

  .hero {
    padding-top: 3rem;
  }

  .portrait-frame {
    max-width: 390px;
    margin-top: 1rem;
  }

  .availability-card {
    right: auto;
    bottom: auto;
    left: auto;
    max-width: none;
  }

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

  .split-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .content-card-grid,
  .related-grid,
  .page-cta .shell {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 2rem;
  }

  .case-image {
    min-height: 330px;
  }

  .case-details div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .process-grid li {
    min-height: auto;
  }

  .process-grid span {
    margin-bottom: 2.5rem;
  }

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

  .preview-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .preview-new-tab {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.65rem, 13vw, 3.6rem);
  }

  .hero-actions,
  .case-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .case-actions .button {
    width: 100%;
  }

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

  .proof-strip div {
    min-height: 96px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    margin-right: -1rem;
    overflow-x: auto;
  }

  .filter-button {
    flex: 0 0 auto;
  }
}

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

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

@media print {
  .site-header,
  .hero-actions,
  .filter-bar,
  .case-actions,
  .contact-section,
  .site-footer,
  .preview-dialog {
    display: none !important;
  }

  body {
    background: var(--white);
    color: #000;
  }

  .section {
    padding-block: 2rem;
  }
}
