/* M. Tech / Signal — local fonts, no external requests. */
@font-face { font-family: 'Space Grotesk'; src: url('assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('assets/fonts/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  --paper: #f4f5f0; --band: #e9ece4; --card: #fff; --ink: #181e20; --muted: #606a6c; --line: #d9ded7;
  --green: #31533a; --green-d: #1d3b26; --deep: #101416; --red: #a43f32; --mint: #b78363;
  --term-text: #d8e0d2; --term-dim: #97a599;
  --display: 'Space Grotesk', Arial, sans-serif; --sans: Manrope, system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --gutter: clamp(20px, 4vw, 64px); --trans: .22s ease;
  --shadow-sm: 0 2px 8px #10141608; --shadow-md: 0 12px 32px #1014160c; --shadow-lg: 0 24px 70px #0004;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--deep); color: #f4f6ef; font: 15px/1.75 var(--sans); }
h1,h2,h3,h4,p { margin: 0; }
h1,h2,h3,h4 { font-family: var(--display); line-height: 1.12; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
a { color: inherit; text-underline-offset: 4px; }
button,input,textarea,select { font: inherit; }
button,a,input,textarea,select,summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
img,svg { max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #779c2c; outline-offset: 5px; }
::selection { background: var(--mint); color: var(--deep); }
.wrap { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--mint); color: var(--deep); z-index: 500; }
.skip:focus { top: 12px; }
.sr-copy { position: absolute; left: -9999px; }
.announce { background: var(--mint); color: var(--deep); text-align: center; padding: 10px var(--gutter); font-size: 0.94rem; }
.eyebrow,.micro-label { font: 500 0.79rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.eyebrow { display: block; color: var(--green); margin-bottom: 20px; }
.site-header { position: sticky; top: 0; z-index: 30; background: #101416f2; backdrop-filter: blur(18px); border-bottom: 1px solid #ffffff12; }
.header-in { min-height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.brand-name { display: grid; font: 600 1.35rem/1.05 var(--display); letter-spacing: -.07em; }
.brand-name > span { font: 500 0.75rem/1 var(--sans); text-transform: uppercase; letter-spacing: .22em; margin-top: 7px; }
.mark { display: grid; place-items: center; height: 40px; width: 40px; border: 1px solid #b7836377; border-radius: 10px; background: #b783630a; }
.mark i { display: block; width: 23px; height: 20px; background: var(--mint); clip-path: polygon(0 100%,0 0,22% 0,50% 41%,78% 0,100% 0,100% 100%,76% 100%,76% 40%,50% 76%,24% 40%,24% 100%); }
.nav { margin-left: auto; display: flex; gap: 30px; }
.nav a { text-decoration: none; color: #b2b9b7; font-size: 0.89rem; transition: color var(--trans); }
.nav a:hover { color: var(--mint); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 24px; border: 1px solid var(--mint); border-radius: 8px; color: var(--deep); background: var(--mint); font: 700 0.92rem/1.4 var(--sans); text-decoration: none; transition: transform var(--trans), background var(--trans), box-shadow var(--trans); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); background: #e3ff9a; box-shadow: 0 8px 24px #bada701a; }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding-inline: 20px; font-size: 0.85rem; }
.btn-ghost { background: transparent; color: inherit; border-color: #a9b2a7; }
.btn-ghost:hover { background: #b7836333; }
.btn-danger { background: transparent; border-color: var(--red); color: var(--red); }
.link-btn { border: 0; background: transparent; padding: 8px 2px; color: var(--green); font-size: 0.88rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid #ffffff26; border-radius: 8px; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 1.5px; background: #f4f6ef; transition: transform var(--trans), opacity var(--trans); }
.nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* The first screen: editorial type beside an illustrated, working shell. */
.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(36px,5vw,84px); padding-block: 70px 64px; position: relative; }
.hero-copy { min-width: 0; }
.stage-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid #ffffff1c; border-radius: 5px; color: #a8b3a4; font: 0.78rem/1.5 var(--mono); margin-bottom: 28px; }
.stage-label > span { height: 5px; width: 5px; background: var(--mint); border-radius: 50%; }
.hero .eyebrow { color: #9ca49d; font-size: 0.77rem; margin-bottom: 18px; letter-spacing: .14em; }
.hero h1 { font-size: clamp(3.6rem,5.55vw,5.3rem); line-height: 1.035; letter-spacing: -.065em; max-width: 12ch; }
.hero h1.long-title { font-size: clamp(2.5rem,4vw,4rem); max-width: 18ch; }
.hero h1 > span { display: block; color: var(--mint); }
.hero .lead { color: #aeb7b2; margin-top: 28px; font-size: .91rem; line-height: 1.9; max-width: 49ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.hero-actions .btn { font-size: 0.87rem; padding-inline: 20px; gap: 14px; }
.hero-secondary { display: inline-flex; gap: 12px; align-items: center; font-size: 0.86rem; text-decoration: none; }
.hero-secondary span { font-family: Arial,sans-serif; font-size: 1.2rem; }
.hero-secondary:hover { color: var(--mint); }
.hero-note { margin-top: 24px; color: #929e96; font-size: 0.80rem; line-height: 1.8; max-width: 58ch; }
.service-points { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; font-size: 0.78rem; color: #aeb9af; }
.service-points span::before { content: ''; display: inline-block; width: 4px; height: 4px; border: 1px solid var(--mint); margin: 0 6px 2px 0; }
.hero-workspace { min-width: 0; position: relative; }
.hero-workspace::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center,#b783630b,transparent 65%); pointer-events: none; z-index: -1; }
.term { display: flex; flex-direction: column; min-width: 0; height: 260px; border: 1px solid #ffffff20; border-top-color: #ffffff0e; border-radius: 0 0 14px 14px; background: #0b1011; color: var(--term-text); box-shadow: 0 25px 40px #0002; overflow: hidden; }
.term-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #ffffff0d; font: 0.77rem var(--mono); }
.term-title { color: #acb7aa; }
.term-title::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--mint); border-radius: 50%; margin-right: 8px; }
.term-hint { color: #8f9d91; font-size: 0.75rem; }
.term-out { flex: 1; min-height: 0; padding: 12px 18px 6px; overflow-y: auto; scrollbar-color: #42513d transparent; font: 0.77rem/1.65 var(--mono); }
.term-out:focus-visible { outline-offset: -3px; }
.tl { white-space: pre-wrap; overflow-wrap: anywhere; }
.tl-dim { color: #91a08e; }
.tl-err { color: #ffaaa1; }
.tl-head { color: var(--mint); margin-top: 4px; }
.tl-cmd .tp { color: #9fc77b; margin-right: 6px; }
.caret::after { content: '▍'; color: var(--mint); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.term-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 7px 18px 10px; }
.chip { border: 1px solid #c7e29630; border-radius: 4px; background: #c7e29607; color: #b6c7aa; padding: 3px 10px; font: 0.76rem/1.6 var(--mono); }
.chip:hover { background: #c7e29622; color: var(--mint); }
.term-form { display: flex; align-items: center; gap: 9px; padding: 10px 18px; border-top: 1px solid #ffffff12; font: 0.80rem var(--mono); }
.term-prompt { color: #b7d394; white-space: nowrap; }
.term-form input { min-width: 0; flex: 1; padding: 0; border: 0; border-radius: 0; background: transparent; color: #e7ecdf; font: 0.80rem var(--mono); }
.term-form input::placeholder { color: #8e9d87; }
.term-form input:focus-visible { outline: 0; }
.term-form:focus-within { box-shadow: inset 2px 0 var(--mint); }
.capability-strip { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-block: 26px 32px; border-top: 1px solid #ffffff18; color: #c1c8c1; font: 400 0.88rem var(--display); }
.capability-strip .strip-label { color: #949f96; font: 0.75rem var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.capability-strip [aria-hidden] { color: #728066; font-size: 0.92rem; }
/* Services: a calm, light workspace for choosing and comparing. */
.section { padding-block: clamp(64px,7vw,108px); background: var(--paper); color: var(--ink); }
#services { border-radius: 28px 28px 0 0; }
.section-head { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 90px; align-items: end; margin-bottom: 42px; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2,.process h2,.contact h2 { font-size: clamp(2.5rem,4.2vw,4rem); letter-spacing: -.055em; }
.section-head > p:last-child { font-size: .87rem; line-height: 1.9; color: var(--muted); max-width: 49ch; padding-bottom: 4px; }
.practitioner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; border: 1px solid var(--line); background: #e9ece4; border-radius: 12px; padding: 26px 30px; margin-bottom: 40px; }
.practitioner-heading { display: flex; align-items: center; gap: 18px; }
.profile-mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #202b23; color: var(--mint); font: 600 2.5rem var(--display); letter-spacing: -.13em; padding-right: 5px; position: relative; }
.profile-mark span { position: absolute; right: 8px; bottom: 5px; color: #a4c654; }
.practitioner .eyebrow { font-size: 0.75rem; margin-bottom: 7px; }
.practitioner h3 { font-size: 1.4rem; }
.practitioner-heading p:last-child { margin-top: 7px; color: var(--muted); font-size: 0.79rem; }
.practitioner-copy { color: var(--muted); font-size: 0.85rem; line-height: 1.9; }
.development-note { margin-top: 10px; color: #586552; font-size: 0.82rem; }
.service-tools { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.service-search { width: min(100%,420px); }
.service-search label { display: block; color: var(--muted); font: 0.79rem var(--mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 9px; }
.service-search input { background: #fff; min-height: 46px; font-size: 0.92rem; }
.service-tools > p { padding-bottom: 13px; color: var(--muted); font: 0.80rem var(--mono); white-space: nowrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.tab { border: 1px solid #cfd6cc; border-radius: 6px; padding: 9px 15px; background: transparent; color: #4b554f; font-size: 0.80rem; font-weight: 600; transition: background var(--trans), color var(--trans); }
.tab:hover { background: #e1e7d8; }
.tab[aria-pressed=true] { color: #f5f7ef; background: #202a24; border-color: #202a24; }
.sheet-wrap { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 28px; align-items: start; }
.sheet { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.cat { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 22px 0 4px; color: #616c61; font: 500 0.79rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.cat::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.cat:first-child { margin-top: 0; }
.row { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid #dce1d7; border-radius: 12px; background: #fff; transition: transform var(--trans),border-color var(--trans),box-shadow var(--trans); }
.row:hover { transform: translateY(-3px); border-color: #a6b594; box-shadow: 0 10px 24px #293b1610; }
.row:has(.add[aria-pressed=true]) { border-color: #6f8f3d; box-shadow: inset 0 0 0 1px #6f8f3d; background: #fbfdf6; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.service-card-top svg { width: 36px; height: 36px; padding: 7px; box-sizing: content-box; border: 1px solid #e3e9da; border-radius: 10px; color: #354f29; background: #f2f6e9; }
.service-card-top > span { font: 0.78rem var(--mono); color: #788374; }
.row .info { flex: 1; }
.row h4 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.035em; max-width: 24ch; }
.row .scope { color: var(--muted); font-size: 0.85rem; line-height: 1.85; margin-top: 12px; }
.service-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 17px; border-top: 1px solid #e8ebe4; }
.price { font-variant-numeric: tabular-nums; }
.price strong { display: block; font: 600 0.82rem var(--sans); }
.price span { font-size: 0.77rem; color: var(--muted); }
.add { min-height: 38px; padding: 8px 12px; border: 1px solid #c7d1bd; border-radius: 5px; background: transparent; color: #31533a; font-size: 0.80rem; font-weight: 700; transition: background var(--trans); }
.add:hover { background: #eef4df; }
.add[aria-pressed=true] { color: #182317; background: #d5ed9f; border-color: #aac76f; }
.empty { color: var(--muted); font-size: 0.92rem; line-height: 1.9; padding-block: 10px; grid-column: 1 / -1; }
.slip { position: sticky; top: 112px; border: 1px solid #cdd6c1; border-radius: 12px; padding: 26px 22px; background: #e8eddd; box-shadow: 0 8px 20px #17230f05; }
.slip::before { content: 'YOUR PROJECT / START HERE'; display: block; margin-bottom: 23px; color: #5e7150; font: 0.75rem var(--mono); letter-spacing: .07em; }
.slip h3 { font-size: 1.6rem; letter-spacing: -.05em; }
.slip .empty { margin-top: 12px; font-size: 0.86rem; }
.slip:has(.empty)::after { content: '01   Choose your services\a 02   Review your selection\a 03   Start a conversation'; display: block; padding-top: 20px; margin-top: 20px; border-top: 1px dashed #b8c6a6; white-space: pre; font: 0.77rem/2.6 var(--mono); color: #607150; }
.slip-list { list-style: none; margin: 20px 0 0; padding: 0; }
.slip-item { padding: 14px 0; border-top: 1px dashed #c4cfb4; }
.slip-item .n { font-size: 0.88rem; font-weight: 650; line-height: 1.6; }
.slip-item .r { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 0.78rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 30px; height: 30px; border: 1px solid #c2cdb6; background: #f6f8ef; border-radius: 5px; color: var(--ink); font-size: .9rem; }
.stepper output { min-width: 22px; text-align: center; font-size: 0.85rem; color: var(--ink); }
.stepper .u { margin-left: 3px; }
.slip-total { padding-top: 16px; border-top: 1px solid #b3c39c; }
.slip-total .l { font-size: 0.78rem; color: var(--muted); }
.slip-total .v { font: 500 1.4rem/1.5 var(--display); letter-spacing: -.05em; }
.slip-fine { margin-top: 12px; font-size: 0.77rem; color: var(--muted); }
.slip-actions { display: grid; gap: 5px; margin-top: 20px; }
.slip-actions .btn { background: #253a24; color: #f5faef; border-color: #253a24; min-height: 44px; font-size: 0.81rem; padding-inline: 10px; }
/* Process: a deliberate change of pace and a simple, numbered route. */
.band { background: #192023; color: #f2f5ed; border-top: 1px solid #ffffff0b; }
.process { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; }
.band .eyebrow { color: #b4c28f; }
.steps { list-style: none; counter-reset: steps; padding: 0; margin: 40px 0 0; }
.steps li { counter-increment: steps; position: relative; padding: 0 0 30px 62px; }
.steps li::before { content: '0' counter(steps); position: absolute; left: 0; top: 2px; color: var(--mint); font: 400 1.25rem var(--display); }
.steps li::after { content: ''; position: absolute; top: 34px; bottom: 10px; left: 12px; width: 1px; background: #ffffff20; }
.steps li:last-child::after { display: none; }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { font-size: 1.15rem; letter-spacing: -.03em; }
.steps p { margin-top: 10px; color: #b1bcb5; font-size: 0.88rem; line-height: 1.9; }
.process-aside { padding-top: 48px; min-width: 0; }
.pay { border: 1px solid #cad7ac26; border-radius: 12px; padding: 28px; background: #c3d69e08; position: relative; }
.pay::before { content: ''; display: block; height: 3px; width: 32px; background: var(--mint); margin-bottom: 22px; }
.pay h3 { font-size: 1.4rem; }
.pay p { margin-top: 15px; color: #b3beb2; font-size: 0.90rem; line-height: 1.9; }
.pay dl { margin: 16px 0 0; }
.pay dt { color: #d7e3c7; font-size: 0.88rem; margin-top: 12px; }
.pay dd { margin: 4px 0 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 0.92rem; color: #bcc8b5; }
.questions { margin-top: 36px; }
.questions h3 { font-size: 1.3rem; margin-bottom: 14px; }
.questions details { border-bottom: 1px solid #ffffff1a; }
.questions summary { cursor: pointer; padding: 17px 14px 17px 0; color: #cfd8ce; font-size: 0.85rem; }
.questions summary::marker { color: var(--mint); font-size: 0.78rem; }
.questions details p { padding: 0 12px 18px 0; color: #aeb9b0; font-size: 0.85rem; line-height: 1.9; }
/* Contact: an oversized invitation with a quiet, usable form. */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact h2 { font-size: clamp(3.8rem,6.5vw,6.4rem); letter-spacing: -.07em; line-height: 1.02; }
.contact h2 span { color: #657e41; }
.contact-info > p:not(.eyebrow) { margin-top: 26px; color: var(--muted); font-size: 0.94rem; max-width: 38ch; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; }
.email-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 100%; }
.email-line a { font: 500 clamp(.9rem,1.35vw,1.3rem) var(--display); overflow-wrap: anywhere; }
.contact-links .btn { font-size: 0.84rem; min-height: 44px; }
.est-note { background: #e4ead8; border-left: 3px solid #809b53; padding: 15px; border-radius: 0 6px 6px 0; }
.est-note:empty { display: none; }
.form { display: grid; gap: 20px; padding: 32px; border: 1px solid #dce2d6; border-radius: 14px; background: #fff; box-shadow: 0 14px 50px #22321a08; }
.form-intro { padding-bottom: 20px; border-bottom: 1px solid #e4e8df; }
.form-intro .eyebrow { margin-bottom: 10px; font-size: 0.75rem; }
.form-intro p { font: 500 1.4rem var(--display); letter-spacing: -.04em; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 0.85rem; font-weight: 650; }
.field .hint { color: var(--muted); font-size: 0.84rem; }
input,select,textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #d4dbd0; border-radius: 6px; background: #f7f9f4; color: var(--ink); font: 0.94rem/1.5 var(--sans); transition: border-color var(--trans); }
input::placeholder,textarea::placeholder { color: #747e76; font-size: 0.85rem; }
input:hover,select:hover,textarea:hover { border-color: #91a280; }
input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 2px solid #9cbf65; outline-offset: 2px; }
input[aria-invalid=true],textarea[aria-invalid=true] { border-color: #ad493b; }
textarea { resize: vertical; min-height: 120px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--green); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.enquiry-privacy { color: var(--muted); font-size: 0.82rem; line-height: 1.85; }
.form-note { font-size: 0.84rem; color: var(--muted); }
.form-note:empty { display: none; }
.form-note.error { color: #a43f32; font-weight: 650; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.form-actions .btn { min-height: 44px; padding-inline: 15px; font-size: 0.79rem; }
.form-actions .btn:first-child { background: #263b27; color: white; border-color: #263b27; }
/* A typographic signature, with the real visitor counter retained. */
.site-footer { background: var(--deep); padding-block: 58px 30px; color: #e4e9df; }
.foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 50px; padding-top: 30px; }
.foot-brand p { font-size: 0.80rem; color: #a5b09f; margin-top: 12px; overflow-wrap: anywhere; }
.foot-brand .foot-stage { margin-top: 5px; font-size: 0.77rem; }
.foot-meta { display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; font-size: 0.78rem; color: #99a694; }
.counter { display: grid; justify-items: center; gap: 8px; }
.counter-label { font: 0.75rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #a1ae99; }
.counter-note { color: #a1ae99; font-size: 0.78rem; min-height: 1em; }
.odo { display: flex; gap: 3px; font: 500 1.25rem var(--mono); }
.odo-d { width: .9em; height: 1.35em; overflow: hidden; border: 1px solid #b0ce7826; border-radius: 3px; background: #c5e78608; color: #bed88e; }
.odo-strip { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * -1.35em)); transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.odo-strip span { display: block; height: 1.35em; line-height: 1.35em; text-align: center; }
.toast { position: fixed; z-index: 400; left: 50%; bottom: 24px; transform: translate(-50%,24px); background: #223225; color: #f2f5ee; padding: 14px 22px; border: 1px solid #89a15d; border-radius: 9px; max-width: calc(100% - 32px); font-size: 0.92rem; opacity: 0; pointer-events: none; transition: opacity var(--trans),transform var(--trans); box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.noscript { padding: 20px var(--gutter); color: #171e12; background: #d9edb2; }
/* Admin keeps the same authentication, focus management and editing flow. */
.modal-overlay { position: fixed; inset: 0; z-index: 300; padding: 12px; background: rgba(10,38,34,.65); display: none; align-items: center; justify-content: center; }
.modal-overlay:not([hidden]) { display: flex; }
#admin { width: min(1000px, 100% - 24px); height: min(720px, calc(100dvh - 24px)); max-height: calc(100dvh - 24px); background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; outline: none; }
.editor-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--card); }
.editor-top h2 { font-size: 1.35rem; margin-right: auto; }
.editor-badge { font-size: .85rem; padding: 4px 10px; border-radius: 999px; background: var(--band); color: var(--ink); }
.editor-badge.warn { background: #FFE9B8; }
.editor-status { font-size: .9rem; color: var(--muted); }
.editor-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 22px 0; border-bottom: 1px solid var(--line); }
.editor-tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: 600 .97rem var(--sans); color: var(--muted); cursor: pointer; transition: color var(--trans), border-color var(--trans); }
.editor-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.editor-body { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 24px 22px 32px; display: grid; gap: 20px; align-content: start; }
.editor-body h3 { font-size: 1.2rem; }
.editor-body .hint { font-size: .88rem; color: var(--muted); }
.editor-login { padding: 28px 22px 34px; display: grid; gap: 18px; max-width: 420px; }
.editor-login h2 { font-size: 1.6rem; }
.editor-help { color: var(--muted); font-size: .96rem; }
.editor-err { color: #B3232A; font-weight: 600; min-height: 1.4em; }
.editor-notice { background: #FFF4D6; border: 1px solid #EAC968; border-radius: 10px; padding: 14px 16px; font-size: .95rem; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 14px; }
.svc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.svc-head h4 { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin-right: auto; overflow-wrap: anywhere; }
.svc-head button { min-height: 34px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .88rem var(--sans); cursor: pointer; }
.svc-head button:hover:not([disabled]) { border-color: var(--green); }
.svc-head button[disabled] { opacity: .4; cursor: not-allowed; }
.svc-head .del { color: #B3232A; border-color: #E8B5B7; }
.svc-head .del:hover { background: #B3232A; color: #fff; border-color: #B3232A; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.editor-srv-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.editor-srv-row input { font-size: .95rem; }
.editor-srv-name { flex: 1 1 180px; min-width: 0; }
.editor-ask-label { white-space: nowrap; font-size: .88rem; display: flex; align-items: center; gap: 5px; cursor: pointer; user-select: none; }
.editor-price-inputs { display: flex; gap: 8px; }
.editor-price-inputs input { width: 100px; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stat { font-family: var(--display); font-size: 2.2rem; font-weight: 600; font-variant-numeric: tabular-nums; }

#admin { overflow: hidden; }
#admin .btn:not(.btn-ghost) { background: #2c452d; border-color: #2c452d; color: white; }
#admin .btn-ghost { color: var(--ink); }
.editor-service-list { display: grid; gap: 16px; }
.service-editor-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.service-editor-details { display: grid; grid-template-columns: 1fr 180px; gap: 14px; padding-top: 14px; }
.service-editor-details .field:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
.service-editor-details textarea { min-height: 80px; }
.editor-srv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.editor-srv-name { flex: 1 1 180px; min-width: 0; }
.editor-price-inputs { flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; }
@media (min-width: 1600px) { .hero { padding-block: 90px; } }
@media (max-width: 1100px) {
  .hero { gap: 36px; }
  .hero h1 { font-size: clamp(3rem,5.5vw,4.3rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .sheet-wrap { grid-template-columns: minmax(0,1fr) 250px; gap: 20px; }
  .row { padding: 20px; }
  .service-card-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .service-card-bottom .add { width: 100%; }
  .process,.contact { gap: 60px; }
  .practitioner { gap: 24px; padding: 24px; }
  .foot { gap: 24px; }
}
@media (max-width: 900px) {
  .header-in { gap: 22px; min-height: 78px; }
  .nav { gap: 20px; }
  .nav a { font-size: 0.84rem; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 48px; }
  .hero h1 { font-size: clamp(3.8rem,8vw,5.6rem); max-width: 13ch; }
  .hero .lead { max-width: 56ch; }
  .hero-actions { flex-direction: row; align-items: center; gap: 24px; }
  .hero-workspace { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .term { height: 270px; border-radius: 0 12px 12px 0; border-top-color: #ffffff20; }
  .term-bar { padding-inline: 12px; }
  .term-hint { display: none; }
  .term-out { padding-inline: 12px; }
  .term-chips { padding-inline: 12px; }
  .term-form { padding-inline: 12px; }
  .term-prompt { font-size: 0.75rem; }
  .capability-strip { gap: 12px; font-size: 0.79rem; }
  .capability-strip .strip-label { width: 100%; padding-bottom: 6px; }
  .section-head { gap: 26px; }
  .section-head .eyebrow { margin-bottom: 0; }
  .section-head > p:last-child { font-size: 0.90rem; }
  .practitioner { grid-template-columns: 1fr; gap: 20px; }
  .practitioner-copy { max-width: 75ch; }
  .sheet-wrap { grid-template-columns: minmax(0,1fr) 220px; }
  .sheet { grid-template-columns: 1fr; }
  .service-card-bottom { flex-direction: row; align-items: center; }
  .service-card-bottom .add { width: auto; }
  .service-card-top { margin-bottom: 18px; }
  .row h4 { max-width: 32ch; }
  .row .scope { font-size: 0.88rem; }
  .process { gap: 40px; }
  .contact { gap: 32px; }
  .contact h2 { font-size: 4rem; }
  .form { padding: 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 100%; }
  .foot { grid-template-columns: 1fr auto; }
  .foot-meta { grid-column: 1 / -1; justify-content: space-between; padding-top: 22px; border-top: 1px solid #ffffff15; }
}
@media (max-width: 640px) {
  .header-in { min-height: 74px; gap: 12px; }
  .brand-name { font-size: 1.22rem; }
  .brand-name > span { font-size: 0.75rem; }
  .mark { width: 35px; height: 35px; }
  .header-in > .btn { margin-left: auto; font-size: 0.77rem; padding-inline: 12px; min-height: 36px; }
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 74px; inset-inline: 0; background: #151c1d; border-bottom: 1px solid #ffffff26; padding: 12px var(--gutter); flex-direction: column; gap: 0; margin: 0; box-shadow: 0 20px 30px #0003; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: .85rem; }
  .hero { padding-block: 36px 40px; gap: 34px; }
  .stage-label { margin-bottom: 25px; font-size: 0.75rem; }
  .hero .eyebrow { font-size: 0.75rem; }
  .hero h1 { font-size: clamp(2.9rem,10.5vw,4.3rem); max-width: 13ch; }
  .hero .lead { font-size: 0.94rem; line-height: 1.9; margin-top: 24px; }
  .hero-actions { gap: 20px; }
  .hero-actions .btn { min-height: 50px; font-size: 0.81rem; padding-inline: 16px; }
  .hero-secondary { font-size: 0.80rem; }
  .hero-note { font-size: 0.82rem; }
  .service-points { font-size: 0.75rem; gap: 10px; }
  .hero-workspace { display: block; }
  .term { height: 260px; border-radius: 0 0 12px 12px; }
  .term-bar,.term-out,.term-chips,.term-form { padding-inline: 16px; }
  .capability-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 0.82rem; padding-block: 24px 30px; }
  .capability-strip .strip-label { grid-column: 1 / -1; }
  .capability-strip [aria-hidden] { display: none; }
  #services { border-radius: 20px 20px 0 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .section-head h2,.process h2 { font-size: clamp(2.45rem,9vw,3.2rem); }
  .section-head .eyebrow { grid-column: auto; }
  .section-head > p:last-child { max-width: 48ch; }
  .practitioner { padding: 22px; margin-bottom: 30px; }
  .practitioner-heading { gap: 13px; align-items: flex-start; }
  .profile-mark { width: 48px; height: 48px; flex-shrink: 0; font-size: 2rem; }
  .practitioner h3 { font-size: 1.25rem; }
  .practitioner-heading p:last-child { font-size: 0.78rem; }
  .practitioner-copy { font-size: 0.83rem; }
  .service-tools { align-items: stretch; flex-direction: column; gap: 12px; margin-bottom: 18px; }
  .service-search { width: 100%; }
  .service-tools > p { padding: 0; font-size: 0.75rem; }
  .tabs { gap: 6px; padding-bottom: 22px; }
  .tab { font-size: 0.79rem; padding: 9px 11px; }
  .sheet-wrap { grid-template-columns: 1fr; gap: 26px; }
  .sheet { gap: 14px; }
  .row { padding: 24px; }
  .service-card-top { margin-bottom: 22px; }
  .row h4 { font-size: 1.2rem; }
  .row .scope { font-size: 0.89rem; }
  .service-card-bottom { margin-top: 22px; }
  .price strong { font-size: 0.79rem; }
  .add { min-height: 42px; font-size: 0.78rem; }
  .slip { position: static; padding: 28px 24px; }
  .process { grid-template-columns: 1fr; gap: 42px; }
  .process-aside { padding-top: 0; }
  .steps { margin-top: 32px; }
  .steps li { padding-left: 51px; }
  .steps p { font-size: 0.88rem; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .contact h2 { font-size: 4rem; }
  .contact h2 br:nth-child(2) { display: none; }
  .contact-info > p:not(.eyebrow) { max-width: 45ch; }
  .email-line a { font-size: 1.05rem; }
  .form { padding: 24px 20px; }
  .form-intro p { font-size: 1.3rem; }
  input,textarea,select { font-size: 16px; }
  .form-actions .btn { flex: 1 1 100%; min-height: 46px; }
  .foot { gap: 28px; align-items: start; }
  .foot .brand-name { font-size: 1.1rem; }
  .foot .mark { width: 30px; height: 30px; }
  .foot .brand { gap: 9px; }
  .foot-meta { gap: 14px; }
  #admin { width: 100%; }
  .editor-top { gap: 10px; padding: 14px; }
  .editor-top h2 { font-size: 1.15rem; }
  .editor-tabs { padding-inline: 10px; gap: 0; }
  .editor-tab { padding: 10px; font-size: 0.86rem; }
  .editor-body { padding-inline: 14px; }
  .editor-login { padding-inline: 20px; }
  .service-editor-details,.grid-3 { grid-template-columns: 1fr; }
  .service-editor-details .field:nth-child(2) { grid-row: auto; grid-column: auto; }
}
@media (max-width: 360px) {
  .header-in > .btn { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero h1 { font-size: 2.75rem; }
  .service-points { flex-direction: column; }
  .foot { grid-template-columns: 1fr; }
  .counter { justify-items: start; }
  .row { padding: 20px; }
  .service-card-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
}

/* Appearance modes: soft pearl, slate and muted teal. */
:root {
  color-scheme: light;
  --paper: #f6f8fa; --band: #eaf0f3; --card: #fff; --ink: #24313c; --muted: #5d6c78; --line: #dce4e9; --green: #28667a;
  --shell: #f2f6f8; --shell-text: #203341; --shell-muted: #596f7c; --shell-line: #d5e0e6; --header-bg: #f2f6f8f2;
  --hero-accent: #256779; --process-bg: #eaf1f3; --process-copy: #4c6571;
  --soft-surface: #edf2f5; --input-bg: #f7fafb; --field-line: #ccd9e0; --selected-bg: #e4f1ee; --estimate-bg: #eaf2f0;
  --mint: #246477; --deep: #17262f; --action-bg: #246477; --action-hover: #1c5365; --focus-ring: #4b8798;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --paper: #17262f; --band: #20333d; --card: #20323d; --ink: #e8eff3; --muted: #b4c4ce; --line: #3b505e; --green: #9bcdd2;
  --shell: #17262f; --shell-text: #e8eff3; --shell-muted: #b4c4ce; --shell-line: #3b505e; --header-bg: #17262ff2;
  --hero-accent: #a5d4d9; --process-bg: #1c3039; --process-copy: #bed0d7;
  --soft-surface: #263c47; --input-bg: #1a2c36; --field-line: #46606f; --selected-bg: #294741; --estimate-bg: #263d3e;
  --mint: #246477;
}
body { background: var(--shell); color: var(--shell-text); }
.site-header { background: var(--header-bg); border-color: var(--shell-line); }
.header-in { gap: 24px; }
.nav a { color: var(--shell-muted); }
.nav a:hover,.hero-secondary:hover { color: var(--hero-accent); }
.mark { background: #253847; border-color: #516b7b; }
.theme-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 9px; flex-shrink: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--shell-line); border-radius: 8px; background: var(--soft-surface); color: var(--shell-text); font-size: .8rem; font-weight: 650; }
.theme-toggle:hover { border-color: #7f9dcc; }
.theme-toggle svg { width: 20px; height: 20px; flex-shrink: 0; }
.theme-sun { display: none; }
[data-theme=dark] .theme-sun { display: block; }
[data-theme=dark] .theme-moon { display: none; }
.nav-toggle { border-color: var(--shell-line); }
.nav-toggle span { background: var(--shell-text); }
.hero { isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 12% 15%,#a4caff24,transparent 55%), radial-gradient(ellipse at 85% 45%,#bca5f52b,transparent 60%); }
.stage-label { background: var(--soft-surface); color: var(--shell-muted); border-color: var(--shell-line); }
.stage-label > span { background: #648b35; }
.hero .eyebrow { color: var(--shell-muted); }
.hero h1 > span { color: var(--hero-accent); }
.hero .lead,.hero-note,.service-points { color: var(--shell-muted); }
.service-points span::before { border-color: #79984a; }
.capability-strip { border-color: var(--shell-line); color: var(--shell-text); }
.capability-strip .strip-label { color: var(--shell-muted); }
.capability-strip [aria-hidden] { color: #768fae; }
.term { background: #142033; border-color: #465970; }
.term-bar,.term-form { border-color: #43556d; }
.term-title,.term-hint,.tl-dim { color: #bccbe0; }
.term-out { color: #e3eaf5; }
.chip { color: #d7e9b9; border-color: #718658; background: #b783630a; }
.practitioner { background: var(--soft-surface); border-color: var(--line); }
.development-note { color: var(--muted); }
.service-search input { background: var(--card); }
.tab { border-color: var(--line); color: var(--ink); }
.tab:hover { background: var(--soft-surface); }
.tab[aria-pressed=true] { background: var(--action-bg); border-color: var(--action-bg); color: #fff; }
.cat,.service-card-top > span { color: var(--muted); }
.row { --service-accent: #6755ab; --service-tint: #f2effc; background: linear-gradient(145deg,var(--service-tint),var(--card) 46%); border-color: var(--line); border-top: 3px solid var(--service-accent); }
.row[data-kind=web] { --service-accent: #7260bb; --service-tint: #f0ecfc; }
.row[data-kind=workplace] { --service-accent: #3877bc; --service-tint: #eaf4ff; }
.row[data-kind=network] { --service-accent: #2e8b82; --service-tint: #e7f6f2; }
.row[data-kind=cloud] { --service-accent: #b77a32; --service-tint: #fff4e6; }
.row[data-kind=automation] { --service-accent: #a45287; --service-tint: #fceef7; }
[data-theme=dark] .row[data-kind=web] { --service-accent: #b4a0ff; --service-tint: #2b2d4e; }
[data-theme=dark] .row[data-kind=workplace] { --service-accent: #83baff; --service-tint: #203b5a; }
[data-theme=dark] .row[data-kind=network] { --service-accent: #78d4bf; --service-tint: #203e40; }
[data-theme=dark] .row[data-kind=cloud] { --service-accent: #f4be78; --service-tint: #3e3540; }
[data-theme=dark] .row[data-kind=automation] { --service-accent: #ed9acb; --service-tint: #3d2d4b; }
.row:hover { border-color: var(--service-accent); }
.service-card-top svg { color: var(--service-accent); background: var(--service-tint); border-color: var(--line); }
.service-card-bottom { border-color: var(--line); }
.row:has(.add[aria-pressed=true]) { background: var(--selected-bg); }
.add { color: var(--ink); border-color: var(--line); }
.add:hover { background: var(--soft-surface); }
.slip { background: var(--estimate-bg); border-color: var(--line); }
.slip::before,.slip:has(.empty)::after { color: var(--muted); }
.slip:has(.empty)::after { font-size: .76rem; white-space: pre-wrap; }
.slip-item,.slip-total,.slip:has(.empty)::after { border-color: var(--line); }
.stepper button { background: var(--card); border-color: var(--line); }
.band { background: var(--process-bg); color: var(--shell-text); border-color: var(--line); }
.band .eyebrow { color: var(--green); }
.steps li::before { color: #678e3d; }
.steps li::after { background: var(--line); }
.steps p,.pay p,.pay dd,.questions details p { color: var(--process-copy); }
.pay { background: var(--card); border-color: var(--line); }
.pay dt { color: var(--ink); }
.questions details { border-color: var(--line); }
.questions summary { color: var(--ink); }
.questions summary::marker { color: #77974a; }
.contact h2 span { color: #658745; }
.est-note { background: var(--estimate-bg); }
.form,.service-editor-card { background: var(--card); border-color: var(--line); }
.form-intro { border-color: var(--line); }
input,select,textarea { background: var(--input-bg); border-color: var(--field-line); color: var(--ink); }
input::placeholder,textarea::placeholder { color: var(--muted); }
.site-footer { background: var(--shell); color: var(--shell-text); }
.odo-d { background: var(--soft-surface); color: var(--hero-accent); border-color: var(--shell-line); }
[data-theme=dark] .form-note.error,[data-theme=dark] .editor-err { color: #ffaba3; }
@media (max-width: 1100px) { .theme-label { display: none; } .theme-toggle { padding: 10px; } }
@media (max-width: 900px) { .header-in { gap: 16px; } .nav { gap: 18px; } .header-in > .btn { display: none; } }
@media (max-width: 640px) {
  .header-in { gap: 12px; }
  .theme-toggle { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .nav { background: var(--shell); border-color: var(--shell-line); }
  .foot-meta { border-color: var(--shell-line); }
  .hero-actions .btn { white-space: normal; }
  .term-bar { flex-wrap: wrap; }
  .term-form { gap: 6px; }
  .term-prompt { font-size: .75rem; }
  .term { height: 280px; }
  .slip:has(.empty)::after { font-size: .75rem; }
}
[data-theme=dark] .steps li::before { color: #c3e58d; }
.editor-notice { color: #40351b; }


/* Fill the contact column with real, selectable service ideas. */
.service-spotlight { margin-top: 28px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(125deg, var(--soft-surface), var(--card)); }
.spotlight-top,.spotlight-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.spotlight-top > .eyebrow { margin: 0; font-size: .75rem; letter-spacing: .07em; }
.spotlight-controls { display: flex; gap: 6px; flex-shrink: 0; }
.spotlight-nav { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--field-line); border-radius: 7px; background: var(--card); color: var(--ink); font: 1.05rem Arial, sans-serif; }
.spotlight-nav:hover { background: var(--soft-surface); border-color: #8c9fc2; }
.spotlight-slide { margin-top: 16px; }
.spotlight-category { display: block; color: var(--green); font-size: .75rem; margin-bottom: 7px; }
.spotlight-slide h3 { font-size: 1.35rem; line-height: 1.3; }
.spotlight-description { margin-top: 10px; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.spotlight-bottom { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.spotlight-select { padding: 3px 0; border: 0; background: transparent; color: var(--green); font-size: .8rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.spotlight-select:hover { color: var(--hero-accent); }
.spotlight-position { color: var(--muted); font: .75rem var(--mono); white-space: nowrap; }
@media (min-width: 901px) and (min-height: 1100px) { .contact-info { position: sticky; top: 112px; } }
@media (max-width: 640px) {
  .service-spotlight { padding: 20px; margin-top: 24px; }
  .spotlight-top { align-items: flex-start; }
  .spotlight-top > .eyebrow { max-width: 22ch; }
}

/* A quieter editorial layout: service information carries the page. */
.hero { align-items: start; padding-block: 60px; }
.hero h1 { font-size: clamp(2.9rem,4.6vw,4.3rem); max-width: 16ch; line-height: 1.12; letter-spacing: -.045em; }
.hero::before,.hero-workspace::before { display: none; }
.hero .lead { font-size: 1rem; line-height: 1.85; }
.stage-label { margin-bottom: 24px; }
.hero-workspace { display: block; }
.work-index { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); }
.work-index > .eyebrow { margin-bottom: 12px; }
.work-index > h2 { font-size: 1.9rem; line-height: 1.2; margin-bottom: 24px; letter-spacing: -.035em; }
.work-index > a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); text-decoration: none; }
.work-index > a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.work-index > a strong { font-size: 1rem; font-weight: 650; }
.work-index > a small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.work-index > a > span:last-child { color: var(--muted); font: .75rem var(--mono); }
.work-index-note { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.terminal-details { margin-top: 16px; color: var(--shell-muted); }
.terminal-details > summary { cursor: pointer; font-size: .8rem; padding: 10px 0; }
.terminal-details .term { border-radius: 8px; margin-top: 8px; }
.section-head h2,.process h2 { font-size: clamp(2.2rem,3.4vw,3rem); line-height: 1.2; letter-spacing: -.035em; }
.contact h2 { font-size: clamp(2.3rem,3.6vw,3.3rem); letter-spacing: -.04em; line-height: 1.15; max-width: 13ch; }
.contact-info { position: static; }
.service-card-top { margin-bottom: 16px; }
.service-card-top svg { width: 24px; height: 24px; padding: 7px; border-radius: 7px; }
.row { border-top-width: 2px; border-radius: 8px; background: var(--card); }
.row:hover { transform: none; box-shadow: none; }
.row .scope { font-size: .88rem; }
.service-details-link { align-self: start; padding: 0; margin-top: 16px; color: var(--green); border: 0; background: transparent; font-size: .8rem; font-weight: 650; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.service-card-bottom { margin-top: 20px; }
.site-footer { padding-top: 30px; border-top: 1px solid var(--shell-line); }
.foot { padding-top: 0; }
.finder { margin-bottom: 40px; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.finder > div:first-child .eyebrow { margin-bottom: 8px; }
.finder h3 { font-size: 1.6rem; margin-bottom: 10px; }
.finder > div:first-child > p:last-child { color: var(--muted); font-size: .85rem; max-width: 70ch; }
.finder form { margin-top: 24px; }
.finder fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.finder legend { font-size: .85rem; font-weight: 650; margin-bottom: 12px; }
.finder-options { display: flex; gap: 10px; flex-wrap: wrap; }
.finder-options label { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: .85rem; cursor: pointer; }
.finder-options label:has(input:checked) { border-color: #8a7761; background: var(--soft-surface); }
.finder-options input[type=radio] { width: 17px; height: 17px; margin: 0; padding: 0; accent-color: var(--action-bg); flex-shrink: 0; }
.finder-actions { margin-top: 18px; display: flex; align-items: end; gap: 18px; }
.finder-actions > .field { width: min(350px,100%); }
.finder-actions > button { min-height: 46px; background: var(--action-bg); border-color: var(--action-bg); color: #fff; }
.finder-results { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.finder-results > h4 { font-size: 1.2rem; }
.finder-results > p { margin: 10px 0 14px; color: var(--muted); font-size: .85rem; }
.finder-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.finder-result label { display: flex; align-items: center; gap: 10px; font-size: .85rem; cursor: pointer; }
.finder-result label input { flex-shrink: 0; margin: 0; padding: 0; }
.finder-result .link-btn { flex-shrink: 0; }
.finder-results > .btn { margin-top: 14px; min-height: 44px; }
.finder-review { margin-left: 20px; font-size: .8rem; }
.feature-status { font-size: .82rem; margin-top: 14px; color: var(--green); }
.feature-status:empty { display: none; }
.service-dialog { padding: 0; border: 1px solid var(--line); border-radius: 12px; width: min(680px,calc(100% - 32px)); max-height: calc(100dvh - 40px); color: var(--ink); background: var(--card); box-shadow: 0 24px 80px #0004; overscroll-behavior: contain; }
.service-dialog::backdrop { background: #0f1d32aa; }
.detail-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; position: sticky; top: 0; z-index: 1; padding: 18px 28px; background: var(--card); border-bottom: 1px solid var(--line); }
.detail-header .eyebrow { margin: 0; }
.detail-close { border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; font-size: .85rem; background: var(--input-bg); color: var(--ink); }
.detail-body { padding: 28px; }
.detail-body > h2 { font-size: 2rem; line-height: 1.25; }
.detail-intro { margin-top: 16px; font-size: .95rem; line-height: 1.85; }
.scope-note { padding: 14px; margin-top: 18px; background: var(--soft-surface); border-radius: 6px; color: var(--muted); font-size: .82rem; }
.scope-section { margin-top: 26px; }
.scope-section h3 { font-size: 1.15rem; }
.scope-section ul { padding-left: 20px; margin: 12px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.85; }
.scope-section li + li { margin-top: 7px; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px 28px; border-top: 1px solid var(--line); background: var(--card); }
.detail-actions .btn { min-height: 44px; font-size: .82rem; }
.examples-section { border-top: 1px solid var(--line); }
.csv-demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px 50px; padding: 32px; margin-top: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.csv-demo h3 { font-size: 1.65rem; line-height: 1.3; }
.csv-demo > div:first-child > p:last-child { font-size: .87rem; line-height: 1.9; color: var(--muted); margin-top: 16px; }
#csvInput { font-family: var(--mono); font-size: .8rem; white-space: pre; }
.demo-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.demo-actions .btn { min-height: 44px; font-size: .82rem; background: var(--action-bg); border-color: var(--action-bg); color: white; }
.csv-results,.csv-demo > .feature-status { grid-column: 1 / -1; }
.csv-demo > .feature-status { margin: 0; }
.demo-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 0; }
.demo-metrics > div { padding: 18px; background: var(--soft-surface); border-radius: 6px; }
.demo-metrics dt { font-size: .8rem; color: var(--muted); }
.demo-metrics dd { margin: 8px 0 0; font: 500 1.6rem var(--display); overflow-wrap: anywhere; }
.csv-results > p { color: var(--muted); font-size: .8rem; line-height: 1.8; margin-top: 16px; }
@media (max-width: 1100px) { .header-in > .btn { display: none; } .nav { gap: 20px; } .example-grid { gap: 18px; } }
@media (max-width: 900px) {
  .hero h1 { font-size: 3.4rem; }
  .work-index { padding: 24px; }
  .csv-demo { grid-template-columns: 1fr; gap: 24px; }
  .demo-metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-block: 36px; }
  .hero h1 { font-size: 2.8rem; }
  .hero .lead { font-size: .95rem; }
  .hero .eyebrow { font-size: .75rem; }
  .hero h1.long-title { font-size: 2.4rem; }
  .contact h2 { font-size: 2.5rem; max-width: 15ch; }
  .work-index > h2 { font-size: 1.7rem; }
  .finder { padding: 22px 20px; }
  .finder-options { display: grid; grid-template-columns: 1fr; }
  .finder-actions { align-items: stretch; flex-direction: column; }
  .finder-actions > .field { width: 100%; }
  .finder-result { align-items: flex-start; flex-direction: column; gap: 4px; }
  .finder-review { display: block; margin: 16px 0 0; }
  .detail-header { padding: 16px 20px; }
  .detail-header .eyebrow { font-size: .75rem; }
  .detail-body,.detail-actions { padding: 20px; }
  .detail-body > h2 { font-size: 1.65rem; }
  .detail-actions { align-items: stretch; flex-direction: column; }
  .csv-demo { padding: 24px 20px; }
  .demo-metrics { gap: 12px; }
  .demo-metrics > div { padding: 12px; }
  .demo-metrics dd { font-size: 1.4rem; }
  #csvInput { font-size: .8rem; }
}

.profile-links { display: flex; gap: 20px; margin-top: 12px; font-size: .82rem; color: var(--green); }

/* Visual treatment shared across the existing sections. */
@font-face { font-family: Newsreader; src: url('assets/fonts/newsreader-latin-standard-normal.woff2') format('woff2'); font-style: normal; font-weight: 200 800; font-display: swap; }
:root { --editorial: var(--sans); }
.hero h1,.section-head h2,.process h2,.contact h2 { font-family: var(--editorial); font-weight: 650; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(3.25rem,4.7vw,4.4rem); max-width: 16ch; line-height: 1.12; }
.section-head h2,.process h2 { font-size: clamp(2.25rem,3.2vw,3rem); line-height: 1.2; }
.contact h2 { font-size: clamp(2.5rem,3.6vw,3.25rem); line-height: 1.16; }
.hero { gap: 72px; padding-block: 62px 52px; }
.hero .eyebrow,.eyebrow { letter-spacing: .08em; }
.hero .lead { max-width: 46ch; }
.brand-name { letter-spacing: -.045em; }
.mark { background: var(--hero-accent); border-color: transparent; }
.mark i { background: #ffffff; }
.btn:not(.btn-ghost):not(.btn-danger) { background: var(--action-bg); border-color: var(--action-bg); color: #ffffff; }
.btn:not(.btn-ghost):not(.btn-danger):hover { background: var(--action-hover); border-color: var(--action-hover); box-shadow: 0 8px 20px #69352214; }
.btn-ghost:hover { background: var(--soft-surface); }
.skip,.announce { color: #ffffff; }
.stage-label { color: var(--shell-muted); background: transparent; border-color: var(--shell-line); }
.stage-label > span { background: var(--hero-accent); }
.hero-secondary:hover,.nav a:hover { color: var(--hero-accent); }
.theme-toggle { background: transparent; }
.theme-toggle:hover { border-color: var(--focus-ring); }
#services { border-radius: 0; border-top: 1px solid var(--line); }
.section { padding-block: 84px; }
.section-head { margin-bottom: 36px; }
.practitioner,.finder,.form,.service-spotlight,.csv-demo,.service-dialog { border-radius: 7px; box-shadow: none; }
.practitioner { background: var(--soft-surface); }
.profile-mark { background: #355c6c; color: #f1f6f8; }
.profile-mark span { color: #b8d5de; }
.finder-options label { border-radius: 4px; }
.finder-options label:has(input:checked) { border-color: var(--focus-ring); background: var(--soft-surface); }
.finder-options input[type=radio] { accent-color: var(--action-bg); }
.tab { border-radius: 4px; }
.tab:hover { background: var(--soft-surface); }
.tab[aria-pressed=true] { background: var(--action-bg); border-color: var(--action-bg); }
.row,.row[data-kind] { --service-accent: #557e8c; --service-tint: var(--soft-surface); border-radius: 5px; border-top-width: 1px; }
.row[data-kind=web],.row[data-kind=automation] { --service-accent: #706e91; }
[data-theme=dark] .row[data-kind] { --service-accent: #9bcdd2; --service-tint: var(--soft-surface); }
.service-card-top svg { padding: 0; background: none; border: 0; color: var(--service-accent); border-radius: 0; }
.row .scope { line-height: 1.8; }
.row:has(.add[aria-pressed=true]) { border-color: var(--focus-ring); box-shadow: inset 0 0 0 1px var(--focus-ring); }
.add:hover { background: var(--soft-surface); }
.add[aria-pressed=true] { background: var(--selected-bg); border-color: var(--focus-ring); color: var(--ink); }
.slip { border-radius: 5px; box-shadow: none; }
.slip::before { color: var(--muted); }
.slip:has(.empty)::after { border-color: var(--line); }
.terminal-details .term { background: #172a34; border-color: #47616f; }
.term-bar,.term-form { border-color: #47616f; }
.term-title,.term-hint,.tl-dim { color: #c6d4dc; }
.term-out { color: #e8f0f4; }
.tl-head,.term-prompt,.caret::after { color: #add4dc; }
.chip { color: #d6e5eb; border-color: #67838f; background: #a4cbd50b; }
.chip:hover { background: #a4cbd522; color: #e7f4f8; }
.term-title::before { background: #9ccbd5; }
.term-form input { background: transparent; color: #ecf4f7; }
.term-form input::placeholder { color: #b0c6d1; }
.steps li::before,[data-theme=dark] .steps li::before { color: var(--hero-accent); }
.pay::before { background: var(--hero-accent); }
.questions summary::marker { color: var(--hero-accent); }
.contact h2 span { color: var(--hero-accent); }
.footer-wordmark { color: var(--hero-accent); }
.site-footer { padding-block: 32px; }
/* Hero proof: a real repository screenshot rather than a made-up dashboard. */
.work-index { padding: 0; background: transparent; border: 0; }
.work-index > .eyebrow { margin-bottom: 14px; color: var(--shell-muted); }
.work-index > a.featured-project { display: block; padding: 0; margin: 0 0 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--card); text-decoration: none; }
.featured-project img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.work-index > a.featured-project > span { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 16px 18px; color: var(--ink); font-family: var(--sans); }
.work-index > a.featured-project strong { font-size: 1rem; }
.work-index > a.featured-project small { color: var(--muted); font-size: .75rem; }
.work-index-label { font: .75rem var(--mono); color: var(--shell-muted); margin-bottom: 8px; }
.work-index > a[data-service-category] { padding-block: 12px; color: var(--shell-text); border-color: var(--shell-line); }
.work-index > a[data-service-category] strong { font-size: .86rem; }
.work-index > a[data-service-category] small { display: none; }
.work-index-note { color: var(--shell-muted); border-color: var(--shell-line); font-size: .75rem; padding-top: 14px; margin-top: 6px; }
/* The gallery uses screenshots where available and labelled architecture elsewhere. */
.examples-section { background: var(--soft-surface); }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.project-card { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.project-visual { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; height: 320px; border-bottom: 1px solid var(--line); overflow: hidden; background: #eaf0f3; }
.screenshot-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-visual-note { display: block; padding: 8px 14px; color: #4a626f; background: #f3f7f9f2; border-top: 1px solid #d5e0e6; font: .75rem/1.5 var(--mono); }
.screenshot-visual .project-visual-note { position: absolute; bottom: 0; inset-inline: 0; }
.project-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.project-type { color: var(--muted); font: .75rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.project-card h3 { margin-top: 10px; font-size: 1.65rem; letter-spacing: -.035em; }
.project-card-body > p:not(.project-type) { margin-top: 14px; font-size: .9rem; line-height: 1.85; color: var(--muted); flex: 1; }
.project-stack { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 20px 0 0; }
.project-stack li { padding: 4px 9px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: .75rem; }
.project-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.project-links a,.project-details { font-size: .82rem; font-weight: 650; color: var(--green); text-underline-offset: 4px; }
.project-details { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.project-details:hover,.project-links a:hover { color: var(--hero-accent); }
.architecture-visual { padding: 24px 32px 0; gap: 12px; color: #355867; background: #e8f0f3; }
.architecture-heading { font: .75rem var(--mono); color: #516b79; text-align: center; margin-bottom: 8px; }
.architecture-step { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding: 18px; border: 1px solid #c4d7df; background: #f8fbfc; border-radius: 5px; }
.architecture-step strong { font-size: .9rem; }
.architecture-step > span { font-size: .75rem; color: #516b79; }
.architecture-arrow { font: .75rem var(--mono); text-align: center; }
.architecture-visual .project-visual-note { margin: auto -32px 0; }
.local-ai-visual { background: #eeedf5; color: #5b5773; }
.architecture-inline { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 20px 0; }
.architecture-inline strong { border: 1px solid #d0cce0; padding: 18px; border-radius: 5px; background: #ffffff; font-size: .95rem; }
.architecture-foundation { display: grid; gap: 8px; text-align: center; font-size: .8rem; }
.project-gallery-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; color: var(--muted); font-size: .8rem; }
.project-gallery-note a { color: var(--green); }
.project-notes-image { margin: 24px 0 0; }
.project-notes-image img { display: block; max-height: 400px; width: 100%; object-fit: contain; object-position: top; background: var(--soft-surface); border: 1px solid var(--line); border-radius: 5px; }
.project-notes-image figcaption { margin-top: 10px; font-size: .8rem; color: var(--green); }
.project-dialog .scope-section > p { margin-top: 12px; font-size: .9rem; line-height: 1.85; color: var(--muted); }
.lab-download { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 24px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 6px; }
.lab-download h3 { font-size: 1.2rem; }
.lab-download p { margin-top: 8px; color: var(--muted); font-size: .82rem; max-width: 65ch; }
.lab-download > a { color: var(--green); font-size: .82rem; flex-shrink: 0; }
@media (max-width: 1100px) {
  .hero { gap: 40px; }
  .project-visual { height: 285px; }
  .architecture-step { padding: 14px; }
  .architecture-inline strong { padding: 14px; font-size: .85rem; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 3.5rem; max-width: 16ch; }
  .hero-workspace { display: block; }
  .work-index > a.featured-project img { max-height: 360px; }
  .project-grid { gap: 22px; }
  .project-card-body { padding: 22px; }
  .project-visual { height: 260px; }
  .architecture-visual { padding-inline: 20px; }
  .architecture-visual .project-visual-note { margin-inline: -20px; }
  .architecture-step { padding: 12px; }
  .architecture-step > span { font-size: .75rem; }
  .architecture-inline { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .architecture-inline strong { padding: 12px; font-size: .78rem; }
  .lab-download { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 640px) {
  .hero { padding-block: 36px; }
  .hero h1 { font-size: clamp(2.7rem,9.6vw,3.6rem); max-width: 14ch; }
  .hero h1.long-title { font-size: 2.7rem; }
  .section { padding-block: 60px; }
  .section-head h2,.process h2 { font-size: 2.3rem; }
  .contact h2 { font-size: 2.5rem; }
  .work-index > a.featured-project > span { padding: 14px 16px; }
  .work-index > a.featured-project small { font-size: .75rem; }
  .project-grid { grid-template-columns: 1fr; gap: 26px; }
  .project-visual { height: 275px; }
  .project-card-body { padding: 24px 20px; }
  .project-card h3 { font-size: 1.5rem; }
  .project-type { font-size: .75rem; }
  .project-stack li { font-size: .75rem; }
  .project-links { gap: 20px; }
  .architecture-step { padding: 16px; }
  .architecture-step > span { font-size: .75rem; }
  .architecture-inline { flex-wrap: nowrap; }
  .architecture-inline strong { font-size: .9rem; }
  .project-visual-note { font-size: .75rem; }
  .lab-download { padding: 22px 20px; }
}

.hero-service-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-bottom: 14px; }
.hero-service-links > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 0; border-top: 1px solid var(--shell-line); text-decoration: none; color: var(--shell-text); }
.hero-service-links strong { font-size: .84rem; font-weight: 650; }
.hero-service-links small { display: none; }
.hero-service-links > a > span:last-child { color: var(--shell-muted); font: .75rem var(--mono); }
.hero-service-links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 360px) { .hero-service-links { column-gap: 14px; } .hero-service-links strong { font-size: .77rem; } .hero-service-links > a > span:last-child { display: none; } }

/* Consistent surfaces and comfortable focus states; no structural changes. */
:focus-visible { outline-color: var(--focus-ring); }
::selection { background: #c9e1e7; color: #173e4b; }
body { line-height: 1.8; }
.mark { background: var(--action-bg); border-radius: 11px; }
.btn,.btn-sm,.theme-toggle,.nav-toggle { border-radius: 9px; }
.btn:not(.btn-ghost):not(.btn-danger):hover { box-shadow: 0 6px 16px #255d7314; }
.practitioner,.finder,.form,.service-spotlight,.csv-demo,.service-dialog,.project-card { border-radius: 12px; }
.row,.slip,.scope-note,.lab-download { border-radius: 10px; }
.featured-project,.work-index > a.featured-project { border-radius: 12px; box-shadow: 0 8px 28px #24475409; }
.row:hover,.project-card:hover { border-color: #9ab6c3; }
.project-card { box-shadow: 0 3px 14px #24475405; }
.project-stack li { background: var(--soft-surface); border-color: transparent; border-radius: 4px; }
input,select,textarea { border-radius: 8px; }
input:focus-visible,textarea:focus-visible,select:focus-visible { outline-color: var(--focus-ring); }
.practitioner { background: var(--soft-surface); }
.finder-options label { border-radius: 7px; }
.tab { border-radius: 7px; }
.finder-result { border-bottom: 1px solid var(--line); }
.finder-results .btn { margin-top: 18px; }
.service-dialog::backdrop { background: #172d3ba3; }
.modal-overlay { background: #172d3ba3; }
.project-notes-image img { border-radius: 8px; }
.local-ai-visual .architecture-heading { color: #665f7b; }
.local-ai-visual .architecture-inline strong { border-color: #d0cce0; background: #faf9ff; }
.project-visual-note { color: #4a626f; }
.toast { background: #244a5b; border-color: #709ba9; color: #f1f7fa; box-shadow: 0 10px 30px #18354124; }
[data-theme=dark] .row:hover,[data-theme=dark] .project-card:hover { border-color: #6c94a4; }
[data-theme=dark] .mark { background: #376b7c; }
[data-theme=dark] .btn-ghost { border-color: #708b99; }

#admin .btn:not(.btn-ghost) { background: var(--action-bg); border-color: var(--action-bg); color: #fff; }

/* A brighter, conversational presentation with progressive motion. */
:root {
  --paper: #fffcf6; --band: #f5f0fb; --card: #fff; --ink: #302b36; --muted: #665f70; --line: #e5dce8; --green: #65418c;
  --shell: #fffdf7; --shell-text: #302b36; --shell-muted: #665f70; --shell-line: #e9dfe8; --header-bg: #fffdf7f2;
  --hero-accent: #6948a5; --process-bg: #f1edff; --process-copy: #5b526f;
  --soft-surface: #f5eefb; --input-bg: #fcf9fe; --field-line: #ded3e8; --selected-bg: #eaf6da; --estimate-bg: #f3f7df;
  --mint: #302b36; --action-bg: #302b36; --action-hover: #51425e; --action-text: #fff; --focus-ring: #865ac0;
  --starter-bg: #e8dcff; --starter-option: #fffcf7; --starter-line: #bb9fdf; --starter-text: #36254e; --starter-muted: #65527f;
}
:root[data-theme=dark] {
  --paper: #23242a; --band: #30303b; --card: #30313a; --ink: #f4f0fa; --muted: #c6bfd1; --line: #54515e; --green: #d7bcff;
  --shell: #23242a; --shell-text: #f4f0fa; --shell-muted: #c6bfd1; --shell-line: #54515e; --header-bg: #23242af2;
  --hero-accent: #d4b7ff; --process-bg: #2c2938; --process-copy: #cec3de;
  --soft-surface: #393343; --input-bg: #282730; --field-line: #625969; --selected-bg: #3a4530; --estimate-bg: #3d4230;
  --mint: #e6d5ff; --action-bg: #e6d5ff; --action-hover: #d9c1fb; --action-text: #2e2635;
  --starter-bg: #423354; --starter-option: #302b3a; --starter-line: #8d71ae; --starter-text: #f3eafa; --starter-muted: #d3c1e7;
}
.hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(38px,5vw,80px); padding-block: 64px 80px; align-items: center; }
.hero-copy { position: relative; }
.hero h1 { font-size: clamp(3.5rem,5.65vw,5.5rem); font-weight: 550; letter-spacing: -.065em; line-height: 1.04; max-width: 13ch; }
.hero .lead { margin-top: 28px; font-size: 1.03rem; line-height: 1.85; max-width: 44ch; }
.stage-label { background: #ffe7d3; border: 0; color: #674229; padding: 8px 13px; border-radius: 999px; }
[data-theme=dark] .stage-label { background: #523e32; color: #ffdab8; }
.hero .eyebrow { font-family: var(--sans); font-size: .76rem; text-transform: none; letter-spacing: 0; font-weight: 650; }
.hero-actions { gap: 20px; margin-top: 34px; }
.hero-actions .btn { min-height: 56px; font-size: .9rem; }
.hero-note { max-width: 53ch; font-size: .8rem; }
.hero .service-points { gap: 10px 16px; }
.hero-playground { position: relative; isolation: isolate; min-width: 0; }
.hero-playground::before { content: ''; display: block; position: absolute; width: 84%; height: 76%; top: 40px; left: 10%; border-radius: 46% 54% 62% 38%; background: #ffe1bd; z-index: -1; transform: none; }
[data-theme=dark] .hero-playground::before { background: #554336; }
.playground-label { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--shell-muted); font-size: .79rem; }
.playground-spark { font-size: 1.6rem; color: var(--hero-accent); line-height: 1; }
.project-starter { position: relative; padding: 30px; border: 1px solid var(--starter-line); border-radius: 22px; background: var(--starter-bg); color: var(--starter-text); box-shadow: 0 18px 50px #6e4e9515; }
.starter-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .75rem; color: var(--starter-muted); }
.starter-count { font: .76rem var(--mono); white-space: nowrap; }
.starter-progress { display: flex; gap: 7px; margin-top: 14px; }
.starter-progress span { display: block; height: 4px; flex: 1; border-radius: 99px; background: #8c6eb130; }
.starter-progress span.complete { background: #8460b3; }
[data-theme=dark] .starter-progress span.complete { background: #d6b5ff; }
.project-starter h2 { margin: 30px 0 24px; font-family: var(--sans); font-size: clamp(1.8rem,2.4vw,2.15rem); font-weight: 550; letter-spacing: -.045em; line-height: 1.25; outline: none; }
.project-starter h2:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 6px; border-radius: 4px; }
.starter-choices { display: grid; gap: 9px; border: 0; padding: 0; margin: 0; min-width: 0; }
.starter-choices label { display: flex; align-items: center; gap: 12px; border: 1px solid var(--starter-line); border-radius: 9px; background: var(--starter-option); padding: 11px 13px; cursor: pointer; font-size: .86rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.starter-choices label:hover { transform: translateX(3px); box-shadow: -3px 0 #9270b3; }
.starter-choices label:has(input:checked) { background: #dff2c8; color: #34452b; border-color: #729651; }
[data-theme=dark] .starter-choices label:has(input:checked) { background: #3a5035; color: #e7f7d9; border-color: #a0c482; }
.starter-choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.starter-choices label:has(input:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.starter-key { display: grid; place-items: center; width: 24px; height: 24px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 4px; font: .75rem var(--mono); }
.starter-check { margin-left: auto; opacity: 0; }
.starter-choices label:has(input:checked) .starter-check { opacity: 1; }
.starter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.starter-actions .btn { min-height: 46px; font-size: .86rem; padding-inline: 22px; }
.starter-actions .link-btn { color: var(--starter-text); }
.starter-keyboard { font-size: .75rem; color: var(--starter-muted); }
.starter-note { margin-top: 20px; font-size: .75rem; color: var(--starter-muted); }
.starter-summary { margin: 0 0 16px; color: var(--starter-muted); font-size: .9rem; line-height: 1.8; }
.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; }
.playground-tags { display: flex; justify-content: space-between; gap: 12px; padding: 0 12px; position: relative; z-index: 1; margin-top: -4px; pointer-events: none; }
.floating-label { display: block; padding: 10px 15px; border-radius: 7px; color: #4d3447; font-family: var(--display); font-size: 1rem; font-weight: 500; box-shadow: 0 6px 14px #4430400c; }
.floating-peach { background: #ffbf99; transform: rotate(-7deg); }
.floating-lilac { background: #dceea6; transform: rotate(6deg); }
.hero-resources { margin-top: 22px; }
.hero-resources > summary,.terminal-details > summary { cursor: pointer; color: var(--shell-muted); font-size: .8rem; padding: 10px 0; }
.hero-resources .work-index { margin-top: 16px; }
.hero-resources .featured-project img { max-height: 280px; }
.terminal-details { margin-top: 0; }
.capability-strip { border-color: var(--shell-line); padding-block: 26px 34px; }
#services { border-top: 0; background: var(--paper); }
.eyebrow { color: var(--green); }
.section-head h2,.process h2,.contact h2 { font-size: clamp(2.4rem,4vw,3.6rem); font-weight: 550; letter-spacing: -.05em; line-height: 1.15; }
.practitioner { background: #fff0db; border-color: #e9d3b8; }
[data-theme=dark] .practitioner { background: #40372f; border-color: #635240; }
.practitioner,.finder,.form,.service-spotlight,.csv-demo,.service-dialog,.project-card { border-radius: 16px; }
.profile-mark { background: #78568d; color: #fff; }
.profile-mark span { color: #f6c8a8; }
.finder { background: var(--card); box-shadow: 0 12px 32px #62457808; }
.finder-options label { background: var(--soft-surface); border-color: var(--line); border-radius: 9px; }
.finder-options label:has(input:checked) { background: var(--selected-bg); border-color: #92ad75; }
.tab[aria-pressed=true] { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-text); }
.row,.row[data-kind] { --service-accent: #9f74c8; --service-tint: var(--soft-surface); border-radius: 14px; border-top: 3px solid var(--service-accent); }
.row[data-kind=web] { --service-accent: #a685d1; }
.row[data-kind=workplace] { --service-accent: #d5a34d; }
.row[data-kind=network] { --service-accent: #77a899; }
.row[data-kind=cloud] { --service-accent: #d68e72; }
.row[data-kind=automation] { --service-accent: #a897cc; }
.row:hover { border-color: var(--service-accent); box-shadow: 0 12px 28px #58407612; }
.add[aria-pressed=true] { background: var(--selected-bg); color: var(--ink); }
.slip { background: var(--estimate-bg); border-radius: 14px; }
.examples-section { background: #fff0e7; border-top: 0; }
[data-theme=dark] .examples-section { background: #332b2d; }
.project-card { box-shadow: 0 10px 30px #6245780a; }
.project-card:hover { box-shadow: 0 18px 45px #6245781c; }
.project-visual { transition: background .3s ease; }
.screenshot-visual img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-stack li { border-radius: 5px; }
.band { border-top: 0; }
.steps li::before { font-size: 1.4rem; }
.questions details[open] { background: var(--soft-surface); padding-inline: 12px; border-radius: 8px; }
.questions details[open] p { animation: answer-in .3s ease both; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.form { box-shadow: 0 12px 40px #6245780a; }
.field:focus-within > label { color: var(--hero-accent); }
.btn:not(.btn-ghost):not(.btn-danger),#admin .btn:not(.btn-ghost) { background: var(--action-bg); border-color: var(--action-bg); color: var(--action-text); }
.btn:not(.btn-ghost):not(.btn-danger):hover { background: var(--action-hover); border-color: var(--action-hover); box-shadow: 0 8px 20px #70528d22; }
.btn,.theme-toggle,.nav-toggle { transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.theme-toggle:hover { transform: rotate(-3deg); }
.mark { background: #70518e; border-radius: 12px; }
[data-theme=dark] .mark { background: #70518e; }
.site-footer { background: var(--shell); }
.footer-privacy { border: 0; padding: 0; background: transparent; color: var(--shell-muted); text-decoration: underline; text-underline-offset: 4px; font-size: .75rem; }
.nav a[aria-current=location] { color: var(--hero-accent); text-decoration: underline; text-underline-offset: 7px; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg,#d49aff,#ffb592,#cde9a0); transform: scaleX(var(--reading-progress,0)); transform-origin: left; pointer-events: none; z-index: 700; }
.motion-ready .hero-copy > * { animation: hero-arrive .7s cubic-bezier(.18,.7,.2,1) both; }
.motion-ready .hero-copy > :nth-child(2) { animation-delay: .07s; }
.motion-ready .hero-copy > :nth-child(3) { animation-delay: .14s; }
.motion-ready .hero-copy > :nth-child(4) { animation-delay: .21s; }
.motion-ready .hero-copy > :nth-child(n+5) { animation-delay: .28s; }
.motion-ready .project-starter { animation: starter-arrive .85s cubic-bezier(.18,.7,.2,1) .1s both; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes starter-arrive { from { opacity: 0; transform: translateY(22px) rotate(1.5deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
.motion-ready .floating-peach { animation: float-peach 5s ease-in-out infinite; }
.motion-ready .floating-lilac { animation: float-lilac 6s ease-in-out infinite; }
@keyframes float-peach { 0%,100% { transform: translate(var(--pointer-x,0px),calc(var(--pointer-y,0px) + 0px)) rotate(-7deg); } 50% { transform: translate(var(--pointer-x,0px),calc(var(--pointer-y,0px) - 7px)) rotate(-4deg); } }
@keyframes float-lilac { 0%,100% { transform: translate(var(--pointer-x,0px),var(--pointer-y,0px)) rotate(6deg); } 50% { transform: translate(var(--pointer-x,0px),calc(var(--pointer-y,0px) + 7px)) rotate(3deg); } }
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity .6s ease var(--reveal-delay,0ms), transform .6s cubic-bezier(.18,.7,.2,1) var(--reveal-delay,0ms); }
.reveal-on-scroll.is-revealed { opacity: 1; transform: translateY(0); }
/* Cookie choices have equal prominence; the initial notice never traps focus. */
.cookie-banner { position: fixed; z-index: 200; left: 22px; bottom: 22px; width: min(650px,calc(100% - 44px)); padding: 22px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 50px #3023382b; animation: notice-arrive .35s ease both; }
.cookie-banner h2 { font: 650 1.12rem var(--sans); letter-spacing: -.03em; }
.cookie-banner p { margin-top: 9px; font-size: .78rem; line-height: 1.75; color: var(--muted); }
.privacy-more { display: inline-block; border: 0; padding: 0; margin-top: 8px; background: none; color: var(--green); font-size: .77rem; text-decoration: underline; text-underline-offset: 4px; }
.cookie-actions { display: flex; align-items: stretch; gap: 10px; margin-top: 16px; }
.cookie-actions > button { flex: 1; min-height: 42px; padding: 10px 14px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--soft-surface); color: var(--ink); font: 650 .8rem var(--sans); }
.cookie-actions > button:hover { border-color: var(--focus-ring); box-shadow: inset 0 0 0 1px var(--focus-ring); }
.privacy-dialog .cookie-actions { margin-top: 0; }
.privacy-dialog .scope-section > p,.privacy-note { color: var(--muted); font-size: .87rem; line-height: 1.85; margin-top: 12px; }
@keyframes notice-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (hover:hover) and (pointer:fine) { .project-card:hover .screenshot-visual img { transform: scale(1.025); } .row:hover { transform: translateY(-4px); } .btn:hover { transform: translateY(-2px); } }
@media (max-width: 1100px) { .hero { gap: 36px; } .project-starter { padding: 25px; } .starter-keyboard { display: none; } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; align-items: start; padding-block: 46px 58px; } .hero h1 { font-size: clamp(3.2rem,7.5vw,4.5rem); max-width: 15ch; } .hero .lead { max-width: 58ch; } .hero-playground { width: min(620px,100%); margin: 8px auto 0; } }
@media (max-width: 640px) {
  .hero { padding-block: 34px 42px; gap: 34px; }
  .hero h1 { font-size: clamp(2.8rem,10vw,3.8rem); max-width: 13ch; }
  .hero h1.long-title { font-size: 2.5rem; }
  .hero .lead { font-size: .94rem; margin-top: 24px; }
  .hero-actions .btn { width: 100%; font-size: .85rem; }
  .hero-secondary { font-size: .82rem; }
  .hero-note { font-size: .78rem; }
  .project-starter { padding: 22px 18px; border-radius: 17px; }
  .project-starter h2 { font-size: 1.7rem; margin: 25px 0 20px; }
  .starter-choices label { padding: 12px 10px; font-size: .82rem; gap: 10px; }
  .starter-header { font-size: .75rem; }
  .starter-note { font-size: .75rem; }
  .starter-keyboard { display: none; }
  .playground-label { font-size: .75rem; }
  .floating-label { font-size: .9rem; padding: 9px 12px; }
  .section-head h2,.process h2,.contact h2 { font-size: 2.3rem; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; border-radius: 12px; }
  .cookie-banner p { font-size: .75rem; }
  .cookie-actions { gap: 8px; }
  .cookie-actions > button { font-size: .75rem; padding-inline: 10px; }
  .privacy-dialog .detail-actions { flex-direction: row; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-on-scroll { opacity: 1; transform: none; }
  .row:hover,.btn:hover,.theme-toggle:hover,.project-card:hover img { transform: none; }
}

.playground-spark svg { width: 26px; height: 26px; }

.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused .reveal-on-scroll { opacity: 1; transform: none; }
.footer-privacy:disabled { opacity: 1; cursor: default; text-decoration: none; }
