@import url("/assets/editorial-fonts.css");

:root {
  --ink: #171923;
  --canvas: #fffdfa;
  --cobalt: #2437c6;
  --cobalt-dark: #182896;
  --orange: #ff714e;
  --mist: #ecedf8;
  --line: #cecfd9;
  --muted: #4a4b5c;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: Manrope, system-ui, sans-serif;
  font-family: var(--text);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #d03b20; outline-offset: 4px; }
.skip { position: absolute; z-index: 4; left: 10px; top: 10px; padding: 10px 15px; background: var(--orange); transform: translateY(-160%); color: var(--ink); }
.skip:focus { transform: none; }
.wrap { width: min(1196px, calc(100% - 104px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--ink); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; letter-spacing: -.025em; text-transform: uppercase; }
.wordmark span { color: var(--cobalt); }
.site-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-nav a, .footer-inner a { text-decoration: none; font-size: 13px; font-weight: 800; }
.site-nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-nav .nav-grow { border: 1px solid var(--cobalt); color: var(--cobalt); padding: 8px 11px; }
.site-nav .nav-grow[aria-current] { background: var(--cobalt); color: #fff; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(68px, 8.3vw, 122px); letter-spacing: -.025em; line-height: .87; }
h1 em { font-style: normal; color: var(--cobalt); }
h2 { font-size: clamp(50px, 6vw, 87px); line-height: .87; letter-spacing: -.018em; }
h3 { font-size: clamp(29px, 3.2vw, 49px); line-height: .99; letter-spacing: -.012em; }
.eyebrow { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .105em; line-height: 1.4; margin: 0 0 16px; }
.eyebrow span { color: var(--cobalt); margin-inline: 3px; }
.intro { font-size: 16px; line-height: 1.72; max-width: 57ch; color: var(--muted); margin-block: 25px 20px; }
.button { display: inline-flex; align-items: center; gap: 13px; justify-content: space-between; width: fit-content; min-height: 45px; padding: 10px 15px; background: var(--cobalt); border: 1px solid transparent; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; transition: background .16s ease, color .16s ease; }
.button:hover { background: var(--cobalt-dark); }
.button span, .inline-link span { font-size: 1.25em; line-height: 1; }
.inline-link, .text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--cobalt-dark); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }

.home-hero { padding-block: 70px 67px; border-bottom: 1px solid var(--ink); background: var(--mist); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .67fr); gap: clamp(30px, 6vw, 86px); align-items: center; }
.hero-copy h1 { max-width: 11.6ch; }
.hero-note { position: relative; background: var(--cobalt); color: #fff; padding: clamp(22px, 3vw, 41px); margin: 0 7px 7px 0; box-shadow: 7px 7px 0 var(--orange); }
.hero-note .eyebrow { color: #dce1ff; }
.note-text { margin: 25px 0 17px; font-family: var(--display); font-size: clamp(44px, 5vw, 72px); font-weight: 700; letter-spacing: -.018em; line-height: .93; }
.note-detail { color: #edf0ff; font-size: 14px; line-height: 1.62; max-width: 38ch; margin: 0; }
.story-band { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 7vw, 116px); padding-block: 64px; border-bottom: 1px solid var(--line); }
.story-band h2 { max-width: 11ch; }
.story-band div > p { max-width: 62ch; line-height: 1.75; margin: 0 0 17px; }
.projects, .journal { padding-block: 59px 64px; }
.grow-feature { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; margin-block: 27px 19px; padding: 29px; text-decoration: none; background: var(--cobalt); color: #fff; transition: background .18s ease; }
.grow-feature:hover { background: var(--cobalt-dark); }
.grow-feature h3 { font-size: clamp(46px, 6vw, 82px); }
.grow-feature .eyebrow { color: #dce1ff; margin-bottom: 9px; }
.grow-feature p:not(.eyebrow) { margin: 10px 0 0; color: #eff0ff; max-width: 54ch; line-height: 1.62; font-size: 15px; }
.feature-action { display: inline-flex; gap: 12px; align-items: center; flex: none; padding: 10px 12px; color: var(--ink); background: var(--orange); font-size: 13px; font-weight: 800; }
.project-row { display: grid; grid-template-columns: .9fr 1fr 30px; gap: 18px; align-items: center; padding: 17px 0; border-top: 1px solid var(--line); text-decoration: none; }
.project-row:last-child { border-bottom: 1px solid var(--line); }
.project-row:hover h3, .article:hover > span:first-child { color: var(--cobalt); }
.project-row p { font-size: 14px; color: var(--muted); line-height: 1.62; margin: 0; }
.project-row > span, .article > span:last-child { text-align: right; color: var(--cobalt); font-size: 21px; }
.journal { border-top: 1px solid var(--ink); }
.journal h2 { margin-bottom: 20px; }
.article { display: grid; grid-template-columns: 1fr 145px 25px; gap: 10px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.article > span:first-child { font-size: 16px; font-weight: 800; }
.article time, .article-source { color: var(--muted); font-size: 13px; text-align: right; }
.contact { color: #fff; background: var(--ink); }
.contact-inner { display: flex; gap: 25px; align-items: center; justify-content: space-between; padding-block: 57px; }
.contact-inner p { color: #eeeefa; margin: 13px 0 0; line-height: 1.6; }
.button-light { background: var(--orange); color: var(--ink); }
.button-light:hover { background: #ffac96; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; }

.grow-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(29px, 5vw, 75px); align-items: center; padding-block: 64px; }
.grow-hero h1 { max-width: 11ch; }
.grow-hero h1 em { display: block; }
.demo { border: 1px solid var(--cobalt); box-shadow: 6px 6px 0 var(--orange); margin: 0 6px 6px 0; background: var(--mist); }
.demo-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; color: #fff; background: var(--cobalt); padding: 13px 17px; font-weight: 800; font-size: 15px; }
.demo-top > span:last-child { font-size: 12px; }
.demo-body { padding: 18px 20px 21px; }
.demo-label { margin: 0 0 7px; color: var(--cobalt-dark); font-size: 12px; font-weight: 800; }
.prompt { margin: 0 0 14px; padding: 11px 12px; background: #fff; border: 1px solid #b9c1ef; line-height: 1.65; font-size: 14px; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-controls button { border: 1px solid var(--cobalt); padding: 7px 9px; font-weight: 800; font-size: 12px; color: var(--cobalt-dark); background: #fff; }
.demo-controls button[aria-pressed="true"] { background: var(--cobalt); color: #fff; }
.workflow { display: grid; gap: 8px; list-style: none; margin: 15px 0 0; padding: 0; }
.workflow li { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.step { text-align: center; width: 22px; height: 22px; border-radius: 50%; line-height: 22px; flex: none; }
.step.done { color: var(--cobalt-dark); background: #d8ddff; }
.step.waiting { color: #742610; background: #ffd9ca; }
.grow-method { padding-block: 47px 52px; border-top: 1px solid var(--ink); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 22px; }
.method-grid article { border-top: 1px solid var(--line); padding-top: 12px; }
.method-grid p { line-height: 1.65; font-size: 14px; color: var(--muted); }
.pilot-section { padding-block: 56px; background: var(--mist); border-block: 1px solid var(--ink); }
.pilot-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(29px, 5vw, 75px); align-items: start; }
.pilot-layout .eyebrow { color: var(--cobalt-dark); }
.pilot-layout > div > p:last-child { line-height: 1.65; color: var(--muted); max-width: 50ch; }
.pilot-form { display: grid; gap: 13px; padding: 21px; background: var(--canvas); border: 1px solid var(--line); }
.pilot-form label { display: grid; gap: 5px; font-weight: 800; font-size: 13px; min-width: 0; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input, textarea, select { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #aeb0c4; background: #fff; color: var(--ink); font-size: 14px; border-radius: 0; }
textarea { resize: vertical; }
.form-help { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 0; }
.form-trap { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
.notice { padding: 10px; margin: 0; color: #7e2615; background: #ffe4dc; font-size: 13px; }
.simple { padding-block: 54px; max-width: 830px; }
.simple h1 { font-size: clamp(49px, 7vw, 97px); }
.simple h2 { font-size: 40px; margin-top: 20px; }
.simple p { line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 20px; }
.admin { padding-block: 40px; }
.admin h1 { font-size: clamp(53px, 7vw, 98px); }
.admin h2 { font-size: 39px; margin-block: 22px 10px; }
.admin .metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; }
.metric { border: 1px solid var(--line); padding: 8px 12px; }
.metric strong { font-size: 22px; display: block; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
td small { display: block; }
td form { display: flex; gap: 4px; min-width: 175px; }
td form button { background: var(--mist); border: 1px solid var(--line); color: var(--ink); }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 58px); }
  .site-nav { gap: 13px; }
  .hero-grid { gap: 25px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: auto; flex-wrap: wrap; gap: 8px; padding-block: 11px; }
  .wordmark { font-size: 29px; }
  .site-nav { width: 100%; gap: 11px; }
  .site-nav a { font-size: 11px; }
  .site-nav .nav-grow { padding: 5px 6px; }
  h1 { font-size: clamp(60px, 12vw, 88px); }
  h2 { font-size: clamp(45px, 10.5vw, 67px); }
  .home-hero, .grow-hero, .story-band, .projects, .journal, .pilot-section, .grow-method { padding-block: 37px; }
  .hero-grid, .story-band, .grow-hero, .pilot-layout, .method-grid { grid-template-columns: 1fr; gap: 23px; }
  .hero-note { padding: 19px; }
  .note-text { margin-top: 14px; }
  .intro { font-size: 15px; margin-top: 18px; }
  .grow-feature { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; }
  .project-row { grid-template-columns: 1fr 22px; gap: 6px; }
  .project-row p { grid-column: 1 / -1; grid-row: 2; }
  .project-row > span { grid-row: 1; grid-column: 2; }
  .article { grid-template-columns: 1fr 20px; gap: 5px; }
  .article > span:last-child { grid-column: 2; grid-row: 1; }
  .article time, .article-source { grid-row: 2; text-align: left; }
  .contact-inner { padding-block: 37px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
