:root {
  color-scheme: light;
  --ink: #111711;
  --muted: #5d665d;
  --quiet: #798277;
  --line: #e3ded3;
  --line-strong: #d4ccbf;
  --surface: #fffdf8;
  --surface-warm: #f7f3ea;
  --surface-soft: #fbf8f0;
  --accent: #063f2d;
  --accent-2: #0f6a4c;
  --accent-soft: #e8f1ec;
  --gold: #b89555;
  --shadow: 0 18px 60px rgba(47, 40, 27, 0.08);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 149, 85, 0.08), transparent 34rem),
    linear-gradient(180deg, #fffdfa 0%, var(--surface) 46%, #f8f4eb 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
}

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

.section {
  padding: 86px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(212, 204, 191, 0.72);
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(18px);
}

.header-shell {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3.4rem);
  color: #243027;
  font-size: 0.94rem;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  padding: 0.4rem 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--accent);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(6, 63, 45, 0.18);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #08583d);
  color: #fffdf8;
}

.button-small {
  min-height: 44px;
  padding: 0.72rem 1.1rem;
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(6, 63, 45, 0.24);
  color: var(--accent);
  font-weight: 650;
}

.text-link img {
  width: 1rem;
  height: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(232, 241, 236, 0.16);
  background: #051711;
  color: #fffdf8;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("assets/hero-operations-map.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 66% center;
  content: "";
  filter: saturate(1.22) contrast(1.32) brightness(1.08);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(82, 142, 104, 0.1), transparent 28rem),
    linear-gradient(90deg, rgba(5, 20, 15, 0.86) 0%, rgba(5, 20, 15, 0.62) 40%, rgba(5, 20, 15, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 17, 13, 0.22), rgba(5, 17, 13, 0.52));
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-copy {
  max-width: 43rem;
}

.circuit-flow {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 28%, #000 54%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 28%, #000 54%, #000 100%);
}

.flow-lines path,
.flow-pulses path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.flow-lines path {
  stroke: rgba(226, 205, 153, 0.12);
  stroke-width: 0.72;
}

.flow-pulses path {
  animation: circuit-flow var(--duration, 8s) linear infinite;
  animation-delay: var(--delay, 0s);
  stroke: rgba(246, 226, 171, 0.78);
  stroke-dasharray: 0.045 0.955;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-width: 1.55;
  filter:
    drop-shadow(0 0 4px rgba(246, 226, 171, 0.92))
    drop-shadow(0 0 14px rgba(226, 205, 153, 0.52))
    drop-shadow(0 0 26px rgba(70, 151, 110, 0.3));
}

.flow-nodes circle {
  animation: circuit-node 3.8s ease-in-out infinite;
  fill: rgba(238, 218, 166, 0.58);
  filter:
    drop-shadow(0 0 5px rgba(246, 226, 171, 0.8))
    drop-shadow(0 0 16px rgba(70, 151, 110, 0.34));
  transform-box: fill-box;
  transform-origin: center;
}

.flow-nodes circle:nth-child(2n) {
  animation-delay: -1.3s;
}

.flow-nodes circle:nth-child(3n) {
  animation-delay: -2.1s;
}

@keyframes circuit-flow {
  to {
    stroke-dashoffset: -1;
  }
}

@keyframes circuit-node {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.86);
  }

  45% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 7.8em;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 3.15vw, 2.55rem);
  line-height: 1;
}

h1.is-pretexted {
  max-width: min(100%, var(--pretext-heading-width));
}

h1.is-pretexted span {
  display: block;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 3.15vw, 2.55rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 39rem;
  margin-bottom: 1.45rem;
  color: #394139;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.52;
}

.hero .eyebrow {
  color: #d9c38d;
}

.hero h1 {
  color: #fffdf8;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.34);
}

.hero .hero-lede {
  color: rgba(255, 253, 248, 0.84);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.28);
}

.hero .text-link {
  border-bottom-color: rgba(217, 195, 141, 0.46);
  color: #ead8ac;
}

