@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/bricolage-grotesque.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --night-rgb: 16 25 29;
  --night: rgb(var(--night-rgb));
  --deep-teal: #203437;
  --paper: #f6f2eb;
  --white: #fff9f2;
  --soft: #e4ecea;
  --ink: #19272b;
  --muted: #48595c;
  --line: #c4cfcd;
  --teal: #36565a;
  --accent: #f2ba99;
  --accent-hover: #ffd4b9;
  --heading: "Bricolage Grotesque", system-ui, sans-serif;
  --body: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.62 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, ol, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id], article[id] { scroll-margin-top: 24px; }

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}

.frame {
  width: min(100% - clamp(40px, 10vw, 176px), 1240px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  background: var(--accent);
  color: var(--night);
}

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

.site-header, .site-footer {
  color: var(--white);
  background: var(--night);
}

.site-header { border-bottom: 1px solid #36454b; }

.header-inner, .footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font: 800 1.25rem/1.1 var(--heading);
  letter-spacing: -.045em;
}

.period { color: var(--accent); }

.mark {
  display: grid;
  align-content: center;
  gap: 3px;
  width: 25px;
  height: 25px;
  padding-inline: 5px;
  background: var(--accent);
  border-radius: 4px;
}

.mark i { height: 2px; background: var(--night); }
.mark i:nth-child(1) { width: 7px; }
.mark i:nth-child(2) { width: 11px; }
.mark i:nth-child(3) { width: 15px; }

.button, .text-link { font-size: .9rem; font-weight: 650; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-image, .hero::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 59%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
}

.hero::after {
  content: "";
  background: linear-gradient(90deg, var(--night), rgb(var(--night-rgb) / .82) 15%, rgb(var(--night-rgb) / .27) 43%, transparent 72%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: clamp(600px, 52vw, 750px);
  padding-block: clamp(64px, 7vw, 108px);
}

.eyebrow {
  color: var(--teal);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .115em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--accent); }

.hero h1 {
  max-width: 900px;
  margin-top: 16px;
  font-size: clamp(4rem, 6.45vw, 6.1rem);
  line-height: .93;
  letter-spacing: -.064em;
}

.hero h1 span { color: var(--accent); }

.hero-description {
  max-width: 43ch;
  margin-top: 26px;
  color: #e5edec;
  font-size: clamp(1rem, 1.42vw, 1.18rem);
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
.button, .text-link { display: inline-flex; align-items: center; gap: 12px; }

.button {
  justify-content: center;
  min-height: 49px;
  padding: 10px 16px;
  border-radius: 5px;
}

.button-accent { color: var(--night); background: var(--accent); }
.button-accent:hover { background: var(--accent-hover); }
.button-accent:focus-visible { outline-color: var(--accent); }
.button-dark { color: var(--white); background: var(--night); }
.button-dark:hover { background: var(--deep-teal); }
.button-dark:focus-visible { outline-color: var(--night); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero .text-link:hover { color: var(--accent); }

.chapter, .section { padding-block: clamp(64px, 8vw, 116px); }

.chapter-inner, .about-inner, .contact-inner {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: clamp(36px, 8vw, 124px);
}

h2 { font-size: clamp(2.85rem, 5.25vw, 5.35rem); }
.chapter h2, .about h2, .services h2 { margin-top: 11px; }
.chapter-copy > p:last-child { max-width: 46ch; margin-top: 19px; color: var(--muted); }

.cost-story {
  padding: clamp(26px, 4.2vw, 58px);
  border-radius: 10px;
  background: var(--accent);
  color: var(--night);
}

.cost-number {
  font: 800 clamp(4.1rem, 7.9vw, 7.7rem)/.88 var(--heading);
  letter-spacing: -.075em;
  white-space: nowrap;
}

.cost-number span { font-size: .61em; vertical-align: .22em; }
.cost-unit { margin-top: 9px; font: 700 clamp(1.3rem, 2.35vw, 2.35rem)/1.1 var(--heading); letter-spacing: -.045em; }
.cost-story blockquote > p:last-child { max-width: 33ch; margin-top: 18px; }
.cost-story figcaption { margin-top: 19px; }
.cost-story a, .launch-example a { font-size: .83rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.chapter-launch { background: var(--soft); }
.chapter-launch h2 { max-width: 10ch; }
.user-journey { list-style: none; padding: 0; border-block: 1px solid var(--line); }

.user-journey li {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 18px 0;
}

.user-journey li + li { border-top: 1px solid var(--line); }
.journey-node { width: 11px; height: 11px; margin-top: 6px; border: 2px solid var(--teal); border-radius: 50%; }
.user-journey h3 { font-size: 1.28rem; letter-spacing: -.025em; }
.user-journey p { margin-top: 5px; color: var(--muted); font-size: .92rem; }

.launch-example {
  margin-top: 20px;
  padding: 19px 22px;
  border-left: 3px solid var(--teal);
  background: var(--paper);
}

.launch-example h3 { font-size: 1.32rem; letter-spacing: -.03em; }
.launch-example p { margin-top: 7px; color: var(--muted); font-size: .92rem; }
.launch-example a { display: inline-block; margin-top: 11px; }

.services { background: var(--deep-teal); }
.services-intro { margin-bottom: 30px; color: var(--white); }
.services-intro .eyebrow { color: var(--accent); }
.services-intro > p:last-child { max-width: 52ch; margin-top: 14px; color: var(--soft); }

.service-options {
  display: grid;
  gap: 16px;
}

.service-card {
  display: grid;
  align-content: start;
  padding: clamp(20px, 2.75vw, 34px);
  border: 1px solid var(--service-line);
  border-radius: 10px;
  background: var(--service-background);
}

.service-assessment {
  --service-background: #e2ece9;
  --service-line: #c3d5d0;
  --service-accent: var(--teal);
}

.service-discovery {
  --service-background: #f3e5dc;
  --service-line: #ddc7b9;
  --service-accent: #794b36;
}

.service-prototype {
  --service-background: #e9e8f2;
  --service-line: #cecbdf;
  --service-accent: #514a72;
}

.service-card .eyebrow, .service-card .deliverable strong { color: var(--service-accent); }
.service-card h3 { margin-top: 10px; font-size: clamp(1.75rem, 2.7vw, 2.45rem); }
.service-card h3 + p { margin-top: 14px; color: var(--muted); }
.service-card .deliverable { margin-top: 21px; padding-top: 14px; border-top: 1px solid var(--service-line); }
.service-card .deliverable strong { display: block; margin-bottom: 2px; font-size: .75rem; }
.service-contact { margin-top: 19px; color: var(--white); }

@media (min-width: 1024px) {
  .service-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}

.about { background: var(--soft); }
.about-inner {
  grid-template-areas: "intro photo" "bio photo";
  grid-template-rows: auto 1fr;
  align-items: start;
  row-gap: 13px;
}

.about-copy { grid-area: intro; }
.about-copy > p:nth-of-type(n+2) { margin-top: 13px; color: var(--muted); }
.about-copy > .about-role { color: var(--ink); font-weight: 650; }
.about-bio { grid-area: bio; color: var(--muted); }
.about-bio > div, .about-bio p + p { margin-top: 13px; }

.about-photo {
  grid-area: photo;
  width: 100%;
  height: auto;
  margin-top: 3px;
  border-radius: 10px;
}

.contact { background: var(--accent); }
.contact h2 { font-size: clamp(4rem, 8vw, 8rem); line-height: .92; }
.contact p { max-width: 39ch; margin-bottom: 17px; }
.footer-inner { min-height: 93px; }
.footer-inner .text-link:hover { color: var(--accent); }

@media (max-width: 880px) {
  .hero h1 { font-size: clamp(3.75rem, 8.1vw, 5.65rem); }
  .hero-image, .hero::after { width: 74%; }
  .hero::after { background: linear-gradient(90deg, var(--night), rgb(var(--night-rgb) / .85) 27%, rgb(var(--night-rgb) / .44) 61%, transparent); }
  .chapter-inner, .contact-inner { gap: 34px; }
}

@media (768px <= width < 1024px) {
  .about-inner {
    grid-template-areas: "intro photo" "bio bio";
    grid-template-rows: auto auto;
    gap: 24px 34px;
  }

  .about-bio {
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    gap: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .about-bio > div { margin-top: 0; }
}

@media (width < 768px) {
  .about-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "photo" "intro" "bio";
  }

  .about-photo { margin: 0 0 13px; }
}

@media (max-width: 650px) {
  .frame { width: calc(100% - 40px); }
  .header-inner { min-height: 62px; }
  .wordmark { font-size: 1.12rem; gap: 8px; }
  .hero-inner { min-height: 0; padding-block: clamp(174px, 49vw, 310px) 48px; }
  .hero h1 { font-size: clamp(2.7rem, 11.1vw, 4.4rem); }
  .hero-break { display: none; }
  .hero-description { margin-top: 18px; }
  .hero-actions { margin-top: 21px; }
  .hero-image, .hero::after { inset: 0; width: 100%; }
  .hero-image img { object-position: center top; }
  .hero::after {
    background: linear-gradient(180deg, transparent, rgb(var(--night-rgb) / .12) 17%, rgb(var(--night-rgb) / .83) 39%, rgb(var(--night-rgb) / .96) 63%, var(--night));
  }
  .chapter-inner, .contact-inner { grid-template-columns: 1fr; }
  .chapter-inner, .contact-inner { gap: 26px; }
  .chapter-launch h2 { max-width: 14ch; }
  .footer-inner { flex-wrap: wrap; gap: 11px 20px; padding-block: 19px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 2.4rem; }
  .cost-number { font-size: 3.55rem; }
}

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