:root {
  --paper: #f2efe8;
  --paper-deep: #e8e3d9;
  --paper-light: #faf8f3;
  --ink: #20211f;
  --ink-soft: #4f514c;
  --line: #cfc9bd;
  --mineral: #72786f;
  --mineral-deep: #353a35;
  --night: #252825;
  --night-soft: #323632;
  --night-line: #4d524c;
  --white-soft: #f4f1ea;
  --shadow: 0 24px 60px rgba(31, 32, 29, 0.08);
  --max-width: 1280px;
  --header-height: 84px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  min-height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.brand-mark {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.brand-divider { width: 1px; height: 24px; background: var(--line); }
.brand-label { color: var(--ink-soft); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.84rem;
}
.site-nav a {
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }
.nav-cta {
  border: 1px solid var(--ink);
  padding: 10px 14px;
  transition: background 180ms ease, color 180ms ease;
}
.nav-cta:hover,
.nav-cta:focus-visible { background: var(--ink); color: var(--paper-light); }
.menu-toggle { display: none; }

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

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: clamp(48px, 8vw, 124px);
  align-items: center;
  padding-top: clamp(80px, 11vh, 140px);
  padding-bottom: clamp(80px, 11vh, 140px);
}

.eyebrow,
.section-number,
.panel-kicker {
  margin: 0 0 28px;
  color: var(--mineral);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.about-heading h2,
.contact-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(4rem, 8.3vw, 8.2rem);
  line-height: 0.9;
}
.hero-lede {
  max-width: 720px;
  margin: 42px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.55;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper-light); padding: 13px 19px; }
.button-primary:hover,
.button-primary:focus-visible { background: var(--mineral-deep); }
.button-text { gap: 10px; border-bottom: 1px solid var(--ink); }

.hero-panel {
  align-self: end;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 12px;
}
.signal-list { list-style: none; margin: 0; padding: 0; }
.signal-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.3;
}
.signal-list li:first-child { border-top: 0; }
.signal-list span {
  padding-top: 4px;
  color: var(--mineral);
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.proof-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 2.3fr);
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-intro {
  padding: 38px max(32px, calc((100vw - var(--max-width)) / 2 + 32px));
  padding-right: 32px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.proof-intro p {
  max-width: 250px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-right: max(32px, calc((100vw - var(--max-width)) / 2 + 32px));
}
.proof-item {
  min-height: 168px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}
.proof-item:last-child { border-right: 0; }
.proof-item strong {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}
.proof-item span {
  max-width: 190px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.section { padding: clamp(96px, 12vw, 170px) 0; }
.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.35fr 0.8fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 76px;
}
.section-heading h2,
.about-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  line-height: 0.98;
}
.section-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-grid-three { grid-template-columns: repeat(3, 1fr); }
.service-card {
  min-height: 520px;
  padding: clamp(32px, 4vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease;
}
.service-card:hover { background: var(--paper-light); }
.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--mineral);
  font-size: 0.72rem;
}
.service-card h3 {
  max-width: 420px;
  margin: 72px 0 20px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.1vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}
.service-card p { max-width: 520px; color: var(--ink-soft); }
.service-card ul { list-style: none; margin: 36px 0 0; padding: 0; }
.service-card li {
  padding: 8px 0 8px 15px;
  position: relative;
  font-size: 0.88rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  background: var(--mineral);
  border-radius: 50%;
}

