:root {
  color-scheme: light dark;
  --field: #edf1ed;
  --field-rgb: 237 241 237;
  --paper: #f8faf7;
  --paper-rgb: 248 250 247;
  --ink: #18251f;
  --muted: #44584d;
  --accent: #185c3d;
  --accent-strong: #11462e;
  --on-accent: #f6faf6;
  --line: #879b8f;
  --line-soft: #b9c5bd;
  --focus: #0a6b42;
  --display: "Arial Narrow", "Franklin Gothic Medium", "Roboto Condensed", Arial, sans-serif;
  --body: "Trebuchet MS", Arial, sans-serif;
  --mono: Consolas, "Courier New", monospace;
  font-family: var(--body);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; overflow-x: clip; }
body {
  margin: 0;
  min-width: 280px;
  background: var(--field);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(var(--field-rgb) / .98) 0 38%, rgb(var(--field-rgb) / .84) 60%, rgb(var(--field-rgb) / .42) 100%),
    linear-gradient(180deg, rgb(var(--field-rgb) / .08), rgb(var(--field-rgb) / .58));
}
.visual-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--field) url("assets/connected-workflow.webp") 73% center / cover no-repeat;
}
header, main, .site-footer, .skip { position: relative; z-index: 2; }

a { color: inherit; text-underline-offset: 5px; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
button:active:not(:disabled), .button:active { transform: translateY(1px); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h2 { font-size: clamp(2.8rem, 5.5vw, 5.8rem); line-height: .91; letter-spacing: -.055em; }
h3 { font-size: clamp(2rem, 3.4vw, 3.75rem); line-height: .96; letter-spacing: -.045em; }
p { max-width: 62ch; }
p + p { margin-top: 20px; }
.wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }

.skip {
  position: fixed;
  top: 12px;
  left: 16px;
  padding: 11px 16px;
  background: var(--paper);
  border: 2px solid var(--accent);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  min-height: 44px;
  display: grid;
  align-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: .82;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark span:last-child { padding-left: 18px; color: var(--accent); }
nav { display: flex; align-items: center; gap: 34px; }
nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
nav a:hover { text-decoration: underline; }

.hero {
  min-height: calc(100dvh - 76px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  padding-block: 44px 92px;
}
.hero-copy { grid-column: 1 / span 7; }
.studio-note, .plain-label {
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--accent-strong);
}
.studio-note { margin-bottom: clamp(34px, 5vh, 66px); }
.hero-title { margin: 0; }
.hero-brand {
  display: block;
  font-size: clamp(4.6rem, 10.6vw, 9.6rem);
  line-height: .72;
  letter-spacing: -.085em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-positioning {
  display: block;
  max-width: 25ch;
  margin-top: 34px;
  font-family: var(--body);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  font-weight: 700;
}
.hero-summary {
  max-width: 36ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: .98rem;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 30px;
  padding: 12px 18px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--accent-strong); }

.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 32px;
  padding-block: 120px 156px;
}
.services .section-intro { grid-column: 1 / span 4; align-self: start; }
.section-intro > p {
  margin-top: 30px;
  color: var(--muted);
  max-width: 35ch;
}
.service-list { grid-column: 5 / span 7; }
.service-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px 22px;
  padding: 34px 0 52px;
  border-top: 2px solid var(--ink);
}
.service-number {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--accent-strong);
}
.service-list h3 { text-transform: uppercase; }
.service-list dl {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}
.service-list dt {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--accent-strong);
}
.service-list dd { color: var(--muted); font-size: .9rem; line-height: 1.55; }

