:root {
  --bg: #f7f5f0;
  --bg-warm: rgba(255, 255, 255, 0.76);
  --surface: rgba(255, 255, 255, 0.5);
  --surface-strong: rgba(255, 255, 255, 0.72);
  --text: #171714;
  --muted: #66635c;
  --muted-soft: #8a867f;
  --line: rgba(23, 23, 20, 0.1);
  --line-strong: rgba(23, 23, 20, 0.16);
  --tint: rgba(221, 236, 227, 0.8);
  --tint-soft: rgba(241, 245, 239, 0.9);
  --brand: #7a4c1e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 28% 2%, rgba(222, 239, 228, 0.9), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(247, 243, 230, 0.72), transparent 24%),
    linear-gradient(180deg, #fbfaf7 0%, #f7f5f0 36%, #f8f6f2 100%);
}

a {
  color: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 16%),
    radial-gradient(circle at top left, rgba(223, 242, 230, 0.28), transparent 32%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 12px clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 245, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: clamp(42px, 4.8vw, 54px);
  height: auto;
  flex: 0 0 auto;
}

.brand-lockup {
  display: grid;
  gap: 3px;
}

.brand-wordmark {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-submark {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.site-nav a,
.nav-link {
  color: var(--muted-soft);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

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

.nav-dropdown {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(250, 249, 245, 0.98);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(23, 23, 20, 0.04);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.page {
  width: 100%;
  margin: 0 auto 80px;
}

.hero,
.section {
  margin: 0;
  padding: 44px clamp(20px, 3.8vw, 34px);
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.hero {
  min-height: min(56vh, 520px);
}

.page-hero {
  min-height: 0;
}

.hero-copy {
  max-width: 760px;
  padding: 0;
}

.section-label,
.step-number,
.page-eyebrow {
  margin: 0 0 16px;
  color: var(--muted-soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

h1 {
  max-width: 8.2ch;
  margin-bottom: 18px;
  font-size: clamp(2.9rem, 7vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.085em;
}

h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 3.45rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

h3 {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.lead,
.step-card p,
.cta-copy,
.service-main p,
.detail-card p,
.contact-form-header .section-intro,
.contact-form-footnote,
.section-intro,
.bullet-list,
.form-consent {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 34rem;
  margin-bottom: 0;
  font-size: 1rem;
}

.hero-actions,
.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: rgba(23, 23, 20, 0.035);
}

.button:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.button-primary {
  border-color: var(--text);
  background: var(--text);
  color: #f8f6f2;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #2a2925;
}

.button-secondary,
.button-light {
  background: rgba(255, 255, 255, 0.48);
}

.button-inline {
  margin-top: 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 18px;
}

.section-heading.narrow {
  max-width: 720px;
}

.section-intro {
  max-width: 40rem;
  margin: 0 0 30px;
  font-size: 0.98rem;
}

.narrow-copy {
  max-width: 42rem;
}

.inline-actions {
  margin-top: 26px;
}

.section-label-dark,
.step-number-dark {
  color: var(--muted-soft);
}

.steps,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card,
.detail-card,
.service-row-card,
.contact-form-shell {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.step-card,
.detail-card {
  padding: 20px;
}

.detail-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.step-card h3,
.detail-card h3 {
  margin-bottom: 10px;
}

.step-card p,
.detail-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.detail-card-link:hover,
.detail-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 36px rgba(25, 24, 20, 0.05);
  outline: none;
}

.detail-link-text {
  display: inline-block;
  margin-top: 14px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.detail-card-link h3,
.detail-card-link p {
  text-decoration: none;
}

.detail-card-link:hover h3,
.detail-card-link:hover p,
.detail-card-link:focus-visible h3,
.detail-card-link:focus-visible p {
  text-decoration: none;
}

.detail-card-link:hover .detail-link-text,
.detail-card-link:focus-visible .detail-link-text {
  text-decoration: underline;
}

.case-study-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    transparent
  );
}

.case-study-marquee-track {
  display: flex;
  width: max-content;
  animation: case-study-marquee-scroll 34s linear infinite;
  will-change: transform;
}

.case-study-marquee-group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex: 0 0 auto;
}

.case-study-marquee-card {
  width: clamp(250px, 28vw, 340px);
  min-height: 100%;
  flex: 0 0 auto;
}

.case-study-marquee:hover .case-study-marquee-track,
.case-study-marquee:focus-within .case-study-marquee-track {
  animation-play-state: paused;
}

@keyframes case-study-marquee-scroll {
  from {
    transform: translateX(0);
  }

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

.service-list {
  display: grid;
  gap: 12px;
}

.service-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.service-row:first-child {
  border-top: 0;
  padding-top: 6px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}

.insight-column h3 {
  margin-bottom: 18px;
  color: var(--muted-soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bullet-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
  font-size: 0.94rem;
}

.bullet-list li {
  padding-left: 0;
}

.bullet-list li + li {
  margin-top: 10px;
}

.bullet-list li::marker {
  color: var(--muted-soft);
}

.bullet-list-wide {
  max-width: 58rem;
}

.service-list-practice {
  gap: 14px;
}

.service-row-card {
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.9fr) auto;
  gap: 26px;
  align-items: center;
  padding: 22px 20px;
}

.service-row-card:first-child {
  padding-top: 22px;
}

.service-main h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.22rem;
}

.service-main p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.service-outcome {
  align-self: center;
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
}

.service-link {
  align-self: center;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.service-link:hover,
.service-link:focus-visible,
.contact-inline-link:hover,
.contact-inline-link:focus-visible {
  text-decoration: underline;
}

.detail-card-cta {
  min-height: 100%;
}

.contact-section {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.contact-choice-row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
}

.contact-choice-row::before {
  content: "";
  position: absolute;
  top: -640px;
  left: 50%;
  width: min(148vw, 1820px);
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 236 180'%3E%3Cline x1='48' y1='122' x2='188' y2='122' stroke='%23BA7517' stroke-width='1.2' opacity='0.28'/%3E%3Cpath d='M 60 122 A 58 58 0 0 1 176 122' fill='none' stroke='%23BA7517' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M 60 122 A 58 58 0 0 0 176 122' fill='%23FAC775' opacity='0.16'/%3E%3Cpath d='M 90 122 L 118 81 L 146 122' fill='none' stroke='%23633806' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='118' cy='81' r='7.5' fill='%23BA7517'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: saturate(0.9) blur(0.2px);
}

.contact-choice-row > * {
  position: relative;
  z-index: 2;
}

.contact-choice-card {
  display: grid;
  gap: 12px;
  min-height: 176px;
  padding: 32px 34px;
  border: 1px solid rgba(23, 23, 20, 0.1);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 247, 242, 0.9)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 18px 40px rgba(25, 24, 20, 0.05);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-choice-button {
  font: inherit;
  cursor: pointer;
}

.contact-choice-card:hover,
.contact-choice-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(23, 23, 20, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 244, 0.94)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 24px 52px rgba(25, 24, 20, 0.08);
  outline: none;
}

.contact-choice-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.contact-choice-copy {
  max-width: 20rem;
  color: #817e77;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-form-shell {
  position: relative;
  z-index: 3;
  padding: 42px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 242, 0.97)),
    rgba(255, 255, 255, 0.98);
}

.contact-feedback {
  max-width: 48rem;
  padding: 18px 22px;
  border: 1px solid rgba(23, 23, 20, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.contact-feedback[data-tone="success"] {
  border-color: rgba(76, 112, 92, 0.18);
  background: rgba(242, 248, 244, 0.92);
  color: #486052;
}

.contact-feedback[data-tone="error"] {
  border-color: rgba(143, 72, 72, 0.18);
  background: rgba(252, 244, 243, 0.92);
  color: #8b4a4a;
}

.contact-form-shell.is-hidden {
  display: none;
}

.contact-form-header {
  max-width: 900px;
  margin-bottom: 32px;
}

.contact-form-intro {
  margin: 0;
  max-width: 50rem;
  color: #817e77;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 24px;
}

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

.form-field {
  display: grid;
  gap: 10px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.form-field select {
  appearance: none;
  padding-right: 56px;
  background-image:
    linear-gradient(45deg, transparent 50%, #9b9890 50%),
    linear-gradient(135deg, #9b9890 50%, transparent 50%);
  background-position:
    calc(100% - 30px) calc(50% - 2px),
    calc(100% - 22px) calc(50% - 2px);
  background-size: 9px 9px, 9px 9px;
  background-repeat: no-repeat;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #bebbb5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(23, 23, 20, 0.28);
  box-shadow: 0 0 0 4px rgba(223, 239, 228, 0.7);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 52rem;
  font-size: 1rem;
}

.form-consent input {
  width: 28px;
  height: 28px;
  margin-top: 3px;
  accent-color: #2b2a25;
}

.contact-page .hero {
  min-height: 0;
  padding-top: 44px;
  padding-bottom: 8px;
  border-bottom: 0;
}

.contact-page .hero-copy {
  max-width: 100%;
}

.contact-page h1 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  line-height: 0.92;
}

.contact-page .contact-section {
  border-bottom: 0;
}

.contact-form-actions {
  margin-top: 4px;
}

.contact-form-actions .button-primary {
  min-width: 266px;
  min-height: 74px;
  font-size: 1rem;
}

.cta-section {
  text-align: left;
  background:
    linear-gradient(180deg, rgba(244, 247, 243, 0.72), rgba(250, 249, 245, 0.5)),
    transparent;
}

.cta-copy {
  max-width: 38rem;
  margin: 18px 0 28px;
}

.cta-copy a {
  color: var(--text);
  text-decoration: none;
}

.cta-copy a:hover,
.cta-copy a:focus-visible {
  text-decoration: underline;
}

.home-page .hero {
  position: relative;
  min-height: 0;
  padding-top: 42px;
  padding-bottom: 68px;
  overflow: hidden;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  top: -268px;
  right: clamp(-96px, 0vw, 28px);
  width: min(56vw, 760px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 236 180'%3E%3Cline x1='48' y1='122' x2='188' y2='122' stroke='%23BA7517' stroke-width='1.2' opacity='0.28'/%3E%3Cpath d='M 60 122 A 58 58 0 0 1 176 122' fill='none' stroke='%23BA7517' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M 60 122 A 58 58 0 0 0 176 122' fill='%23FAC775' opacity='0.16'/%3E%3Cpath d='M 90 122 L 118 81 L 146 122' fill='none' stroke='%23633806' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='118' cy='81' r='7.5' fill='%23BA7517'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: saturate(0.92);
}

.home-page .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.home-page h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 4.7rem);
  line-height: 0.93;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.home-page .lead {
  max-width: 100%;
  font-size: 1.06rem;
  line-height: 1.66;
}

.home-page .section {
  padding-top: 58px;
  padding-bottom: 52px;
}

.home-page .section-heading {
  margin-bottom: 34px;
}

.home-page #services .section-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.85rem);
}

.home-page #services .section-intro {
  font-size: 0.92rem;
}

.home-page .section-label {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 7px;
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
}

.home-page .steps {
  gap: 16px;
}

.home-page .step-card {
  min-height: 162px;
  padding: 24px 22px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
}

.home-page .step-number {
  margin-bottom: 20px;
  font-size: 0.72rem;
}

.home-page .step-card h3 {
  margin-bottom: 12px;
  font-size: 1.06rem;
}

.home-page .step-card p {
  font-size: 0.88rem;
  line-height: 1.58;
}

.home-page .service-list {
  gap: 0;
}

.home-page .service-row-card {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.home-page .service-row-card:first-child {
  padding-top: 10px;
  border-top: 0;
}

.home-page .service-main {
  display: grid;
  gap: 6px;
}

.home-page .service-main h3 {
  margin: 0;
  font-size: 1.22rem;
}

.home-page .service-main p {
  margin: 0;
  color: #7e7a73;
  font-size: 0.78rem;
  line-height: 1.5;
}

.home-page .service-link {
  color: #b4b0a9;
  font-size: 0.82rem;
  font-weight: 600;
  margin-left: 10px;
  white-space: nowrap;
}

.page-hero .insight-grid {
  margin-top: 44px;
}

.page-hero .insight-column h3 {
  margin-bottom: 14px;
}

.page-hero .lead {
  margin-bottom: 0;
}

.page-hero + .section {
  padding-top: 54px;
}

.home-page .cta-section {
  display: grid;
  justify-items: center;
  padding-top: 46px;
  padding-bottom: 46px;
  text-align: center;
}

.home-page .cta-section h2 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.home-page .cta-copy {
  margin: 0 0 16px;
  color: #8a867f;
  font-size: 0.78rem;
}

.home-page .cta-actions {
  margin-top: 0;
}

.home-page .cta-actions .button-primary {
  min-width: 86px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.74rem;
}

.philosophy-page .hero {
  min-height: 0;
  padding-top: 34px;
  padding-bottom: 58px;
  border-bottom: 0;
}

.philosophy-page .hero-copy {
  max-width: 860px;
}

.philosophy-page h1,
.philosophy-page h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
}

.philosophy-page h1 {
  max-width: 22ch;
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.philosophy-page .lead {
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.78;
}

.philosophy-essay {
  padding-top: 28px;
  border-bottom: 0;
}

.essay-shell {
  display: flex;
  justify-content: center;
}

.essay-column {
  width: min(100%, 760px);
}

.essay-kicker {
  margin: 0 0 16px;
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.essay-paragraph {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.86;
}

.essay-opening {
  color: var(--text);
  margin-bottom: 42px;
  font-size: clamp(0.95rem, 1.45vw, 1.04rem);
  line-height: 1.82;
  letter-spacing: -0.02em;
}

.essay-figure {
  margin: 68px 0 70px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 241, 234, 0.9)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 42px rgba(25, 24, 20, 0.06);
}

.essay-figure img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

.essay-figure figcaption {
  margin-top: 14px;
  color: var(--muted-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.essay-callout {
  margin: 34px 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(233, 241, 235, 0.62), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.62);
}

.essay-callout p {
  margin: 0;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: -0.045em;
}

.essay-break {
  height: 1px;
  margin: 56px 0 42px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.philosophy-page h2 {
  max-width: none;
  margin-bottom: 40px;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.case-study-page .hero {
  min-height: 0;
  padding-top: 34px;
  padding-bottom: 6px;
  border-bottom: 0;
}

.case-study-page .hero-copy {
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0 auto;
}

.case-study-page h1,
.case-study-page h2,
.case-study-page .metric-value {
  font-family: "Fraunces", serif;
  font-weight: 600;
}

.case-study-page h1 {
  max-width: 24ch;
  margin-bottom: 18px;
  font-size: clamp(1.72rem, 2.6vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.case-study-page .lead {
  max-width: 48rem;
  margin-bottom: 0;
  font-size: clamp(0.95rem, 1.2vw, 1rem);
  line-height: 1.82;
}

.case-study-body {
  padding-top: 0;
  border-bottom: 0;
}

.case-study-page .essay-column {
  width: min(100%, 860px);
}

.case-study-page h2 {
  max-width: none;
  margin-top: 42px;
  margin-bottom: 18px;
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.case-study-page .essay-column > h2:first-child {
  margin-top: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 28px;
}

.metric-card {
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 240, 225, 0.88)),
    rgba(255, 255, 255, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 36px rgba(25, 24, 20, 0.05);
}

.metric-label {
  margin: 0 0 10px;
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.metric-value {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.case-study-actions {
  margin-top: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .case-study-marquee {
    overflow-x: auto;
    padding-bottom: 12px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .case-study-marquee-track {
    animation: none;
  }
}

@media (max-width: 960px) {
  .steps,
  .insight-grid,
  .detail-grid,
  .contact-choice-row,
  .contact-form-grid,
  .service-row-card,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  h1,
  h2 {
    max-width: 100%;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-page .service-row-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-page .service-main {
    display: block;
  }

  .case-study-marquee-card {
    width: min(82vw, 320px);
  }

  .contact-choice-row::before {
    top: -500px;
    width: min(176vw, 1460px);
    opacity: 0.13;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 42px;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-menu {
    position: static;
    transform: none;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 0.5);
  }

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

  .step-card,
  .detail-card,
  .service-row-card,
  .contact-form-shell {
    border-radius: 12px;
  }

  .contact-form-shell {
    padding: 18px;
  }

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

  .contact-choice-card {
    min-height: 0;
    padding: 24px 22px;
    border-radius: 30px;
  }

  .home-page .hero {
    padding-top: 26px;
    padding-bottom: 38px;
  }

  .home-page .hero::after {
    top: -96px;
    right: -52px;
    width: min(64vw, 380px);
    opacity: 0.15;
  }

  .case-study-page h1 {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }

  .philosophy-page .hero {
    padding-top: 26px;
    padding-bottom: 40px;
  }

  .home-page .lead {
    font-size: 1.02rem;
  }

  .essay-paragraph {
    font-size: 1rem;
  }

  .essay-figure {
    margin: 46px 0 50px;
    padding: 12px;
    border-radius: 20px;
  }

  .essay-callout {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .home-page .cta-actions .button-primary {
    width: auto;
  }

  .case-study-marquee {
    margin-right: -6px;
  }

  .case-study-marquee-card {
    width: min(86vw, 300px);
  }

  .contact-choice-row::before {
    top: -350px;
    width: min(214vw, 1100px);
    opacity: 0.12;
  }
}
