@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lexend-400.ttf") format("truetype");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/lexend-500.ttf") format("truetype");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/lexend-600.ttf") format("truetype");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lexend-700.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-400.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-500.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-600.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-700.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-2: #1c1917;
  --stone: #fafaf9;
  --stone-2: #f1f5f9;
  --line: #d6d3d1;
  --muted: #5b6472;
  --brass: #a16207;
  --brass-2: #d7a643;
  --indigo: #312e81;
  --white: #ffffff;
  --focus: #1e3a8a;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --mx: 50%;
  --my: 30%;
  --scroll-ratio: 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(180deg, var(--stone), #ffffff 38%, #f8fafc);
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  min-width: 320px;
  overflow-x: hidden;
}

body::selection {
  background: rgba(161, 98, 7, 0.24);
}

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

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

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

button {
  cursor: pointer;
}

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

.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;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
  transform: translateY(-140%);
  transition: transform 180ms var(--ease);
}

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

.site-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(215, 166, 67, 0.14), transparent 22rem),
    radial-gradient(circle at calc(100% - var(--mx)) 20%, rgba(49, 46, 129, 0.08), transparent 26rem);
  transition: background 220ms var(--ease);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 40px;
  border-bottom: 1px solid rgba(214, 211, 209, 0.74);
  background: rgba(250, 250, 249, 0.84);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 250, 249, 0.95);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Lexend", Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
}

.brand > span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff, #eef2f7);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 4px;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 600;
  transition: color 180ms var(--ease), background 180ms var(--ease), transform 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav .nav-contact {
  margin-left: 8px;
  background: var(--ink);
  color: var(--white);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact[aria-current="page"] {
  background: var(--ink-2);
  color: var(--white);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: 690px;
  padding: 148px 40px 72px;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 12, 24, 0.9) 0%, rgba(7, 12, 24, 0.72) 40%, rgba(7, 12, 24, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 12, 24, 0.12) 0%, rgba(7, 12, 24, 0.68) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  z-index: -1;
  background: linear-gradient(0deg, var(--stone), rgba(250, 250, 249, 0));
}

.hero-photo,
.contact-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.1) brightness(0.86);
  transform: scale(1.02);
}

.hero-content {
  width: min(1160px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding-right: min(34vw, 410px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--brass);
  font-family: "Lexend", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c76d;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "Lexend", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 930px;
  font-size: 5rem;
}

h2 {
  font-size: 2.65rem;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.hero-lede {
  max-width: 660px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.28rem;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

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

.button-quiet {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
}

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

.button-secondary:hover {
  background: var(--indigo);
}

.hero-panel {
  position: absolute;
  right: max(40px, calc((100vw - 1160px) / 2));
  bottom: 78px;
  display: grid;
  grid-template-columns: 1fr;
  width: min(330px, calc(100% - 80px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 16, 30, 0.62);
  backdrop-filter: blur(12px);
}

.hero-panel div {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.hero-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-family: "Lexend", Arial, sans-serif;
  font-size: 1.02rem;
}

.section {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
  padding: 104px 0;
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  width: min(1160px, calc(100% - 80px));
  margin: -18px auto 0;
}

.visual-card,
.page-photo-frame,
.case-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 211, 209, 0.92);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.visual-card {
  min-height: 360px;
}

.visual-card-large {
  min-height: 470px;
}

.visual-card img,
.page-photo-frame img,
.case-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transition: transform 620ms var(--ease), filter 620ms var(--ease);
}

.wide-image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.visual-card:hover img,
.page-photo-frame:hover img,
.case-photo:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.07);
}

.visual-card::after,
.page-photo-frame::after,
.case-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.56)),
    linear-gradient(90deg, rgba(161, 98, 7, 0.18), transparent 48%);
  pointer-events: none;
}

.visual-card figcaption,
.page-photo-frame figcaption,
.case-photo figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Lexend", Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
}

.intro-strip {
  padding-top: 86px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.intro-grid h2 {
  max-width: 520px;
}

.intro-grid p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 760px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid var(--brass);
  color: var(--ink);
  font-weight: 700;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.text-link:hover {
  color: var(--brass);
  border-color: var(--ink);
}

.service-mesh {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-height: 420px;
  padding: 38px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(214, 211, 209, 0.42) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, rgba(214, 211, 209, 0.36) 1px, transparent 1px) 0 0 / 56px 56px,
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.mesh-lines {
  display: none;
}

.mesh-lines path {
  fill: none;
  stroke: rgba(161, 98, 7, 0.28);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
  transition: stroke 220ms var(--ease), stroke-dashoffset 220ms var(--ease), opacity 220ms var(--ease);
}

.service-mesh.is-focused .mesh-lines path {
  stroke: rgba(161, 98, 7, 0.28);
  stroke-dashoffset: 0;
}

.mesh-node {
  position: relative;
  z-index: 1;
  min-height: 176px;
  padding: 26px;
  border: 1px solid rgba(214, 211, 209, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.mesh-node:hover,
.mesh-node:focus-visible,
.mesh-node.is-active {
  transform: translateY(-4px);
  border-color: rgba(161, 98, 7, 0.46);
  background: var(--white);
}

.mesh-node span {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: "Lexend", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.mesh-node p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.section-copy p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-copy .button {
  margin-top: 32px;
}

.method-stack {
  position: relative;
  display: grid;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.method-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.68);
}

.method-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.32)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.82));
}

