:root {
  --paper: #efede5;
  --paper-deep: #e5e2d8;
  --ink: #191916;
  --muted: #6c6b63;
  --line: #c7c4b9;
  --accent: #ff4b2b;
  --acid: #d8e677;
  --dark: #1b1c18;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1380px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--acid); color: var(--ink); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 16px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-wrap { width: min(var(--wrap), calc(100% - 80px)); margin-inline: auto; }
.section-pad { padding-top: 128px; padding-bottom: 132px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(239, 237, 229, .93);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; background: var(--accent); color: var(--ink); font: 900 25px/1 var(--display); transform: rotate(-5deg); }
.brand-mark span { color: var(--paper); }
.brand-copy { display: flex; flex-direction: column; font: 900 13px/1.1 var(--body); letter-spacing: -.03em; }
.brand-copy small { margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); }
.site-nav a { position: relative; display: inline-flex; align-items: baseline; gap: 7px; padding: 9px 0; font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.site-nav a:not(.nav-contact)::after { position: absolute; bottom: 2px; left: 0; width: 0; height: 2px; content: ""; background: var(--accent); transition: width .25s ease; }
.site-nav a:not(.nav-contact):hover::after, .site-nav a:not(.nav-contact):focus-visible::after { width: 100%; }
.site-nav a > span:first-child { font-size: 9px; color: var(--muted); }
.site-nav .nav-contact { padding: 13px 17px; border: 1px solid var(--ink); transition: color .2s, background .2s, border-color .2s; }
.site-nav .nav-contact span { font-size: 16px; }
.site-nav .nav-contact:hover { color: var(--paper); background: var(--ink); }
.menu-toggle { display: none; }

.hero { padding-top: 34px; }
.hero-meta, .hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.eyebrow, .hero-index, .hero-foot, .art-topline, .art-caption, .art-side-label, .section-label, .service-no, .service-type, .stack-category, .process-index, .form-topline, .contact-bottom, .site-footer, .hero-actions .text-link, .mock-top, .mock-kicker, .mock-bottom { font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,75,43,.12); }
.hero-index { color: var(--muted); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr); gap: clamp(28px, 5vw, 82px); align-items: center; padding: 55px 0 40px; }
.hero-copy { min-width: 0; }
.display-title { position: relative; margin: 0; font: 900 clamp(76px, 10.2vw, 148px)/.79 var(--display); letter-spacing: -.052em; text-transform: uppercase; }
.display-title > br { display: block; }
.title-last-line { display: inline-block; margin-top: .075em; }
.title-period { color: var(--accent); }
.title-side-note { display: inline-block; margin-left: 13px; vertical-align: top; font: 800 10px/1.2 var(--body); letter-spacing: .05em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-top: 42px; }
.hero-intro { max-width: 290px; margin: 0; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.4; letter-spacing: -.035em; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; flex-shrink: 0; }
.button { min-height: 48px; display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 0 17px; border: 1px solid var(--ink); font-size: 11px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button span { font-size: 17px; transition: transform .2s ease; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--ink); }
.button:hover span { transform: translate(2px, -2px); }
.button-primary { background: var(--accent); border-color: var(--accent); }
.text-link { position: relative; display: inline-flex; gap: 15px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.text-link span { font-size: 15px; }
.text-link:hover { border-color: var(--accent); }

.hero-art { position: relative; min-width: 0; padding: 22px 14px 18px 20px; }
.art-topline { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 10px; color: var(--muted); }
.art-frame { position: relative; z-index: 1; padding: 0 0 12px; background: #d5d2c7; border: 1px solid var(--ink); box-shadow: 9px 9px 0 var(--ink); transform: rotate(1.8deg); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.hero-art:hover .art-frame { transform: rotate(0deg) translate(-3px, -3px); box-shadow: 13px 13px 0 var(--ink); }
.browser-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 32px; padding: 0 11px; border-bottom: 1px solid #aaa89d; color: #57574f; font-size: 8px; letter-spacing: .04em; }
.browser-dots { display: flex; gap: 4px; }
.browser-dots b { width: 5px; height: 5px; border: 1px solid #77766c; border-radius: 50%; }
.browser-menu { font-size: 17px; line-height: .4; }
.browser-content { position: relative; overflow: hidden; min-height: 340px; margin: 0 10px; padding: 16px 17px 13px; background: #f2f0e8; }
.mock-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; padding-bottom: 18px; border-bottom: 1px solid #c9c6ba; font-size: 8px; }
.mock-logo { font-size: 12px; letter-spacing: -.04em; }
.mock-logo span { color: var(--accent); }
.mock-top > span:last-child { display: flex; align-items: center; gap: 8px; }
.mock-top b { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid var(--ink); border-radius: 50%; font-size: 12px; }
.mock-kicker { position: relative; z-index: 1; margin-top: 30px; font-size: 7px; color: #66645b; }
.mock-heading { position: relative; z-index: 1; margin-top: 10px; font: 900 clamp(48px, 6vw, 82px)/.75 var(--display); letter-spacing: -.065em; }
.mock-heading em { color: var(--accent); font-style: normal; }
.mock-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; margin-top: 29px; padding-top: 10px; border-top: 1px solid #c9c6ba; font-size: 7px; }
.mock-arrow { display: grid; place-items: center; width: 29px; height: 29px; background: var(--acid); border: 1px solid var(--ink); font-size: 19px; }
.mock-shape { position: absolute; right: -18px; bottom: 43px; width: 130px; height: 100px; opacity: .8; }
.mock-shape span { position: absolute; right: 12px; top: 0; width: 87px; height: 87px; border: 1px solid var(--ink); border-radius: 50%; }
.mock-shape i { position: absolute; right: 28px; top: 17px; width: 68px; height: 68px; background: var(--acid); border: 1px solid var(--ink); border-radius: 50%; }
.art-caption { display: flex; justify-content: space-between; gap: 10px; padding: 12px 11px 0; color: var(--muted); font-size: 8px; }
.art-sticker { position: absolute; top: 42px; right: -9px; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 93px; height: 93px; background: var(--acid); border: 1px solid var(--ink); border-radius: 50%; font-size: 8px; font-weight: 900; line-height: 1.05; transform: rotate(10deg); }
.art-sticker strong { font-size: 12px; }
.art-sticker i { margin-top: 4px; font-size: 17px; font-style: normal; }
.code-note { position: absolute; bottom: -3px; left: -6px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--accent); border: 1px solid var(--ink); font-size: 8px; font-weight: 800; line-height: 1.15; transform: rotate(-5deg); }
.code-note-number { font: 900 20px/1 var(--display); }
.art-side-label { position: absolute; top: 48%; right: -20px; writing-mode: vertical-rl; color: var(--muted); font-size: 7px; letter-spacing: .13em; }
.hero-foot { min-height: 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 9px; }
.scroll-cue span { display: inline-block; width: 23px; height: 1px; background: var(--accent); transition: width .2s; }
.scroll-cue:hover span { width: 38px; }

.ticker { overflow: hidden; padding: 17px 0 15px; color: var(--paper); background: var(--dark); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(-.5deg) scale(1.01); }
.ticker-track { display: flex; align-items: center; justify-content: space-around; gap: 35px; min-width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 28px; font: 900 14px/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.ticker-track b { color: var(--accent); font: 16px/1 var(--body); }
@keyframes ticker { to { transform: translateX(-33.333%); } }

.section-heading { margin-bottom: 56px; }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 31px; color: var(--muted); }
.section-number { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--accent); color: var(--ink); font-size: 10px; }
.section-heading-main { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-title { margin: 0; font: 900 clamp(49px, 7.4vw, 100px)/.82 var(--display); letter-spacing: -.045em; }
.section-title > span { color: var(--accent); }
.section-description { max-width: 320px; margin: 0 0 2px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) 180px 25px; align-items: center; gap: 20px; min-height: 133px; padding: 22px 9px; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.service-row:hover { padding-left: 20px; padding-right: 0; background: rgba(255,255,255,.34); }
.service-no { align-self: start; padding-top: 8px; color: var(--muted); }
.service-name h3 { margin: 0; font-size: clamp(24px, 3.3vw, 40px); line-height: 1; letter-spacing: -.055em; font-weight: 800; transition: color .2s; }
.service-row:hover .service-name h3 { color: var(--accent); }
.service-name p { margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.service-type { color: var(--muted); font-size: 8px; text-align: right; }
.service-arrow { justify-self: end; font-size: 23px; transition: transform .2s, color .2s; }
.service-row:hover .service-arrow { color: var(--accent); transform: translate(3px, -3px); }
.services-note { display: flex; align-items: flex-start; gap: 12px; max-width: 510px; margin: 28px 0 0 auto; color: var(--muted); font-size: 12px; line-height: 1.5; }
.services-note span { color: var(--accent); font-size: 22px; line-height: .8; }

.stack { background: var(--paper-deep); width: 100%; padding-inline: max(40px, calc((100% - var(--wrap)) / 2)); }
.stack .section-heading { margin-bottom: 47px; }
.stack-board { border-top: 1px solid #bcb9ad; }
.stack-column { display: grid; grid-template-columns: minmax(180px, .4fr) minmax(0, 1.6fr); align-items: start; gap: 28px; padding: 25px 0; border-bottom: 1px solid #bcb9ad; }
.stack-category { display: flex; gap: 13px; padding-top: 12px; color: var(--muted); font-size: 9px; }
.stack-category span { color: var(--accent); }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tags span { display: inline-block; padding: 11px 13px 10px; border: 1px solid #aaa79d; font-size: 12px; font-weight: 700; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.stack-tags span:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-3px); }
.stack-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 25px; }
.stack-foot-mark { color: var(--accent); font-size: 27px; }
.stack-foot p { max-width: 520px; margin: 0 auto 0 0; font-size: 13px; line-height: 1.45; }
.stack-foot-stamp { padding: 9px 10px; border: 1px solid var(--accent); color: var(--accent); font: 900 9px/1.05 var(--display); letter-spacing: .04em; transform: rotate(5deg); }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step { position: relative; min-height: 240px; padding: 22px 21px 24px 0; }
.process-step + .process-step { padding-left: 22px; border-left: 1px solid var(--line); }
.process-index { color: var(--muted); font-size: 8px; }
.process-symbol { display: grid; place-items: center; width: 49px; height: 49px; margin: 36px 0 20px; border: 1px solid var(--ink); font-size: 23px; transition: background .2s, color .2s, transform .2s; }
.process-step:hover .process-symbol { background: var(--accent); transform: rotate(-7deg); }
.process-step h3 { margin: 0; font-size: 24px; letter-spacing: -.05em; }
.process-step p { max-width: 235px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.contact { overflow: hidden; color: var(--paper); background: var(--dark); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .7fr); gap: clamp(40px, 8vw, 120px); padding-top: 112px; padding-bottom: 104px; }
.section-label-light { color: #a6a79c; }
.section-label-light .section-number { color: var(--paper); border-color: var(--accent); }
.contact-title { margin: 0; font: 900 clamp(78px, 12vw, 160px)/.77 var(--display); letter-spacing: -.06em; }
.contact-title > span { color: var(--accent); }
.contact-title em { color: var(--acid); font-style: normal; }
.contact-intro { max-width: 380px; margin: 34px 0 0; color: #c4c5b9; font-size: 16px; line-height: 1.5; }
.contact-signature { display: flex; align-items: center; gap: 12px; margin-top: 48px; color: #a6a79c; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.signature-line { width: 36px; height: 1px; background: var(--accent); }
.contact-form { align-self: center; padding: 25px; color: var(--ink); background: var(--paper); border: 1px solid var(--paper); box-shadow: 9px 9px 0 var(--accent); }
.form-topline { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 34px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.form-topline span:last-child { color: var(--muted); }
.contact-form label { display: block; margin: 18px 0 8px; font-size: 11px; font-weight: 800; }
.contact-form input, .contact-form textarea { display: block; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #aaa79d; border-radius: 0; outline: none; color: var(--ink); background: transparent; font-size: 13px; resize: vertical; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #96948a; }
.form-submit { width: 100%; margin-top: 25px; background: var(--accent); border-color: var(--accent); cursor: pointer; text-align: left; }
.form-hint { margin: 13px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.form-hint code { padding: 1px 4px; background: #dfdcd1; font-size: 10px; }
.form-status { margin: 0; font-size: 11px; line-height: 1.5; }
.form-status:not(:empty) { margin-top: 10px; }
.contact-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 19px; border-top: 1px solid #44453d; color: #a6a79c; font-size: 8px; }
.contact-bottom b { margin-left: 6px; color: var(--accent); font-size: 14px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 78px; color: var(--muted); font-size: 8px; }
.footer-brand { color: var(--ink); font: 900 23px/1 var(--display); letter-spacing: -.04em; }
.footer-brand span { color: var(--accent); }
.back-to-top { padding-bottom: 4px; border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
.back-to-top:hover { color: var(--ink); border-color: var(--accent); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 100; max-width: min(380px, calc(100% - 40px)); padding: 13px 16px; color: white; background: var(--ink); border-left: 3px solid var(--accent); font-size: 12px; line-height: 1.45; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

html:not(.js) .reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .hero-art.reveal { transform: translateY(22px) rotate(.5deg); }
.js .hero-art.reveal.is-visible { transform: translateY(0) rotate(0); }

@media (min-width: 1500px) {
  .display-title { font-size: 148px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
}
@media (max-width: 1050px) {
  .site-header { padding-inline: 25px; }
  .section-wrap { width: min(var(--wrap), calc(100% - 50px)); }
  .stack { padding-inline: 25px; }
  .site-nav { gap: 20px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(290px, .95fr); gap: 20px; }
  .display-title { font-size: clamp(72px, 9vw, 110px); }
  .hero-bottom { flex-direction: column; align-items: flex-start; margin-top: 33px; }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .browser-content { min-height: 300px; }
  .mock-heading { font-size: clamp(48px, 5.9vw, 70px); }
  .contact-inner { gap: 45px; }
  .contact-title { font-size: clamp(78px, 10vw, 125px); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .section-wrap { width: calc(100% - 36px); }
  .section-pad { padding-top: 83px; padding-bottom: 85px; }
  .site-header { min-height: 69px; padding: 0 18px; }
  .brand-mark { width: 32px; height: 32px; font-size: 22px; }
  .brand-copy { font-size: 12px; }
  .brand-copy small { font-size: 7px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; padding: 10px 0 10px 10px; border: 0; color: var(--ink); background: none; font-size: 10px; font-weight: 800; cursor: pointer; }
  .menu-lines { display: flex; flex-direction: column; gap: 5px; width: 22px; }
  .menu-lines i { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0 18px; max-height: 0; overflow: hidden; border-bottom: 0 solid var(--line); background: var(--paper); opacity: 0; transition: max-height .32s ease, opacity .25s, padding .32s, border-width .2s; }
  .site-nav.is-open { max-height: 340px; padding-top: 9px; padding-bottom: 16px; border-bottom-width: 1px; opacity: 1; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .site-nav .nav-contact { justify-content: space-between; margin-top: 10px; padding: 13px 14px; border: 1px solid var(--ink); }
  .hero { padding-top: 25px; }
  .hero-meta { align-items: flex-start; flex-direction: column; gap: 10px; }
  .eyebrow { font-size: 8px; }
  .hero-index { font-size: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 25px; padding-top: 45px; padding-bottom: 28px; }
  .display-title { font-size: clamp(69px, 16.4vw, 124px); line-height: .82; }
  .title-side-note { margin-left: 6px; font-size: 8px; }
  .hero-bottom { margin-top: 30px; gap: 22px; }
  .hero-intro { max-width: 300px; font-size: 16px; }
  .hero-actions { width: 100%; gap: 18px; }
  .button { min-height: 47px; }
  .hero-art { width: min(100%, 470px); margin: 0 auto; padding: 19px 10px 15px 10px; }
  .browser-content { min-height: 280px; }
  .mock-heading { font-size: clamp(64px, 15vw, 84px); }
  .art-sticker { width: 80px; height: 80px; right: -1px; top: 34px; }
  .art-side-label { right: -4px; }
  .hero-foot { align-items: flex-start; flex-wrap: wrap; padding: 13px 0; font-size: 7px; }
  .hero-foot > span:first-child { max-width: 63%; }
  .hero-foot-right { display: none; }
  .ticker { padding: 15px 0 13px; }
  .ticker-track span { font-size: 12px; }
  .section-heading { margin-bottom: 38px; }
  .section-label { margin-bottom: 24px; font-size: 8px; }
  .section-heading-main { display: block; }
  .section-title { font-size: clamp(48px, 11.8vw, 82px); }
  .section-description { margin-top: 22px; font-size: 13px; }
  .service-row { grid-template-columns: 42px minmax(0,1fr) 20px; gap: 10px; min-height: 116px; padding: 20px 2px; }
  .service-no { font-size: 8px; }
  .service-name h3 { font-size: clamp(23px, 6.4vw, 31px); }
  .service-name p { max-width: 300px; font-size: 11px; }
  .service-type { display: none; }
  .service-arrow { font-size: 19px; }
  .services-note { margin-top: 24px; font-size: 11px; }
  .stack { padding-inline: 0; }
  .stack > * { width: calc(100% - 36px); }
  .stack .section-heading { margin-bottom: 37px; }
  .stack-column { grid-template-columns: 1fr; gap: 15px; padding: 19px 0; }
  .stack-category { padding-top: 0; font-size: 8px; }
  .stack-tags { gap: 7px; }
  .stack-tags span { padding: 10px 11px; font-size: 11px; }
  .stack-foot { align-items: flex-start; gap: 10px; }
  .stack-foot p { font-size: 11px; }
  .stack-foot-stamp { flex-shrink: 0; font-size: 8px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-step { min-height: 229px; padding: 19px 13px 22px 0; }
  .process-step + .process-step { padding-left: 13px; }
  .process-step:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-step:nth-child(4) { border-top: 1px solid var(--line); }
  .process-symbol { width: 43px; height: 43px; margin: 27px 0 16px; }
  .process-step h3 { font-size: 21px; }
  .process-step p { font-size: 11px; }
  .contact-inner { grid-template-columns: 1fr; gap: 47px; padding-top: 78px; padding-bottom: 70px; }
  .contact-title { font-size: clamp(80px, 17.7vw, 132px); }
  .contact-intro { max-width: 340px; margin-top: 26px; font-size: 14px; }
  .contact-signature { margin-top: 31px; font-size: 7px; }
  .contact-form { padding: 20px 18px; box-shadow: 6px 6px 0 var(--accent); }
  .contact-bottom { flex-direction: column; gap: 9px; font-size: 7px; }
  .site-footer { min-height: 70px; gap: 12px; font-size: 7px; }
  .footer-brand { font-size: 21px; }
  .site-footer > span { text-align: center; }
}
@media (max-width: 360px) {
  .section-wrap { width: calc(100% - 28px); }
  .site-header { padding-inline: 14px; }
  .brand { gap: 8px; }
  .brand-copy small { letter-spacing: .06em; }
  .display-title { font-size: 64px; }
  .title-side-note { font-size: 7px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .mock-heading { font-size: 57px; }
  .browser-content { min-height: 260px; padding-inline: 12px; }
  .stack > * { width: calc(100% - 28px); }
  .contact-title { font-size: 73px; }
}

/* WEB/01 — extended interaction layer */
:root { --accent-rgb: 255,75,43; }
html { scroll-padding-top: 100px; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 3px; pointer-events: none; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--accent); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: 20px; flex-shrink: 0; }
.tool-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; padding: 0 8px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 9px; font-weight: 800; letter-spacing: .05em; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.tool-button:hover, .tool-button[aria-pressed="true"] { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.language-toggle { gap: 6px; }
.language-toggle .language-current { color: var(--accent); }
.tool-slash { opacity: .45; }
.theme-symbol { font-size: 16px; }
.availability-tag { color: var(--accent); font-size: .9em; }
.hero-rotator { margin: 15px 0 0; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.hero-rotator strong { display: inline-block; margin-left: 5px; color: var(--accent); transition: opacity .2s, transform .2s; }
.hero-rotator strong.is-changing { opacity: 0; transform: translateY(5px); }
.preview-controls { display: grid; grid-template-columns: auto minmax(60px,1fr) auto; align-items: center; gap: 10px; margin: 25px 0 0; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.preview-controls input { min-width: 0; width: 100%; accent-color: var(--accent); }
.preview-controls output { color: var(--ink); font-variant-numeric: tabular-nums; }
.art-frame { width: min(100%, var(--preview-width, 100%)); margin-inline: auto; transition: width .2s ease, transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.service-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; }
.filter-button { padding: 10px 13px; border: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 10px; font-weight: 800; transition: background .2s, color .2s, border-color .2s; }
.filter-button:hover, .filter-button.is-active { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.service-row.is-filtered-out { display: none; }
.service-fit { display: grid; grid-template-columns: 1fr 1.25fr auto; align-items: end; gap: 30px; margin-top: 56px; padding: 26px 0 0; border-top: 1px solid var(--line); }
.micro-label { display: block; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.service-fit h3, .tech-lab h3, .deliverables h3 { margin: 13px 0 0; font-size: clamp(22px,2.4vw,32px); line-height: 1; letter-spacing: -.055em; }
.service-fit p { max-width: 410px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.service-fit .text-link { align-self: end; white-space: nowrap; font-size: 11px; font-weight: 800; }
.stack-tags button { display: inline-block; padding: 11px 13px 10px; border: 1px solid #aaa79d; color: var(--ink); background: transparent; font-size: 12px; font-weight: 700; text-align: left; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.stack-tags button:hover, .stack-tags button:focus-visible, .stack-tags button.is-selected { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-3px); }
.tech-lab { display: grid; grid-template-columns: minmax(0,.85fr) minmax(300px,1.15fr); gap: clamp(25px,6vw,80px); align-items: center; margin-top: 65px; padding-top: 25px; border-top: 1px solid #bcb9ad; }
.tech-lab-copy > p { max-width: 460px; margin: 17px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.plain-toggle { margin-top: 20px; padding: 9px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 10px; font-weight: 800; text-align: left; }
.plain-toggle:hover { border-color: var(--accent); color: var(--accent); }
.code-window { overflow: hidden; border: 1px solid #3d3e38; color: #e9e8df; background: #20211d; box-shadow: 7px 7px 0 rgba(25,25,22,.14); }
.code-window-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #3d3e38; color: #a9aa9f; font-size: 8px; letter-spacing: .08em; }
.code-window-top > span:first-child { display: flex; gap: 4px; }
.code-window-top i { width: 6px; height: 6px; border: 1px solid #989990; border-radius: 50%; }
.code-window-top button { padding: 5px 7px; border: 1px solid #53544c; color: #d9d9cf; background: transparent; font-size: 8px; font-weight: 800; }
.code-window-top button:hover { color: #fff; border-color: var(--accent); }
.code-window pre { overflow-x: auto; margin: 0; padding: 23px 20px 14px; font: 12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace; }
.code-purple { color: #e8a7ff; }.code-green { color: #badd87; }.code-yellow { color: #f0ce80; }.code-comment { color: #8d9185; }
.code-status { min-height: 16px; margin: 0; padding: 0 20px 13px; color: #badd87; font-size: 9px; }
.about { position: relative; }
.about-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(35px,8vw,120px); }
.about-statement { position: relative; min-height: 290px; padding: 27px; background: var(--paper-deep); border: 1px solid var(--line); }
.statement-quote { max-width: 420px; margin: 42px 0 35px; font: 900 clamp(28px,3.3vw,46px)/.98 var(--display); letter-spacing: -.04em; }
.ascii-mark { display: block; color: var(--muted); font: 9px/1.5 ui-monospace,Consolas,monospace; letter-spacing: .03em; }
.principle-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 20px; align-items: start; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.principle-row:first-child { border-top: 1px solid var(--line); }
.principle-row > span { padding-top: 3px; color: var(--accent); font-size: 9px; font-weight: 900; }
.principle-row h3 { margin: 0; font-size: 20px; letter-spacing: -.04em; }
.principle-row p { max-width: 430px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.principle-row > b { color: var(--muted); font-size: 16px; font-weight: 400; transition: color .2s, transform .2s; }
.principle-row:hover > b { color: var(--accent); transform: translate(3px,-3px); }
.deliverables { display: grid; grid-template-columns: minmax(200px,.7fr) minmax(0,1.3fr); gap: 45px; margin-top: 83px; padding-top: 25px; border-top: 1px solid var(--line); }
.deliverables h3 { max-width: 330px; }
.checklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; }
.checklist label { display: flex; align-items: start; gap: 10px; color: var(--ink); font-size: 11px; line-height: 1.45; cursor: pointer; }
.checklist input, .consent-row input { flex: 0 0 auto; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--accent); }
.checklist label:has(input:checked) span { color: var(--muted); text-decoration: line-through; }
.checklist-note { grid-column: 2; margin: -23px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.faq { padding-top: 100px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 55px minmax(0,1fr) 28px; align-items: center; gap: 14px; padding: 23px 4px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { color: var(--accent); font-size: 9px; font-weight: 900; }
.faq-item summary b { font-size: clamp(16px,2vw,22px); letter-spacing: -.04em; }
.faq-item summary i { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--line); font-style: normal; font-size: 16px; transition: transform .2s, background .2s; }
.faq-item[open] summary i { color: var(--paper); background: var(--ink); transform: rotate(45deg); }
.faq-item > p { max-width: 720px; margin: -4px 45px 25px 69px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-bottom { display: grid; grid-template-columns: .8fr 1.4fr auto; align-items: center; gap: 25px; margin-top: 48px; padding-top: 25px; border-top: 1px solid var(--line); }
.faq-bottom p { max-width: 450px; margin: 0; font-size: 15px; line-height: 1.5; }
.faq-bottom .button { white-space: nowrap; }
.contact-form select { display: block; width: 100%; padding: 12px 28px 12px 0; border: 0; border-bottom: 1px solid #aaa79d; border-radius: 0; outline: none; color: var(--ink); background: transparent; font-size: 12px; }
.contact-form select:focus { border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-row > div { min-width: 0; }
.consent-row { display: flex !important; align-items: start; gap: 10px; margin-top: 18px !important; font-weight: 600 !important; line-height: 1.45; cursor: pointer; }
.contact-shortcuts { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 15px; }
.contact-shortcut { padding: 5px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 8px; font-weight: 900; letter-spacing: .04em; text-align: left; }
.contact-shortcut:hover { color: var(--ink); border-color: var(--accent); }
.footer-links { display: flex; align-items: center; gap: 18px; }
.footer-copy-link, .footer-links a { padding: 4px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.footer-copy-link:hover, .footer-links a:hover { color: var(--ink); border-color: var(--accent); }
.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 18px; padding: 14px 17px; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .08em; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s, background .2s, color .2s; }
.floating-contact.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-contact span { color: var(--accent); font-size: 15px; }
.floating-contact:hover { color: var(--ink); background: var(--accent); }
.floating-contact:hover span { color: var(--ink); }
.section-permalink { margin-left: auto; padding: 6px 8px; border: 1px solid var(--line); color: var(--muted); background: transparent; font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.section-permalink:hover { color: var(--ink); border-color: var(--accent); }
:root[data-theme="dark"] { --paper: #171714; --paper-deep: #23231f; --ink: #eeece4; --muted: #aaa89e; --line: #49483f; --accent: #ff7454; --acid: #d8e677; --dark: #0d0e0c; }
:root[data-theme="dark"] .site-header { background: rgba(23,23,20,.94); }
:root[data-theme="dark"] .brand-mark { color: #171714; }
:root[data-theme="dark"] .brand-mark span { color: #eeece4; }
:root[data-theme="dark"] .button-primary, :root[data-theme="dark"] .form-submit { color: #171714; }
:root[data-theme="dark"] .button-primary:hover, :root[data-theme="dark"] .form-submit:hover { color: #171714; }
:root[data-theme="dark"] .stack { background: var(--paper-deep); }
:root[data-theme="dark"] .stack-board, :root[data-theme="dark"] .stack-column { border-color: #49483f; }
:root[data-theme="dark"] .stack-tags button { border-color: #626158; }
:root[data-theme="dark"] .stack-tags button:hover, :root[data-theme="dark"] .stack-tags button.is-selected { background: var(--ink); color: var(--paper); }
:root[data-theme="dark"] .contact-form { color: var(--ink); background: var(--paper-deep); border-color: var(--line); }
:root[data-theme="dark"] .contact-form input, :root[data-theme="dark"] .contact-form textarea, :root[data-theme="dark"] .contact-form select { color: var(--ink); border-color: #626158; }
:root[data-theme="dark"] .contact-form input::placeholder, :root[data-theme="dark"] .contact-form textarea::placeholder { color: #85847b; }
:root[data-theme="dark"] .form-hint code { color: var(--ink); background: #37372f; }
:root[data-theme="dark"] .browser-content { background: #f2f0e8; color: #191916; }
:root[data-theme="dark"] .mock-top, :root[data-theme="dark"] .mock-kicker, :root[data-theme="dark"] .mock-bottom { color: #191916; }
:root[data-theme="dark"] .mock-arrow { color: #191916; }
:root[data-theme="dark"] .about-statement { background: var(--paper-deep); }
:root[data-theme="dark"] .filter-button.is-active, :root[data-theme="dark"] .filter-button:hover { color: var(--paper); background: var(--ink); }
:root[data-theme="dark"] .tool-button:hover, :root[data-theme="dark"] .tool-button[aria-pressed="true"] { color: var(--paper); background: var(--ink); }
:root[data-theme="dark"] .section-number { color: var(--ink); }
@media (max-width: 1050px) {
  .header-tools { margin-left: 12px; }
  .service-fit { grid-template-columns: 1fr 1fr; }
  .service-fit .text-link { grid-column: 2; }
  .deliverables { grid-template-columns: 1fr; gap: 25px; }
  .checklist-note { grid-column: 1; margin: 0; }
  .tech-lab { gap: 30px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 82px; }
  .header-tools { gap: 5px; margin-left: 8px; }
  .tool-button { min-height: 30px; padding-inline: 6px; font-size: 8px; }
  .theme-label { display: none; }
  .site-header { gap: 7px; }
  .brand { gap: 8px; }
  .brand-copy small { max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
  .menu-toggle { gap: 7px; }
  .service-fit { grid-template-columns: 1fr; gap: 17px; margin-top: 40px; }
  .service-fit .text-link { grid-column: auto; justify-self: start; }
  .preview-controls { grid-template-columns: 1fr auto; gap: 8px; }
  .preview-controls label { grid-column: 1 / -1; }
  .preview-controls input { grid-column: 1; grid-row: 2; }
  .preview-controls output { grid-column: 2; grid-row: 2; }
  .tech-lab { grid-template-columns: 1fr; margin-top: 44px; }
  .code-window pre { font-size: 10px; padding-inline: 13px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-statement { min-height: 240px; padding: 22px; }
  .statement-quote { margin: 30px 0 28px; font-size: 36px; }
  .deliverables { margin-top: 55px; }
  .checklist { grid-template-columns: 1fr; }
  .faq { padding-top: 72px; }
  .faq-item summary { grid-template-columns: 32px minmax(0,1fr) 27px; gap: 10px; padding: 18px 0; }
  .faq-item > p { margin: -1px 20px 22px 42px; font-size: 12px; }
  .faq-bottom { grid-template-columns: 1fr; gap: 13px; }
  .faq-bottom .button { justify-self: start; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-shortcuts { gap: 8px 13px; }
  .floating-contact { right: 12px; bottom: 12px; padding: 12px 13px; }
  .section-permalink { font-size: 7px; padding: 5px 6px; }
  .site-footer { flex-wrap: wrap; padding-block: 15px; }
}
@media (max-width: 380px) {
  .header-tools { gap: 3px; margin-left: 2px; }
  .tool-button { padding-inline: 4px; }
  .menu-toggle { padding-left: 2px; font-size: 8px; }
  .brand-copy small { display: none; }
  .site-header { padding-inline: 12px; }
  .faq-item summary b { font-size: 15px; }
  .footer-links { gap: 10px; }
  .floating-contact { font-size: 8px; }
}
.hero-intro-wrap { max-width: 355px; min-width: 0; }
.hero-art::after { position: absolute; content: ""; left: 17%; top: 18%; width: 24px; height: 24px; border: 1px solid var(--accent); transform: translate(var(--pointer-x,0),var(--pointer-y,0)) rotate(45deg); opacity: .75; pointer-events: none; transition: transform .15s ease; }
@media (max-width: 1050px) { .hero-intro-wrap { max-width: 420px; } }
@media (max-width: 760px) { .hero-intro-wrap { max-width: 100%; } }
.contact-shortcut[hidden] { display: none !important; }
@media (max-width: 760px) {
  .ticker { transform: none; }
  .contact-inner, .contact-heading, .contact-form { min-width: 0; width: 100%; }
  .contact .section-label { flex-wrap: wrap; }
  .contact .section-permalink { margin-left: 0; }
  .contact-title { max-width: 100%; font-size: clamp(58px, 16.5vw, 108px); overflow-wrap: normal; }
}
html { overflow-x: clip; }
@media (min-width: 761px) and (max-width: 900px) {
  .site-header { padding-inline: 25px; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; padding: 10px 4px; border: 0; color: var(--ink); background: transparent; font-size: 9px; font-weight: 800; }
  .site-nav { position: absolute; top: 81px; right: 25px; left: auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 275px; max-height: 0; overflow: hidden; padding: 0 18px; border-bottom: 0 solid var(--line); background: var(--paper); opacity: 0; box-shadow: 0 12px 25px rgba(0,0,0,.08); transition: max-height .3s ease, opacity .2s, padding .3s, border-width .2s; }
  .site-nav.is-open { max-height: 370px; padding-top: 10px; padding-bottom: 15px; border-bottom-width: 1px; opacity: 1; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .site-nav .nav-contact { justify-content: space-between; margin-top: 10px; padding: 13px 14px; border: 1px solid var(--ink); }
  .header-tools { margin-left: auto; gap: 5px; }
  .tool-button { padding-inline: 6px; min-height: 30px; font-size: 8px; }
  .theme-label { display: none; }
}
@media (max-width: 380px) {
  .display-title { font-size: clamp(52px, 15.8vw, 60px); }
}
@media (max-width: 360px) {
  .section-title { font-size: clamp(38px, 11.8vw, 44px); }
  .contact-title { font-size: clamp(56px, 16vw, 62px); }
}
.ticker { transform: none; }
.code-window pre code::after { content: "▍"; display: inline-block; margin-left: 2px; color: var(--accent); animation: code-caret 1.05s steps(2, start) infinite; }
@keyframes code-caret { to { visibility: hidden; } }


/* WEB/01 — typography refinement
   Oswald gives display headings a cleaner editorial shape; Onest keeps Russian body copy calm and readable. */
:root {
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Onest", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--body);
  letter-spacing: 0;
  font-optical-sizing: auto;
}

.display-title,
.section-title,
.contact-title,
.mock-heading,
.statement-quote {
  font-family: var(--display);
  font-weight: 700;
  font-optical-sizing: auto;
  font-synthesis: weight;
  text-wrap: balance;
}

.display-title {
  line-height: .9;
  letter-spacing: -.018em;
}

.section-title {
  line-height: .94;
  letter-spacing: -.022em;
}

.contact-title {
  line-height: .88;
  letter-spacing: -.025em;
}

.mock-heading {
  line-height: .86;
  letter-spacing: -.035em;
}

.statement-quote {
  line-height: 1.02;
  letter-spacing: -.025em;
}

.brand-mark,
.ticker-track span,
.code-note-number,
.stack-foot-stamp,
.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.01em;
}

.brand-copy,
.site-nav a,
.button,
.tool-button,
.filter-button,
.stack-tags span,
.stack-tags button,
.process-step h3,
.service-name h3,
.service-fit h3,
.tech-lab h3,
.deliverables h3,
.principle-row h3,
.faq-item summary b {
  font-family: var(--body);
  letter-spacing: -.02em;
}

.hero-intro {
  letter-spacing: -.012em;
  line-height: 1.52;
}

.service-name h3,
.service-fit h3,
.tech-lab h3,
.deliverables h3,
.process-step h3,
.principle-row h3,
.faq-item summary b {
  letter-spacing: -.025em;
  line-height: 1.12;
}

.service-name p,
.section-description,
.contact-intro,
.process-step p,
.principle-row p,
.faq-item > p,
.service-fit p {
  letter-spacing: -.005em;
}

.eyebrow,
.hero-index,
.hero-foot,
.art-topline,
.art-caption,
.art-side-label,
.section-label,
.service-no,
.service-type,
.stack-category,
.process-index,
.form-topline,
.contact-bottom,
.site-footer,
.hero-actions .text-link,
.mock-top,
.mock-kicker,
.mock-bottom,
.preview-controls,
.micro-label,
.code-window-top,
.contact-shortcut,
.footer-copy-link,
.footer-links a {
  font-family: var(--body);
  letter-spacing: .07em;
}

@media (max-width: 760px) {
  .display-title { line-height: .92; letter-spacing: -.015em; }
  .section-title { line-height: .96; letter-spacing: -.018em; }
  .contact-title { line-height: .9; letter-spacing: -.02em; }
  .mock-heading { line-height: .88; }
}

/* WEB/01 — cohesive studio system, concept previews and clearer interactions */
:root {
  --space-section: clamp(76px, 10vw, 132px);
  --radius-soft: 2px;
  --focus-ring: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent);
}

.section-pad { padding-block: var(--space-section); }
.section-description { max-width: 370px; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.65; }
.hero-intro, .service-name p, .service-fit p, .principle-row p, .process-step p, .faq-item > p, .contact-intro { font-size: max(14px, 1em); line-height: 1.62; }
.eyebrow, .hero-index, .hero-foot, .section-label, .service-no, .service-type, .stack-category, .process-index, .form-topline, .contact-bottom, .site-footer, .micro-label, .code-window-top, .contact-shortcut, .footer-copy-link, .footer-links a, .case-topline, .portfolio-toolbar, .project-field-meta, .form-progress-meta { font-size: 10px; }
.micro-label { display: inline-block; font-weight: 800; letter-spacing: .09em; line-height: 1.45; }
.service-type { font-size: 10px; line-height: 1.45; }
.contact-shortcut, .footer-copy-link, .footer-links a { font-size: 10px; }
.form-hint, .form-estimate-note { font-size: 12px; line-height: 1.65; }

/* Service details expand inside each row without introducing more visual cards. */
.service-details-toggle {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink);
  background: transparent; cursor: pointer; font-size: 19px; line-height: 1;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.service-details-toggle:hover, .service-details-toggle[aria-expanded="true"] {
  color: var(--paper); background: var(--ink); border-color: var(--ink); transform: rotate(90deg);
}
.service-details { grid-column: 1 / -1; padding: 4px 12px 22px 98px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border-top: 1px dashed var(--line); }
.service-details[hidden] { display: none; }
.service-details p { max-width: 690px; margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-discuss-link { flex-shrink: 0; margin-top: 15px; padding-bottom: 4px; border-bottom: 1px solid var(--accent); font-size: 11px; font-weight: 800; }
.service-row:has(.service-details:not([hidden])) { background: rgba(255,255,255,.25); }

/* Portfolio is a concept lab, not fabricated client work. */
.portfolio { position: relative; background: var(--paper-deep); border-block: 1px solid var(--line); }
.portfolio .section-heading { margin-bottom: 34px; }
.portfolio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; margin-bottom: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.portfolio-toolbar .micro-label { color: var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.case-card { min-width: 0; display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); background: var(--paper); transition: border-color .25s, transform .25s, box-shadow .25s; }
.case-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 5px 5px 0 var(--ink); }
.case-topline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 4px 1px 12px; color: var(--muted); font-weight: 800; font-size: 9px; letter-spacing: .06em; }
.case-art { position: relative; isolation: isolate; display: block; width: 100%; min-width: 0; aspect-ratio: 1.12 / 1; overflow: hidden; padding: 18px; border: 1px solid var(--ink); text-align: left; cursor: pointer; }
.case-art:focus-visible, .case-open:focus-visible, .demo-viewport-controls button:focus-visible, .demo-dialog-close:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.case-art-cafe { color: #20382f; background: #e9e4d5; }
.case-mini-nav, .case-app-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 12px; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.case-mini-nav b { font-size: 18px; letter-spacing: -.08em; }
.case-mini-nav b span { color: #d95d40; }
.case-mini-nav i, .case-app-nav i { font-style: normal; font-size: 16px; }
.case-cafe-content { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(25px, 3vw, 45px); }
.case-cafe-content > span { margin-bottom: 10px; font-size: 8px; letter-spacing: .2em; }
.case-cafe-content strong { position: relative; z-index: 1; font: 700 clamp(26px, 3.2vw, 47px)/.9 var(--display); letter-spacing: -.025em; }
.case-cafe-content em { color: #d95d40; font-style: normal; }
.case-cafe-stamp { position: absolute; right: -6px; bottom: -17px; display: grid; place-items: center; width: 76px; height: 76px; padding: 8px; border: 1px solid #20382f; border-radius: 50%; font-size: 8px; font-weight: 800; line-height: 1.5; text-align: center; transform: rotate(12deg); }
.case-cafe-bottom { position: absolute; right: 18px; bottom: 16px; left: 18px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(32,56,47,.35); padding-top: 10px; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.case-art-game { color: #f1f0e9; background: #161815; }
.case-game-grid { position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgba(230,239,108,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(230,239,108,.08) 1px, transparent 1px); background-size: 23px 23px; mask-image: linear-gradient(120deg, transparent, #000 30%, #000); }
.case-game-nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #56594b; font-size: 7px; letter-spacing: .1em; }
.case-game-nav b { font: 700 17px/1 var(--display); letter-spacing: -.03em; }
.case-game-nav b span { margin-left: 4px; color: #e6ef6c; }
.case-game-content { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(28px, 3vw, 42px); }
.case-game-kicker { color: #b8bf80; font-size: 8px; letter-spacing: .15em; }
.case-game-content strong { margin-top: 12px; font: 700 clamp(46px, 6vw, 82px)/.76 var(--display); letter-spacing: -.035em; }
.case-game-content em { color: #e6ef6c; font-style: normal; }
.case-game-cta { margin-top: 24px; padding: 10px 12px; color: #171914; background: #e6ef6c; font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.case-game-foot { position: absolute; bottom: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #56594b; padding-top: 10px; color: #b9bba9; font-size: 7px; letter-spacing: .06em; }
.case-art-app { color: #1b2330; background: #e8edf4; }
.case-app-nav { font-size: 8px; }
.case-app-nav b { font-size: 17px; letter-spacing: -.05em; }
.case-app-nav b span { color: #5b75dd; }
.case-app-layout { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 15px; padding-top: 22px; }
.case-app-side { display: flex; flex-direction: column; gap: 13px; padding-top: 5px; }
.case-app-side i { width: 14px; height: 14px; border: 1px solid #a9b4c5; border-radius: 4px; }
.case-app-side i:first-child { background: #5b75dd; border-color: #5b75dd; }
.case-app-main { min-width: 0; }
.case-app-main > span { display: block; margin-bottom: 8px; color: #647287; font-size: 7px; letter-spacing: .08em; }
.case-app-main > strong { font-size: 22px; font-weight: 700; letter-spacing: -.06em; }
.case-app-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 14px; }
.case-app-metrics i { display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid #cbd4e1; background: rgba(255,255,255,.75); font-style: normal; }
.case-app-metrics b { font-size: 17px; }
.case-app-metrics small { color: #647287; font-size: 7px; }
.case-app-chart { display: flex; align-items: end; gap: 6px; height: 55px; margin-top: 10px; padding: 8px; border: 1px solid #cbd4e1; background: rgba(255,255,255,.75); }
.case-app-chart i { flex: 1; min-width: 3px; background: #647ee5; }
.case-copy { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 2px 17px; }
.case-copy h3 { margin: 0; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.15; letter-spacing: -.04em; }
.case-copy p { max-width: 320px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.case-index { flex-shrink: 0; color: var(--muted); font-size: 10px; font-weight: 800; }
.case-open { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 13px 3px 4px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-align: left; }
.case-open span:last-child { font-size: 18px; transition: transform .2s; }
.case-open:hover span:last-child { transform: translate(3px,-3px); color: var(--accent); }
.portfolio-foot { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 18px; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.portfolio-foot-symbol { color: var(--accent); font-size: 26px; }
.portfolio-foot p { max-width: 600px; margin: 0; font-size: 15px; line-height: 1.55; }
.portfolio-foot .text-link { white-space: nowrap; }

/* Live concept dialog with a real responsive preview control. */
.demo-dialog { width: min(1000px, calc(100% - 28px)); max-width: 1000px; max-height: calc(100dvh - 28px); padding: 0; overflow: auto; border: 1px solid var(--ink); color: var(--ink); background: var(--paper); box-shadow: 12px 12px 0 var(--ink); }
.demo-dialog::backdrop { background: rgba(14,15,12,.78); backdrop-filter: blur(5px); }
.demo-dialog-shell { padding: clamp(16px, 3vw, 30px); }
.demo-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.demo-dialog-head h2 { margin: 7px 0 0; font: 700 clamp(28px, 5vw, 52px)/.95 var(--display); letter-spacing: -.025em; }
.demo-dialog-close { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; font-size: 28px; line-height: 1; }
.demo-viewport-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 0; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.demo-viewport-controls { display: flex; gap: 5px; }
.demo-viewport-controls button { padding: 9px 11px; border: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; font-size: 9px; font-weight: 900; letter-spacing: .06em; }
.demo-viewport-controls button.is-active { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.demo-viewport { display: flex; justify-content: center; align-items: flex-start; min-height: 420px; padding: 18px; overflow: auto; border: 1px solid var(--line); background: var(--paper-deep); }
.demo-site-preview { width: 100%; max-width: 790px; min-height: 430px; overflow: hidden; background: white; box-shadow: 0 5px 20px rgba(0,0,0,.08); transition: width .3s ease, max-width .3s ease; }
.demo-site-preview.is-mobile { width: 330px; max-width: 100%; min-height: 550px; border: 7px solid #20211e; border-radius: 24px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.demo-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; }
.demo-dialog-foot p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.demo-dialog-foot .button { flex-shrink: 0; }

/* The content inside the demo viewport is intentionally independent from the main site theme. */
.demo-site-inner { min-height: 430px; padding: 22px 25px; font-family: var(--body); }
.demo-site-inner .demo-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid currentColor; font-size: 10px; letter-spacing: .08em; }
.demo-site-inner .demo-brand { font-weight: 900; font-size: 18px; letter-spacing: -.06em; }
.demo-site-inner .demo-brand em { font-style: normal; color: var(--demo-accent); }
.demo-site-inner .demo-hero { position: relative; padding: 48px 0 25px; }
.demo-site-inner .demo-kicker { font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.demo-site-inner .demo-hero h3 { max-width: 670px; margin: 18px 0; font: 700 clamp(39px, 7vw, 82px)/.88 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.demo-site-inner .demo-hero h3 em { color: var(--demo-accent); font-style: normal; }
.demo-site-inner .demo-hero p { max-width: 350px; font-size: 14px; line-height: 1.6; }
.demo-site-inner .demo-action { display: inline-flex; align-items: center; gap: 18px; margin-top: 12px; padding: 13px 16px; color: var(--demo-button-ink, white); background: var(--demo-accent); font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.demo-site-inner .demo-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 13px; border-top: 1px solid currentColor; font-size: 9px; letter-spacing: .06em; }
.demo-cafe { --demo-accent: #d95d40; --demo-button-ink: #fff8ed; color: #213b30; background: #f2ebdc; }
.demo-cafe .demo-hero { min-height: 340px; background: radial-gradient(circle at 83% 55%, #d6c6a8 0 14%, transparent 14.5%), radial-gradient(circle at 83% 55%, transparent 0 22%, #d95d40 22.5% 23%, transparent 23.5%); }
.demo-game { --demo-accent: #e6ef6c; --demo-button-ink: #141610; color: #f2f3e9; background: #171a15; }
.demo-game .demo-hero { min-height: 350px; background: linear-gradient(rgba(229,238,108,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(229,238,108,.06) 1px, transparent 1px); background-size: 28px 28px; }
.demo-game .demo-kicker { color: #c4ca8e; }
.demo-game .demo-hero h3 { font-size: clamp(48px, 9vw, 100px); }
.demo-app { --demo-accent: #5e76de; --demo-button-ink: #fff; display: flex; flex-direction: column; color: #20283b; background: #f3f5f9; }
.demo-app .demo-nav { border-color: #ccd4e0; }
.demo-app .demo-hero { padding-top: 28px; }
.demo-app .demo-hero h3 { font: 600 36px/1.05 var(--body); letter-spacing: -.05em; }
.demo-app .demo-hero p { color: #627087; }
.demo-dashboard { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.demo-dashboard article { padding: 15px; border: 1px solid #d3dae6; background: white; }
.demo-dashboard b { display: block; margin-bottom: 6px; font-size: 26px; }
.demo-dashboard span { color: #66748b; font-size: 9px; letter-spacing: .08em; }
.demo-chart { display: flex; align-items: end; gap: 8px; height: 85px; margin-top: 14px; padding: 12px; border: 1px solid #d3dae6; background: white; }
.demo-chart i { flex: 1; min-width: 0; background: #667ee3; }
.demo-site-preview.is-mobile .demo-site-inner { padding: 19px 16px; }
.demo-site-preview.is-mobile .demo-hero { padding-top: 38px; min-height: 455px; }
.demo-site-preview.is-mobile .demo-hero h3 { font-size: 43px; }
.demo-site-preview.is-mobile .demo-nav > span:last-child { display: none; }
.demo-site-preview.is-mobile .demo-dashboard { grid-template-columns: 1fr 1fr; }
.demo-site-preview.is-mobile .demo-dashboard article:last-child { grid-column: 1 / -1; }
.demo-site-preview.is-mobile .demo-bottom { font-size: 8px; }

/* Big numerical anchors make the work process scannable. */
.process-step { position: relative; overflow: hidden; }
.process-step::after { content: attr(data-step); position: absolute; top: 52px; right: 16px; z-index: 0; color: var(--line); opacity: .72; font: 700 clamp(60px, 8vw, 108px)/.8 var(--display); letter-spacing: -.04em; pointer-events: none; transition: transform .3s ease, opacity .3s ease; }
.process-step > * { position: relative; z-index: 1; }
.process-step:hover::after { transform: translateY(-5px); opacity: .48; }
.process-step h3 { max-width: 70%; }

/* Contact flow and completion feedback. */
.contact-flow { display: grid; gap: 10px; margin: 34px 0 28px; padding: 19px 0; border-block: 1px solid rgba(239,237,229,.28); }
.contact-flow span { display: flex; align-items: baseline; gap: 13px; color: rgba(239,237,229,.72); font-size: 11px; }
.contact-flow b { color: var(--accent); font-size: 10px; }
.contact-flow i { font-style: normal; }
.form-progress { margin: 0 0 24px; }
.form-progress-track { height: 4px; overflow: hidden; background: var(--line); }
.form-progress-track span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .25s ease; }
.form-progress-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.project-field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: -2px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.project-field-meta output { white-space: nowrap; font-variant-numeric: tabular-nums; }
.form-estimate-note { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.form-status:empty { display: none; }

/* Functional details, clear focus and restrained motion. */
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { touch-action: manipulation; }

@media (max-width: 1050px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case-card:last-child { grid-column: 1 / -1; }
  .case-card:last-child .case-art { aspect-ratio: 1.8 / 1; }
}
@media (max-width: 760px) {
  .portfolio-toolbar { align-items: flex-start; flex-direction: column; }
  .case-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .case-card:last-child { grid-column: auto; }
  .case-card:last-child .case-art, .case-art { aspect-ratio: 1.18 / 1; }
  .case-cafe-content strong { font-size: clamp(38px, 11vw, 56px); }
  .case-game-content strong { font-size: clamp(54px, 17vw, 88px); }
  .portfolio-foot { grid-template-columns: 24px minmax(0,1fr); gap: 12px; }
  .portfolio-foot .text-link { grid-column: 2; justify-self: start; }
  .service-details { flex-direction: column; gap: 4px; padding: 6px 4px 20px 4px; }
  .service-details p { margin-top: 10px; }
  .service-discuss-link { margin-top: 7px; }
  .demo-dialog { width: calc(100% - 14px); max-height: calc(100dvh - 14px); box-shadow: 5px 5px 0 var(--ink); }
  .demo-viewport { min-height: 380px; padding: 10px; }
  .demo-site-preview { min-height: 400px; }
  .demo-site-preview.is-mobile { width: 300px; min-height: 520px; }
  .demo-dialog-foot { flex-direction: column; align-items: stretch; }
  .demo-dialog-foot .button { justify-content: space-between; }
  .demo-site-inner { padding: 18px 16px; }
  .demo-site-inner .demo-hero h3 { font-size: clamp(34px, 10vw, 52px); }
  .demo-app .demo-hero h3 { font-size: 30px; }
  .demo-dashboard { grid-template-columns: 1fr 1fr; }
  .demo-dashboard article:last-child { grid-column: 1 / -1; }
  .process-step::after { top: 48px; right: 14px; font-size: 78px; }
  .contact-flow { margin-top: 26px; }
  .form-progress-meta { font-size: 9px; }
  .form-progress-meta span:last-child { max-width: 100%; }
}
@media (max-width: 420px) {
  .case-card { padding: 8px; }
  .case-art { padding: 14px; }
  .case-topline { font-size: 8px; }
  .case-cafe-bottom { left: 14px; right: 14px; bottom: 12px; font-size: 7px; }
  .case-game-foot { left: 14px; right: 14px; bottom: 12px; }
  .demo-viewport-toolbar { align-items: flex-start; flex-direction: column; }
  .demo-viewport-controls { width: 100%; }
  .demo-viewport-controls button { flex: 1; }
  .demo-site-preview.is-mobile { width: 255px; }
  .project-field-meta { font-size: 9px; }
}


/* A less condensed headline font: strong, legible Russian letterforms without the narrow poster look. */
:root { --display: "Manrope", "Onest", "Helvetica Neue", Arial, sans-serif; --body: "Onest", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.display-title { font-size: clamp(64px, 8.2vw, 116px); font-weight: 800; line-height: .91; letter-spacing: -.075em; }
.section-title { font-size: clamp(42px, 6.3vw, 82px); font-weight: 800; line-height: .98; letter-spacing: -.07em; }
.contact-title { font-size: clamp(68px, 9.1vw, 124px); font-weight: 800; line-height: .92; letter-spacing: -.075em; }
.mock-heading { font-weight: 800; font-size: clamp(40px, 5vw, 66px); line-height: .9; letter-spacing: -.07em; }
.statement-quote { font-weight: 800; letter-spacing: -.055em; line-height: 1.05; }
.ticker-track span { font-weight: 800; letter-spacing: -.035em; }
.case-cafe-content strong { font-size: clamp(24px, 2.6vw, 38px); line-height: .93; letter-spacing: -.065em; }
.case-game-content strong { font-size: clamp(44px, 5.2vw, 72px); line-height: .86; letter-spacing: -.07em; }
.case-copy h3, .service-name h3, .process-step h3, .principle-row h3, .faq-item summary b { letter-spacing: -.045em; }
.demo-site-inner .demo-hero h3 { letter-spacing: -.065em; }
@media (max-width: 1050px) {
  .display-title { font-size: clamp(62px, 8.6vw, 92px); }
  .contact-title { font-size: clamp(64px, 9vw, 100px); }
}
@media (max-width: 760px) {
  .display-title { font-size: clamp(56px, 11.1vw, 82px); line-height: .94; letter-spacing: -.065em; }
  .section-title { font-size: clamp(38px, 8.4vw, 61px); line-height: 1; letter-spacing: -.06em; }
  .contact-title { font-size: clamp(55px, 13.5vw, 92px); line-height: .94; letter-spacing: -.065em; }
  .mock-heading { font-size: clamp(40px, 7vw, 58px); }
}
@media (max-width: 420px) {
  .display-title { font-size: clamp(47px, 14vw, 59px); }
  .section-title { font-size: clamp(34px, 10vw, 43px); }
  .contact-title { font-size: clamp(52px, 15vw, 64px); }
  .case-cafe-content strong { font-size: clamp(27px, 9vw, 36px); }
  .case-game-content strong { font-size: clamp(50px, 16vw, 68px); }
}

/* WEB/01 refinement pass — clearer controls, normal system cursor and balanced desktop concepts. */
html, body { cursor: auto !important; }
a, button, select, summary, [role="button"], input[type="range"], input[type="checkbox"] { cursor: pointer !important; }
input, textarea { cursor: text; }

/* Numbers use a consistent, legible face rather than the compressed display style. */
.section-number,
.service-no,
.service-type,
.case-index,
.case-topline,
.process-index,
.process-step::after,
.faq-item summary > span,
.hero-index,
.preview-controls output,
.form-progress-meta,
.project-field-meta output,
.contact-flow b {
  font-family: "Onest", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 800;
  letter-spacing: .025em;
}
.section-number {
  width: 34px;
  height: 32px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #191916;
  font-size: 12px;
  box-shadow: 3px 3px 0 rgba(25,25,22,.13);
}
.service-no { color: var(--ink); font-size: 12px; }
.service-type { font-size: 10px; }
.case-index { color: var(--ink); font-size: 11px; }
.process-step::after { color: #b2afa3; opacity: .9; font-family: "Onest", sans-serif; font-weight: 800; }
.faq-item summary > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; min-height: 25px; border: 1px solid var(--accent); background: var(--accent); color: var(--ink); font-size: 11px; }

/* Stronger and more consistent buttons throughout the site. */
button, .button, .filter-button, .tool-button, .case-open, .plain-toggle,
.service-discuss-link, .contact-shortcut, .footer-copy-link, .footer-links a,
.floating-contact, .demo-viewport-controls button, .section-permalink {
  font-family: "Onest", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
}
.button {
  min-height: 52px;
  padding-inline: 20px;
  border-width: 1.5px;
  font-size: 13px;
  box-shadow: 3px 3px 0 transparent;
}
.button-primary { color: #191916; background: var(--accent); border-color: var(--accent); }
.button-primary:hover { color: #191916; box-shadow: 4px 4px 0 #191916; }
.filter-button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  transition: border-color .18s, color .18s, background .18s, transform .18s;
}
.filter-button:hover { border-color: var(--ink); transform: translateY(-1px); }
.filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.tool-button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
}
.tool-button:hover, .tool-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.nav-contact { font-family: "Onest", sans-serif; font-size: 12px !important; font-weight: 800 !important; }
.case-open {
  min-height: 44px;
  padding: 12px 3px 5px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .035em;
}
.case-open:hover { color: var(--accent); }
.case-open span:last-child { font-size: 21px; font-weight: 800; }
.plain-toggle { font-size: 12px; }
.demo-viewport-controls button { min-height: 38px; padding: 10px 15px; border: 1px solid #a6a397; font-size: 11px; }
.demo-viewport-controls button.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.section-permalink { padding: 7px 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 9px; }
.section-permalink:hover { border-color: var(--accent); background: var(--accent); }

/* Replace text-glyph plus signs with crisp drawn controls. */
.service-details-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: transparent;
  font-size: 0;
  box-shadow: 3px 3px 0 rgba(25,25,22,.11);
  transform: none !important;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.service-details-toggle::before,
.service-details-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: opacity .18s, background .18s, transform .18s;
}
.service-details-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.service-details-toggle:hover,
.service-details-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 3px 3px 0 var(--ink);
}
.service-details-toggle[aria-expanded="true"]::after { opacity: 0; }
.service-details-toggle:hover::before,
.service-details-toggle:hover::after,
.service-details-toggle[aria-expanded="true"]::before { background: var(--ink); }
.services-note { align-items: center; gap: 14px; margin-top: 32px; font-size: 14px; }
.services-note-symbol {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  font-family: "Onest", sans-serif;
  font-size: 20px !important;
  font-weight: 800;
  line-height: 1;
}

/* Make concept cards fill the desktop section evenly without text collisions. */
.portfolio.section-wrap { width: min(1520px, calc(100% - 80px)); }
.portfolio .section-heading { align-items: flex-start; }
.portfolio .section-heading-main { gap: clamp(30px, 5vw, 90px); }
.portfolio .section-title { flex: 1 1 auto; min-width: 0; font-size: clamp(48px, 5.2vw, 82px); line-height: .98; letter-spacing: -.055em; }
.portfolio .section-description { flex: 0 1 350px; max-width: 350px; }
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 24px); }
.case-card { padding: clamp(10px, 1.05vw, 16px); box-shadow: none; }
.case-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 2px 2px 0 rgba(25,25,22,.2); }
.case-topline { font-size: clamp(9px, .68vw, 11px); line-height: 1.45; }
.case-topline span:last-child { max-width: 62%; text-align: right; }
.case-art { container-type: inline-size; aspect-ratio: 1.08 / 1; padding: clamp(13px, 1.25vw, 20px); }
.case-mini-nav, .case-app-nav { gap: 10px; font-size: clamp(8px, .67vw, 10px); }
.case-mini-nav b { font-size: clamp(18px, 1.15vw, 23px); }
.case-mini-nav > span, .case-game-nav > span { text-align: right; }
.case-cafe-content { padding-top: clamp(27px, 8.3cqw, 40px); padding-bottom: 55px; max-width: 100%; }
.case-cafe-content > span { font-size: clamp(8px, 2.2cqw, 10px); }
.case-cafe-content strong { display: block; max-width: 100%; font-size: clamp(22px, 8.1cqw, 34px); line-height: .98; letter-spacing: -.055em; overflow-wrap: normal; }
.case-cafe-stamp { right: 0; bottom: 0; width: 54px; height: 54px; font-size: 7px; transform: rotate(8deg); }
.case-game-content { padding-top: clamp(25px, 8cqw, 39px); }
.case-game-kicker { font-size: clamp(7px, 2.1cqw, 9px); line-height: 1.5; }
.case-game-content strong { max-width: 100%; font-size: clamp(42px, 15cqw, 66px); line-height: .88; letter-spacing: -.06em; overflow-wrap: normal; }
.case-game-cta { margin-top: clamp(15px, 4.4cqw, 24px); padding: 10px 12px; font-size: clamp(8px, 2.2cqw, 10px); }
.case-game-foot { font-size: clamp(7px, 1.9cqw, 9px); }
.case-app-layout { gap: clamp(9px, 2.8cqw, 15px); }
.case-app-side i { width: clamp(10px, 3.5cqw, 14px); height: clamp(10px, 3.5cqw, 14px); }
.case-app-main > strong { font-size: clamp(19px, 6.2cqw, 25px); }
.case-app-metrics b { font-family: "Onest", sans-serif; font-size: clamp(15px, 4.5cqw, 20px); font-variant-numeric: tabular-nums; }
.case-app-chart { height: clamp(44px, 15cqw, 64px); }
.case-copy { min-height: 115px; gap: 10px; padding: 17px 2px 15px; }
.case-copy h3 { font-family: "Onest", sans-serif; font-size: clamp(16px, 1.25vw, 21px); line-height: 1.2; letter-spacing: -.035em; }
.case-copy p { font-size: clamp(12px, .9vw, 14px); line-height: 1.55; }
.case-index { flex-shrink: 0; white-space: nowrap; }
.portfolio-foot { grid-template-columns: 38px minmax(0,1fr) auto; gap: 20px; }
.portfolio-foot-symbol { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--accent); font-size: 24px; }
.portfolio-foot p { font-size: 15px; }

/* A clean, accessible close control instead of any decorative diamond-like cursor. */
.demo-dialog-close {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: transparent;
  font-size: 0;
  box-shadow: 3px 3px 0 var(--ink);
}
.demo-dialog-close::before, .demo-dialog-close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 17px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%) rotate(45deg);
}
.demo-dialog-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.demo-dialog-close:hover { border-color: var(--accent); background: var(--accent); box-shadow: 3px 3px 0 var(--ink); }
.demo-dialog-close:hover::before, .demo-dialog-close:hover::after { background: var(--ink); }

@media (min-width: 1200px) {
  .portfolio.section-wrap { width: min(1560px, calc(100% - 96px)); }
  .case-grid { gap: 22px; }
  .case-art { aspect-ratio: 1.12 / 1; }
}
@media (max-width: 1050px) {
  .portfolio.section-wrap { width: min(var(--wrap), calc(100% - 50px)); }
  .portfolio .section-title { font-size: clamp(43px, 6vw, 66px); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-card:last-child { grid-column: 1 / -1; }
  .case-card:last-child .case-art { aspect-ratio: 1.8 / 1; }
  .case-cafe-content strong { font-size: clamp(25px, 7.5cqw, 35px); }
  .case-game-content strong { font-size: clamp(44px, 13cqw, 64px); }
}
@media (max-width: 760px) {
  .portfolio.section-wrap { width: calc(100% - 36px); }
  .portfolio .section-heading-main { display: block; }
  .portfolio .section-title { margin-bottom: 20px; font-size: clamp(39px, 8.8vw, 62px); }
  .portfolio .section-description { max-width: 440px; }
  .case-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .case-card:last-child { grid-column: auto; }
  .case-art, .case-card:last-child .case-art { aspect-ratio: 1.12 / 1; }
  .case-cafe-content strong { font-size: clamp(25px, 8.1cqw, 36px); }
  .case-game-content strong { font-size: clamp(44px, 15cqw, 70px); }
  .case-copy { min-height: 0; }
  .case-copy h3 { font-size: clamp(18px, 5vw, 23px); }
  .portfolio-foot { grid-template-columns: 30px minmax(0,1fr); gap: 12px; }
  .portfolio-foot .text-link { grid-column: 2; justify-self: start; }
  .service-details-toggle { width: 40px; height: 40px; }
  .section-number { width: 31px; height: 29px; font-size: 11px; }
  .button { min-height: 48px; font-size: 12px; }
}
@media (max-width: 420px) {
  .portfolio.section-wrap { width: calc(100% - 28px); }
  .case-card { padding: 8px; }
  .case-art { padding: 14px; }
  .case-topline { font-size: 8px; }
  .case-topline span:last-child { max-width: 65%; }
  .case-cafe-content strong { font-size: clamp(23px, 8cqw, 31px); }
  .case-game-content strong { font-size: clamp(40px, 14cqw, 58px); }
  .portfolio-toolbar { align-items: flex-start; flex-direction: column; }
  .portfolio-foot p { font-size: 14px; }
  .section-permalink { max-width: 120px; line-height: 1.3; }
}


/* WEB/01 — dark redesign / consistent controls */
:root[data-theme="dark"] {
  --paper: #0c0d0f;
  --paper-deep: #15171a;
  --ink: #f2f1eb;
  --muted: #a5a8ae;
  --line: #34373d;
  --accent: #ff5a43;
  --acid: #caff4c;
  --dark: #070809;
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body: "Onest", "Helvetica Neue", Arial, sans-serif;
}
:root { --display: "Manrope", "Helvetica Neue", Arial, sans-serif; --body: "Onest", "Helvetica Neue", Arial, sans-serif; }

html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  cursor: auto !important;
}
body::before { opacity: .07; mix-blend-mode: screen; }
::selection { background: var(--accent); color: #111214; }

/* Header: clear studio wordmark, sharper navigation and controls */
:root[data-theme="dark"] .site-header {
  background: rgba(12, 13, 15, .92);
  border-bottom-color: #303238;
  box-shadow: 0 8px 26px rgba(0,0,0,.12);
}
:root[data-theme="dark"] .brand-mark {
  color: #111214;
  background: var(--accent);
  box-shadow: 3px 3px 0 rgba(255,90,67,.2);
}
:root[data-theme="dark"] .brand-mark span { color: #f2f1eb; }
.brand-copy { font-family: "Manrope", sans-serif; font-size: 13px; letter-spacing: -.025em; }
.brand-copy small { color: #9b9da3; letter-spacing: .13em; }
.site-nav { gap: clamp(15px, 2.3vw, 36px); }
.site-nav a { font-family: "Onest", sans-serif; font-size: 12px; font-weight: 700; }
.site-nav a > span:first-child { color: #858991; font-size: 10px; font-weight: 800; }
:root[data-theme="dark"] .site-nav .nav-contact {
  border-color: #777b83;
  background: #f2f1eb;
  color: #111214;
  padding: 14px 18px;
  transition: transform .18s, background .18s, border-color .18s;
}
:root[data-theme="dark"] .site-nav .nav-contact:hover { background: var(--accent); border-color: var(--accent); color: #111214; transform: translateY(-2px); }
.header-tools { gap: 7px; }
:root[data-theme="dark"] .tool-button {
  color: #e9e8e3;
  background: #17191c;
  border-color: #3a3d43;
  min-height: 38px;
  padding: 0 11px;
}
:root[data-theme="dark"] .tool-button:hover,
:root[data-theme="dark"] .tool-button[aria-pressed="true"] { color: #111214; background: var(--accent); border-color: var(--accent); }
.menu-toggle { color: var(--ink); }
.menu-lines { width: 20px; gap: 5px; }
.menu-lines i { width: 20px; height: 2px; transform-origin: center; }
.menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Stronger type, less compressed lettering, visible numbers and labels */
.display-title, .section-title, .contact-title, .statement-quote, .mock-heading {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.065em;
}
.display-title { line-height: .88; }
.section-title { line-height: .98; letter-spacing: -.055em; }
.hero-intro, .section-description, .service-name p, .case-copy p,
.process-step p, .principle-row p, .faq-item > p, .contact-intro {
  font-family: "Onest", sans-serif;
  color: var(--muted);
}
.section-label, .eyebrow, .micro-label, .hero-index, .service-type,
.case-topline, .case-index, .process-index, .form-topline,
.contact-bottom, .site-footer { font-family: "Onest", sans-serif; }
.section-number {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 32px;
  padding: 0 7px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #111214;
  box-shadow: 3px 3px 0 rgba(255,90,67,.17);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.service-no, .case-index, .process-index, .faq-item summary > span,
.hero-index, .preview-controls output, .form-progress-meta,
.project-field-meta output, .contact-flow b { font-variant-numeric: tabular-nums; }
.service-no { color: var(--accent); font-size: 12px; font-weight: 900; }
.service-type { color: #8c9098; font-size: 10px; }

/* Dark surfaces across every main section */
:root[data-theme="dark"] .ticker { background: #15171a; color: #f2f1eb; border-color: #34373d; }
:root[data-theme="dark"] .ticker-track b { color: var(--accent); }
:root[data-theme="dark"] .service-filters .filter-button {
  color: #c5c7cc; background: #141619; border-color: #373a40;
}
:root[data-theme="dark"] .service-filters .filter-button:hover,
:root[data-theme="dark"] .service-filters .filter-button.is-active { color: #101113; background: var(--accent); border-color: var(--accent); }
:root[data-theme="dark"] .service-row { border-color: var(--line); }
:root[data-theme="dark"] .service-row:hover { background: rgba(255,255,255,.025); }
:root[data-theme="dark"] .service-details { border-color: var(--line); }
:root[data-theme="dark"] .service-details-copy { color: #b4b7bd; }
:root[data-theme="dark"] .services-note-symbol { color: var(--accent) !important; border-color: var(--accent); }
:root[data-theme="dark"] .stack { background: #111316; }
:root[data-theme="dark"] .stack-board, :root[data-theme="dark"] .stack-column { background: #15171a; border-color: #363940; }
:root[data-theme="dark"] .stack-tags span, :root[data-theme="dark"] .stack-tags button { color: #e5e6e8; border-color: #454850; background: #17191c; }
:root[data-theme="dark"] .stack-tags button:hover, :root[data-theme="dark"] .stack-tags button.is-selected { color: #111214; background: var(--accent); border-color: var(--accent); }
:root[data-theme="dark"] .tech-lab { border-color: var(--line); }
:root[data-theme="dark"] .code-window { background: #101215; border-color: #3a3d44; box-shadow: 6px 6px 0 rgba(0,0,0,.3); }
:root[data-theme="dark"] .code-window-top { border-color: #373a40; }
:root[data-theme="dark"] .about-statement { background: #15171a; border-color: #34373d; }
:root[data-theme="dark"] .principle-row { border-color: #34373d; }
:root[data-theme="dark"] .principle-row > span { font-size: 11px; }
:root[data-theme="dark"] .faq-list { border-color: var(--line); }
:root[data-theme="dark"] .faq-item { border-color: var(--line); }
:root[data-theme="dark"] .faq-bottom { border-color: var(--line); }
:root[data-theme="dark"] .process-step { background: #141619; border-color: #373a40; }
:root[data-theme="dark"] .deliverables { border-color: var(--line); }
:root[data-theme="dark"] .contact-form { background: #15171a; border-color: #383b42; }
:root[data-theme="dark"] .contact-form input,
:root[data-theme="dark"] .contact-form textarea,
:root[data-theme="dark"] .contact-form select { color: #f2f1eb; border-color: #494c53; background: transparent; }
:root[data-theme="dark"] .contact-form select option { background: #15171a; color: #f2f1eb; }
:root[data-theme="dark"] .form-hint code { color: #f2f1eb; background: #282b30; }
:root[data-theme="dark"] .site-footer { color: #a5a8ae; }
:root[data-theme="dark"] .footer-brand { color: #f2f1eb; }
:root[data-theme="dark"] .footer-copy-link, :root[data-theme="dark"] .footer-links a { color: #a5a8ae; }
:root[data-theme="dark"] .floating-contact { color: #111214; background: var(--accent); border-color: var(--accent); box-shadow: 4px 4px 0 rgba(255,90,67,.16); }
:root[data-theme="dark"] .floating-contact:hover { color: #f2f1eb; background: #202226; border-color: #202226; }
:root[data-theme="dark"] .floating-contact:hover span { color: var(--accent); }
:root[data-theme="dark"] .toast { color: #f2f1eb; background: #22252a; border-left-color: var(--accent); }

/* The portfolio cards live on the dark canvas; the mini-sites inside remain intentional demos. */
:root[data-theme="dark"] .case-card { background: #141619; border-color: #363940; }
:root[data-theme="dark"] .case-card:hover { border-color: var(--accent); box-shadow: 4px 4px 0 rgba(255,90,67,.13); }
:root[data-theme="dark"] .case-topline { color: #a5a8ae; }
:root[data-theme="dark"] .case-copy h3 { color: #f2f1eb; }
:root[data-theme="dark"] .case-copy p { color: #a5a8ae; }
:root[data-theme="dark"] .case-open { color: #f2f1eb; border-color: #363940; }
:root[data-theme="dark"] .case-open:hover { color: var(--accent); }
:root[data-theme="dark"] .portfolio-foot { border-color: #363940; }
:root[data-theme="dark"] .portfolio-foot-symbol { color: var(--accent); border-color: var(--accent); }
:root[data-theme="dark"] .demo-dialog { color: #f2f1eb; background: #111316; border-color: #41444b; }
:root[data-theme="dark"] .demo-dialog::backdrop { background: rgba(0,0,0,.78); }
:root[data-theme="dark"] .demo-dialog-head { border-color: #373a40; }
:root[data-theme="dark"] .demo-viewport-controls button { color: #e8e8e5; background: #181a1e; border-color: #40434a; }
:root[data-theme="dark"] .demo-viewport-controls button.is-active { color: #111214; background: var(--accent); border-color: var(--accent); }

/* Buttons share one legible geometry and a high-contrast hover state. */
button, .button, .filter-button, .tool-button, .case-open,
.plain-toggle, .service-discuss-link, .contact-shortcut,
.footer-copy-link, .footer-links a, .floating-contact,
.demo-viewport-controls button, .section-permalink {
  font-family: "Onest", sans-serif;
  font-weight: 800;
  text-rendering: optimizeLegibility;
}
.button { min-height: 48px; padding: 0 18px; font-size: 12px; }
:root[data-theme="dark"] .button-primary,
:root[data-theme="dark"] .form-submit { color: #111214; background: var(--accent); border-color: var(--accent); }
:root[data-theme="dark"] .button-primary:hover,
:root[data-theme="dark"] .form-submit:hover { color: #111214; box-shadow: 4px 4px 0 #f2f1eb; }
:root[data-theme="dark"] .button:not(.button-primary) { color: #f2f1eb; border-color: #5b5e65; }
:root[data-theme="dark"] .button:not(.button-primary):hover { color: #111214; background: var(--accent); border-color: var(--accent); }
.tool-button { min-height: 38px; font-size: 11px; }
.filter-button { min-height: 40px; padding: 10px 14px; font-size: 12px; }
.case-open { min-height: 44px; font-size: 12px; }

/* Uniform CSS-drawn plus/minus icons: no font glyph, no mismatched baselines. */
.service-details-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid #656972;
  border-radius: 0;
  background: #17191c;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
  box-shadow: none;
  transform: none !important;
}
.service-details-toggle::before,
.service-details-toggle::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%; left: 50%;
  width: 12px;
  height: 2px;
  margin: 0;
  background: #f2f1eb;
  transform: translate(-50%, -50%);
  transition: opacity .18s ease, background .18s ease, transform .18s ease;
}
.service-details-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.service-details-toggle:hover,
.service-details-toggle[aria-expanded="true"] { border-color: var(--accent); background: var(--accent); box-shadow: none; }
.service-details-toggle:hover::before,
.service-details-toggle:hover::after,
.service-details-toggle[aria-expanded="true"]::before { background: #101113; }
.service-details-toggle[aria-expanded="true"]::after { opacity: 0; }
:root[data-theme="light"] .service-details-toggle { background: #f4f1e9; border-color: #191916; }
:root[data-theme="light"] .service-details-toggle::before,
:root[data-theme="light"] .service-details-toggle::after { background: #191916; }
:root[data-theme="light"] .service-details-toggle:hover,
:root[data-theme="light"] .service-details-toggle[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); }

.faq-item summary { grid-template-columns: 44px minmax(0,1fr) 40px; gap: 14px; }
.faq-item summary > span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; min-width: 32px; height: 30px; min-height: 30px;
  padding: 0; border: 1px solid #454850; border-radius: 0;
  background: #1a1c20; color: #d5d7dc; font: 800 11px/1 "Onest", sans-serif;
}
.faq-item summary i {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid #454850;
  background: #17191c;
  color: transparent; font-size: 0; font-style: normal; line-height: 0;
  transform: none; transition: border-color .18s, background .18s;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; background: #f2f1eb;
  transform: translate(-50%, -50%); transition: opacity .18s, background .18s;
}
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { color: transparent; background: var(--accent); border-color: var(--accent); transform: none; }
.faq-item[open] summary i::before, .faq-item[open] summary i::after { background: #111214; }
.faq-item[open] summary i::after { opacity: 0; }
.faq-item summary:hover i { border-color: var(--accent); }
:root[data-theme="light"] .faq-item summary i { background: #f4f1e9; }
:root[data-theme="light"] .faq-item summary i::before,
:root[data-theme="light"] .faq-item summary i::after { background: #191916; }
:root[data-theme="light"] .faq-item[open] summary i { background: var(--accent); border-color: var(--accent); }
:root[data-theme="light"] .faq-item[open] summary i::before,
:root[data-theme="light"] .faq-item[open] summary i::after { background: #191916; }

/* Plain, correctly sized X — no rotated square, diamond, or character-glyph offset. */
.demo-dialog-close {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px; min-width: 40px; height: 40px; min-height: 40px;
  padding: 0;
  border: 1px solid #53565d;
  border-radius: 0;
  background: #17191c;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
  box-shadow: none;
  transform: none !important;
}
.demo-dialog-close::before, .demo-dialog-close::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; border-radius: 1px;
  background: #f2f1eb;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform .18s, background .18s;
}
.demo-dialog-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.demo-dialog-close:hover { border-color: var(--accent); background: var(--accent); box-shadow: none; }
.demo-dialog-close:hover::before, .demo-dialog-close:hover::after { background: #111214; }
:root[data-theme="light"] .demo-dialog-close { background: #f4f1e9; border-color: #191916; }
:root[data-theme="light"] .demo-dialog-close::before,
:root[data-theme="light"] .demo-dialog-close::after { background: #191916; }
:root[data-theme="light"] .demo-dialog-close:hover { background: var(--accent); border-color: var(--accent); }

/* Real cursor only — never replace it with decorative diamonds or glyphs. */
html, body, *, *::before, *::after { cursor: auto; }
a, button, summary, select, input[type="button"], input[type="submit"], input[type="checkbox"], input[type="range"], [role="button"] { cursor: pointer; }
input:not([type="checkbox"]):not([type="range"]), textarea { cursor: text; }

@media (max-width: 1050px) {
  .site-header { padding-inline: 24px; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 11px; }
  .site-nav a > span:first-child { font-size: 9px; }
}
@media (max-width: 900px) {
  .site-header { min-height: 74px; flex-wrap: wrap; }
  .menu-toggle { display: flex; align-items: center; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 22px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px rgba(0,0,0,.18); }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
  .site-nav a { padding: 12px 3px; font-size: 13px; }
  .site-nav .nav-contact { display: flex; justify-content: space-between; margin-top: 8px; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 760px) {
  .site-header { padding: 0 18px; min-height: 68px; gap: 8px; }
  .brand { gap: 9px; }
  .brand-mark { width: 32px; height: 32px; font-size: 22px; }
  .brand-copy { font-size: 11px; }
  .brand-copy small { font-size: 7px; }
  .header-tools { gap: 5px; }
  .tool-button { min-height: 34px; padding-inline: 7px; font-size: 10px; }
  .theme-label { display: none; }
  .faq-item summary { grid-template-columns: 36px minmax(0,1fr) 36px; gap: 10px; }
  .faq-item summary > span { width: 30px; min-width: 30px; height: 28px; min-height: 28px; }
  .faq-item summary i { width: 32px; height: 32px; }
  .service-details-toggle { flex-basis: 36px; width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  .demo-dialog-close { flex-basis: 38px; width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
  .display-title { font-size: clamp(48px, 13vw, 92px); letter-spacing: -.065em; }
  .section-title { font-size: clamp(37px, 10vw, 70px); }
  .section-pad { padding-top: 84px; padding-bottom: 88px; }
}
@media (max-width: 430px) {
  .site-header { padding-inline: 12px; }
  .brand-copy small { letter-spacing: .07em; }
  .header-tools { gap: 4px; }
  .tool-button { padding-inline: 6px; }
  .language-toggle { gap: 5px; }
  .display-title { font-size: clamp(43px, 12.5vw, 58px); }
}
:root[data-theme="dark"] .section-number { color: #111214; }
:root[data-theme="dark"] .faq-item summary > span { color: #e7e8eb; background: #1a1c20; }
:root[data-theme="dark"] .tool-button .theme-symbol { color: var(--accent); }

:root[data-theme="dark"] .art-frame { background: #17191c; border-color: #3c3f46; box-shadow: 9px 9px 0 #050607; }
:root[data-theme="dark"] .browser-bar { background: #17191c; color: #a5a8ae; border-color: #363940; }
:root[data-theme="dark"] .browser-dots b { border-color: #8c9098; }
:root[data-theme="dark"] .art-caption { color: #a5a8ae; }
:root[data-theme="dark"] .preview-controls { color: #f2f1eb; }
:root[data-theme="dark"] .preview-controls label { color: #a5a8ae; }


/* Responsive geometry pass — keep the portfolio headline on two intentional lines. */
.portfolio .portfolio-title-first {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  color: var(--ink) !important;
}
.portfolio .section-title {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* The heading and its explanation no longer compete for the same narrow row. */
@media (max-width: 1050px) {
  .portfolio .section-heading { margin-bottom: 34px; }
  .portfolio .section-heading-main { display: block; }
  .portfolio .section-title {
    width: 100%;
    margin: 0 0 18px;
    font-size: clamp(46px, 7.2vw, 74px);
    line-height: 1;
    letter-spacing: -.055em;
  }
  .portfolio .section-description { max-width: 600px; margin: 0; }
}

@media (max-width: 760px) {
  .portfolio .section-title {
    margin-bottom: 20px;
    font-size: clamp(39px, 8.8vw, 62px);
    line-height: 1;
    letter-spacing: -.06em;
  }
  .portfolio .section-description { max-width: 44rem; }
}

/* Small phones need a slightly smaller title, not an accidental third line. */
@media (max-width: 380px) {
  .portfolio .section-title {
    font-size: clamp(30px, 9.3vw, 35px);
    line-height: 1.04;
    letter-spacing: -.04em;
  }
  .portfolio .portfolio-title-first { max-width: 100%; }
}

@media (max-width: 420px) {
  .portfolio .section-title {
    font-size: clamp(36px, 9.2vw, 39px);
    letter-spacing: -.055em;
  }
}

@media (max-width: 380px) {
  .portfolio .section-title {
    font-size: clamp(27px, 9.2vw, 35px);
    line-height: 1.04;
    letter-spacing: -.04em;
  }
}

/* FINAL RESPONSIVE GEOMETRY FIX — size components by their own real width. */

/* Service rows: bring the heading left and give the plus button its own real grid track. */
.service-list {
  container-type: inline-size;
  min-width: 0;
}
.service-row {
  grid-template-columns: 56px minmax(0, 1fr) minmax(112px, 156px) 46px;
  gap: 16px;
  padding: 22px 0;
}
.service-row:hover {
  padding-left: 0;
  padding-right: 0;
  background: rgba(255,255,255,.025);
}
.service-name { min-width: 0; }
.service-name h3 { max-width: 100%; overflow-wrap: break-word; }
.service-type { min-width: 0; }
.service-details { padding-left: 72px; }
.service-details-toggle {
  justify-self: center;
  align-self: center;
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 0;
  transform: none !important;
}
.service-details-toggle::before,
.service-details-toggle::after {
  width: 13px;
  height: 2px;
}
.service-row:hover .service-arrow { transform: none; }

/* The portfolio can sit in a narrow embed/container: cards must follow that width,
   not only the viewport breakpoint, otherwise three tiny demos are squeezed together. */
.portfolio {
  container-type: inline-size;
  min-width: 0;
}
.portfolio.section-wrap {
  width: min(1560px, calc(100vw - 72px));
  max-width: calc(100vw - 32px);
}
.portfolio .section-heading-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 350px);
  align-items: end;
  gap: clamp(24px, 4cqi, 64px);
}
.portfolio .section-title {
  min-width: 0;
  max-width: 100%;
  font-size: clamp(44px, 5.4cqi, 82px);
  line-height: .99;
  letter-spacing: -.055em;
  overflow: visible;
}
.portfolio .portfolio-title-first {
  max-width: 100%;
  white-space: nowrap;
}
.portfolio .section-description {
  max-width: 350px;
  min-width: 0;
  margin: 0 0 3px;
}
.portfolio .case-grid { min-width: 0; }
.portfolio .case-card { min-width: 0; }
.portfolio .case-topline { min-width: 0; }
.portfolio .case-topline span:last-child { text-align: right; }
.portfolio .case-copy { min-width: 0; }
.portfolio .case-copy > div { min-width: 0; }
.portfolio .case-copy h3,
.portfolio .case-copy p { overflow-wrap: anywhere; }
.portfolio .portfolio-foot { min-width: 0; }
.portfolio .portfolio-foot p { min-width: 0; }

/* Stack labels do not consume a fifth of the whole layout unnecessarily. */
.stack { container-type: inline-size; }
.stack-column {
  grid-template-columns: minmax(150px, .2fr) minmax(0, 1fr);
  gap: clamp(20px, 2.2cqi, 30px);
}
.stack-tags { min-width: 0; }
.stack-tags span,
.stack-tags button { max-width: 100%; }

/* Numbers stay decorative and stop swallowing the process cards at compact widths. */
.process { container-type: inline-size; }
.process-grid { min-width: 0; }
.process-step {
  min-width: 0;
  overflow: clip;
}
.process-step::after {
  top: 54px;
  right: 14px;
  font-size: clamp(54px, 7.4cqi, 94px);
  line-height: .82;
  opacity: .7;
}
.process-step h3 {
  max-width: 100%;
  overflow-wrap: normal;
  font-size: clamp(19px, 1.85vw, 24px);
}
.process-step p {
  max-width: 28ch;
  font-size: 14px;
  line-height: 1.55;
}

/* Use container queries for sections whose actual width differs from the window. */
@container (max-width: 1040px) {
  .portfolio .section-heading-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .portfolio .section-title {
    font-size: clamp(36px, 7.1cqi, 68px);
    line-height: 1.02;
    margin: 0;
  }
  .portfolio .section-description { max-width: 620px; }
  .portfolio .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio .case-card:last-child { grid-column: 1 / -1; }
  .portfolio .case-card:last-child .case-art { aspect-ratio: 1.8 / 1; }
  .portfolio .portfolio-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .stack-column { grid-template-columns: minmax(140px, .22fr) minmax(0, 1fr); }
}
@container (max-width: 760px) {
  .portfolio.section-wrap { width: calc(100vw - 36px); }
  .portfolio .section-heading { margin-bottom: 28px; }
  .portfolio .section-title {
    font-size: clamp(32px, 7.5cqi, 54px);
    line-height: 1.02;
    letter-spacing: -.05em;
  }
  .portfolio .portfolio-title-first { white-space: nowrap; }
  .portfolio .case-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .portfolio .case-card:last-child { grid-column: auto; }
  .portfolio .case-card:last-child .case-art,
  .portfolio .case-art { aspect-ratio: 1.25 / 1; }
  .portfolio .case-copy { padding: 16px 2px 14px; }
  .portfolio .portfolio-foot { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .portfolio .portfolio-foot .text-link { grid-column: 2; justify-self: start; white-space: normal; }
  .stack-column { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .stack-category { padding-top: 0; }
}
@container (max-width: 600px) {
  .portfolio .section-title { font-size: clamp(28px, 7.7cqi, 44px); }
  .portfolio .portfolio-title-first { white-space: nowrap; }
  .portfolio .case-topline { align-items: flex-start; }
  .portfolio .case-topline span:last-child { max-width: 60%; }
  .portfolio .case-art,
  .portfolio .case-card:last-child .case-art { aspect-ratio: 1.12 / 1; }
  .portfolio .portfolio-toolbar { gap: 8px; padding: 12px 0; }
  .portfolio .portfolio-toolbar > span:last-child { line-height: 1.5; }
  .portfolio .portfolio-foot p { font-size: 14px; }
}
@container (max-width: 760px) {
  .service-row {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 12px;
    min-height: 112px;
    padding: 19px 0;
  }
  .service-no { padding-top: 5px; }
  .service-type { display: none; }
  .service-name h3 { font-size: clamp(22px, 4.2cqi, 31px); }
  .service-name p { max-width: 36ch; font-size: 14px; }
  .service-details-toggle { flex-basis: 40px; width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
  .service-details { padding: 8px 2px 20px; }
}
@container (max-width: 520px) {
  .service-row { grid-template-columns: 34px minmax(0, 1fr) 38px; gap: 9px; }
  .service-name h3 { font-size: clamp(20px, 5.2cqi, 26px); line-height: 1.12; }
  .service-name p { margin-top: 8px; font-size: 13px; }
  .service-details-toggle { flex-basis: 36px; width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  .service-details { padding-inline: 0; }
}
@container (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step { min-height: 225px; padding: 20px 15px 22px 0; }
  .process-step + .process-step { padding-left: 15px; }
  .process-step:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-step:nth-child(4) { border-top: 1px solid var(--line); }
  .process-step h3 { font-size: clamp(18px, 2.6cqi, 22px); }
  .process-step p { font-size: 13px; }
  .process-step::after { top: 48px; font-size: clamp(54px, 8cqi, 82px); }
}
@container (max-width: 520px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-step,
  .process-step + .process-step,
  .process-step:nth-child(3),
  .process-step:nth-child(4) {
    min-height: 0;
    padding: 20px 0 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .process-step:first-child { border-top: 0; }
  .process-step::after { top: 42px; right: 8px; font-size: 60px; }
  .process-symbol { width: 40px; height: 40px; margin: 22px 0 14px; }
  .process-step h3 { font-size: 21px; }
  .process-step p { max-width: 42ch; font-size: 14px; }
}

/* Make plus controls square, centred, and consistently weighted. */
.faq-item summary { grid-template-columns: 40px minmax(0, 1fr) 40px; }
.faq-item summary i {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 0;
}
.faq-item summary i::before,
.faq-item summary i::after { width: 13px; height: 2px; }
.faq-item summary > b { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .portfolio.section-wrap { width: calc(100vw - 36px); }
  .service-row { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 10px; }
  .service-details-toggle { width: 40px; min-width: 40px; height: 40px; min-height: 40px; }
  .faq-item summary { grid-template-columns: 34px minmax(0, 1fr) 36px; gap: 10px; }
  .faq-item summary i { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
}
@media (max-width: 420px) {
  .portfolio.section-wrap { width: calc(100vw - 28px); }
  .portfolio .section-title { font-size: clamp(27px, 8vw, 36px); }
  .portfolio .portfolio-title-first { white-space: nowrap; }
  .service-row { grid-template-columns: 30px minmax(0, 1fr) 36px; gap: 8px; }
  .service-details-toggle { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
}

/* FINAL GEOMETRY AUDIT — shared section boundaries and real inner gutters. */
:root {
  --layout-inset: clamp(14px, 1.6vw, 24px);
  --faq-inset: clamp(12px, 1.6vw, 22px);
}

html, body { max-width: 100%; }
img, video, canvas, iframe, svg { max-width: 100%; }
main, main > section, .section-wrap, .section-heading, .section-heading-main,
.service-row, .stack-column, .process-grid, .process-step,
.portfolio, .portfolio-toolbar, .case-grid, .case-card,
.about-grid, .principle-row, .faq-list, .faq-item, .contact-inner,
.contact-form, .contact-bottom { min-width: 0; }

/* Keep all main sections on the same outer grid. The portfolio had a wider
   special width than the rest of the page, which made its frame look misaligned. */
.portfolio.section-wrap {
  width: min(var(--wrap), calc(100% - 80px));
  max-width: var(--wrap);
  padding-inline: var(--layout-inset);
}
.portfolio .section-heading-main {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 350px);
  gap: clamp(22px, 4cqi, 64px);
}
.portfolio .section-title {
  font-size: clamp(46px, 6.1cqi, 82px);
  line-height: 1;
  letter-spacing: -.06em;
  min-width: 0;
}
.portfolio .portfolio-title-first { white-space: nowrap; }
.portfolio .section-description { max-width: 350px; }
.portfolio .portfolio-toolbar {
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.portfolio .portfolio-toolbar > span { min-width: 0; max-width: 100%; }
.portfolio .portfolio-toolbar > span:last-child { text-align: right; overflow-wrap: anywhere; }
.portfolio .case-grid { min-width: 0; gap: clamp(12px, 1.4vw, 22px); }
.portfolio .case-card { min-width: 0; }
.portfolio .case-topline { align-items: flex-start; }
.portfolio .case-topline span { min-width: 0; }
.portfolio .case-topline span:last-child { max-width: 62%; }
.portfolio .case-art { min-width: 0; max-width: 100%; }
.portfolio .case-copy { min-width: 0; }
.portfolio .case-copy > div, .portfolio .case-copy h3, .portfolio .case-copy p { min-width: 0; }
.portfolio .portfolio-foot {
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: clamp(12px, 1.5vw, 20px);
}
.portfolio .portfolio-foot p { min-width: 0; overflow-wrap: anywhere; }
.portfolio .portfolio-foot .text-link { max-width: 100%; white-space: normal; }

/* The stack already sits inside a section wrapper on phones. Do not subtract a
   second set of margins from its children — that was leaving one side empty. */
.stack > * { width: 100%; max-width: 100%; margin-inline: 0; }
.stack .stack-top { padding-inline: var(--layout-inset); }
.stack-column { padding-inline: var(--layout-inset); }
.stack-foot { padding-inline: var(--layout-inset); }
.tech-lab { padding-inline: var(--layout-inset); }
.stack-tags { min-width: 0; }
.stack-tags button, .stack-tags span { flex: 0 0 auto; max-width: 100%; }
.stack-foot-stamp { margin-right: 5px; flex-shrink: 0; }

/* Add a matching inner margin to the first process cell as well as its siblings.
   The decorative large numbers stay inside their own cells. */
.process-step { padding-right: var(--layout-inset); }
.process-step:first-child { padding-left: var(--layout-inset); }
.process-step + .process-step { padding-left: var(--layout-inset); }
.process-step::after { right: var(--layout-inset); max-width: calc(100% - 24px); }
.process-step h3 { max-width: calc(100% - 38px); }
.process-step p { max-width: 100%; }

/* Bordered content lists: line spans the row, text and controls sit comfortably inside it. */
.service-row {
  padding-left: 0;
  padding-right: clamp(8px, 1vw, 14px);
  column-gap: clamp(8px, 1.2vw, 16px);
}
.service-row:hover { padding-left: 0; padding-right: clamp(8px, 1vw, 14px); }
.service-details { min-width: 0; }
.principle-row { padding-inline: var(--layout-inset); }
.deliverables { padding-inline: var(--layout-inset); }
.faq-item summary {
  --faq-control-size: 40px;
  grid-template-columns: 40px minmax(0, 1fr) var(--faq-control-size);
  padding-inline: var(--faq-inset);
  gap: 14px;
}
.faq-item summary > b { min-width: 0; overflow-wrap: anywhere; }
.faq-item > p {
  margin: -4px calc(var(--faq-inset) + 54px) 25px calc(var(--faq-inset) + 54px);
  max-width: 720px;
}
.faq-bottom { padding-inline: var(--layout-inset); }
.hero-foot { padding-inline: var(--layout-inset); }
.contact-bottom { padding-inline: var(--layout-inset); }

@media (max-width: 1050px) {
  .portfolio .section-heading-main { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .portfolio .section-title { font-size: clamp(36px, 7.1cqi, 68px); }
  .portfolio .section-description { max-width: 620px; }
  .portfolio .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio .case-card:last-child { grid-column: 1 / -1; }
  .portfolio .case-card:last-child .case-art { aspect-ratio: 1.8 / 1; }
}
@media (max-width: 760px) {
  .section-wrap { width: calc(100% - 36px); }
  .portfolio.section-wrap { width: calc(100% - 36px); max-width: none; padding-inline: 12px; }
  .portfolio .section-heading { margin-bottom: 28px; }
  .portfolio .section-title { font-size: clamp(28px, 8.3cqi, 44px); line-height: 1.04; letter-spacing: -.055em; }
  .portfolio .section-description { max-width: 100%; }
  .portfolio .portfolio-toolbar { align-items: flex-start; flex-direction: column; }
  .portfolio .portfolio-toolbar > span:last-child { text-align: left; }
  .portfolio .case-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .portfolio .case-card:last-child { grid-column: auto; }
  .portfolio .case-card:last-child .case-art, .portfolio .case-art { aspect-ratio: 1.2 / 1; }
  .portfolio .portfolio-foot { grid-template-columns: 28px minmax(0, 1fr); }
  .portfolio .portfolio-foot .text-link { grid-column: 2; justify-self: start; }
  .stack-column { gap: 12px; }
  .stack-foot { gap: 12px; }
  .stack-foot p { min-width: 0; }
  .tech-lab { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .process-step { min-height: 0; }
  .service-row { padding-right: 10px; }
  .service-row:hover { padding-right: 10px; }
  .faq-item summary { grid-template-columns: 34px minmax(0,1fr) 36px; gap: 10px; }
  .faq-item summary i { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  .faq-item > p { margin: 0 14px 22px calc(var(--faq-inset) + 44px); }
  .faq-bottom { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .contact-bottom { align-items: flex-start; }
}
@media (max-width: 520px) {
  .portfolio.section-wrap { padding-inline: 10px; }
  .portfolio .section-title { font-size: clamp(26px, 8.2cqi, 36px); }
  .portfolio .portfolio-title-first { white-space: nowrap; }
  .portfolio .case-topline { gap: 6px; }
  .portfolio .case-topline span:last-child { max-width: 58%; }
  .portfolio .case-art { aspect-ratio: 1.1 / 1; }
  .portfolio .portfolio-foot { gap: 10px; }
  .stack .stack-top { padding-inline: 10px; }
  .stack-column, .stack-foot, .tech-lab { padding-inline: 10px; }
  .stack-foot-stamp { font-size: 7px; padding: 8px; }
  .service-row { grid-template-columns: 30px minmax(0,1fr) 36px; gap: 8px; padding-right: 8px; }
  .service-details-toggle { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  .principle-row { grid-template-columns: 30px minmax(0,1fr) 16px; gap: 10px; padding-inline: 12px; }
  .deliverables { grid-template-columns: minmax(0,1fr); gap: 20px; padding-inline: 12px; }
  .checklist { grid-template-columns: minmax(0,1fr); }
  .checklist-note { grid-column: 1; margin: 0; }
  .faq-item summary { padding-inline: 12px; }
  .faq-item > p { margin-inline: 66px 12px; }
}
@media (max-width: 360px) {
  .section-wrap { width: calc(100% - 28px); }
  .portfolio.section-wrap { width: calc(100% - 28px); padding-inline: 8px; }
  .portfolio .section-title { font-size: 26px; }
  .stack .stack-top { padding-inline: 8px; }
  .stack-column, .stack-foot, .tech-lab { padding-inline: 8px; }
  .process-step:first-child, .process-step + .process-step { padding-left: 12px; }
  .process-step { padding-right: 12px; }
  .faq-item summary { grid-template-columns: 30px minmax(0,1fr) 34px; gap: 8px; padding-inline: 8px; }
  .faq-item summary i { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
  .faq-item > p { margin-inline: 46px 8px; }
}

/* Last alignment pass: full-bleed bands stay full-bleed; their content shares one grid. */
.stack.section-wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(40px, calc((100% - var(--wrap)) / 2));
}
.stack .stack-top { padding-inline: 0; }
.contact-inner.section-wrap {
  width: min(var(--wrap), calc(100% - 80px));
  max-width: var(--wrap);
  margin-inline: auto;
}

@media (min-width: 761px) and (max-width: 1050px) {
  .portfolio.section-wrap { width: calc(100% - 50px); max-width: none; }
  .contact-inner.section-wrap { width: calc(100% - 50px); max-width: none; }
  .stack.section-wrap { width: 100%; max-width: none; padding-inline: 25px; }
}
@media (max-width: 760px) {
  .stack.section-wrap { width: 100%; max-width: none; padding-inline: 18px; }
  .portfolio.section-wrap { width: calc(100% - 36px); max-width: none; }
  .contact-inner.section-wrap { width: calc(100% - 36px); max-width: none; }
}
@media (max-width: 520px) {
  .stack .stack-top { padding-inline: 0; }
}
@media (max-width: 360px) {
  .stack.section-wrap { width: 100%; max-width: none; padding-inline: 14px; }
  .portfolio.section-wrap { width: calc(100% - 28px); max-width: none; }
  .contact-inner.section-wrap { width: calc(100% - 28px); max-width: none; }
}

/* FULL-BLEED SECTION SURFACES — the portfolio content keeps its shared grid,
   while its background and border span the whole viewport instead of forming
   a narrow panel with black gutters on both sides. */
.portfolio {
  position: relative;
  isolation: isolate;
  background: transparent;
  border-block: 0;
}
.portfolio::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
  pointer-events: none;
}

/* Keep the browser scrollbar in the same visual system as the active theme. */
html {
  scrollbar-color: #4b4f57 var(--paper);
  scrollbar-width: thin;
}
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: #4b4f57;
  border: 3px solid var(--paper);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }


/* WEB/01 — brutal navigation, contrast and rebuilt contact panel */
@media (min-width: 1051px) {
  .site-header {
    min-height: 92px;
    padding-inline: clamp(28px, 2.3vw, 46px);
    gap: clamp(20px, 2.1vw, 42px);
  }
  .brand { gap: 15px; }
  .brand-mark {
    width: 51px;
    height: 54px;
    font-size: 36px;
    box-shadow: 4px 4px 0 rgba(255,90,67,.16);
  }
  .brand-copy { font-size: 15px; line-height: 1.05; }
  .brand-copy small { margin-top: 6px; font-size: 8px; }
  .site-nav {
    flex: 1 1 auto;
    justify-content: center;
    gap: clamp(12px, 1.6vw, 30px);
    min-width: 0;
  }
  .site-nav a:not(.nav-contact) {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 0 13px;
    font-size: clamp(11px, .82vw, 15px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .site-nav a > span:first-child {
    font-size: 10px;
    line-height: 1;
    color: #a5a9b1;
  }
  .site-nav a:not(.nav-contact)::after {
    bottom: 2px;
    height: 4px;
    background: var(--accent);
  }
  .site-nav .nav-contact {
    align-self: center;
    min-height: 54px;
    min-width: 154px;
    padding: 0 19px;
    justify-content: space-between;
    align-items: center;
    gap: 19px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #111214;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 4px 4px 0 rgba(255,90,67,.13);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  }
  .site-nav .nav-contact span { font-size: 19px; }
  .site-nav .nav-contact:hover {
    transform: translate(-2px,-2px);
    background: #ff806b;
    border-color: #ff806b;
    box-shadow: 6px 6px 0 rgba(255,90,67,.2);
    color: #111214;
  }
  .header-tools { gap: 8px; margin-left: 0; }
  .tool-button.language-toggle { min-width: 78px; }
}

.theme-toggle {
  position: relative;
  overflow: hidden;
  min-width: 94px;
  gap: 7px;
  padding-inline: 10px;
  border-color: rgba(255,90,67,.56);
  background: linear-gradient(135deg, rgba(255,90,67,.14), rgba(255,90,67,.035));
}
.theme-symbol {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}
.theme-label { font-size: 10px; font-weight: 900; }
.theme-current {
  padding-left: 7px;
  border-left: 1px solid currentColor;
  color: var(--accent);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .02em;
}
:root[data-theme="dark"] .theme-toggle {
  color: #f4f4f1;
  border-color: rgba(255,90,67,.72);
  background: linear-gradient(135deg, rgba(255,90,67,.17), rgba(255,90,67,.045));
  box-shadow: inset 0 0 0 1px rgba(255,90,67,.04);
}
:root[data-theme="dark"] .theme-toggle .theme-symbol {
  color: #111214;
  border-color: var(--accent);
  background: var(--accent);
}
:root[data-theme="dark"] .theme-toggle:hover,
:root[data-theme="dark"] .theme-toggle[aria-pressed="true"] {
  color: #111214;
  border-color: var(--accent);
  background: var(--accent);
  transform: translateY(-1px);
}
:root[data-theme="dark"] .theme-toggle:hover .theme-current,
:root[data-theme="dark"] .theme-toggle[aria-pressed="true"] .theme-current { color: #111214; }
:root[data-theme="dark"] .theme-toggle:hover .theme-symbol,
:root[data-theme="dark"] .theme-toggle[aria-pressed="true"] .theme-symbol {
  color: var(--accent);
  border-color: #111214;
  background: #111214;
}
:root[data-theme="light"] .theme-toggle {
  color: #191b1f;
  border-color: #d94a37;
  background: linear-gradient(135deg, rgba(255,90,67,.12), rgba(255,90,67,.025));
}
:root[data-theme="light"] .theme-toggle .theme-symbol {
  color: #f7f4ec;
  background: #202226;
  border-color: #202226;
}
@media (max-width: 1100px) {
  .theme-current { display: none; }
  .theme-toggle { min-width: 42px; padding-inline: 9px; }
  .theme-label { font-size: 9px; }
}

/* Dark-mode small text is intentionally brighter, not merely grey on charcoal. */
:root[data-theme="dark"] .hero-index,
:root[data-theme="dark"] .art-topline,
:root[data-theme="dark"] .art-caption,
:root[data-theme="dark"] .art-side-label,
:root[data-theme="dark"] .service-no,
:root[data-theme="dark"] .service-type,
:root[data-theme="dark"] .stack-category,
:root[data-theme="dark"] .process-index,
:root[data-theme="dark"] .case-topline,
:root[data-theme="dark"] .case-index,
:root[data-theme="dark"] .portfolio-toolbar,
:root[data-theme="dark"] .project-field-meta,
:root[data-theme="dark"] .form-progress-meta,
:root[data-theme="dark"] .contact-bottom,
:root[data-theme="dark"] .footer-copy-link,
:root[data-theme="dark"] .footer-links a {
  color: #c0c4cc;
}
:root[data-theme="dark"] .section-label,
:root[data-theme="dark"] .micro-label,
:root[data-theme="dark"] .eyebrow,
:root[data-theme="dark"] .faq-item > p,
:root[data-theme="dark"] .services-note,
:root[data-theme="dark"] .form-hint,
:root[data-theme="dark"] .form-estimate-note {
  color: #c2c5cc;
}
:root[data-theme="dark"] .brand-copy small { color: #b2b6bf; }
:root[data-theme="dark"] .site-nav a > span:first-child { color: #b4b8c0; }
:root[data-theme="dark"] .contact-intro { color: #d0d2d6; }
:root[data-theme="dark"] .contact-signature { color: #c0c4cc; }
:root[data-theme="dark"] .contact-flow span { color: #d0d2d6; }

/* Contact: one clear editorial column and a structured form panel. */
.contact {
  position: relative;
  isolation: isolate;
  background: #08090b;
  color: #f4f4f1;
  border-top: 1px solid #2e3137;
}
.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,90,67,.055), transparent 42%);
  pointer-events: none;
}
.contact-inner.section-wrap {
  width: min(var(--wrap), calc(100% - 80px));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .82fr);
  align-items: start;
  gap: clamp(38px, 6vw, 92px);
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(64px, 7vw, 96px);
}
.contact-heading { min-width: 0; padding-top: 9px; }
.contact .section-label-light { color: #c3c7cf; margin-bottom: 30px; }
.contact .section-label-light .section-number {
  width: 38px;
  height: 34px;
  color: #111214;
  background: var(--accent);
  border: 1px solid var(--accent);
  font-size: 11px;
}
.contact-title {
  max-width: 680px;
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: .88;
  letter-spacing: -.075em;
  overflow-wrap: normal;
}
.contact-title em { color: var(--accent); }
.contact-intro {
  max-width: 420px;
  margin-top: 27px;
  color: #d0d2d6;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
}
.contact-flow {
  max-width: 410px;
  gap: 0;
  margin: 30px 0 25px;
  padding: 0;
  border-top: 1px solid #34373e;
  border-bottom: 1px solid #34373e;
}
.contact-flow span {
  min-height: 48px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #282b31;
  color: #d0d2d6;
  font-size: 12px;
}
.contact-flow span:last-child { border-bottom: 0; }
.contact-flow b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border: 1px solid rgba(255,90,67,.65);
  color: var(--accent);
  font-size: 10px;
}
.contact-signature {
  margin-top: 28px;
  color: #bfc3cb;
  font-size: 9px;
  line-height: 1.6;
}
.contact-form {
  width: 100%;
  min-width: 0;
  align-self: start;
  padding: clamp(22px, 2.4vw, 34px);
  color: #f2f3f5;
  background: #111317;
  border: 1px solid #383c44;
  box-shadow: 7px 7px 0 rgba(255,90,67,.82);
}
:root[data-theme="dark"] .contact-form { background: #111317; border-color: #383c44; color: #f2f3f5; }
.contact-form .form-topline {
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid #393d45;
  color: #f4f4f1;
  font-size: 11px;
}
.contact-form .form-topline span:first-child { color: var(--accent); }
.contact-form .form-topline span:last-child { color: #bfc3cb; }
.contact-form label {
  margin: 18px 0 8px;
  color: #f0f1f3;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
}
.contact-form input:not([type="checkbox"]),
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-width: 0;
  padding: 13px 13px;
  border: 1px solid #3b3f48;
  border-radius: 2px;
  color: #f5f6f7;
  background: #0b0d10;
  font-family: "Onest", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form select { padding-right: 30px; }
.contact-form input:not([type="checkbox"])::placeholder,
.contact-form textarea::placeholder { color: #aeb3bc; opacity: 1; }
.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: #101216;
  box-shadow: 0 0 0 3px rgba(255,90,67,.13);
}
.contact-form select option { color: #f5f6f7; background: #111317; }
.contact-form .form-row { gap: 14px; }
.contact-form .project-field-meta {
  margin-top: 8px;
  color: #bfc3cb;
  font-size: 10px;
  line-height: 1.5;
}
.contact-form .project-field-meta output { color: #f2f3f5; }
.contact-form .consent-row {
  align-items: flex-start;
  gap: 11px;
  margin-top: 21px !important;
  color: #d9dbe0;
  font-size: 11px;
}
.contact-form .consent-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 1px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--accent);
}
.contact-form .form-submit {
  min-height: 54px;
  margin-top: 25px;
  padding-inline: 16px;
  color: #111214;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: none;
}
.contact-form .form-submit:hover {
  color: #111214;
  background: #ff806b;
  border-color: #ff806b;
  box-shadow: 4px 4px 0 #f2f1eb;
}
.contact-form .form-submit > span:first-child { flex: 1; text-align: left; }
.contact-form .form-estimate-note,
.contact-form .form-hint {
  color: #c0c4cc;
  font-size: 11px;
  line-height: 1.6;
}
.contact-form .form-estimate-note { margin: 13px 0 0; }
.contact-form .form-hint { margin-top: 18px; padding-top: 14px; border-top: 1px solid #34373e; }
.contact-form .form-status { color: #f2f3f5; }
.contact-form .form-progress { margin-bottom: 22px; }
.contact-form .form-progress-track { background: #363a42; }
.contact-form .form-progress-meta { color: #c0c4cc; font-size: 9px; line-height: 1.5; }
.contact-form .form-progress-meta span:last-child { max-width: 53%; text-align: right; }
.contact-form .contact-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
}
.contact-form .contact-shortcut {
  min-width: 0;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 9px;
  border: 1px solid #3b3f48;
  color: #e0e2e6;
  background: #171a20;
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
}
.contact-form .contact-shortcut:hover {
  color: #fff;
  border-color: var(--accent);
  background: #22252b;
}
.contact-form .contact-shortcut[hidden] { display: none; }
.contact-bottom {
  border-top-color: #34373e;
  color: #c0c4cc;
}

@media (max-width: 1050px) {
  .contact-inner.section-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
    gap: 34px;
  }
  .contact-title { font-size: clamp(54px, 7.5vw, 84px); }
}
@media (max-width: 760px) {
  .contact-inner.section-wrap {
    width: calc(100% - 36px);
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    padding-top: 62px;
    padding-bottom: 58px;
  }
  .contact-heading { padding-top: 0; }
  .contact .section-label-light { margin-bottom: 24px; }
  .contact-title { font-size: clamp(56px, 13vw, 88px); line-height: .9; }
  .contact-intro { margin-top: 22px; font-size: 14px; }
  .contact-flow { margin: 24px 0 20px; }
  .contact-signature { margin-top: 22px; }
  .contact-form { padding: 22px 18px; box-shadow: 5px 5px 0 rgba(255,90,67,.82); }
  .contact-form .form-progress-meta { flex-direction: column; gap: 5px; }
  .contact-form .form-progress-meta span:last-child { max-width: none; text-align: left; }
  .contact-form .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-form .contact-shortcuts { grid-template-columns: minmax(0, 1fr); }
  .contact-bottom { padding-top: 16px; padding-bottom: 18px; }
}
@media (max-width: 380px) {
  .contact-title { font-size: clamp(48px, 12.5vw, 62px); }
  .contact-form { padding: 19px 14px; }
  .contact-form .form-topline { font-size: 9px; }
}

@media (min-width: 1051px) and (max-width: 1279px) {
  .site-header { padding-inline: 22px; gap: 14px; }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 46px; font-size: 30px; }
  .brand-copy { font-size: 12px; }
  .brand-copy small { font-size: 7px; letter-spacing: .08em; }
  .site-nav { gap: 10px; }
  .site-nav a:not(.nav-contact) { font-size: 10px; gap: 3px; }
  .site-nav a > span:first-child { font-size: 8px; }
  .site-nav .nav-contact { min-width: 112px; min-height: 45px; padding-inline: 11px; gap: 9px; font-size: 10px; }
  .site-nav .nav-contact span { font-size: 16px; }
  .header-tools { gap: 5px; }
  .tool-button.language-toggle { min-width: 66px; padding-inline: 7px; }
}


/* Nemich-Design: fixed dark palette and more visible hero actions. */
:root { color-scheme: dark; }
html, html[data-theme="dark"] { color-scheme: dark; }
.hero-actions .button-primary {
  min-height: 58px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  color: #111214;
  background: #ff806b;
  border: 2px solid #ff806b;
  box-shadow: 5px 5px 0 #f2f1eb;
}
.hero-actions .button-primary:hover {
  color: #111214;
  background: #ff927f;
  border-color: #ff927f;
  box-shadow: 6px 6px 0 #f2f1eb;
  transform: translate(-2px, -2px);
}
.hero-actions .button-primary span { font-size: 20px; margin-left: 8px; }
.hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 12px 15px;
  border: 1.5px solid #ff806b;
  border-bottom: 1.5px solid #ff806b;
  background: #15171a;
  color: #f2f1eb;
  font: 800 13px/1.3 "Onest", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  box-shadow: 4px 4px 0 rgba(255,128,107,.24);
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.hero-actions .text-link span { color: #ff806b; font-size: 21px; line-height: 1; }
.hero-actions .text-link:hover {
  color: #111214;
  background: #ff806b;
  border-color: #ff806b;
  box-shadow: 5px 5px 0 #f2f1eb;
  transform: translate(-2px, -2px);
}
.hero-actions .text-link:hover span { color: #111214; }
.brand-copy { max-width: 190px; font-size: 13px; letter-spacing: -.025em; }
.brand-copy small { letter-spacing: .09em; }
@media (max-width: 760px) {
  .hero-actions .button-primary { min-height: 54px; padding-inline: 18px; font-size: 14px; }
  .hero-actions .text-link { min-height: 46px; font-size: 13px; }
}


/* Give the highlighted service row a little more visual breathing room on the left. */
.service-row:hover {
  background: rgba(255, 255, 255, .035);
  box-shadow: -18px 0 0 rgba(255, 255, 255, .035);
}


/* Nemich-Design brand mark */
.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .15);
  background: #080808;
  box-shadow: 0 0 0 1px rgba(255, 66, 53, .08);
}
@media (max-width: 760px) {
  .brand-logo { width: 34px; height: 34px; }
}

/* Nemich-Design: tighten the space directly after the marquee. */
.ticker + .services.section-pad {
  padding-top: clamp(32px, 3.5vw, 48px);
}
@media (max-width: 760px) {
  .ticker + .services.section-pad {
    padding-top: 32px;
  }
}

/* Live portfolio case details and full-demo actions. */
.demo-case-details { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(240px,.8fr); gap: clamp(18px,3vw,34px); margin-top: 16px; padding: clamp(18px,2.6vw,26px); border: 1px solid #363940; background: #17191c; }
.demo-detail-main, .demo-detail-aside { min-width: 0; }
.demo-detail-main h3 { margin: 10px 0 8px; color: #f2f1eb; font: 800 clamp(21px,2.8vw,32px)/1.05 var(--display); letter-spacing: -.045em; }
.demo-detail-main > p { max-width: 640px; margin: 0; color: #c0c4cc; font-size: 13px; line-height: 1.65; }
.demo-detail-subtitle { display: block; margin-top: 22px; color: #ff6a55; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.demo-detail-main ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 14px; margin: 10px 0 0; padding: 0; list-style: none; }
.demo-detail-main li { position: relative; padding-left: 15px; color: #e2e3e6; font-size: 12px; line-height: 1.5; }
.demo-detail-main li::before { content: "↗"; position: absolute; left: 0; color: #ff5a43; }
.demo-detail-aside { display: flex; flex-direction: column; align-items: flex-start; padding-left: clamp(16px,2.5vw,28px); border-left: 1px solid #363940; }
.demo-tech-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.demo-tech-tags span { padding: 7px 9px; border: 1px solid #42454d; color: #ebedf0; background: #202226; font-size: 10px; font-weight: 800; }
.demo-detail-note { margin: 17px 0 0; color: #b4b8c0; font-size: 12px; line-height: 1.6; }
.demo-detail-index { margin-top: auto; padding-top: 20px; color: #ff6a55; font: 800 10px/1 var(--body); letter-spacing: .1em; }
.demo-dialog-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.demo-dialog-actions .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; white-space: nowrap; }
.demo-dialog-actions .button-secondary { border: 1px solid #4b4e55; color: #f1f1ee; background: transparent; }
.demo-dialog-actions .button-secondary:hover { border-color: var(--accent); color: #fff; background: rgba(255,90,67,.12); }
.demo-site-inner .demo-action { border: 0; cursor: pointer; font: inherit; font-size: 10px; font-weight: 900; }
.demo-preview-feedback { display: none; margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--demo-accent); color: inherit; background: rgba(127,127,127,.12); font-size: 11px; line-height: 1.5; }
.demo-preview-feedback.is-visible { display: block; }
@media (max-width: 720px) {
  .demo-case-details { grid-template-columns: minmax(0,1fr); }
  .demo-detail-aside { padding: 17px 0 0; border-top: 1px solid #363940; border-left: 0; }
  .demo-detail-main ul { grid-template-columns: minmax(0,1fr); }
  .demo-detail-index { margin-top: 0; }
  .demo-dialog-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .demo-dialog-actions .button { width: 100%; justify-content: space-between; white-space: normal; }
}

/* Nemich-Design interaction polish: project spotlight and case links. */
.portfolio .case-card { position: relative; isolation: isolate; transform-style: preserve-3d; }
.portfolio .case-card::after {
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(255, 90, 67, .11), transparent 48%);
  transition: opacity .24s ease;
}
.portfolio .case-card:hover::after { opacity: 1; }
.portfolio .case-card > * { position: relative; z-index: 1; }
.portfolio .case-art { transition: transform .22s ease, border-color .22s ease, filter .22s ease; transform-style: preserve-3d; }
.portfolio .case-card:hover .case-art { filter: saturate(1.04); }
.case-details-link {
  display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 7px; padding: 0 12px; border: 1px solid #373a41; color: #c9cbd1; text-decoration: none;
  font-size: 9px; font-weight: 900; letter-spacing: .1em; transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.case-details-link span:last-child { color: #ff806b; font-size: 17px; transition: transform .2s; }
.case-details-link:hover, .case-details-link:focus-visible { color: #f2f1eb; border-color: #ff806b; background: #ff806b12; transform: translateY(-1px); outline: none; }
.case-details-link:hover span:last-child { transform: translate(2px,-2px); }
.brand-logo { transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s, filter .28s; }
.brand:hover .brand-logo, .brand:focus-visible .brand-logo { transform: rotate(-4deg) scale(1.06); box-shadow: 0 0 0 1px rgba(255,90,67,.3), 0 0 20px rgba(255,90,67,.12); }
.hero-art { transition: transform .32s ease, box-shadow .32s ease; }

/* Nemich-Design brand motion and configurator entry point. */
.brand-logo{animation:nemichMarkBreath 7s ease-in-out infinite;will-change:opacity,filter}.brand:hover .brand-logo,.brand:focus-visible .brand-logo{animation-play-state:paused}.hero-art::before{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;opacity:.23;background:linear-gradient(110deg,transparent 0%,transparent 43%,rgba(255,128,107,.18) 49%,transparent 55%,transparent 100%);background-size:260% 100%;animation:nemichBrandSweep 12s linear infinite}.hero-art .art-frame{position:relative;z-index:1}.portfolio-foot-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.portfolio-foot-actions .text-link{white-space:nowrap}.portfolio-foot-actions .configurator-link{border:1px solid #ff806b;background:#ff806b;color:#101113;padding:11px 13px;font-weight:900;box-shadow:3px 3px 0 #f2f1eb;transition:transform .18s,box-shadow .18s,background .18s}.portfolio-foot-actions .configurator-link span{color:#101113}.portfolio-foot-actions .configurator-link:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 #f2f1eb;background:#ff927f}.portfolio-foot-actions .text-link:not(.configurator-link){padding:11px 12px;border:1px solid #44474f;background:#15171a}.portfolio-foot-actions .text-link:not(.configurator-link):hover{border-color:#ff806b;background:#ff806b14}.portfolio .portfolio-foot{grid-template-columns:38px minmax(0,1fr) auto}.brand:focus-visible,.portfolio-foot-actions a:focus-visible{outline:2px solid #ff806b;outline-offset:4px}@keyframes nemichMarkBreath{0%,100%{opacity:.93;filter:drop-shadow(0 0 0 rgba(255,128,107,0))}50%{opacity:1;filter:drop-shadow(0 0 7px rgba(255,128,107,.32))}}@keyframes nemichBrandSweep{0%{background-position:150% 0}100%{background-position:-150% 0}}@media(max-width:1050px){.portfolio .portfolio-foot{grid-template-columns:32px minmax(0,1fr)}.portfolio-foot-actions{grid-column:2;justify-content:flex-start}}@media(max-width:760px){.portfolio-foot-actions{gap:7px;width:100%;flex-wrap:wrap}.portfolio-foot-actions .text-link{white-space:normal}.portfolio-foot-actions .configurator-link{padding:10px 11px;font-size:11px}.portfolio-foot-actions .text-link:not(.configurator-link){padding:10px 11px;font-size:11px}}
.form-honeypot{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.form-honeypot input{position:absolute!important;left:-10000px!important}.portfolio-foot-actions{min-width:0}
