:root {
  color-scheme: dark;
  --bg: #100e0c;
  --surface: #191511;
  --surface-raised: #211a15;
  --cream: #f1e9dd;
  --muted: #b9aa9b;
  --copper: #d7a078;
  --copper-dark: #925e3c;
  --line: #3c3027;
  --ink: #2a221c;
  --paper: #f3eee5;
  --paper-line: #d9cfc1;
  --green: #356048;
  --ease: cubic-bezier(.2,.65,.2,1);
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--cream); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button, input, select, textarea { border-radius: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #efb58b; outline-offset: 5px; }
::selection { color: #1d130d; background: #e7b28a; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.08; }
h1, h2 { font-weight: 630; letter-spacing: -.055em; }
h2 { font-size: clamp(2.4rem, 4.4vw, 4.5rem); }
h2 em, h1 em { color: var(--copper); font-style: normal; }
button, a, input, select, textarea { touch-action: manipulation; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(70px, 8vw, 120px); }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--copper); font-size: .68rem; font-weight: 730; letter-spacing: .15em; line-height: 1.5; }
.copper-line { display: inline-block; width: 28px; height: 1px; background: currentColor; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 18px; background: var(--cream); color: var(--ink); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; font-size: 1.7rem; font-weight: 720; letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.brand img { display: block; width: 48px; height: 34px; object-fit: contain; margin-right: 8px; }
.brand-accent { color: var(--copper); }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 46px); font-size: .83rem; }
.site-header nav a { text-decoration: none; color: #d9cdbf; }
.site-header nav a:hover { color: var(--cream); }
.site-header .nav-brief { padding: 10px 0 10px 22px; border-left: 1px solid var(--line); color: var(--cream); }
.nav-brief span { margin-left: 20px; color: var(--copper); }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; position: relative; padding-top: 62px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3.6rem, 6.55vw, 6.8rem); line-height: .98; margin-top: 24px; }
.hero-lead { color: #c5b6a7; max-width: 440px; margin-top: 27px; font-size: 1.03rem; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 31px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 13px 20px; border: 1px solid transparent; font-size: .84rem; font-weight: 700; text-decoration: none; line-height: 1.4; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-copper { background: var(--copper); color: #24170e; }
.button-copper:hover { background: #e8b18a; }
.button-dark { background: #251c16; color: #fbf1e4; }
.button-dark:hover { background: #4c3020; }
.button-outline { border-color: #ac9381; color: var(--ink); background: transparent; }
.button-outline:hover { background: #e2d6c7; }
.underlined-link { color: inherit; text-decoration: none; border-bottom: 1px solid #79604e; padding-bottom: 5px; font-weight: 620; font-size: .81rem; }
.underlined-link:hover { color: var(--copper); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-size: .75rem; color: #b7a899; line-height: 1.4; }
.small-cross { font-size: 2.1rem; color: var(--copper); line-height: 1; }
.hero-art { position: relative; align-self: center; min-width: 0; height: 550px; margin-left: -30px; margin-right: -10px; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(ellipse, #6c3e242b, transparent 67%); }
.art-grid { position: absolute; inset: 35px 20px; background-image: linear-gradient(#8b5a3010 1px, transparent 1px), linear-gradient(90deg, #8b5a3010 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse, #000, transparent 70%); }
.art-orbit { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #62472f; stroke-width: .7; opacity: .65; }
.art-orbit circle:nth-child(2) { stroke-dasharray: 1 10; opacity: .7; }
.art-orbit .orbit-ellipse { stroke: #ae7852; stroke-width: 1; }
.art-orbit .orbit-marker { fill: #e2b18b; stroke: none; filter: drop-shadow(0 0 8px #d99e70); }
.hero-symbol { position: absolute; width: 100%; height: auto; top: 16%; left: 0; object-fit: contain; filter: drop-shadow(0 30px 45px #0007); animation: symbol-drift 8s ease-in-out infinite; }
.art-label { position: absolute; z-index: 3; color: #bd9a7c; font-size: .6rem; letter-spacing: .15em; }
.art-label-top { top: 23px; left: 35px; }
.art-label-bottom { bottom: 25px; left: 35px; line-height: 1.8; }
.art-label-bottom b { font-weight: 450; letter-spacing: .03em; color: #d4c0aa; }
.art-index { position: absolute; bottom: 30px; right: 24px; font-size: .64rem; color: #ad8f74; letter-spacing: .2em; }
.hero-bottom { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; margin-top: 39px; min-height: 77px; border-top: 1px solid var(--line); }
.scroll-link { display: flex; align-items: center; gap: 13px; text-decoration: none; color: #bcae9f; font-size: .72rem; }
.scroll-link span { font-size: 1.3rem; color: var(--copper); }
.motion-toggle { display: inline-flex; align-items: center; gap: 22px; border: 0; background: transparent; color: #b9a48e; min-height: 44px; padding: 0 2px; font-size: .7rem; }
body.motion-paused .hero-symbol { animation-play-state: paused; }
.principles-strip { background: #1a1511; border-top: 1px solid #30251c; border-bottom: 1px solid #30251c; }
.principles-strip > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 67px; font-size: .83rem; color: #c9b5a2; }
.principles-strip span[aria-hidden] { color: #9b603b; font-size: 1.3rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-heading h2 { margin-top: 16px; }
.section-heading > p { max-width: 340px; color: #bcac9b; font-size: .94rem; padding-bottom: 4px; }
.lab-shell { background: var(--paper); color: var(--ink); border-radius: 13px; border: 1px solid #9c806333; box-shadow: 0 20px 90px #0004; overflow: hidden; }
.lab-shell :focus-visible { outline-color: #935331; }
.lab-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 17px 24px; gap: 15px; border-bottom: 1px solid var(--paper-line); }
.product-name { display: flex; gap: 10px; align-items: center; }
.product-mark { display: grid; place-items: center; width: 34px; height: 34px; color: #f8e6d5; background: #422d20; border-radius: 8px; font-size: 1.45rem; font-weight: 730; }
.product-name strong, .product-name div > span { display: block; }
.product-name strong { font-size: 1rem; line-height: 1.1; }
.product-name div > span { font-size: .64rem; color: #6f6053; margin-top: 3px; }
.sample-label { display: inline-flex; align-items: center; gap: 7px; color: #65513f; font-size: .68rem; border: 1px solid #d5c5b3; border-radius: 20px; padding: 4px 8px; white-space: nowrap; }
.sample-label > span { width: 5px; height: 5px; border-radius: 50%; background: #a5724b; }
.lab-controls { padding: 14px 24px; border-bottom: 1px solid var(--paper-line); }
.scenario-select { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.scenario-select legend { float: left; margin-right: 16px; padding: 0; font-size: .72rem; font-weight: 680; line-height: 40px; }
.scenario-button { border: 1px solid transparent; min-height: 44px; border-radius: 6px; padding: 7px 12px; background: transparent; color: #655244; font-size: .74rem; }
.scenario-button:hover { background: #e6dacb; }
.scenario-button.is-active { color: #3a2416; background: #e5d0bb; border-color: #c6a789; font-weight: 700; }
.lab-content { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); min-height: 345px; }
.mail-card { display: flex; flex-direction: column; padding: 27px; background: #eae2d6; border-right: 1px solid var(--paper-line); }
.panel-label { display: flex; align-items: center; gap: 8px; color: #7a604b; font-size: .64rem; font-weight: 750; letter-spacing: .1em; }
.panel-label > span { color: #8d5e3d; font-size: 1.2rem; }
.mail-person { display: flex; gap: 11px; align-items: center; margin-top: 30px; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; background: #d6c3ae; border-radius: 50%; color: #6d452a; font-size: .84rem; }
.mail-person strong, .mail-person div > span { display: block; }
.mail-person strong { font-size: .85rem; }
.mail-person div > span { color: #74604e; font-size: .7rem; }
.mail-body { font-size: .94rem; line-height: 1.8; margin-top: 23px; max-width: 36ch; }
.mail-foot { color: #7a6654; font-size: .66rem; margin-top: auto; padding-top: 27px; }
.result-card { padding: 23px 26px; display: flex; flex-direction: column; min-width: 0; }
.step-controls { display: flex; border-bottom: 1px solid var(--paper-line); gap: 18px; margin-bottom: 24px; }
.step-button { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 0; border-bottom: 2px solid transparent; color: #756455; font-size: .78rem; padding: 5px 0 11px; min-height: 44px; }
.step-button span { color: #a48a73; font-size: .63rem; }
.step-button.is-active { color: #442d1c; border-bottom-color: #975b32; font-weight: 750; }
.step-panel { min-height: 190px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.status-chip { display: inline-flex; padding: 4px 8px; border-radius: 4px; font-size: .65rem; font-weight: 720; white-space: nowrap; }
.status-attention { color: #8a4725; background: #f5dcc5; }
.status-ready { color: #315940; background: #dfeadd; }
.result-card h3 { font-size: clamp(1.25rem,2vw,1.65rem); letter-spacing: -.035em; font-weight: 640; }
.case-fields { margin: 20px 0 0; }
.case-fields > div { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; border-bottom: 1px solid #dfd4c6; font-size: .75rem; }
.case-fields dt { color: #75604f; }
.case-fields dd { margin: 0; font-weight: 650; text-align: right; }
.case-fields .field-missing dd { color: #934b27; }
.demo-next { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 20px; margin-top: auto; }
.demo-next > p { color: #79614e; font-size: .7rem; max-width: 30ch; }
.demo-next .button { min-height: 40px; padding: 10px 13px; font-size: .72rem; flex: none; gap: 16px; }
.demo-draft { white-space: pre-wrap; color: #5c4838; font-size: .86rem; line-height: 1.75; margin-top: 15px; padding-left: 12px; border-left: 2px solid #c19a79; }
.demo-description { color: #695646; margin-top: 14px; font-size: .86rem; }
.lab-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 20px; padding: 13px 24px; border-top: 1px solid var(--paper-line); color: #74604f; font-size: .66rem; }
.lab-footer b { font-weight: 700; color: #594433; }
.fallback-note { margin-top: 18px; font-size: .85rem; color: #b8a48f; }
.project-section { background: #19140f; border-block: 1px solid #37291e; }
.featured-project { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; padding-block: 8px 45px; }
.project-category { color: #c49168; font-size: .67rem; font-weight: 700; letter-spacing: .15em; }
.project-copy h3 { font-size: clamp(2rem,3.3vw,3.3rem); font-weight: 600; letter-spacing: -.045em; margin: 16px 0 22px; }
.project-copy > p:not(.project-category):not(.project-stage) { max-width: 43ch; color: #bba48f; font-size: .9rem; }
.project-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 21px 0 28px; }
.project-facts li { border: 1px solid #56402e; border-radius: 3px; padding: 4px 7px; color: #d1b49b; font-size: .62rem; }
.project-stage { display: flex; gap: 7px; align-items: baseline; font-size: .66rem; color: #b9a58e; margin-top: 23px; max-width: 46ch; }
.project-stage > span { display: block; width: 5px; height: 5px; border-radius: 50%; flex: none; background: #cf9164; }
.project-details { margin-top: 12px; font-size: .72rem; color: #bda489; max-width: 48ch; }
summary { cursor: pointer; padding-block: 8px; }
.project-details p { margin-top: 4px; line-height: 1.6; }
.project-visual { min-width: 0; transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); border: 1px solid #826044; background: #251b14; box-shadow: 15px 30px 70px #0005; border-radius: 11px; overflow: hidden; }
.window-dots { display: flex; align-items: center; gap: 5px; padding: 13px 14px; border-bottom: 1px solid #5b422f; }
.window-dots i { width: 5px; height: 5px; background: #976d4e; border-radius: 50%; }
.window-dots > span { color: #b8987b; margin-left: auto; font-size: .59rem; }
.mini-app { display: grid; grid-template-columns: 130px minmax(0,1fr); min-height: 320px; }
.mini-sidebar { display: flex; flex-direction: column; gap: 22px; color: #ae9277; background: #1d1712; padding: 23px 12px; font-size: .59rem; }
.mini-logo { color: #d9ae8c; font-size: 1.8rem; font-weight: 720; letter-spacing: -.1em; }
.mini-nav-active { display: flex; justify-content: space-between; margin-inline: -4px; padding: 7px 4px; background: #3a281c; color: #ebc3a2; }
.mini-work { background: #eee5d7; padding: 22px; color: #3c2b1d; }
.mini-greeting { font-size: .7rem; line-height: 1.6; color: #7b624c; }
.mini-greeting b { color: #3a281a; font-size: .85rem; font-weight: 620; }
.mini-record { padding: 17px; margin-top: 23px; background: #fffaf2; border: 1px solid #d8bc9f; border-radius: 7px; }
.mini-status { color: #975e34; font-size: .58rem; background: #f0ddc5; padding: 3px 5px; border-radius: 3px; }
.mini-record h4 { font-size: .91rem; margin-top: 13px; }
.mini-record p { color: #7d644e; font-size: .64rem; line-height: 1.7; margin-top: 8px; }
.mini-action { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding-top: 9px; border-top: 1px solid #e2d4c3; font-size: .6rem; color: #71482b; }
.mini-notification { display: flex; gap: 10px; align-items: center; background: #372619; color: #f1d9be; border: 1px solid #795235; margin-top: 12px; padding: 10px 12px; box-shadow: 4px 6px 12px #4b281c20; }
.mini-notification > span { color: #d5a378; font-size: 1.3rem; }
.mini-notification b, .mini-notification small { display: block; font-size: .6rem; }
.mini-notification small { margin-top: 3px; color: #cab394; font-size: .55rem; }
.visual-note { padding: 10px 15px; color: #aa896a; font-size: .57rem; border-top: 1px solid #5b422f; }
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-top: 1px solid #463122; padding-top: 40px; }
.capabilities article { display: grid; grid-template-columns: 35px 1fr; gap: 0 16px; }
.capability-number { color: #c18658; font-size: .71rem; padding-top: 5px; }
.capabilities h3 { font-weight: 560; font-size: 1.55rem; letter-spacing: -.035em; }
.capabilities p { grid-column: 2; color: #b29a84; font-size: .85rem; max-width: 43ch; margin-top: 13px; }
.capability-label { grid-column: 2; color: #bd865c; font-size: .61rem; font-weight: 730; letter-spacing: .1em; margin-top: 20px; }
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.approach h2 { margin-top: 17px; }
.approach-title > p:last-child { color: #b8a491; margin-top: 25px; font-size: .94rem; max-width: 39ch; }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { display: flex; gap: 23px; padding: 27px 0; border-top: 1px solid var(--line); }
.process-list li > span { font-size: .7rem; color: #b77f55; padding-top: 4px; }
.process-list h3 { font-size: 1.25rem; font-weight: 550; letter-spacing: -.025em; }
.process-list p { margin-top: 12px; color: #b5a18d; font-size: .88rem; }
.quality-section { background: var(--paper); color: #2a2119; padding-block: 76px; }
.quality-section .eyebrow { color: #8c5836; }
.quality-section h2 { margin-top: 17px; max-width: 900px; font-size: clamp(2.5rem, 4.6vw, 4.8rem); }
.quality-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; margin-top: 45px; }
.quality-points > div { border-top: 1px solid #bca48e; padding-top: 17px; }
.quality-points span { color: #98623c; font-size: 1.6rem; }
.quality-points h3 { margin-top: 20px; font-size: 1.1rem; font-weight: 650; letter-spacing: -.02em; }
.quality-points p { margin-top: 11px; color: #79624f; font-size: .87rem; max-width: 35ch; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.faq h2 { margin-top: 16px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 79px; font-size: .99rem; font-weight: 550; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--copper); font-size: 1.4rem; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list p { color: #bca58f; font-size: .88rem; padding-bottom: 24px; max-width: 56ch; }
.brief-section { background: #c89166; color: #281a10; padding-block: 90px; }
.brief-section .eyebrow { color: #442716; }
.brief-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.brief-intro h2 { margin-top: 18px; font-size: clamp(2.8rem, 5.1vw, 5.1rem); }
.brief-intro h2 em { color: #442716; }
.brief-intro > p:not(.eyebrow):not(.brief-local) { margin-top: 26px; max-width: 35ch; font-size: .96rem; }
.brief-local { display: flex; align-items: baseline; gap: 10px; color: #50321e; border-top: 1px solid #925e3c80; padding-top: 21px; margin-top: 33px; max-width: 44ch; font-size: .76rem; }
.brief-local > span { font-size: 1.4rem; color: #7b4927; }
.brief-composer { padding: 30px; color: var(--ink); background: #f5ebdf; border-radius: 8px; box-shadow: 0 20px 55px #5a30151c; min-width: 0; }
.brief-composer :focus-visible { outline-color: #713e20; }
.brief-form label, .brief-output label { display: block; color: #5b402b; font-size: .76rem; font-weight: 720; margin-bottom: 7px; }
.brief-form label > span { color: #806b58; font-size: .66rem; font-weight: 450; }
.brief-composer input, .brief-composer select, .brief-composer textarea { width: 100%; max-width: 100%; color: #39281a; background: #fffaf3; padding: 10px 12px; border: 1px solid #c7b29b; font-size: .85rem; border-radius: 4px; }
.brief-composer input, .brief-composer select { min-height: 44px; }
.brief-composer textarea { line-height: 1.6; resize: vertical; }
.brief-form input, .brief-form select, .brief-form textarea { margin-bottom: 17px; }
.brief-composer ::placeholder { color: #8a7561; opacity: 1; }
.form-note { color: #80654e; font-size: .67rem; margin-top: -4px; margin-bottom: 18px; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.brief-actions .button { font-size: .75rem; min-height: 44px; padding: 10px 13px; gap: 13px; }
.text-button { border: 0; border-bottom: 1px solid #a38b74; background: transparent; color: #6a4b33; font-size: .71rem; padding: 7px 0; min-height: 40px; margin-left: 4px; }
#brief-status { font-size: .76rem; color: #66472e; margin-top: 12px; }
.brief-composer .fallback-note { color: #654830; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; min-height: 125px; color: #a78e76; font-size: .68rem; }
.site-footer .brand { color: var(--cream); font-size: 1.45rem; }
.site-footer > a:not(.brand) { text-decoration: none; }
.site-footer > a:not(.brand):hover { color: var(--copper); }
@keyframes symbol-drift { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@media (max-width:1100px) {
  .container { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1.1fr .9fr; }
  .hero-art { height: 450px; }
  .hero h1 { font-size: clamp(3.6rem, 6.8vw, 5.4rem); }
  .hero-actions { gap: 18px; }
  .hero-actions .underlined-link { font-size: .75rem; }
  .section-heading > p { max-width: 280px; }
  .mini-app { grid-template-columns: 105px minmax(0,1fr); }
  .mini-work { padding: 18px 14px; }
  .brief-grid { gap: 45px; }
}
@media (max-width:800px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 85px; }
  .site-header nav { gap: 18px; font-size: .72rem; }
  .site-header .nav-brief { padding-left: 14px; }
  .nav-brief span { margin-left: 7px; }
  .brand { font-size: 1.45rem; }
  .brand img { width: 39px; height: 28px; margin-right: 5px; }
  .hero { padding-top: 48px; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(4rem,10vw,6.2rem); }
  .hero h1 em br { display: none; }
  .hero-lead { max-width: 48ch; }
  .hero-art { width: min(470px,100%); height: 410px; margin: 28px auto 0; }
  .hero-symbol { width: 100%; top: 12%; }
  .hero-bottom { margin-top: 14px; }
  .hero-note { margin-top: 28px; }
  .principles-strip > div { gap: 11px; font-size: .65rem; }
  .principles-strip span[aria-hidden] { font-size: .9rem; }
  .section-heading { align-items: flex-start; gap: 25px; }
  .section-heading > p { max-width: 250px; font-size: .85rem; }
  .lab-content { grid-template-columns: .8fr 1.2fr; }
  .mail-card, .result-card { padding: 23px 18px; }
  .scenario-select legend { float: none; line-height: 1.5; margin-bottom: 10px; }
  .demo-next { flex-wrap: wrap; gap: 10px; }
  .step-controls { gap: 13px; }
  .step-button { font-size: .68rem; gap: 4px; }
  .featured-project { gap: 27px; }
  .project-copy h3 { font-size: 2rem; }
  .mini-app { grid-template-columns: 1fr; min-height: 0; }
  .mini-sidebar { display: none; }
  .mini-work { padding: 18px; }
  .capabilities { gap: 30px; }
  .capabilities h3 { font-size: 1.32rem; }
  .approach, .faq { grid-template-columns: 1fr 1fr; gap: 35px; }
  .process-list li { gap: 14px; padding-block: 21px; }
  .process-list h3 { font-size: 1.08rem; }
  .quality-points { gap: 22px; }
  .brief-grid { grid-template-columns: 1fr 1.1fr; gap: 30px; }
  .brief-composer { padding: 24px; }
}
@media (max-width:580px) {
  .container { width: calc(100% - 36px); }
  .site-header { align-items: center; flex-wrap: wrap; gap: 11px; padding-block: 18px 13px; }
  .site-header .brand { font-size: 1.55rem; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 12px; font-size: .71rem; }
  .site-header .nav-brief { padding: 7px 0 7px 13px; }
  .hero { padding-top: 42px; }
  .hero .eyebrow { font-size: .54rem; letter-spacing: .1em; gap: 8px; }
  .hero h1 { font-size: clamp(3.2rem,12.4vw,4.7rem); margin-top: 23px; }
  .hero h1 em br { display: block; }
  .hero-lead { font-size: .9rem; margin-top: 23px; max-width: 34ch; }
  .hero-actions { gap: 20px; margin-top: 26px; }
  .hero-actions .button { font-size: .79rem; padding-inline: 16px; gap: 25px; }
  .hero-note { margin-top: 25px; }
  .hero-art { height: 335px; width: 100%; max-width: 380px; margin-top: 20px; }
  .art-label-top { top: 11px; left: 13px; font-size: .51rem; }
  .art-label-bottom { bottom: 14px; left: 13px; font-size: .5rem; }
  .art-index { bottom: 20px; right: 8px; font-size: .55rem; }
  .hero-bottom { min-height: 72px; gap: 10px; }
  .scroll-link { gap: 8px; font-size: .62rem; }
  .motion-toggle { gap: 6px; font-size: .6rem; }
  .principles-strip > div { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 15px; padding-block: 17px; font-size: .72rem; }
  .principles-strip span[aria-hidden] { display: none; }
  .principles-strip span:not([aria-hidden])::before { content: "✳"; color: #a36b44; margin-right: 9px; }
  .section { padding-block: 65px; }
  .eyebrow { font-size: .56rem; letter-spacing: .11em; }
  h2 { font-size: clamp(2.1rem,8.5vw,3rem); }
  .section-heading { flex-direction: column; gap: 21px; margin-bottom: 30px; }
  .section-heading h2 { margin-top: 14px; }
  .section-heading > p { max-width: 44ch; font-size: .88rem; }
  .lab-toolbar { padding: 16px; }
  .lab-controls { padding: 13px 16px; }
  .scenario-select { gap: 5px; }
  .scenario-button { font-size: .65rem; padding: 6px 8px; }
  .lab-content { grid-template-columns: minmax(0,1fr); }
  .mail-card { border-right: 0; border-bottom: 1px solid var(--paper-line); padding: 20px; }
  .mail-person { margin-top: 17px; }
  .mail-body { max-width: 100%; font-size: .87rem; margin-top: 16px; }
  .mail-foot { padding-top: 16px; font-size: .6rem; }
  .result-card { padding: 19px; }
  .step-controls { gap: 20px; }
  .step-button { font-size: .73rem; }
  .step-panel { min-height: 185px; }
  .result-card h3 { font-size: 1.35rem; }
  .case-fields > div { font-size: .72rem; gap: 12px; }
  .demo-next { flex-wrap: nowrap; padding-top: 18px; }
  .demo-next > p { font-size: .64rem; }
  .demo-next .button { font-size: .64rem; gap: 9px; padding-inline: 10px; }
  .lab-footer { padding: 13px 16px; font-size: .61rem; }
  .featured-project { grid-template-columns: 1fr; gap: 29px; padding-bottom: 34px; }
  .project-copy h3 { font-size: 2.5rem; }
  .project-copy h3 br:last-child { display: none; }
  .project-copy > p:not(.project-category):not(.project-stage) { font-size: .86rem; }
  .project-visual { transform: none; }
  .mini-app { grid-template-columns: 100px minmax(0,1fr); }
  .mini-sidebar { display: flex; font-size: .5rem; padding-inline: 9px; }
  .mini-work { padding: 19px 13px; }
  .mini-greeting b { font-size: .75rem; }
  .mini-record { padding: 13px; margin-top: 18px; }
  .mini-record h4 { font-size: .83rem; }
  .mini-record p { font-size: .6rem; }
  .mini-notification { padding: 8px; gap: 7px; }
  .mini-notification > span { font-size: 1rem; }
  .mini-notification b { font-size: .55rem; }
  .mini-notification small { font-size: .48rem; }
  .capabilities { grid-template-columns: 1fr; gap: 33px; padding-top: 32px; }
  .capabilities article { grid-template-columns: 25px 1fr; gap: 0 12px; }
  .capabilities h3 { font-size: 1.45rem; }
  .capabilities h3 br { display: none; }
  .approach { grid-template-columns: 1fr; gap: 31px; }
  .approach-title > p:last-child { font-size: .87rem; }
  .process-list h3 { font-size: 1.16rem; }
  .process-list p { font-size: .85rem; }
  .quality-section { padding-block: 58px; }
  .quality-section h2 { font-size: 2.4rem; }
  .quality-points { grid-template-columns: 1fr; gap: 25px; margin-top: 33px; }
  .quality-points > div { display: grid; grid-template-columns: 32px 1fr; gap: 0 13px; padding-top: 19px; }
  .quality-points span { grid-row: 1/3; }
  .quality-points h3 { margin: 2px 0 0; }
  .quality-points p { margin-top: 9px; font-size: .84rem; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .faq-list summary { min-height: 74px; font-size: .9rem; }
  .faq-list p { font-size: .84rem; }
  .brief-section { padding-block: 61px; }
  .brief-grid { grid-template-columns: 1fr; gap: 32px; }
  .brief-intro h2 { font-size: 3.2rem; }
  .brief-intro > p:not(.eyebrow):not(.brief-local) { font-size: .9rem; }
  .brief-local { margin-top: 22px; padding-top: 17px; font-size: .73rem; }
  .brief-composer { padding: 22px 18px; }
  .site-footer { padding-block: 29px; align-items: flex-start; gap: 14px 25px; }
  .site-footer .brand { width: 100%; font-size: 1.7rem; }
  .site-footer > p { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