.method-stack ol {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 10px;
  margin: 0;
  padding: 28px;
  list-style: none;
}

.method-stack li {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.method-stack li:last-child {
  border-bottom: 0;
}

.method-stack span {
  color: #f0c76d;
  font-family: "Lexend", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.method-stack strong {
  color: rgba(255, 255, 255, 0.92);
  font-family: "Lexend", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.case-ribbon {
  position: relative;
  padding: 40px;
  border-left: 3px solid var(--brass);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(49, 46, 129, 0.94));
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.case-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.12) 42%, transparent 50%);
  transform: translateX(calc((var(--scroll-ratio) * 220px) - 120px));
}

.case-ribbon p {
  position: relative;
  max-width: 900px;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: center;
  width: min(1160px, calc(100% - 80px));
  min-height: 520px;
  margin: 0 auto;
  padding: 120px 0 72px;
}

.narrow-hero {
  grid-template-columns: minmax(0, 780px);
}

.page-hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: 4rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.22rem;
  overflow-wrap: break-word;
}

.page-symbol {
  width: 100%;
  height: auto;
  color: var(--ink);
}

.page-photo-frame {
  align-self: stretch;
  min-height: 360px;
}

.page-photo-frame.tall {
  min-height: 430px;
}

.page-symbol rect {
  fill: rgba(255, 255, 255, 0.78);
  stroke: rgba(15, 23, 42, 0.12);
}

.page-symbol path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.symbol-base {
  stroke: rgba(15, 23, 42, 0.18);
  stroke-width: 2;
}

.symbol-line {
  stroke: var(--brass);
  stroke-width: 4;
}

.page-symbol circle {
  fill: var(--white);
  stroke: var(--brass);
  stroke-width: 4;
}

.service-list {
  padding-top: 30px;
}

.service-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 1px solid var(--line);
}

.service-index {
  color: var(--brass);
  font-family: "Lexend", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-row h2 {
  max-width: 780px;
  font-size: 2.2rem;
}

.service-row p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
}

.fit-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.fit-section h2 {
  font-size: 2.45rem;
}

.fit-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.fit-list li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 18px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--brass);
  border-radius: 2px;
  transform: rotate(45deg);
}

.approach-board {
  position: relative;
  display: grid;
  gap: 28px;
  padding-left: 78px;
}