.section-stories {
  background: var(--paper-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-list { border-top: 1px solid var(--line); }
.story-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.45fr) minmax(220px, 0.55fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.story-number {
  color: var(--mineral);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding-top: 7px;
}
.story-copy h3 {
  max-width: 760px;
  margin: 28px 0 20px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.story-copy > p { max-width: 760px; margin: 0; color: var(--ink-soft); }
.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--mineral);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.story-outcome {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.story-outcome strong {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.story-outcome-text strong { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.story-outcome span {
  max-width: 210px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.section-dark { background: var(--night); color: var(--white-soft); }
.section-heading-light .section-number,
.section-heading-light > p:last-child { color: #bfc3bb; }
.engagement-list { border-top: 1px solid var(--night-line); }
.engagement-row {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.55fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--night-line);
}
.engagement-title { display: flex; align-items: baseline; gap: 18px; }
.engagement-title span { color: #8f978e; font-size: 0.72rem; letter-spacing: 0.12em; }
.engagement-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  font-weight: 400;
}
.engagement-row p { margin: 0; color: #c6cac3; }
.engagement-row strong { justify-self: end; font-size: 0.86rem; font-weight: 500; white-space: nowrap; }
.rate-note {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  background: var(--night-soft);
  border: 1px solid var(--night-line);
  padding: 28px 32px;
}
.rate-note p { margin: 0; color: #d7dad4; }
.rate-note a { flex: 0 0 auto; text-decoration: none; border-bottom: 1px solid #90978f; padding-bottom: 4px; }

.about-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 10vw, 160px);
}
.about-heading h2 { max-width: 690px; }
.about-copy { padding-top: 52px; }
.about-copy p { color: var(--ink-soft); font-size: 1rem; }
.about-copy .about-lede {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.about-links { margin-top: 34px; }
.about-links a {
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.about-tags { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.contact-section { background: var(--paper-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 9vw, 140px);
}
.contact-copy p:not(.section-number) { max-width: 560px; color: var(--ink-soft); font-size: 1.04rem; }
.contact-copy .availability {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}
.contact-options { border-top: 1px solid var(--ink); }
.contact-option {
  display: grid;
  grid-template-columns: 110px 1fr 30px;
  gap: 20px;
  align-items: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms ease, padding 180ms ease;
}
.contact-option:hover,
.contact-option:focus-visible { background: var(--paper); padding-inline: 16px; }
.contact-label { color: var(--mineral); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; }
.contact-option strong { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2.2rem); font-weight: 400; }
.contact-arrow { justify-self: end; font-size: 1.1rem; }
.contact-note { max-width: 570px; margin: 26px 0 0; color: var(--ink-soft); font-size: 0.82rem; }

.site-footer {
  min-height: 132px;
  padding: 34px max(32px, calc((100vw - var(--max-width)) / 2 + 32px));
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  background: var(--ink);
  color: var(--white-soft);
}
.footer-brand,
.footer-meta { display: flex; flex-direction: column; gap: 5px; }
.footer-brand span:first-child { font-family: var(--serif); font-size: 1.2rem; }
.footer-brand span:last-child,
.footer-meta { color: #bfc3bc; font-size: 0.74rem; }
.footer-meta { align-items: end; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover,
.footer-meta a:focus-visible { color: var(--white-soft); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 140ms; }

@media (max-width: 1180px) {
  .site-nav { gap: 16px; font-size: 0.78rem; }
  .service-grid-three { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero-panel { max-width: 620px; justify-self: end; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-intro { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-intro p { max-width: none; }
  .proof-grid { padding-right: 0; }
  .section-heading { grid-template-columns: 0.35fr 1fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .story-card { grid-template-columns: 50px 1fr; }
  .story-outcome {
    grid-column: 2;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .site-header,
  .section-shell { width: auto; margin-inline: 22px; padding-inline: 0; }
  .site-header { min-height: var(--header-height); }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 10px 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
  }
  .menu-icon,
  .menu-icon::before {
    width: 18px;
    height: 1px;
    background: currentColor;
    display: block;
    transition: transform 180ms ease;
  }
  .menu-icon::before { content: ""; transform: translateY(5px); }
  .menu-toggle[aria-expanded="true"] .menu-icon { transform: rotate(45deg) translateY(2px); }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: rotate(-90deg); }
  .site-nav {
    position: absolute;
    inset: var(--header-height) -22px auto;
    padding: 26px 22px 34px;
    background: var(--paper-light);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 18px; padding: 13px 15px; text-align: center; }
  .hero { min-height: auto; padding-top: 82px; padding-bottom: 92px; gap: 70px; }
  .hero h1 { font-size: clamp(3.75rem, 17vw, 6.4rem); }
  .hero-lede { margin-top: 32px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 54px; }
  .section-heading > p:last-child { grid-column: auto; }
  .service-grid-three { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .service-card { min-height: auto; }
  .engagement-row { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .engagement-row strong { justify-self: start; }
  .rate-note { align-items: flex-start; flex-direction: column; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { align-items: flex-start; }
}

@media (max-width: 600px) {
  .brand-label,
  .brand-divider { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item,
  .proof-item:nth-child(2) {
    min-height: 138px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof-item:last-child { border-bottom: 0; }
  .story-card { grid-template-columns: 1fr; padding: 36px 0; }
  .story-number { padding-top: 0; }
  .story-outcome { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .case-meta { align-items: flex-start; flex-direction: column; }
  .contact-option { grid-template-columns: 1fr 24px; gap: 8px 16px; padding: 22px 0; }
  .contact-label { grid-column: 1 / -1; }
  .contact-option strong { overflow-wrap: anywhere; }
}

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