:root {
  --ink: #071827;
  --ink-2: #10283b;
  --blue: #1968f0;
  --blue-dark: #0d4fc7;
  --teal: #13a894;
  --orange: #f47b4a;
  --paper: #f4f7fa;
  --white: #ffffff;
  --mist: #dfe7ed;
  --muted: #596d7d;
  --danger: #c73a45;
  --success: #087f65;
  --focus: #ffb53d;
  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(7, 24, 39, .12);
  --shell: min(1180px, calc(100vw - 48px));
  color-scheme: light;
  scrollbar-color: #7f94a4 #e8eef2;
  scrollbar-width: thin;
}

* { box-sizing: border-box; }
*::-webkit-scrollbar { width: 12px; height: 12px; }
*::-webkit-scrollbar-track { background: #e8eef2; }
*::-webkit-scrollbar-thumb { background: #7f94a4; border: 3px solid #e8eef2; border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: #4e6678; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); line-height: 1.6; }
body::selection { background: rgba(25, 104, 240, .2); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, select, input[type="file"]::file-selector-button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; transform: translateY(-150%); background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 18px; color: var(--blue); font: 500 .72rem/1.2 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; }
.eyebrow > span { display: inline-block; width: 24px; height: 2px; margin: 0 10px 3px 0; background: currentColor; }
.eyebrow-light { color: #9bc6ff; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--blue); border-radius: var(--radius-sm); background: var(--blue); color: white; font-weight: 600; line-height: 1; text-decoration: none; transition: background .2s, border .2s, color .2s, transform .2s; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-secondary { color: var(--ink); background: transparent; border-color: #aab8c2; }
.button-secondary:hover { background: var(--white); border-color: var(--ink); }
.button-light { background: var(--white); color: var(--ink); border-color: white; }
.button-light:hover { background: #dfeaff; border-color: #dfeaff; }
.button-danger { background: var(--danger); border-color: var(--danger); }
.button-danger:hover { background: #a82833; border-color: #a82833; }
.button-small { min-height: 44px; padding: 10px 15px; font-size: .9rem; }
.button-full { width: 100%; }

/* Public navigation */
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(244, 247, 250, .9); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: border-color .2s; }
.site-header.scrolled { border-color: var(--mist); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 700 .95rem/1 var(--font-display); letter-spacing: .04em; text-decoration: none; }
.brand-logo { width: 184px; height: 46px; object-fit: cover; object-position: center; border-radius: 6px; }
.brand > span:last-child > span { color: var(--blue); }
.brand-mark { width: 32px; height: 32px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 6px; background: var(--ink); border-radius: 8px; }
.brand-mark i { display: block; background: var(--white); border-radius: 2px; }
.brand-mark i:nth-child(1) { height: 55%; }
.brand-mark i:nth-child(2) { height: 100%; background: var(--blue); }
.brand-mark i:nth-child(3) { height: 75%; background: var(--teal); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { position: relative; color: var(--ink-2); font-size: .92rem; font-weight: 500; text-decoration: none; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .2s; }
.site-nav > a:not(.button):hover::after { right: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

/* Public hero: integration workbench */
.hero { position: relative; min-height: 720px; overflow: hidden; padding: 78px 0 90px; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(155,198,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(155,198,255,.16) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, black, transparent 72%); }
.hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(42px, 6vw, 84px); align-items: start; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 740px; margin: 0; font: 650 clamp(2.9rem, 5.9vw, 5.4rem)/.92 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.hero h1 em { color: #78baff; font-style: normal; font-weight: 450; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: #b7c8d4; font-size: 1.16rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .button-secondary { color: var(--white); border-color: #5f7484; }
.hero .button-secondary:hover { background: #142d40; border-color: #9bc6ff; }
.trust-list { display: flex; flex-wrap: wrap; gap: 16px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: #a9bdca; font-size: .87rem; }
.trust-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--teal); }
.project-collage { position: relative; z-index: 1; padding: 14px; border: 1px solid #315069; border-radius: var(--radius-lg); background: #0d2233; box-shadow: 0 28px 70px rgba(0,0,0,.26); }
.collage-toolbar { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #8faabd; font: 500 .65rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.collage-toolbar span { display: flex; align-items: center; gap: 8px; }
.collage-toolbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(244,123,74,.13); }
.collage-grid { min-height: 470px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 10px; }
.collage-project, .collage-module { position: relative; min-height: 0; overflow: hidden; display: block; border: 1px solid #2b465a; border-radius: var(--radius-sm); background: #132b3d; color: var(--white); text-decoration: none; }
.collage-project img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #e8eef2; transition: filter .25s; }
.collage-project:hover img { filter: brightness(.96); }
.collage-project > span { position: absolute; z-index: 2; inset: auto 0 0; display: grid; gap: 5px; padding: 52px 18px 17px; background: linear-gradient(transparent, rgba(4,15,24,.9)); }
.collage-project small, .collage-module small { color: #9bc6ff; font: 500 .62rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.collage-project strong { display: -webkit-box; overflow: hidden; font: 600 1.08rem/1.1 var(--font-display); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.collage-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.collage-module { display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.collage-module strong { max-width: 180px; font: 600 clamp(1.25rem, 2vw, 1.8rem)/1 var(--font-display); }
.collage-module > span { display: flex; align-items: end; gap: 7px; height: 60px; }
.collage-module > span i { width: 16px; border-radius: 3px 3px 0 0; background: var(--blue); }
.collage-module > span i:nth-child(1) { height: 38%; }
.collage-module > span i:nth-child(2) { height: 86%; background: var(--teal); }
.collage-module > span i:nth-child(3) { height: 58%; background: var(--orange); }
.collage-module-mobile { background-image: linear-gradient(135deg, #15354d, #102638); }
.collage-fallback { padding: 24px; background: linear-gradient(145deg, #153b57, #0d2639); }
.collage-fallback > span { inset: auto 24px 24px; padding: 0; background: none; }
.collage-fallback > span strong { max-width: 320px; font-size: clamp(1.8rem, 3vw, 3rem); }
.collage-fallback > i { position: absolute; width: 240px; height: 240px; right: -70px; top: -70px; border: 1px solid #46708d; border-radius: 50%; box-shadow: 0 0 0 45px rgba(76,132,170,.08), 0 0 0 90px rgba(76,132,170,.05); }
.collage-tech { min-height: 46px; display: flex; align-items: center; gap: 8px; overflow: hidden; padding-top: 10px; }
.collage-tech span { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #2e4d64; border-radius: 999px; color: #9db5c5; font: .62rem var(--font-mono); }

/* Public sections */
.services-section, .projects-section, .clients-section, .about-section, .process-section, .contact-section { padding: 120px 0; }
.services-section { background: var(--paper); color: var(--ink); }
.section-heading { margin-bottom: 56px; }
.section-heading h2 { margin: 0; font: 600 clamp(2.2rem, 4vw, 4.2rem)/1.02 var(--font-display); letter-spacing: -.045em; }
.split-heading, .projects-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.split-heading > p { max-width: 450px; margin: 0 0 6px; color: var(--muted); font-size: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #c4d1da; border-bottom: 1px solid #c4d1da; }
.service-card { min-height: 380px; display: flex; flex-direction: column; padding: 32px 26px; border-right: 1px solid #c4d1da; transition: background .25s, transform .25s; }
.service-card:first-child { border-left: 1px solid #c4d1da; }
.service-card:hover { background: var(--white); transform: translateY(-6px); }
.service-code { color: var(--blue); font: 500 .68rem var(--font-mono); letter-spacing: .1em; }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; flex: 0 0 auto; margin-top: 46px; color: var(--blue); font-size: 52px; font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48; line-height: 1; transition: transform .25s; }
.service-card:hover .service-icon { transform: translateY(-4px); }
.service-card h3 { margin: 22px 0 16px; font: 600 1.65rem/1.1 var(--font-display); }
.service-card p { color: var(--muted); font-size: .94rem; }
.service-detail { display: block; margin-top: auto; padding-top: 28px; color: var(--blue-dark); font: .68rem/1.5 var(--font-mono); }
.projects-section { background: var(--white); }
.projects-heading { align-items: end; }
.project-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.project-filters button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--mist); border-radius: 999px; background: transparent; color: var(--muted); font-size: .78rem; }
.project-filters button:hover, .project-filters button.active { background: var(--ink); border-color: var(--ink); color: white; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 28px; }
.project-card a { display: block; text-decoration: none; }
.project-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-md); background: #e6edf2; }
.project-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: filter .25s; }
.project-card:hover .project-media img { filter: brightness(.96); }
.project-info { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; }
.project-info span:first-child { color: var(--blue); font: 500 .68rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.project-info h3 { margin: 6px 0 0; font: 600 1.55rem var(--font-display); }
.project-card > a > p { max-width: 540px; margin: 10px 0 0; color: var(--muted); }
.project-arrow { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #b8c5cf; border-radius: 50%; transition: background .2s, color .2s, transform .2s; }
.project-card:hover .project-arrow { background: var(--blue); color: white; border-color: var(--blue); transform: rotate(8deg); }
.project-placeholder { position: relative; width: 100%; height: 100%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, #0c2b42, #174f73); color: white; }
.project-placeholder::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.project-placeholder span { z-index: 2; font: 600 clamp(2rem, 5vw, 4.5rem) var(--font-mono); letter-spacing: -.08em; }
.project-placeholder i { position: absolute; width: 55%; height: 1px; background: rgba(255,255,255,.23); transform: rotate(35deg); }
.project-placeholder i:last-child { transform: rotate(-35deg); }
.project-card[hidden] { display: none; }
.public-empty { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 36px; border: 1px solid var(--mist); border-radius: var(--radius-md); }
.public-empty h3 { margin: 0; font: 600 1.5rem var(--font-display); }
.public-empty p { margin: 6px 0 0; color: var(--muted); }
.empty-signal { width: 56px; height: 56px; border: 1px solid #aebfca; border-radius: 50%; box-shadow: inset 0 0 0 10px white, inset 0 0 0 11px var(--blue); background: var(--blue); }
.clients-section { position: relative; overflow: hidden; background: #0a3d91; color: white; }
.clients-section::before { content: "</>"; position: absolute; right: -1.5vw; top: -105px; color: rgba(85, 228, 246, .075); font: 650 clamp(14rem, 30vw, 31rem)/1 var(--font-mono); letter-spacing: -.18em; pointer-events: none; }
.clients-heading { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 44px; margin-bottom: 56px; }
.clients-heading h2 { max-width: 760px; margin: 0; font: 600 clamp(2.4rem, 4.5vw, 4.6rem)/1.01 var(--font-display); letter-spacing: -.045em; }
.clients-code { flex: 0 0 auto; color: #55e4f6; font: 600 clamp(3rem, 6vw, 5rem)/1 var(--font-mono); letter-spacing: -.14em; text-shadow: 0 0 32px rgba(85, 228, 246, .28); }
.clients-marquee { position: relative; z-index: 1; width: 100%; overflow: hidden; padding-block: 8px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { display: flex; width: max-content; animation: clients-scroll 30s linear infinite; }
.clients-group { display: flex; flex: none; gap: 18px; padding-right: 18px; }
.clients-marquee:hover .clients-track, .clients-marquee:focus-within .clients-track { animation-play-state: paused; }
.client-logo-card { width: clamp(210px, 21vw, 280px); height: 138px; display: grid; place-items: center; flex: 0 0 auto; padding: 26px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-md); background: #f9fbfd; box-shadow: 0 16px 34px rgba(0,21,63,.18); transition: transform .2s, border-color .2s; }
a.client-logo-card:hover { transform: translateY(-5px); border-color: #55e4f6; }
.client-logo-card img { width: 100%; height: 100%; object-fit: contain; }
.clients-empty { position: relative; z-index: 1; min-height: 170px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 34px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius-md); background: rgba(3,28,70,.28); }
.clients-empty > span { color: #55e4f6; font: 600 2.5rem var(--font-mono); letter-spacing: -.14em; }
.clients-empty h3 { margin: 0; font: 600 1.55rem var(--font-display); }
.clients-empty p { margin: 7px 0 0; color: #bed6fa; }
@keyframes clients-scroll { to { transform: translateX(-50%); } }
.about-section { background: #e9f0f4; }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: center; }
.about-portrait { position: relative; min-height: 540px; overflow: hidden; display: grid; place-items: center; background: var(--ink); color: white; border-radius: var(--radius-lg); }
.about-portrait > span { position: relative; z-index: 2; font: 600 8rem/.8 var(--font-display); letter-spacing: -.12em; color: transparent; -webkit-text-stroke: 1px #6f8798; }
.about-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-portrait.has-photo::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(4, 16, 25, .78)); pointer-events: none; }
.about-portrait small { position: absolute; z-index: 2; bottom: 28px; padding: 7px 10px; border-radius: 5px; background: rgba(7, 24, 39, .82); color: #d9e8f0; font: .65rem var(--font-mono); letter-spacing: .1em; }
.portrait-grid { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(#7790a2 1px, transparent 1px), linear-gradient(90deg, #7790a2 1px, transparent 1px); background-size: 36px 36px; transform: perspective(500px) rotateX(55deg) scale(1.5) translateY(25%); }
.about-copy h2 { margin: 0 0 32px; font: 600 clamp(2.4rem, 4.5vw, 4.6rem)/1.02 var(--font-display); letter-spacing: -.04em; }
.about-copy > p:not(.eyebrow) { max-width: 650px; color: #455c6c; font-size: 1.05rem; }
.about-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 38px; }
.about-proof span { padding-top: 14px; border-top: 1px solid #b4c3cd; font-size: .86rem; }
.about-proof b { display: block; margin-bottom: 8px; color: var(--blue); font: .7rem var(--font-mono); }
.process-section { background: var(--paper); }
.process-section .section-heading { text-align: center; }
.process-section .section-heading h2 { text-wrap: balance; }
.process-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: 0 auto; padding: 0; list-style: none; }
.process-list::before { content: ""; position: absolute; top: 25px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.process-list li { position: relative; min-width: 0; padding-inline: clamp(14px, 2vw, 28px); text-align: center; }
.process-list > li > span { position: relative; z-index: 1; display: grid; width: 52px; height: 52px; place-items: center; margin-inline: auto; border: 1px solid var(--blue); border-radius: 50%; background: var(--paper); color: var(--blue); font: 600 .72rem var(--font-mono); box-shadow: 0 0 0 8px var(--paper); }
.process-list li:last-child > span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.process-list div { margin-top: 28px; }
.process-list h3 { margin: 0; font: 600 clamp(1.45rem, 2vw, 1.85rem)/1.1 var(--font-display); }
.process-list p { margin: 14px 0 0; color: var(--muted); line-height: 1.65; }
.contact-section { background: var(--paper); padding-top: 0; }
.contact-panel { position: relative; min-height: 470px; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; padding: 70px; background: var(--blue); color: white; border-radius: var(--radius-lg); }
.contact-panel h2 { position: relative; z-index: 2; margin: 0; font: 600 clamp(2.6rem, 5vw, 5rem)/.98 var(--font-display); letter-spacing: -.04em; }
.contact-actions { position: relative; z-index: 2; }
.contact-actions p { color: #d2e3ff; }
.contact-actions > a:last-child { display: block; margin-top: 20px; color: white; }
.contact-orbit { position: absolute; width: 500px; height: 500px; right: -150px; top: -250px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.05), 0 0 0 120px rgba(255,255,255,.04); }
.site-footer { padding: 70px 0; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 70px; }
.brand-footer { color: white; }
.brand-footer .brand-logo { width: 220px; height: 55px; }
.footer-grid p { max-width: 340px; color: #91a5b3; }
.footer-contact, .footer-meta { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.footer-contact > span, .footer-meta > span:first-child { margin-bottom: 9px; color: #768e9e; font: .66rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.footer-contact a { color: white; }
.footer-meta { color: #91a5b3; }
.footer-meta a { color: #d9e6ee; text-underline-offset: 4px; }
.footer-meta a:hover { color: white; }

/* Privacy and essential-cookie notice */
.cookie-notice[hidden] { display: none; }
.cookie-notice { position: fixed; z-index: 80; right: 24px; bottom: 24px; width: min(620px, calc(100vw - 48px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid #29465a; border-radius: var(--radius-md); background: #0b2132; color: white; box-shadow: 0 22px 70px rgba(2, 15, 25, .32); }
.cookie-notice-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #2c5874; border-radius: 10px; color: #53dbe0; font: 500 .78rem var(--font-mono); }
.cookie-notice strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.cookie-notice p { margin: 3px 0 0; color: #b7c8d3; font-size: .82rem; line-height: 1.45; }
.cookie-notice-actions { display: flex; align-items: center; gap: 13px; }
.cookie-notice-actions > a { color: #cde1ef; font-size: .78rem; white-space: nowrap; text-underline-offset: 3px; }
.cookie-notice .button { min-height: 42px; padding: 10px 14px; }

.privacy-page { padding-bottom: 120px; background: var(--paper); }
.privacy-hero { padding-block: 110px 84px; }
.privacy-hero h1 { max-width: 900px; margin: 0; font: 650 clamp(3.2rem, 7vw, 6.6rem)/.91 var(--font-display); letter-spacing: -.065em; }
.privacy-hero > p:not(.eyebrow) { max-width: 710px; margin: 34px 0 0; color: var(--muted); font-size: 1.12rem; }
.privacy-updated { width: max-content; margin-top: 32px; padding: 8px 12px; border: 1px solid #cbd8e0; border-radius: 999px; color: #3c5668; font: 500 .72rem var(--font-mono); }
.privacy-updated span { color: var(--success); }
.privacy-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(50px, 8vw, 120px); align-items: start; }
.privacy-index { position: sticky; top: 110px; display: grid; gap: 3px; padding-top: 20px; border-top: 2px solid var(--ink); }
.privacy-index span { margin-bottom: 12px; color: var(--muted); font: 500 .68rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.privacy-index a { padding: 8px 0; color: #365064; font-size: .88rem; text-decoration: none; }
.privacy-index a:hover { color: var(--blue); }
.privacy-content { min-width: 0; }
.privacy-content section { scroll-margin-top: 110px; padding: 50px 0; border-top: 1px solid #c8d5de; }
.privacy-content section:first-child { padding-top: 20px; border-top: 2px solid var(--ink); }
.privacy-number { margin: 0 0 14px !important; color: var(--blue) !important; font: 500 .7rem var(--font-mono) !important; }
.privacy-content h2 { margin: 0 0 22px; font: 620 clamp(1.8rem, 3.5vw, 2.8rem)/1 var(--font-display); letter-spacing: -.035em; }
.privacy-content p { margin: 0 0 16px; color: #415b6d; }
.privacy-content strong { color: var(--ink); }
.privacy-content a { color: var(--blue-dark); text-underline-offset: 3px; }
.privacy-table-wrap { margin: 26px 0; overflow-x: auto; border: 1px solid #c9d6de; border-radius: var(--radius-sm); background: white; }
.privacy-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.privacy-table th { padding: 13px 16px; background: #e9eff3; color: #415869; font: 500 .67rem var(--font-mono); text-align: left; text-transform: uppercase; letter-spacing: .07em; }
.privacy-table td { padding: 18px 16px; border-top: 1px solid #d6e0e6; color: #415b6d; font-size: .88rem; vertical-align: top; }
.privacy-table td:first-child { color: var(--ink); white-space: nowrap; }
.privacy-table code { padding: 3px 5px; border-radius: 4px; background: #edf2f5; font: .75rem var(--font-mono); }

/* Case study */
.case-study { padding-top: 70px; }
.back-link { color: var(--muted); font-size: .9rem; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.case-title-block { max-width: 1060px; margin: 70px auto 0; text-align: center; }
.case-title { max-width: 100%; margin: 0 auto; font: 650 clamp(3.15rem, 6.2vw, 5.45rem)/.92 var(--font-display); letter-spacing: -.04em; overflow-wrap: anywhere; text-wrap: balance; }
.case-title-long { max-width: 1100px; font-size: clamp(2.7rem, 5vw, 4.55rem); line-height: .96; }
.case-title-compact { max-width: 1140px; font-size: clamp(2.25rem, 4.2vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.case-summary { max-width: 780px; margin: 28px auto 0; color: #435968; font-size: 1.16rem; line-height: 1.65; }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; max-width: 940px; margin: 48px auto 42px; padding-top: 22px; border-top: 1px solid #becbd4; text-align: center; }
.case-meta dt { color: var(--muted); font: .68rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.case-meta dd { margin: 8px 0 0; }
.case-cover { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-lg); background: #dfe7ed; }
.case-cover img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.case-download { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 18px; padding: 22px 26px; border: 1px solid #bfd0dc; border-radius: var(--radius-md); background: var(--white); }
.case-download div { display: grid; }
.case-download span { color: var(--blue); font: 500 .68rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.case-download strong { margin-top: 4px; }
.case-download small { margin-top: 2px; color: var(--muted); }
.case-content { display: grid; gap: 18px; padding-block: 100px; }
.case-content section { display: grid; grid-template-columns: 150px 1fr; gap: 38px; max-width: 1000px; width: 100%; margin-left: auto; padding: 50px 56px; border: 1px solid #c7d3dc; border-radius: var(--radius-md); background: var(--white); }
.case-number { color: rgba(25,104,240,.32); font: 650 clamp(3.8rem, 7vw, 6rem)/.82 var(--font-display); letter-spacing: -.06em; }
.case-content .eyebrow { margin-bottom: 12px; }
.case-content h2 { margin: 0 0 20px; font: 600 clamp(2rem, 3.2vw, 2.8rem)/1 var(--font-display); letter-spacing: -.04em; }
.case-content div > p:last-child { max-width: 710px; margin-bottom: 0; color: #455b6a; font-size: 1.06rem; line-height: 1.75; }
.case-content .case-solution { border-color: #bfd4e4; background: #edf5fa; }
.case-content .case-result { border-color: var(--ink); background: var(--ink); color: var(--white); }
.case-result .case-number { color: #78baff; }
.case-result .eyebrow { color: #9bc6ff; }
.case-result div > p:last-child { color: #bdcdd8; }
.case-gallery-section { padding-bottom: 110px; }
.case-gallery-intro { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: end; margin-bottom: 34px; padding-bottom: 30px; border-bottom: 1px solid #bdc9d2; }
.case-gallery-intro h2 { margin: 0; font: 600 clamp(2.2rem, 4vw, 4rem)/1 var(--font-display); letter-spacing: -.04em; }
.case-gallery-intro > p { max-width: 460px; margin: 0 0 5px; color: var(--muted); }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius-md); background: #dfe7ed; }
.case-gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: contain; object-position: center; }
.case-gallery figure:first-child { grid-column: 1 / -1; }
.case-gallery figure:first-child img { aspect-ratio: 16/9; }
.case-cta { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 100px; padding: 60px; background: var(--ink); color: white; border-radius: var(--radius-lg); }
.case-cta h2 { max-width: 700px; margin: 0; font: 600 clamp(2.2rem, 4vw, 4rem)/1 var(--font-display); }
.error-page { min-height: 70vh; display: grid; grid-template-columns: .35fr 1fr; gap: 60px; align-items: center; }
.error-page > span { color: #cbd5db; font: 600 9rem var(--font-display); }
.error-page h1 { margin: 0; font: 600 clamp(2.5rem, 5vw, 5rem)/1 var(--font-display); }
.error-page p:not(.eyebrow) { color: var(--muted); }

/* Admin shell */
.admin-site { min-height: 100vh; background: #edf2f5; }
.admin-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 250px; display: flex; flex-direction: column; padding: 28px 22px; background: var(--ink); color: white; }
.admin-sidebar .brand { color: white; margin: 0 8px 42px; }
.admin-sidebar .brand-logo { width: 188px; height: 47px; }
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav a { padding: 11px 13px; border-radius: 8px; color: #aebdca; text-decoration: none; font-size: .92rem; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: #132c3f; color: white; }
.admin-sidebar nav a.active { box-shadow: inset 3px 0 var(--blue); }
.admin-user { margin-top: auto; padding: 18px 10px 0; border-top: 1px solid #294052; }
.admin-user > span, .admin-user > small { display: block; overflow: hidden; text-overflow: ellipsis; }
.admin-user > span { font-weight: 600; }
.admin-user > small { color: #8298a8; }
.admin-user form { margin-top: 10px; }
.text-button { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 0; border: 0; background: transparent; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.admin-user .text-button { color: #9fb8c9; font-size: .8rem; }
.admin-main { width: calc(100% - 250px); min-height: 100vh; margin-left: 250px; padding: 48px clamp(28px, 4vw, 66px) 80px; }
.admin-menu-button { display: none; }
.admin-page-header { display: flex; justify-content: space-between; gap: 40px; align-items: end; max-width: 1400px; margin: 0 auto 36px; }
.admin-page-header h1 { margin: 0; font: 650 clamp(2.2rem, 4vw, 3.5rem)/1 var(--font-display); letter-spacing: -.04em; }
.admin-page-header p:not(.eyebrow) { margin: 9px 0 0; color: var(--muted); }
.form-page-header { align-items: center; }
.form-page-header .back-link { display: inline-block; margin-bottom: 22px; }
.notice { max-width: 1400px; margin: 0 auto 24px; padding: 14px 18px; border: 1px solid; border-radius: var(--radius-sm); }
.notice-success { color: #075c4a; background: #e1f7f0; border-color: #8ccdbb; }
.notice-error { color: #862732; background: #ffeaec; border-color: #eba4aa; }
.notice-info { color: #174c87; background: #e8f2ff; border-color: #a4c7f1; }
.stat-grid { max-width: 1400px; margin: 0 auto 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-grid article { padding: 24px; background: white; border: 1px solid #dbe4e9; border-radius: var(--radius-md); }
.stat-grid span, .stat-grid small { display: block; color: var(--muted); }
.stat-grid strong { display: block; margin: 18px 0 8px; font: 650 3rem/1 var(--font-display); }
.admin-panel { max-width: 1400px; margin: 0 auto; padding: 28px; background: white; border: 1px solid #dbe4e9; border-radius: var(--radius-md); }
.panel-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 24px; }
.panel-heading h2 { margin: 0; font: 600 1.4rem var(--font-display); }
.panel-heading p { margin: 5px 0 0; color: var(--muted); }
.panel-heading a { color: var(--blue); }
.recent-list { display: grid; }
.recent-list > a { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 15px 0; border-top: 1px solid #e2e9ed; text-decoration: none; }
.recent-list > a:hover strong { color: var(--blue); }
.recent-list strong, .recent-list small { display: block; }
.recent-list small { color: var(--muted); }
.mini-cover { width: 52px; height: 42px; overflow: hidden; display: grid; place-items: center; flex: 0 0 auto; border-radius: 6px; background: var(--ink-2); color: white; font: .7rem var(--font-mono); }
.mini-cover img { width: 100%; height: 100%; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 999px; font-size: .74rem; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status-published { color: #086b57; background: #e1f7f0; }
.status-published::before { background: var(--success); }
.status-draft { color: #5b6872; background: #edf1f3; }
.status-draft::before { background: #8393a0; }
.admin-empty { padding: 70px 20px; text-align: center; border: 1px dashed #b8c7d0; border-radius: var(--radius-sm); }
.admin-empty > span { color: #9aacb8; font-size: 2.4rem; }
.admin-empty h3 { margin: 10px 0 6px; font: 600 1.4rem var(--font-display); }
.admin-empty p { margin: 0 0 20px; color: var(--muted); }

/* Admin table and filters */
.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid #e0e7eb; }
.search-field { position: relative; flex: 1 1 260px; }
.search-field input { width: 100%; height: 44px; padding: 10px 42px 10px 13px; border: 1px solid #b7c4cd; border-radius: var(--radius-sm); background: white; }
.search-clear { position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; }
.hidden { display: none !important; }
.field-inline { min-width: 180px; }
.field-inline label { font-size: .75rem; }
.field-inline select { height: 44px; }
.result-summary { padding: 18px 0 10px; color: var(--muted); font-size: .85rem; }
.admin-table-wrap { overflow-x: auto; scrollbar-gutter: stable; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 13px 12px; color: var(--muted); font: 500 .68rem var(--font-mono); text-align: left; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td { padding: 16px 12px; border-top: 1px solid #e0e7eb; vertical-align: middle; }
.table-project { min-width: 300px; display: flex; align-items: center; gap: 13px; }
.table-project strong, .table-project small { display: block; }
.table-project small { max-width: 380px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.mini-logo { width: 72px; height: 46px; padding: 5px; background: white; border: 1px solid #d6e0e6; }
.mini-logo img { object-fit: contain; }
.table-muted { color: var(--muted); }
.row-actions { display: flex; justify-content: flex-end; gap: 12px; }
.row-actions a, .row-actions button { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 2px; border: 0; background: transparent; color: var(--blue); font-size: .84rem; }
.danger-link { color: var(--danger) !important; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pagination a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #c2ced6; border-radius: 7px; text-decoration: none; }
.pagination a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: white; }

/* Forms */
.project-form { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.form-main { display: grid; gap: 24px; }
.form-section, .publish-panel-inner { padding: 30px; background: white; border: 1px solid #dbe4e9; border-radius: var(--radius-md); }
.form-section-heading { display: grid; grid-template-columns: 42px 1fr; gap: 8px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid #e1e8ec; }
.form-section-heading > span { color: var(--blue); font: .72rem var(--font-mono); }
.form-section-heading h2 { margin: 0; font: 600 1.4rem var(--font-display); }
.form-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.field { margin-bottom: 22px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; margin-bottom: 7px; color: #273d4d; font-size: .86rem; font-weight: 600; }
.field label b { color: var(--danger); }
.field label span { color: var(--muted); font-weight: 400; }
.field input:not([type="checkbox"]):not([type="file"]), .field textarea, .field select { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #aebdc7; border-radius: var(--radius-sm); background: white; color: var(--ink); transition: border .2s, box-shadow .2s; }
.field textarea { resize: none; line-height: 1.55; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #6f8493; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25,104,240,.12); outline: none; }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .82rem; }
.field-help, .field-meta { margin: 7px 0 0; color: var(--muted); font-size: .78rem; }
.field-meta { display: flex; justify-content: space-between; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 110px; gap: 16px; }
.password-field { position: relative; }
.password-field input { padding-right: 88px !important; }
.password-field button { position: absolute; right: 1px; top: 1px; min-width: 78px; height: 44px; padding: 0 10px; border: 0; background: #edf2f5; border-radius: 7px; color: #344b5b; font-size: .76rem; }
.form-alert { max-width: 1400px; margin: 0 auto 22px; padding: 14px 18px; border: 1px solid #e7a1a8; border-radius: var(--radius-sm); background: #ffeaec; color: #7b2630; }
.upload-control { position: relative; display: grid; grid-template-columns: minmax(230px, .7fr) 1.3fr; gap: 16px; }
.upload-control > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-control > label { min-height: 170px; display: flex; flex-direction: column; justify-content: center; align-items: center; margin: 0; padding: 20px; border: 1px dashed #8ca0ae; border-radius: var(--radius-sm); background: #f6f9fa; text-align: center; }
.upload-control > label:hover { border-color: var(--blue); background: #f1f6ff; }
.upload-control > input:focus-visible + label { border-color: var(--blue); background: #f1f6ff; outline: 3px solid var(--focus); outline-offset: 3px; }
.upload-control > label > span { color: var(--blue); font-size: 1.7rem; }
.upload-control > label > small { max-width: 230px; margin-top: 5px; color: var(--muted); font-weight: 400; }
.upload-preview { min-height: 170px; overflow: auto; display: grid; grid-template-columns: repeat(3, minmax(80px, 1fr)); gap: 8px; align-items: start; border-radius: var(--radius-sm); }
.upload-preview:empty { display: none; }
.upload-preview img { width: 100%; height: 135px; object-fit: cover; border-radius: 7px; }
.client-logo-upload .upload-preview img { padding: 12px; border: 1px solid #dbe4e9; background: #f8fafb; object-fit: contain; }
.upload-preview span { grid-column: 1/-1; color: var(--muted); font-size: .78rem; }
.apk-field[hidden] { display: none; }
.apk-upload { display: grid; grid-template-columns: minmax(220px, .7fr) 1fr; gap: 14px; align-items: center; }
.apk-upload > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.apk-upload > label { min-height: 92px; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 16px; border: 1px dashed #8ca0ae; border-radius: var(--radius-sm); background: #f6f9fa; cursor: pointer; }
.apk-upload > label:hover, .apk-upload > input:focus-visible + label { border-color: var(--blue); background: #f1f6ff; }
.apk-upload > input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.apk-upload > label small { margin-top: 4px; color: var(--muted); font-weight: 400; }
.apk-upload > span { overflow-wrap: anywhere; color: var(--muted); font-size: .82rem; }
.check-control { display: flex !important; align-items: flex-start; gap: 10px; margin-top: 12px !important; cursor: pointer; }
.check-control input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); }
.check-control strong, .check-control small { display: block; }
.check-control small { color: var(--muted); font-weight: 400; }
.existing-gallery > p { font-weight: 600; }
.existing-gallery > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.existing-gallery label { overflow: hidden; border: 1px solid #d5e0e6; border-radius: 8px; background: #f8fafb; }
.existing-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.existing-gallery label span { display: block; padding: 8px; font-size: .75rem; }
.publish-panel { position: sticky; top: 24px; }
.publish-panel-inner { padding: 24px; }
.publish-summary { margin: 24px 0; padding: 16px; background: #f2f6f8; border-radius: 8px; }
.publish-summary > span { font-weight: 600; }
.publish-summary ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .78rem; }
.publish-panel .button + .button { margin-top: 9px; }

/* Public-site settings */
.site-settings-form { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.site-settings-form .form-section { min-width: 0; }
.site-settings-form .form-section-heading { grid-template-columns: 1fr; }
.about-photo-preview img { height: 310px; object-fit: cover; object-position: center 30%; }
.site-settings-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #e1e8ec; }
.site-settings-note { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px; border-radius: var(--radius-md); background: var(--ink); color: white; }
.site-settings-note > span { color: #53dbe0; font: 500 .78rem var(--font-mono); }
.site-settings-note strong { display: block; margin-bottom: 6px; font-family: var(--font-display); }
.site-settings-note p { margin: 0; color: #a9bdc9; font-size: .82rem; line-height: 1.5; }

/* Auth */
.auth-site { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: var(--ink); }
.auth-site::before { content: ""; position: fixed; inset: 0; opacity: .18; background-image: linear-gradient(#7891a3 1px, transparent 1px), linear-gradient(90deg, #7891a3 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle, black, transparent 65%); }
.auth-shell { position: relative; z-index: 1; width: min(100%, 480px); }
.auth-shell > .brand { display: flex; width: max-content; margin: 0 auto 24px; color: white; }
.auth-card { padding: 36px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.auth-card h1 { margin: 0; font: 650 2.45rem/1 var(--font-display); letter-spacing: -.04em; }
.auth-card > p:not(.eyebrow) { color: var(--muted); }
.auth-card form { margin-top: 28px; }
.auth-back { display: block; margin-top: 18px; color: var(--muted); font-size: .86rem; text-align: center; }

/* Dialog */
.confirm-dialog { width: min(92vw, 500px); padding: 0; border: 0; border-radius: var(--radius-md); box-shadow: 0 28px 90px rgba(7,24,39,.3); }
.confirm-dialog::backdrop { background: rgba(4,15,24,.68); backdrop-filter: blur(3px); }
.confirm-dialog > div { padding: 34px; text-align: center; }
.dialog-close-form { position: absolute; right: 12px; top: 10px; }
.dialog-close-form button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; }
.dialog-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; background: #ffeaec; color: var(--danger); font-weight: 700; }
.confirm-dialog h2 { margin: 0; font: 600 1.55rem var(--font-display); }
.confirm-dialog p { color: var(--muted); }
.dialog-actions { display: flex; justify-content: center; gap: 10px; margin-top: 25px; }
.admin-sidebar-backdrop { display: none; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .project-collage { width: min(760px, 100%); margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-left: 1px solid #c4d1da; border-top: 1px solid #c4d1da; }
  .service-card:nth-child(4) { border-top: 1px solid #c4d1da; }
  .about-grid { gap: 50px; }
  .project-form { grid-template-columns: 1fr; }
  .site-settings-form { grid-template-columns: 1fr; }
  .publish-panel { position: static; }
  .publish-panel-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .publish-panel-inner > .eyebrow { grid-column: 1/-1; }
}

@media (max-width: 800px) {
  :root { --shell: min(100% - 32px, 680px); }
  .site-header { position: relative; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: 70px; display: none; align-items: stretch; padding: 20px; background: white; border: 1px solid var(--mist); border-radius: 12px; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .hero { min-height: auto; padding-top: 60px; }
  .hero h1 { font-size: clamp(2.7rem, 11.5vw, 4.45rem); }
  .collage-grid { min-height: 430px; }
  .split-heading, .projects-heading, .about-grid, .contact-panel { grid-template-columns: 1fr; gap: 30px; }
  .services-section, .projects-section, .clients-section, .about-section, .process-section, .contact-section { padding: 80px 0; }
  .clients-heading { align-items: flex-start; }
  .project-filters { justify-content: flex-start; }
  .projects-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-portrait { min-height: 420px; }
  .process-list { display: block; }
  .process-list::before { display: none; }
  .process-section .section-heading { text-align: left; }
  .process-list li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 0 0 38px; text-align: left; }
  .process-list > li > span { margin-inline: 0; }
  .process-list li:not(:last-child)::after { content: ""; position: absolute; top: 52px; bottom: 0; left: 25px; width: 2px; background: linear-gradient(var(--blue), var(--teal)); }
  .process-list li:last-child { padding-bottom: 0; }
  .process-list div { margin-top: 1px; }
  .process-list h3 { font-size: 1.65rem; }
  .process-list p { margin-top: 8px; }
  .contact-section { padding-top: 0; }
  .contact-panel { padding: 44px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .privacy-hero { padding-block: 76px 62px; }
  .privacy-layout { grid-template-columns: 1fr; gap: 42px; }
  .privacy-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-index span { grid-column: 1 / -1; }
  .case-content section { grid-template-columns: 110px 1fr; padding: 42px; }
  .case-gallery-intro { grid-template-columns: 1fr; gap: 18px; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-cta { display: grid; padding: 38px 28px; }
  .case-download { align-items: flex-start; flex-direction: column; }
  .error-page { grid-template-columns: 1fr; gap: 10px; }
  .error-page > span { font-size: 5rem; }
  .admin-sidebar { visibility: hidden; pointer-events: none; transform: translateX(-100%); transition: transform .2s, visibility 0s linear .2s; }
  .admin-sidebar.open { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
  .admin-sidebar-backdrop { position: fixed; z-index: 35; inset: 0; display: block; visibility: hidden; opacity: 0; border: 0; background: rgba(4, 15, 24, .58); cursor: pointer; transition: opacity .2s, visibility 0s linear .2s; }
  .admin-sidebar-backdrop.open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .admin-menu-button { position: fixed; z-index: 45; top: 12px; right: 12px; min-width: 48px; min-height: 44px; display: block; padding: 9px 13px; border: 0; border-radius: 7px; background: var(--ink); color: white; }
  .admin-main { width: 100%; margin: 0; padding: 70px 18px 60px; }
  .admin-page-header { align-items: flex-start; flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .field-year { grid-column: 1/-1; }
  .upload-control { grid-template-columns: 1fr; }
  .existing-gallery > div { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .admin-table-wrap { overflow: visible; }
  .admin-table, .admin-table tbody { display: block; }
  .admin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .admin-table tr { display: grid; gap: 12px; padding: 18px 0; border-top: 1px solid #dce5ea; }
  .admin-table td { display: grid; grid-template-columns: minmax(88px, .34fr) 1fr; gap: 14px; align-items: start; padding: 0; border: 0; }
  .admin-table td::before { content: attr(data-label); color: var(--muted); font: 500 .68rem/1.5 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
  .table-project { min-width: 0; }
  .table-project small { max-width: none; overflow: visible; white-space: normal; }
  .row-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: -8px; }
}

@media (max-width: 560px) {
  .cookie-notice { right: 12px; bottom: 12px; width: calc(100vw - 24px); grid-template-columns: auto 1fr; padding: 15px; }
  .cookie-notice-actions { grid-column: 1 / -1; justify-content: space-between; }
  .privacy-hero h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .privacy-index { grid-template-columns: 1fr; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .project-collage { padding: 10px; border-radius: var(--radius-md); }
  .collage-grid { min-height: 620px; grid-template-columns: 1fr; grid-template-rows: 1.2fr .8fr; }
  .collage-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .collage-module { padding: 15px; }
  .collage-module strong { font-size: 1.18rem; }
  .collage-tech { overflow-x: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child, .service-card:nth-child(3) { min-height: 320px; border: 0; border-top: 1px solid #c4d1da; }
  .service-card:last-child { border-bottom: 1px solid #c4d1da; }
  .service-icon { margin-top: 38px; }
  .service-card h3 { margin-top: 20px; }
  .public-empty { grid-template-columns: 1fr; }
  .brand-logo { width: 154px; height: 38px; }
  .clients-heading { display: block; }
  .clients-code { display: block; margin-top: 30px; }
  .clients-empty { grid-template-columns: 1fr; }
  .about-proof { grid-template-columns: 1fr; }
  .case-title-block { margin-top: 40px; }
  .case-title, .case-title-long, .case-title-compact { font-size: clamp(2.35rem, 11vw, 3.4rem); line-height: .98; }
  .case-summary { margin-top: 22px; font-size: 1.05rem; }
  .case-content { gap: 12px; padding-block: 70px; }
  .case-content section { grid-template-columns: 1fr; gap: 22px; padding: 30px 24px; }
  .case-number { font-size: 3.35rem; }
  .case-gallery-section { padding-bottom: 80px; }
  .case-cta .button { width: 100%; }
  .admin-panel, .form-section, .publish-panel-inner, .auth-card { padding: 22px 18px; }
  .recent-list > a { grid-template-columns: auto 1fr auto; }
  .recent-list .status { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .field-year { grid-column: auto; }
  .publish-panel-inner { grid-template-columns: 1fr; }
  .publish-panel-inner > .eyebrow { grid-column: auto; }
  .existing-gallery > div { grid-template-columns: 1fr; }
  .apk-upload { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column; }
  .dialog-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .clients-marquee { overflow-x: auto; mask-image: none; }
  .clients-track { animation: none !important; }
  .clients-group[aria-hidden="true"] { display: none; }
  .clients-group > [aria-hidden="true"] { display: none; }
}

@media (forced-colors: active) {
  * { scrollbar-color: auto; }
  .button, .brand-mark, .status, .signal-node { forced-color-adjust: auto; }
}