.hero .text-link img {
  filter: brightness(0) invert(91%) sepia(20%) saturate(512%) hue-rotate(358deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.trust-note {
  margin: 1.45rem 0 0;
  color: #394139;
  font-size: 0.98rem;
  text-align: center;
}

.trust-note-inner {
  display: inline-grid;
  grid-template-columns: auto minmax(0, min(31rem, calc(100vw - 4rem)));
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: left;
  vertical-align: top;
}

.trust-note-inner > span:last-child {
  min-width: 0;
}

.trust-note img {
  width: 1.6rem;
  height: 1.6rem;
  flex: 0 0 auto;
}

.hero .trust-note {
  color: rgba(255, 253, 248, 0.76);
}

.hero .trust-note img {
  filter: brightness(0) invert(94%) sepia(12%) saturate(279%) hue-rotate(82deg);
}

.panel-title {
  margin-bottom: 1.55rem;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 750;
  text-align: center;
}

.problem-section {
  padding-top: 72px;
  border-bottom: 1px solid var(--line);
}

.split-section,
.fit-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 6rem);
  align-items: start;
}

.section-copy {
  color: #3d463d;
  font-size: 1.08rem;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.narrow-heading {
  max-width: 780px;
  text-align: center;
}

.narrow-heading p:not(.eyebrow) {
  max-width: 740px;
  margin-inline: auto;
  color: #4b554b;
  font-size: 1.06rem;
}

.examples-section {
  padding-top: 76px;
  scroll-margin-top: 96px;
}

.example-list {
  display: grid;
  gap: 1rem;
  max-width: 940px;
  margin-top: 1.8rem;
}

.example-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 12px 36px rgba(47, 40, 27, 0.04);
  padding: 1.55rem 2rem;
}

.example-icon {
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: var(--accent);
}

.example-icon img {
  width: 4.7rem;
  height: 4.7rem;
}

.example-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
}

.example-content p {
  max-width: 680px;
  color: #394139;
  font-size: 1.04rem;
}

.example-content dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 0;
}

.example-content dt {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.example-content dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.how-section {
  padding-top: 64px;
}

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

.process-card {
  min-height: 352px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.8);
  padding: 1.55rem;
}

.step-number {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fffdf8;
  font-weight: 750;
}

.process-card h3 {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.step-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-warm);
  padding: 0.25rem 0.55rem;
  color: #284233;
  font-size: 0.9rem;
  font-weight: 650;
}

.process-card p:last-child {
  margin-bottom: 0;
  color: #414a41;
}

.step-output {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  color: #284233;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.48;
}

.intro-call {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: 760px;
  margin-top: 3rem;
}