.wide-image-break {
  width: min(1160px, calc(100% - 80px));
  height: 420px;
  margin: -28px auto 18px;
  overflow: hidden;
  border: 1px solid rgba(214, 211, 209, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.approach-track {
  position: absolute;
  left: 0;
  top: 104px;
  bottom: 104px;
  width: 2px;
  background: var(--line);
}

.approach-fill {
  width: 100%;
  height: 22%;
  background: linear-gradient(180deg, var(--brass), var(--indigo));
  transform-origin: top;
  transition: height 260ms var(--ease);
}

.approach-step {
  position: relative;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.approach-step::before {
  content: "";
  position: absolute;
  left: -86px;
  top: 42px;
  width: 18px;
  height: 18px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line);
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}

.approach-step.is-active {
  transform: translateX(6px);
  border-color: rgba(161, 98, 7, 0.42);
  box-shadow: var(--shadow);
}

.approach-step.is-active::before {
  background: var(--brass);
  transform: scale(1.18);
}

.approach-step span,
.values-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  font-family: "Lexend", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.approach-step h2 {
  font-size: 2.15rem;
}

.approach-step p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
}

.principle-band {
  padding: 70px 0 112px;
}

.principle-band h2 {
  max-width: 960px;
}

.case-lab {
  padding-top: 28px;
}

.case-photo {
  height: 430px;
  margin-bottom: 28px;
}

.case-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.case-tab {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.case-tab:hover,
.case-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.case-stage {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: center;
  min-height: 440px;
  padding: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.case-diagram {
  width: 100%;
  overflow: visible;
}

.case-diagram path {
  fill: none;
  stroke-linecap: round;
}

.case-band {
  stroke: url(#case-band);
  stroke-width: 8;
  stroke-dasharray: 420 80;
  stroke-dashoffset: calc(var(--case-offset, 0) * -160);
  transition: stroke-dashoffset 280ms var(--ease);
}

.case-shadow {
  stroke: rgba(15, 23, 42, 0.12);
  stroke-width: 4;
}

.case-diagram circle {
  fill: var(--white);
  stroke: var(--brass);
  stroke-width: 4;
}

.case-panel {
  min-height: 260px;
}

.case-panel h2 {
  font-size: 2.4rem;
}

.case-panel p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 40px;
}

.values-grid article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.values-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.values-grid h2 {
  font-size: 1.72rem;
}

.values-grid p {
  margin-top: 18px;
  color: var(--muted);
}

.about-copy {
  max-width: 940px;
  padding-top: 70px;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100dvh - 76px);
  padding: 126px 40px 80px;
  color: var(--white);
  isolation: isolate;
}

.contact-hero > div {
  width: min(940px, 100%);
  margin: 0 auto;
}

.contact-hero h1 {
  max-width: 850px;
  font-size: 4.6rem;
}

.contact-hero p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.24rem;
  overflow-wrap: break-word;
}

.contact-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.contact-field rect {
  fill: rgba(15, 23, 42, 0.78);
}

.contact-field path {
  fill: none;
  stroke: rgba(215, 166, 67, 0.72);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.contact-field path + path {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 1.4;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  margin-top: 38px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: "Lexend", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  backdrop-filter: blur(16px);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.contact-email:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 40px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

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

.site-footer p {
  color: var(--muted);
  font-size: 0.96rem;
}

.site-footer > a {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--brass);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

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

@media (max-width: 1040px) {
  .site-header {
    padding: 14px 24px;
  }

  .section,
  .page-hero {
    width: min(100% - 48px, 900px);
  }

  h1,
  .contact-hero h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .intro-grid,
  .split-section,
  .fit-section,
  .case-stage,
  .page-hero,
  .visual-band {
    grid-template-columns: 1fr;
  }

  .page-symbol {
    max-width: 520px;
  }

  .visual-band,
  .wide-image-break {
    width: min(100% - 48px, 900px);
  }

  .visual-card,
  .visual-card-large,
  .wide-image-break,
  .case-photo {
    min-height: 320px;
    height: 320px;
  }

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

  .hero-content {
    padding-right: 0;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 620px);
    margin: 30px auto 0;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    justify-content: center;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.94rem;
  }

  .site-nav .nav-contact {
    grid-column: 1 / -1;
    margin-left: 0;
    margin-top: 0;
  }

  .hero {
    min-height: 760px;
    padding: 132px 24px 76px;
  }

  h1,
  .page-hero h1,
  .contact-hero h1 {
    font-size: 3.2rem;
  }

  h2,
  .service-row h2,
  .approach-step h2,
  .case-panel h2 {
    font-size: 2rem;
  }

  .hero-lede,
  .page-hero p:not(.eyebrow),
  .contact-hero p:not(.eyebrow) {
    font-size: 1.08rem;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 48px);
    padding: 76px 0;
  }

  .visual-band,
  .wide-image-break {
    width: calc(100% - 48px);
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .service-mesh {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .mesh-lines {
    display: none;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 36px 0;
  }

  .approach-board {
    padding-left: 0;
  }

  .approach-track {
    display: none;
  }

  .approach-step::before {
    display: none;
  }

  .approach-step.is-active {
    transform: none;
  }

  .case-stage {
    padding: 24px;
  }

  .contact-hero {
    min-height: 700px;
    padding: 120px 24px 80px;
  }

  .site-footer {
    display: grid;
    padding: 34px 24px;
  }
}

@media (max-width: 520px) {
  .brand {
    gap: 8px;
    font-size: 0.92rem;
  }

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

  .hero,
  .contact-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-content,
  .hero-panel {
    max-width: calc(100vw - 56px);
  }

  .hero-actions,
  .hero-lede {
    max-width: calc(100vw - 56px);
  }

  .hero-actions,
  .hero-panel {
    width: calc(100vw - 72px);
  }

  .section,
  .page-hero {
    width: calc(100% - 36px);
  }

  .visual-band,
  .wide-image-break {
    width: calc(100% - 36px);
  }

  .visual-card,
  .visual-card-large,
  .wide-image-break,
  .case-photo,
  .page-photo-frame,
  .page-photo-frame.tall {
    min-height: 280px;
    height: 280px;
  }

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

  h2,
  .service-row h2,
  .approach-step h2,
  .case-panel h2 {
    font-size: 1.72rem;
  }

  .hero-actions,
  .case-controls {
    display: grid;
  }

  .button,
  .contact-email {
    width: 100%;
  }

  .contact-email {
    font-size: 1rem;
  }

  .method-stack li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

  .method-stack img,
  .case-ribbon::before {
    transform: none !important;
  }
}