.workflow-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 32px;
  padding-block: 110px 130px;
}
.workflow-heading { grid-column: 1 / span 6; }
.workflow-heading .plain-label { margin-bottom: 24px; }
.workflow-heading > p:last-child { margin-top: 26px; color: var(--muted); max-width: 48ch; }
.workflow-board {
  grid-column: 3 / span 9;
  display: grid;
  grid-template-columns: minmax(230px, .68fr) 1.32fr;
  gap: 42px;
  margin-top: 74px;
}
.flow {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 20px;
  width: 1px;
  background: var(--line);
}
.flow li { position: relative; }
.flow button {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 8px 12px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.flow-number {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--mono);
  font-size: .7rem;
}
.flow button strong { display: block; font-size: .96rem; line-height: 1.25; }
.flow button small { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.flow button[aria-pressed="true"] .flow-number { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.flow button[aria-pressed="true"] strong { color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.flow button:hover strong { color: var(--accent-strong); }
.workflow-detail {
  align-self: stretch;
  min-height: 430px;
  padding: clamp(34px, 5vw, 66px);
  border-left: 6px solid var(--accent);
  background: rgb(var(--paper-rgb) / .91);
}
.detail-label {
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--accent-strong);
}
.workflow-detail h3 { max-width: 12ch; text-transform: uppercase; }
.workflow-detail > p:not(.detail-label) { margin-top: 24px; color: var(--muted); }
.workflow-detail blockquote { margin: 42px 0 0; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.workflow-detail blockquote p { max-width: 40ch; font-size: 1.02rem; line-height: 1.5; }
.workflow-detail blockquote footer { margin-top: 14px; font-family: var(--mono); font-size: .64rem; color: var(--muted); }
.workflow-notes { grid-column: 3 / span 8; margin-top: 22px; }
.workflow-rule, noscript p { font-family: var(--mono); font-size: .68rem; line-height: 1.55; color: var(--muted); }
noscript p { margin-top: 14px; }

.about {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 32px;
  padding-block: 150px 126px;
}
.about > div:first-child { grid-column: 2 / span 4; }
.about-copy { grid-column: 7 / span 5; padding-top: 86px; }
.founder { margin-top: 42px; font-weight: 700; }
.founder span { font-family: var(--mono); font-size: .7rem; font-weight: 400; color: var(--muted); }
.about-copy p { color: var(--muted); }
.about-copy .about-note { margin-top: 34px; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--accent-strong); font-size: .91rem; }

.contact {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  padding-block: 82px 94px;
  border-top: 2px solid var(--ink);
}
.contact > div:first-child { grid-column: 1 / span 6; }
.contact h2 { max-width: 8ch; }
.contact p { margin-top: 28px; color: var(--muted); max-width: 48ch; }
.contact-action { grid-column: 8 / span 5; align-self: end; }
.pending-contact {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgb(var(--paper-rgb) / .72);
  color: var(--muted);
  text-align: left;
  opacity: 1;
}
.pending-contact span { font-family: var(--mono); font-size: .65rem; }
.existing-email {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: .77rem;
}

.site-footer {
  min-height: 122px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  padding-block: 26px 42px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .67rem;
  line-height: 1.5;
  color: var(--muted);
}
.site-footer > div { display: flex; gap: 30px; }
.footer-brand { font-family: var(--display); font-size: 1rem; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.site-footer details { max-width: 420px; }
.site-footer summary { min-height: 44px; cursor: pointer; }
.site-footer details p { padding-top: 10px; }

@media (prefers-color-scheme: dark) {
  :root {
    --field: #142019;
    --field-rgb: 20 32 25;
    --paper: #223329;
    --paper-rgb: 34 51 41;
    --ink: #ecf2ed;
    --muted: #bac8bf;
    --accent: #a3d4b2;
    --accent-strong: #bce4c8;
    --on-accent: #14251b;
    --line: #6f8677;
    --line-soft: #506457;
    --focus: #c5efd1;
  }
  body::before {
    background:
      linear-gradient(90deg, rgb(var(--field-rgb) / .98) 0 38%, rgb(var(--field-rgb) / .88) 61%, rgb(var(--field-rgb) / .63) 100%),
      linear-gradient(180deg, rgb(var(--field-rgb) / .20), rgb(var(--field-rgb) / .72));
  }
  .visual-atmosphere { filter: saturate(.8) contrast(1.05); }
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  a, button { transition: background-color .16s ease, color .16s ease, transform .12s ease; }
}

@media (max-width: 1100px) {
  .wrap { width: min(100% - 48px, 980px); }
  .hero-copy { grid-column: 1 / span 8; }
  .hero-brand { font-size: clamp(4.4rem, 11.5vw, 7.8rem); }
  .services .section-intro { grid-column: 1 / span 5; }
  .service-list { grid-column: 6 / span 7; }
  .service-list dl { grid-template-columns: 1fr; gap: 18px; }
  .workflow-board { grid-column: 2 / span 11; }
  .workflow-notes { grid-column: 2 / span 10; }
  .about > div:first-child { grid-column: 1 / span 5; }
  .about-copy { grid-column: 7 / span 6; }
}

@media (max-width: 899px) {
  body { font-size: 16px; }
  body::before {
    background:
      linear-gradient(180deg, rgb(var(--field-rgb) / .84) 0, rgb(var(--field-rgb) / .93) 44%, rgb(var(--field-rgb) / .87) 100%);
  }
  .visual-atmosphere { background-position: 67% top; background-size: auto 78vh; background-repeat: repeat-y; }
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 102px; align-items: flex-start; padding-top: 16px; gap: 8px; }
  .wordmark { font-size: 1rem; }
  nav { align-self: flex-end; gap: 20px; padding-bottom: 9px; }
  nav a { font-size: .74rem; }

  .hero {
    min-height: calc(100dvh - 102px);
    display: block;
    padding-block: 52px 76px;
  }
  .studio-note { margin-bottom: 38px; }
  .hero-brand { font-size: clamp(2.8rem, 14.4vw, 4rem); line-height: .75; }
  .hero-positioning { max-width: 22ch; margin-top: 27px; font-size: clamp(1.3rem, 6.2vw, 1.65rem); }
  .hero-summary { max-width: 31ch; margin-top: 18px; }
  .button { margin-top: 26px; }

  h2 { font-size: clamp(2.65rem, 13.5vw, 4rem); }
  h3 { font-size: clamp(2.05rem, 10vw, 3rem); }
  .services, .workflow-section, .about, .contact { display: block; }

  .services { padding-block: 80px 100px; }
  .section-intro > p { margin-top: 22px; }
  .service-list { margin-top: 58px; }
  .service-list article { grid-template-columns: 38px 1fr; gap: 12px; padding: 28px 0 44px; }
  .service-list dl { grid-column: 1 / -1; margin-top: 18px; }
  .service-list dd { font-size: .92rem; }

  .workflow-section { padding-block: 78px 98px; }
  .workflow-heading > p:last-child { margin-top: 22px; }
  .workflow-board { display: block; margin-top: 52px; }
  .flow { padding-left: 0; }
  .flow button { min-height: 66px; grid-template-columns: 42px 1fr; }
  .workflow-detail { min-height: 0; margin-top: 36px; padding: 34px 26px 38px; }
  .workflow-detail h3 { max-width: 10ch; }
  .workflow-detail blockquote { margin-top: 32px; }
  .workflow-notes { margin-top: 20px; }

  .about { padding-block: 106px 92px; }
  .about-copy { margin-top: 54px; padding-top: 0; }
  .founder { margin-top: 30px; }

  .contact { padding-block: 60px 76px; }
  .contact h2 { max-width: 8ch; }
  .contact-action { margin-top: 38px; }
  .pending-contact { min-height: 68px; align-items: flex-start; flex-direction: column; gap: 4px; }
  .existing-email { line-height: 1.4; }

  .site-footer { min-height: 0; flex-direction: column; gap: 28px; padding-block: 24px 38px; }
  .site-footer > div { gap: 20px; }
  .site-footer details { max-width: none; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  nav { width: 100%; justify-content: space-between; gap: 8px; }
  .hero-brand { font-size: 14vw; }
  .button { width: 100%; }
  .pending-contact { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
