:root {
  color-scheme: light;
  --ink: #121212;
  --paper: #f3f0e9;
  --white: #fffdf8;
  --red: #e13b2c;
  --rule: rgba(18, 18, 18, 0.34);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--white);
  padding: .75rem 1rem;
  border: 2px solid var(--ink);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

.site-header {
  min-height: 96px;
  padding: 1.1rem var(--pad);
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.wordmark {
  width: max-content;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: .88;
  font-size: 1.05rem;
}
.wordmark span { display: block; }
.wordmark .red-mark { display: inline; color: var(--red); }
nav { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); }
nav a, footer > a, .header-cta {
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-underline-offset: .3rem;
}
nav a, footer > a { text-decoration-thickness: 1px; text-decoration-color: transparent; }
nav a:hover, footer > a:hover { text-decoration-color: currentColor; }
.header-cta { justify-self: end; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: .18rem; }

.hero { padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad) 2rem; min-height: calc(100svh - 96px); display: flex; flex-direction: column; }
.hero-kicker { display: flex; justify-content: space-between; gap: 2rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-grid { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(18rem, .7fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { margin-bottom: 0; max-width: 15ch; font-size: clamp(3.6rem, 7.6vw, 8.5rem); line-height: .9; letter-spacing: -.055em; }
h1 em { position: relative; font-weight: 400; }
h1 em::after { content: ""; position: absolute; height: .08em; background: var(--red); left: -.04em; right: -.04em; bottom: .04em; transform: rotate(-1.3deg); }
.hero-aside { padding-bottom: .5rem; }
.hero-aside > p { font-size: clamp(1.13rem, 1.55vw, 1.45rem); line-height: 1.45; max-width: 31rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; }
.button { display: inline-block; min-height: 48px; padding: .88rem 1.2rem; border: 1px solid var(--ink); border-radius: 0; font: inherit; font-size: .85rem; font-weight: 800; letter-spacing: .035em; text-decoration: none; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--red); border-color: var(--red); }
.text-link { font-size: .82rem; font-weight: 800; text-underline-offset: .35rem; }

.section-rule, .section-dark, .contact { padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.section-rule { border-top: 1px solid var(--ink); }
.section-label { margin-bottom: clamp(2.5rem, 6vw, 6rem); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.problem-layout, .about-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .7fr); gap: clamp(2.5rem, 8vw, 10rem); align-items: start; }
.problem h2, .about h2, .contact h2, .section-heading h2 { margin-bottom: 0; max-width: 16ch; font-size: clamp(2.8rem, 5.2vw, 6rem); line-height: .98; letter-spacing: -.045em; }
.problem-copy p, .about-copy p { font-size: clamp(1.05rem, 1.35vw, 1.28rem); }
.problem-copy p:last-child, .about-copy p:last-child { margin-bottom: 0; }

.section-heading { display: grid; grid-template-columns: .5fr 1.1fr; gap: 2rem; align-items: start; margin-bottom: clamp(3rem, 7vw, 7rem); }
.section-heading .section-label { margin-bottom: 0; }
.service-list { border-top: 1px solid var(--ink); }
.service-list article { display: grid; grid-template-columns: .85fr 1fr; gap: 2rem; padding: 2.3rem 0; border-bottom: 1px solid var(--ink); align-items: baseline; }
.service-list p { margin-bottom: 0; }
.service-list h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.25vw, 2.35rem); font-weight: 400; line-height: 1.12; }
.service-list article > p:last-child { max-width: 34rem; font-size: 1.04rem; }

.section-dark { background: var(--ink); color: var(--white); }
.process .section-heading { grid-template-columns: .4fr 1fr .75fr; }
.process-intro { max-width: 30rem; font-size: 1.05rem; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.4); }
.process-list li { padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.4); }
.process-list h3 { margin-bottom: .35rem; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.5rem); font-weight: 400; }
.process-list p { margin: 0; max-width: 38rem; color: rgba(255,253,248,.78); }

.about h2 { max-width: 18ch; }
.contact { background: var(--red); color: var(--ink); }
.contact h2 { max-width: 12ch; font-size: clamp(3.4rem, 7.5vw, 8rem); line-height: .9; }
.contact-copy > p:first-child { font-size: clamp(1.15rem, 1.6vw, 1.45rem); max-width: 28rem; }
.button-light { margin-top: 1.2rem; background: var(--white); color: var(--ink); opacity: 1; cursor: pointer; }
.button-light:hover { background: var(--ink); color: var(--white); }

footer { padding: 2.5rem var(--pad); background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: end; }
.wordmark-footer { color: var(--white); }
footer p { margin: 0; font-size: .78rem; color: rgba(255,253,248,.65); }
footer > a { justify-self: end; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 84px; }
  nav { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; margin-top: clamp(5rem, 14vw, 9rem); }
  h1 { max-width: 12ch; }
  .hero-aside { display: grid; grid-template-columns: 1fr; max-width: 34rem; }
  .section-heading, .process .section-heading { grid-template-columns: 1fr; }
  .section-heading .section-label { margin-bottom: 1rem; }
  .problem-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .problem h2, .about h2 { max-width: 14ch; }
  .service-list article { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-cta { font-size: .66rem; }
  .hero-kicker { align-items: flex-start; }
  .hero-kicker span:last-child { text-align: right; }
  h1 { font-size: clamp(3.1rem, 14.5vw, 4.6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button, .text-link { text-align: center; }
  .service-list article { gap: 1rem; }
  footer { grid-template-columns: 1fr auto; align-items: end; }
  footer p { display: none; }
}

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