@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --paper: #f4f0e5;
  --cream: #fffaf0;
  --ink: #151916;
  --navy: #102734;
  --navy-2: #183746;
  --muted: #5f6662;
  --line: #c9c7bb;
  --coral: #ed4b35;
  --blue: #244fd1;
  --lime: #c8ec69;
  --yellow: #ffdb55;
  --mint: #b9e7ce;
  --white: #fff;
  --display: 'Archivo Black', Impact, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 7px 7px 0 var(--ink);
  --soft-shadow: 0 24px 70px rgba(16, 39, 52, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#solutions, #method, #work, #about { scroll-margin-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: var(--lime); color: var(--navy); font-weight: 800; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 80; top: 0; min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 12px max(24px, calc((100vw - 1200px) / 2)); background: rgba(244, 240, 229, .92); border-bottom: 1px solid rgba(16, 39, 52, .23); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 800; line-height: .9; letter-spacing: -.048em; text-decoration: none; }
.brand strong { color: #b82b1b; }
.brand-mark { position: relative; width: 43px; height: 43px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 50%; background: var(--lime); box-shadow: 3px 3px 0 var(--navy); transform: rotate(-7deg); }
.brand-mark b { color: var(--navy); font-family: var(--display); font-size: 1.12rem; }
.brand-mark i { position: absolute; right: -5px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--coral); }
.brand-mark i:nth-of-type(1) { height: 7px; right: 1px; }
.brand-mark i:nth-of-type(2) { height: 13px; right: -5px; }
.brand-mark i:nth-of-type(3) { height: 19px; right: -11px; }
.site-header nav { display: flex; align-items: center; gap: 25px; }
.site-header nav > a { color: var(--navy); font-size: .87rem; font-weight: 700; text-decoration: none; }
.site-header nav > a:hover, .site-header nav > a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.menu-button { display: none; }

.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 0 19px; border: 2px solid var(--ink); border-radius: 10px; background: var(--lime); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); background: var(--yellow); }
.button:focus-visible, .card-link:focus-visible, .text-link:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .dialog-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.button-small { min-height: 44px; gap: 12px; padding-inline: 15px; border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); font-size: .82rem; }
.button-light { background: var(--cream); color: var(--navy); box-shadow: 4px 4px 0 var(--coral); }
.button-paper { background: var(--paper); }
.button-outline { background: transparent; box-shadow: none; }
.button-outline:hover { transform: none; box-shadow: none; background: var(--lime); }
.button-large { min-height: 64px; min-width: min(100%, 340px); padding-inline: 25px; font-size: 1.03rem; }
.text-link, .card-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; color: inherit; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.as-button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.index, .kicker, .field-tag { font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.field-tag { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 27px; padding-bottom: 11px; border-bottom: 1px solid currentColor; }

.hero { overflow: hidden; background: var(--cream); border-bottom: 2px solid var(--ink); }
.hero-grid { min-height: 740px; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(50px, 8vw, 110px); align-items: center; padding-block: 82px 90px; }
.hero h1 { max-width: 760px; margin: 0; font-family: var(--display); font-size: clamp(4.2rem, 6.6vw, 7.25rem); line-height: .89; letter-spacing: -.067em; text-transform: uppercase; }
.hero h1 em { display: block; margin-top: 13px; color: var(--blue); font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; text-transform: none; }
.hero-lede { max-width: 690px; margin: 31px 0 0; color: #454d48; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 29px; margin-top: 33px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 32px 0 0; padding: 0; list-style: none; color: #4f5953; font-size: .78rem; font-weight: 700; }
.trust-list li::before { content: '✓'; margin-right: 7px; color: #146446; font-weight: 900; }
.lead-board { position: relative; min-height: 565px; padding: 31px; border: 2px solid var(--ink); border-radius: 22px; background: #e9e5d9; box-shadow: 10px 10px 0 var(--navy); transform: rotate(1deg); }
.board-pin { position: absolute; top: 15px; width: 15px; height: 15px; border: 2px solid var(--ink); border-radius: 50%; background: var(--coral); box-shadow: 1px 2px 0 var(--ink); }
.pin-one { left: 19px; }.pin-two { right: 19px; background: var(--blue); }
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding: 9px 0 15px; border-bottom: 1px dashed #7f7e75; font: 800 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.ready { display: flex; align-items: center; gap: 7px; color: #1e6149; }
.ready i { width: 8px; height: 8px; display: block; border-radius: 50%; background: #2a895c; box-shadow: 0 0 0 5px rgba(42,137,92,.14); }
.lead-card { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 13px; align-items: center; min-height: 83px; padding: 12px; border: 1px solid #a5a49a; border-radius: 12px; background: var(--cream); box-shadow: 0 8px 24px rgba(16,39,52,.06); }
.lead-card.urgent { border-color: #cb4938; }
.lead-card .stage { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: var(--navy); color: var(--cream); font: 800 .7rem var(--sans); }
.lead-card.urgent .stage { background: var(--coral); color: var(--ink); }
.lead-card strong, .lead-card small { display: block; }
.lead-card small { margin-top: 2px; color: #666c68; font-size: .73rem; }
.lead-card time { color: #555b57; font: 700 .66rem var(--sans); }
.check { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: #164531; }
.board-connector { height: 36px; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 18px; padding-left: 12px; color: #555b57; font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.board-connector span { width: 2px; height: 25px; margin: auto; background: var(--ink); }
.board-result { display: flex; justify-content: space-between; gap: 18px; margin-top: 21px; padding: 14px 0 0; border-top: 2px solid var(--ink); }
.board-result span { color: #606762; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.board-result strong { text-align: right; }
.board-stamp { position: absolute; right: -28px; bottom: -26px; padding: 11px 14px; border: 3px double var(--coral); background: var(--cream); color: #b32d1e; font: 800 .67rem/1.2 var(--sans); letter-spacing: .1em; text-align: center; transform: rotate(-6deg); }
.principle-strip { overflow: hidden; padding: 15px 0; background: var(--navy); color: var(--cream); font: 800 .78rem var(--sans); letter-spacing: .12em; white-space: nowrap; }
.principle-strip div { width: max-content; }

.thesis { display: grid; grid-template-columns: .25fr 1fr; gap: 50px; padding-block: 120px; }
.margin-label { margin: 6px 0 0; color: #a82a1c; font: 800 .7rem var(--sans); letter-spacing: .13em; text-transform: uppercase; writing-mode: vertical-rl; }
.thesis h2 { max-width: 950px; margin: 0; font-family: var(--serif); font-size: clamp(3.3rem, 5.9vw, 6.2rem); font-weight: 400; line-height: .99; letter-spacing: -.052em; }
.thesis h2 em { color: var(--blue); }
.thesis div > p { max-width: 740px; margin: 31px 0 0; color: var(--muted); font-size: 1.08rem; }

.section { padding-block: 120px; }
.section-heading { display: grid; grid-template-columns: .27fr 1fr; gap: 50px; align-items: start; margin-bottom: 55px; }
.section-heading .index { margin: 9px 0 0; color: #b52d1e; }
.section-heading h2 { max-width: 900px; margin: 0; font-family: var(--display); font-size: clamp(3.2rem, 5vw, 5.6rem); line-height: .92; letter-spacing: -.055em; text-transform: uppercase; }
.section-heading div > p { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.service-card { position: relative; min-height: 560px; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); box-shadow: var(--soft-shadow); }
.service-card.featured { min-height: 660px; grid-row: span 2; display: grid; grid-template-columns: 70px 1fr; align-content: start; border: 2px solid var(--navy); background: var(--navy); color: var(--cream); box-shadow: 8px 8px 0 var(--coral); }
.service-index { color: #9ea49f; font: 400 4.8rem/1 var(--serif); }
.featured .service-index { color: var(--lime); }
.kicker { margin: 6px 0 19px; color: #b62d1e; }
.featured .kicker { color: var(--lime); }
.service-card h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 4.4rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.service-card > p, .service-copy > p:not(.kicker) { color: #535d57; }
.featured .service-copy > p:not(.kicker) { color: #d5dcd9; }
.service-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 27px 0 0; padding: 0; list-style: none; }
.service-copy li { padding: 9px 11px; border: 1px solid #46606d; border-radius: 8px; color: #e5e9e6; font-size: .77rem; }
.mini-flow { grid-column: 2; align-self: end; display: flex; align-items: center; gap: 9px; margin-top: 65px; padding: 20px; border: 1px dashed #748893; border-radius: 12px; background: rgba(255,255,255,.04); }
.mini-flow span { flex: 1; padding: 13px 8px; border-radius: 8px; background: var(--cream); color: var(--navy); font-size: .7rem; font-weight: 900; text-align: center; }
.mini-flow span:last-child { background: var(--lime); }
.mini-flow i { width: 25px; height: 2px; background: var(--coral); }
.service-card:not(.featured) h3 { font-size: clamp(2.5rem, 3.4vw, 3.7rem); }
.service-card:not(.featured) .card-link { position: relative; z-index: 2; margin-top: 21px; }
.browser-card { position: absolute; right: 28px; bottom: -30px; width: min(66%, 310px); min-height: 225px; padding: 14px 18px; border: 2px solid var(--ink); border-radius: 10px 10px 0 0; background: #fff; box-shadow: 5px 5px 0 var(--blue); transform: rotate(-2deg); }
.browser-card > div { display: flex; gap: 5px; margin: -14px -18px 18px; padding: 9px; background: var(--navy); }
.browser-card i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.browser-card b { display: block; font-family: var(--display); font-size: 1.08rem; }
.browser-card > span { height: 7px; display: block; margin-top: 10px; border-radius: 99px; background: #c4c8c6; }
.browser-card > span.short { width: 60%; }
.browser-card button { margin-top: 20px; padding: 8px 15px; border: 0; border-radius: 6px; background: var(--lime); font-weight: 900; }
.ink-card { background: var(--blue); color: var(--cream); border-color: var(--blue); }
.ink-card .service-index { color: #d8e0ff; }
.ink-card .kicker { color: var(--yellow); }
.ink-card > p { color: #e1e6fb; }
.loop-card { position: absolute; right: 24px; bottom: 25px; display: grid; grid-template-columns: repeat(5,auto); align-items: center; gap: 7px; }
.loop-card span, .loop-card b { min-width: 45px; padding: 11px 8px; border: 1px solid #a6b7ff; border-radius: 50%; color: #f2f4ff; font-size: .63rem; text-align: center; }
.loop-card b { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.adjacent-work { display: flex; justify-content: space-between; gap: 30px; margin-top: 16px; padding: 21px 24px; border: 1px solid var(--line); border-radius: 12px; background: #e9e5d9; color: #4c5650; font-size: .87rem; }
.adjacent-work p { max-width: 760px; margin: 0; }
.adjacent-work span { color: #4f5651; font-size: .75rem; text-align: right; }

.method { background: var(--navy); color: var(--cream); }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 150px); }
.method-copy { position: sticky; top: 125px; align-self: start; }
.method .index { color: var(--lime); }
.method h2 { margin: 23px 0; font-family: var(--display); font-size: clamp(3.8rem, 6vw, 6.4rem); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.method h2 em { color: var(--lime); font-family: var(--serif); font-weight: 400; text-transform: none; }
.method-copy > p:not(.index) { max-width: 520px; color: #cad4d7; }
.method-copy .button { margin-top: 22px; }
.method-steps { margin: 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 70px 1fr auto; gap: 19px; align-items: start; padding: 30px 0; border-top: 1px solid #526773; }
.method-steps li:last-child { border-bottom: 1px solid #526773; }
.method-steps li > span { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #82949d; border-radius: 50%; color: var(--lime); font-weight: 800; }
.method-steps h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.method-steps p { margin: 8px 0 0; color: #cbd5d8; }
.method-steps small { padding: 6px 9px; border: 1px solid #667b86; border-radius: 999px; color: #d9e0e2; font-size: .65rem; white-space: nowrap; }

.work-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.work-card { position: relative; min-height: 480px; overflow: hidden; padding: 29px; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); box-shadow: var(--soft-shadow); }
.work-card.lead-audit { min-height: 680px; grid-row: span 2; background: var(--yellow); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.status { display: inline-flex; padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px; color: #4c5952; font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.status.early { background: var(--cream); color: #8c261b; }
.status.working { color: #174c37; }
.status.soon { color: #555d58; }
.status.beta { color: #24448f; }
.work-card h3 { margin: 25px 0 13px; font-family: var(--serif); font-size: clamp(3rem, 4.4vw, 5rem); font-weight: 400; line-height: .95; letter-spacing: -.04em; }
.work-card p { max-width: 620px; color: #535c57; }
.work-card > a { display: inline-flex; justify-content: space-between; gap: 40px; margin-top: 14px; font-weight: 800; text-underline-offset: 6px; }
.scorecard { position: absolute; right: 25px; bottom: -25px; width: 70%; min-height: 290px; padding: 25px; border: 2px solid var(--ink); border-radius: 12px 12px 0 0; background: var(--cream); box-shadow: 5px 5px 0 var(--blue); transform: rotate(-2deg); }
.scorecard span { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .65rem; font-weight: 800; }
.scorecard i { height: 9px; display: block; border-radius: 99px; background: linear-gradient(90deg,var(--coral) 0 38%,#d8d8d1 38%); }
.scorecard span:nth-child(2) i { background: linear-gradient(90deg,var(--yellow) 0 61%,#d8d8d1 61%); }
.scorecard span:nth-child(3) i { background: linear-gradient(90deg,var(--blue) 0 46%,#d8d8d1 46%); }
.scorecard b { display: block; margin-top: 32px; padding: 14px; background: var(--navy); color: var(--cream); font-size: .72rem; text-align: center; }
.factory { background: var(--mint); }
.factory-flow { position: absolute; right: 23px; bottom: 29px; display: flex; align-items: center; gap: 7px; }
.factory-flow span, .factory-flow b { padding: 9px 10px; border: 1px solid var(--ink); border-radius: 7px; background: var(--cream); font-size: .62rem; }
.factory-flow b { background: var(--navy); color: var(--cream); }
.maxops { color: var(--cream); background: var(--navy); }
.maxops p { color: #c9d4d7; }
.maxops .status { color: var(--mint); }
.dashboard { position: absolute; right: -9px; bottom: -13px; width: 63%; min-height: 230px; border: 1px solid #59717e; border-radius: 10px 0 0 0; background: #142f3e; transform: rotate(1.5deg); }
.dash-top { display: flex; gap: 5px; padding: 10px; border-bottom: 1px solid #46606d; }
.dash-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.dash-grid span { height: 58px; border: 1px solid #486573; background: linear-gradient(135deg,#1c3c4b,#112936); }
.dash-grid b { grid-column: 1/-1; height: 18px; background: var(--lime); opacity: .8; }

.about { background: #e7e1d3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(65px, 10vw, 150px); }
.about-title { position: sticky; top: 125px; align-self: start; }
.about-title .index { color: #b52d1e; }
.about h2 { margin: 23px 0; font-family: var(--display); font-size: clamp(3.7rem, 5.4vw, 6rem); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.route-line { height: 50px; display: flex; align-items: center; justify-content: space-between; margin-top: 45px; border-top: 2px solid var(--ink); }
.route-line i { width: 15px; height: 15px; margin-top: -8px; border: 2px solid var(--ink); border-radius: 50%; background: var(--cream); }
.route-line i:nth-child(3) { width: 24px; height: 24px; margin-top: -13px; background: var(--coral); }
.about-copy .big { margin: 0 0 30px; font-family: var(--serif); font-size: clamp(2.5rem, 3.8vw, 4.2rem); line-height: 1.02; letter-spacing: -.038em; }
.about-copy > p:not(.big) { color: #505853; font-size: 1.05rem; }
.about-copy dl { margin: 50px 0 0; }
.about-copy dl > div { display: grid; grid-template-columns: .42fr 1fr; gap: 25px; padding: 21px 0; border-top: 1px solid #aaa79d; }
.about-copy dl > div:last-child { border-bottom: 1px solid #aaa79d; }
.about-copy dt { font-weight: 800; }
.about-copy dd { margin: 0; color: #555d58; }

.faq .section-heading { margin-bottom: 15px; }
.faq-list { max-width: 940px; margin-left: auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 1fr auto; gap: 25px; padding: 25px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.15rem); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-family: var(--sans); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; margin: -4px 0 28px; color: var(--muted); }

.guides-band { padding-block: 110px; overflow: hidden; background: var(--blue); color: var(--cream); }
.guides-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.guides-band .index { color: var(--yellow); }
.guides-band h2 { margin: 22px 0; font-family: var(--display); font-size: clamp(4rem, 6vw, 6.4rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.guides-band p:not(.index) { max-width: 520px; color: #e0e5fa; }
.guides-band .button { margin-top: 20px; }
.guide-covers { position: relative; min-height: 500px; }
.guide-covers span { position: absolute; width: 220px; height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 2px solid var(--ink); border-radius: 5px; color: var(--ink); box-shadow: 9px 9px 0 rgba(10,19,25,.65); }
.guide-covers small { font-weight: 900; }
.guide-covers b { font-family: var(--display); font-size: 2rem; line-height: .88; }
.cover-one { left: 0; top: 0; z-index: 3; background: var(--yellow); transform: rotate(-8deg); }
.cover-two { left: 31%; top: 82px; z-index: 2; background: var(--mint); transform: rotate(3deg); }
.cover-three { right: 0; top: 147px; background: var(--cream); transform: rotate(10deg); }

.final-cta { padding-block: 115px; text-align: center; background: var(--cream); }
.final-cta .shell { position: relative; }
.hand-note { margin: 0 0 20px; color: #b72e1f; font: italic 1.2rem var(--serif); }
.final-cta h2 { max-width: 1000px; margin: 0 auto; font-family: var(--display); font-size: clamp(4rem, 7vw, 7.6rem); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
.final-cta > .shell > p:not(.hand-note) { max-width: 670px; margin: 28px auto 0; color: var(--muted); font-size: 1.05rem; }
.final-cta .button { margin-top: 33px; }
.final-cta.compact h2 { font-size: clamp(3.6rem, 5.8vw, 6rem); }
.site-footer { padding-block: 54px 25px; background: var(--navy); color: var(--cream); }
.site-footer .brand { color: var(--cream); }
.site-footer .brand strong { color: #ff806d; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 45px; align-items: start; }
.footer-grid > p { max-width: 290px; margin: 4px 0 0; color: #b8c6cb; }
.footer-grid nav { display: grid; justify-self: end; gap: 8px; }
.footer-grid nav a { color: #dbe3e5; text-decoration: none; }
.footer-grid nav a:hover { text-decoration: underline; }
.footer-fine { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 18px; border-top: 1px solid #506672; color: #a8bac0; font-size: .72rem; }

.audit-dialog { width: min(760px, calc(100% - 30px)); max-height: calc(100dvh - 30px); padding: 42px; border: 2px solid var(--ink); border-radius: 18px; background: var(--cream); color: var(--ink); box-shadow: 10px 10px 0 var(--navy); }
.audit-dialog::backdrop { background: rgba(8,18,24,.78); backdrop-filter: blur(4px); }
.audit-dialog .dialog-close { position: absolute; right: 16px; top: 13px; width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.5rem; }
.audit-dialog > .index { margin: 0 0 13px; color: #b62d1e; }
.audit-dialog > h2 { max-width: 590px; margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.audit-dialog > p:not(.index) { color: var(--muted); }
.audit-dialog form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.audit-dialog label { display: grid; gap: 6px; font-size: .75rem; font-weight: 800; }
.audit-dialog input, .audit-dialog textarea, .audit-dialog select { width: 100%; min-height: 48px; padding: 11px; border: 1px solid #979b96; border-radius: 8px; background: #fff; color: var(--ink); }
.audit-dialog textarea { resize: vertical; }
.audit-dialog .full { grid-column: 1 / -1; }
.form-note, .form-status { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 500; }
.form-status { padding: 11px; border: 1px solid #7c9261; border-radius: 8px; background: #edf5da; color: #31421e; }

.page-hero { padding-block: 100px 110px; border-bottom: 2px solid var(--ink); background: var(--cream); }
.page-hero h1 { max-width: 1000px; margin: 0; font-family: var(--display); font-size: clamp(4.7rem, 9vw, 9.5rem); line-height: .86; letter-spacing: -.07em; text-transform: uppercase; }
.page-hero h1 em { color: var(--blue); font-family: var(--serif); font-weight: 400; text-transform: none; }
.page-hero > .shell > p:last-child { max-width: 720px; margin: 33px 0 0; color: var(--muted); font-size: 1.12rem; }
.product-list { display: grid; gap: 14px; }
.product-card { display: grid; grid-template-columns: 90px 1fr .34fr; gap: 30px; min-height: 400px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.product-card.featured-product { border: 2px solid var(--ink); background: var(--yellow); box-shadow: var(--shadow); }
.product-number { color: #747b76; font: 400 4.6rem/1 var(--serif); }
.product-main h2 { margin: 25px 0 13px; font-family: var(--serif); font-size: clamp(3rem, 4.5vw, 5rem); font-weight: 400; line-height: .95; letter-spacing: -.04em; }
.product-main > p { max-width: 650px; color: #525b56; }
.product-main ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.product-main li { padding: 7px 10px; border: 1px solid #aeb0a8; border-radius: 999px; font-size: .72rem; }
.product-action { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding-left: 28px; border-left: 1px solid var(--line); }
.product-action > span { color: #4b514d; font-size: .72rem; font-weight: 700; }
.product-action .button { align-self: stretch; }
.catalog-note { padding-block: 80px; background: var(--navy); color: var(--cream); }
.catalog-note > .shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: end; }
.catalog-note h2 { margin: 15px 0 0; font-family: var(--display); font-size: clamp(2.8rem, 4vw, 4.7rem); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }
.catalog-note > .shell > p { color: #c6d1d5; }
.policy-hero h1 { max-width: 900px; }
.policy { display: grid; grid-template-columns: .3fr 1fr; gap: 80px; }
.policy-meta { position: sticky; top: 125px; align-self: start; display: grid; gap: 7px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.policy-meta span { margin-top: 7px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.policy-copy { max-width: 800px; }
.policy-copy section { padding: 0 0 35px; }
.policy-copy h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 2.4rem; font-weight: 400; }
.policy-copy p { color: #545d57; }
.policy-copy aside { padding: 24px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }
.policy-copy aside p { margin-bottom: 0; color: #454b47; }
.not-found { min-height: 100dvh; display: grid; place-items: center; padding: 30px; background: var(--cream); }
.not-found > div { max-width: 790px; text-align: center; }
.not-found .brand { margin-bottom: 70px; text-align: left; }
.not-found h1 { margin: 18px 0; font-family: var(--display); font-size: clamp(4rem, 9vw, 8rem); line-height: .9; letter-spacing: -.065em; text-transform: uppercase; }
.not-found p:not(.index) { color: var(--muted); }
.not-found .button { margin-top: 20px; }

[data-reveal] { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-header nav { gap: 16px; }
  .site-header nav > a { font-size: .8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 75px; }
  .lead-board { width: min(100%, 700px); margin-inline: auto; }
  .service-grid, .work-grid { grid-template-columns: 1fr; }
  .service-card.featured, .work-card.lead-audit { grid-row: auto; }
  .service-card.featured { min-height: 620px; }
  .work-card.lead-audit { min-height: 650px; }
  .method-grid { gap: 70px; }
  .product-card { grid-template-columns: 75px 1fr; }
  .product-action { grid-column: 2; flex-direction: row; align-items: center; padding: 25px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 960px) {
  .site-header nav { position: fixed; inset: 84px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 24px; background: var(--paper); border-bottom: 2px solid var(--ink); box-shadow: 0 12px 0 var(--coral); }
  .site-header nav[data-open] { display: flex; }
  .site-header nav > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-header nav .button { margin-top: 20px; }
  .menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 2px solid var(--ink); border-radius: 8px; background: var(--lime); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
  .menu-button span:not(.sr-only) { width: 21px; height: 2px; display: block; background: var(--ink); }
  .thesis, .section-heading, .method-grid, .about-grid, .guides-grid, .policy, .catalog-note > .shell { grid-template-columns: 1fr; }
  .margin-label { writing-mode: horizontal-tb; }
  .method-copy, .about-title, .policy-meta { position: static; }
  .section-heading { gap: 20px; }
  .section-heading .index { margin-top: 0; }
  .guides-grid { gap: 50px; }
  .guide-covers { width: min(100%, 650px); margin: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .brand { grid-column: 1 / -1; }
  .catalog-note > .shell { gap: 25px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 30px, 1200px); }
  .site-header { min-height: 74px; padding-inline: 15px; }
  .site-header nav { top: 74px; }
  .brand-mark { width: 39px; height: 39px; }
  .hero-grid { min-height: auto; padding-block: 58px 70px; }
  .field-tag { flex-wrap: wrap; gap: 6px 15px; }
  .hero h1 { font-size: clamp(3.45rem, 15.5vw, 4.65rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: flex-start; }
  .trust-list { display: grid; }
  .lead-board { min-height: 535px; padding: 25px 15px; border-radius: 14px; box-shadow: 6px 6px 0 var(--navy); transform: none; }
  .lead-card { grid-template-columns: 39px 1fr; }
  .lead-card time, .lead-card .check { grid-column: 2; justify-self: start; }
  .board-result { display: grid; }
  .board-result strong { text-align: left; }
  .board-stamp { display: none; }
  .thesis { gap: 20px; padding-block: 82px; }
  .thesis h2 { font-size: 3.15rem; }
  .section { padding-block: 84px; }
  .section-heading { margin-bottom: 37px; }
  .section-heading h2 { font-size: 3.15rem; }
  .service-card { min-height: 520px; padding: 22px; border-radius: 14px; }
  .service-card.featured { min-height: 760px; grid-template-columns: 1fr; box-shadow: 5px 5px 0 var(--coral); }
  .service-card h3, .service-card:not(.featured) h3 { font-size: 2.65rem; }
  .service-index { font-size: 3.8rem; }
  .service-copy ul { grid-template-columns: 1fr; }
  .mini-flow { grid-column: 1; flex-wrap: wrap; margin-top: 45px; padding: 14px; }
  .mini-flow i { width: 10px; }
  .browser-card { right: 20px; width: 75%; }
  .loop-card { right: 15px; bottom: 20px; grid-template-columns: repeat(3,auto); }
  .loop-card b:last-child { grid-column: 3; }
  .adjacent-work { display: grid; padding: 18px; }
  .adjacent-work span { text-align: left; }
  .method h2 { font-size: 3.75rem; }
  .method-steps li { grid-template-columns: 52px 1fr; }
  .method-steps li small { grid-column: 2; justify-self: start; }
  .method-steps li > span { width: 44px; height: 44px; }
  .work-card { min-height: 520px; padding: 22px; }
  .work-card.lead-audit { min-height: 660px; box-shadow: 5px 5px 0 var(--ink); }
  .work-card h3 { font-size: 3.3rem; }
  .scorecard { right: 15px; width: 84%; }
  .factory-flow { left: 22px; right: auto; flex-wrap: wrap; }
  .dashboard { width: 78%; }
  .about h2 { font-size: 3.8rem; }
  .about-copy .big { font-size: 2.5rem; }
  .about-copy dl > div { grid-template-columns: 1fr; gap: 6px; }
  .faq-list summary { font-size: 1.45rem; }
  .guides-band { padding-block: 85px; }
  .guides-band h2 { font-size: 3.85rem; }
  .guide-covers { min-height: 440px; }
  .guide-covers span { width: 170px; height: 260px; padding: 17px; }
  .guide-covers b { font-size: 1.45rem; }
  .cover-two { left: 19%; top: 90px; }
  .cover-three { right: 0; top: 165px; }
  .final-cta { padding-block: 85px; }
  .final-cta h2, .final-cta.compact h2 { font-size: clamp(2.8rem, 12.4vw, 3.2rem); letter-spacing: -.055em; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .brand { grid-column: auto; }
  .footer-grid nav { justify-self: start; }
  .footer-fine { display: grid; gap: 5px; }
  .audit-dialog { padding: 34px 18px 24px; border-radius: 12px; }
  .audit-dialog form { grid-template-columns: 1fr; }
  .audit-dialog .full { grid-column: auto; }
  .page-hero { padding-block: 70px 80px; }
  .page-hero h1 { font-size: 4rem; }
  .product-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .product-number { font-size: 3.7rem; }
  .product-main h2 { font-size: 3rem; }
  .product-action { grid-column: 1; flex-direction: column; align-items: stretch; }
  .policy-meta { padding: 18px; }
  .not-found h1 { font-size: 4rem; }
}

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