.calendar-icon {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.calendar-icon img {
  width: 2.4rem;
  height: 2.4rem;
}

.intro-call h3 {
  margin-bottom: 0.15rem;
}

.intro-call p {
  margin-bottom: 0;
  color: var(--muted);
}

.fit-section,
.credibility-section {
  background: linear-gradient(180deg, var(--surface-warm), #f4efe3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.fit-columns > div {
  border-left: 1px solid var(--line-strong);
  padding-left: 1.4rem;
}

.fit-columns h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.fit-columns ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3f483f;
}

.fit-columns li {
  position: relative;
  padding-left: 1.2rem;
}

.fit-columns li::before {
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.credibility-section {
  background: linear-gradient(180deg, #f5f0e6, #fbf8f0);
}

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

.credibility-grid article {
  min-height: 234px;
  border-left: 1px solid var(--line-strong);
  padding: 0.8rem 1.6rem 0;
  text-align: center;
}

.credibility-grid article:first-child {
  border-left: 0;
}

.credibility-grid img {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.2rem;
}

.credibility-grid h3 {
  font-size: 1rem;
}

.credibility-grid p {
  margin-bottom: 0;
  color: #4e584e;
  font-size: 0.95rem;
}

.selected-work {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.selected-work-shell {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.selected-work-title {
  margin-bottom: 0;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.selected-work-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.selected-work-item {
  display: grid;
  min-width: max-content;
  justify-items: center;
}

.selected-work-logos img {
  display: block;
  width: auto;
  filter: grayscale(1) saturate(0) opacity(0.62);
  mix-blend-mode: multiply;
  object-fit: contain;
}

.text-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #5f665f;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

.tally-mark {
  width: 1.9em;
  height: 0.95em;
  color: currentColor;
  opacity: 0.78;
}

.tally-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 3.4;
}

.logo-text-regular {
  font-weight: 520;
}

.case-study-section {
  scroll-margin-top: 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-soft), #f4efe3);
  padding: clamp(4rem, 7vw, 6rem) 0;
}

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

.case-study-header {
  display: grid;
  max-width: 56rem;
  gap: 0.75rem;
}

.case-study-header h2 {
  max-width: 12em;
}

.case-study-header p:last-child {
  max-width: 48rem;
  margin: 0;
  color: #3f483f;
  font-size: 1.04rem;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.case-study-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(212, 204, 191, 0.92);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 22px 70px rgba(47, 40, 27, 0.1);
}

.case-study-card-media {
  margin: 0;
  border-bottom: 1px solid rgba(212, 204, 191, 0.82);
  background: #f3efe5;
}

.case-study-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.case-study-card-copy {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.case-study-card-copy .eyebrow {
  margin: 0;
}

.case-study-card-copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 650;
  line-height: 1.14;
}

.case-study-card-copy p {
  margin: 0;
  color: #3f483f;
  font-size: 1rem;
  line-height: 1.62;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.case-study-copy h2 {
  max-width: 11.5em;
}

.case-study-copy p {
  max-width: 37rem;
  color: #3f483f;
  font-size: 1.04rem;
}

.case-study-link {
  width: fit-content;
}

.case-study-media {
  margin: 0;
}

.case-study-media img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(212, 204, 191, 0.9);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(47, 40, 27, 0.12);
}

.case-page {
  background:
    radial-gradient(circle at 78% 4%, rgba(184, 149, 85, 0.08), transparent 28rem),
    linear-gradient(180deg, var(--surface) 0%, #f8f4eb 100%);
  font-family: var(--sans);
}

.case-page-hero {
  padding: clamp(3.4rem, 6vw, 5rem) 0 clamp(2.6rem, 4vw, 3.8rem);
  border-bottom: 1px solid var(--line);
}

.case-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4rem);
}

.case-page .eyebrow {
  font-weight: 650;
  letter-spacing: 0.12em;
}

.case-page h1 {
  max-width: 13em;
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: clamp(2.35rem, 3.9vw, 3.9rem);
  font-weight: 650;
  line-height: 1.06;
}

.case-page-lede {
  max-width: 47rem;
  color: #3f483f;
  font-size: clamp(1.1rem, 1.45vw, 1.25rem);
  line-height: 1.62;
}

.case-page-summary {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.2rem;
}

.case-page-summary dl {
  display: grid;
  gap: 1.05rem;
  margin: 0;
}

.case-page-summary div {
  display: grid;
  gap: 0.15rem;
}

.case-page-summary dt {
  color: var(--quiet);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-page-summary dd {
  margin: 0;
  color: #1e2a20;
  font-weight: 650;
  line-height: 1.35;
}

.case-page-feature {
  margin-block: clamp(2.2rem, 5vw, 4.5rem);
}

.case-page-feature img,
.case-page-gallery img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(212, 204, 191, 0.92);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(47, 40, 27, 0.12);
}

.case-page-feature-crop img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.case-page-gallery-crop img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.case-page-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.case-page-soft {
  background: rgba(247, 243, 234, 0.76);
}

.case-page-dark {
  background: #071b14;
  color: #fffdf8;
}

.case-page-dark .eyebrow {
  color: #d9c38d;
}

.case-page-dark .case-page-copy,
.case-page-dark .case-page-copy p {
  color: rgba(255, 253, 248, 0.8);
}

.case-page-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.case-page-columns h2 {
  max-width: 14em;
  font-family: var(--sans);
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  font-weight: 650;
  line-height: 1.15;
}

.case-page-copy {
  color: #3f483f;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.72;
}

.case-page-copy p:last-child,
.case-page-list {
  margin-bottom: 0;
}

.case-page-list {
  display: grid;
  gap: 0.8rem;
  padding-left: 1.1rem;
}

.case-page-list li::marker {
  color: var(--gold);
}

.case-page-architecture {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.architecture-node {
  min-height: 7.5rem;
  border: 1px solid rgba(212, 204, 191, 0.92);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.68);
  padding: 1rem;
}

.architecture-node span,
.case-page-metrics span {
  display: block;
  color: #162017;
  font-weight: 650;
  line-height: 1.2;
}

.architecture-node p,
.case-page-metrics p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.architecture-node-user {
  background: rgba(232, 241, 236, 0.74);
}

.case-page-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.case-page-metrics div {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.9rem;
}

.case-page-metrics span {
  color: var(--accent);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.case-page-timeline {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.case-page-timeline li {
  border-left: 2px solid rgba(184, 149, 85, 0.68);
  padding-left: 1rem;
}

.case-page-timeline span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 650;
}

.case-page-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 2.8rem);
  margin-block: clamp(3rem, 6vw, 5rem);
}

.case-page-gallery figure {
  margin: 0;
}

.case-page-gallery figcaption {
  margin-top: 0.8rem;
  color: var(--quiet);
  font-size: 0.9rem;
  line-height: 1.45;
}

.case-page blockquote {
  margin: 1.6rem 0 0;
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  color: #fffdf8;
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.52;
}

.case-page-caveat {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.case-page-cta {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.case-page-cta h2 {
  max-width: 12em;
  margin-inline: auto;
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 650;
  line-height: 1.12;
}

.founder-section {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.founder-layout {
  max-width: 880px;
}

.founder-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: center;
  margin-bottom: 1.6rem;
}

.founder-photo-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  width: clamp(5.25rem, 11vw, 8rem);
  aspect-ratio: 1;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 63, 45, 0.09), transparent 48%),
    var(--surface-warm);
  color: rgba(6, 63, 45, 0.62);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1;
}

.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo-frame img[hidden] {
  display: none;
}

.founder-photo-frame span {
  display: none;
}

.founder-photo-frame.is-missing-image span {
  display: block;
}

.founder-copy {
  max-width: 740px;
}

.founder-heading h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4.8vw, 2.55rem);
}

.founder-title {
  margin-bottom: 0;
  color: var(--accent);
  font-weight: 750;
}

.founder-copy p:not(.eyebrow):not(.founder-title) {
  color: #424c42;
  font-size: 1.05rem;
}

.founder-copy blockquote {
  max-width: 760px;
  margin: 1.8rem 0 0;
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  color: #243027;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-style: italic;
  line-height: 1.22;
}

.founder-copy blockquote p {
  margin-bottom: 1rem;
}

.founder-copy blockquote p:last-child {
  margin-bottom: 0;
}

.contact-section {
  padding-bottom: 92px;
}

.contact-grid {
  align-items: center;
}

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

.contact-grid p {
  max-width: 34rem;
  color: #424c42;
  font-size: 1.05rem;
}

.response-note {
  color: var(--accent) !important;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form span {
  color: #2f392f;
  font-size: 0.92rem;
  font-weight: 720;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6, 63, 45, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

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

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2.8rem;
  color: var(--muted);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.footer-shell span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 1040px) {
  .hero::before {
    background-position: 72% center;
  }

  h1 {
    max-width: 13ch;
  }

  .split-section,
  .fit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .credibility-grid article:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-shell {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 1rem;
    gap: 0.75rem 1rem;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .example-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.35rem;
  }

  .example-icon {
    min-height: auto;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }

  .example-icon img {
    width: 3.8rem;
    height: 3.8rem;
  }

  .example-content dl,
  .process-grid,
  .fit-columns,
  .case-study-grid,
  .case-study-layout,
  .case-page-hero-grid,
  .case-page-columns,
  .case-page-gallery {
    grid-template-columns: 1fr;
  }

  .case-page-summary {
    max-width: 36rem;
  }

  .case-page h1 {
    max-width: 15em;
    font-size: clamp(2.25rem, 6vw, 3.15rem);
    line-height: 1.06;
  }

  .case-page-columns h2 {
    max-width: 20em;
  }

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

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

  .intro-call .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .hero::before {
    background-position: 76% center;
  }

  .hero::after {
    background:
      radial-gradient(circle at 74% 14%, rgba(82, 142, 104, 0.1), transparent 20rem),
      linear-gradient(90deg, rgba(5, 20, 15, 0.88) 0%, rgba(5, 20, 15, 0.7) 55%, rgba(5, 20, 15, 0.4) 100%),
      linear-gradient(180deg, rgba(5, 17, 13, 0.28), rgba(5, 17, 13, 0.62));
  }

  .circuit-flow {
    opacity: 0.76;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.68) 42%, #000 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.68) 42%, #000 100%);
  }

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

  .case-page-architecture,
  .case-page-metrics {
    grid-template-columns: 1fr;
  }

  .header-shell {
    padding-block: 0.8rem;
  }

  .wordmark {
    font-size: clamp(1.42rem, 6vw, 1.7rem);
    white-space: nowrap;
  }

  .header-shell > .button {
    min-height: 40px;
    padding: 0.56rem 0.78rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .site-nav {
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 2.55rem);
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 2.55rem);
  }

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

  .text-link {
    justify-content: center;
    min-height: 44px;
    border: 1px solid rgba(6, 63, 45, 0.22);
    border-radius: 4px;
  }

  .hero .text-link {
    border-color: rgba(217, 195, 141, 0.38);
  }

  .trust-note {
    margin-top: 1rem;
    font-size: 0.9rem;
  }

  .trust-note-inner {
    gap: 0.55rem;
  }

  .trust-note img {
    width: 1.35rem;
    height: 1.35rem;
  }

  .founder-photo-frame,
  .contact-form {
    border-radius: 6px;
  }

  .fit-columns > div,
  .credibility-grid article {
    border-left: 0;
    padding-left: 0;
  }

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

  .credibility-grid article {
    min-height: auto;
    border-top: 1px solid var(--line-strong);
    padding-top: 1.4rem;
  }

  .credibility-grid article:first-child {
    border-top: 0;
  }

  .footer-shell {
    flex-direction: column;
  }
}

@media (max-width: 580px) and (max-height: 760px) {
  .header-shell {
    padding-block: 0.65rem;
  }

  .site-nav {
    padding-top: 0.55rem;
  }

  .hero {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
  }

  h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.35rem, 10vw, 2.58rem);
  }

  .hero-lede {
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .trust-note {
    margin-top: 0.7rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 360px) and (max-height: 640px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 0.55rem;
  }

  .wordmark {
    font-size: 1.35rem;
  }

  .site-nav {
    display: none;
  }

  .header-shell > .button {
    min-height: 36px;
    padding: 0.48rem 0.62rem;
    font-size: 0.74rem;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.65rem;
  }

  h1 {
    margin-bottom: 0.55rem;
    font-size: clamp(2.05rem, 10vw, 2.18rem);
    line-height: 0.98;
  }

  .hero-lede {
    margin-bottom: 0.65rem;
    font-size: 0.93rem;
    line-height: 1.36;
  }

  .hero-actions {
    gap: 0;
  }

  .hero-actions .text-link,
  .trust-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-pulses path,
  .flow-nodes circle {
    animation: none;
  }

  .flow-pulses path {
    opacity: 0.28;
    stroke-dasharray: none;
  }
}
