@font-face {
  font-family: "Wanted Sans";
  src: url("./assets/fonts/WantedSansVariable-subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #102a43;
  --paper: #f4f7f8;
  --white: #fff;
  --signal: #155e63;
  --coral: #e17a5f;
  --coral-dark: #b94b37;
  --metal: #aeb8c2;
  --stone: #526777;
  --muted: #7f8f9b;
  --line: #d8e0e5;
  --dark-line: #314b63;
  --metal-texture-wide: url("./assets/metal-texture-silver-wide.webp");
  --metal-texture-detail: url("./assets/metal-texture-silver-detail.webp");
  --font: "Wanted Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(100% - 48px, 1360px);
  --section-space: clamp(88px, 10vw, 144px);
}

@supports (background-image: image-set(url("image.avif") type("image/avif"))) {
  :root {
    --metal-texture-wide: image-set(url("./assets/metal-texture-silver-wide.avif") type("image/avif"), url("./assets/metal-texture-silver-wide.webp") type("image/webp"));
    --metal-texture-detail: image-set(url("./assets/metal-texture-silver-detail.avif") type("image/avif"), url("./assets/metal-texture-silver-detail.webp") type("image/webp"));
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-synthesis: none; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { color: var(--paper); background: var(--ink); }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: var(--paper); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 20; width: 100%; height: 92px; margin: 0; padding: 0 max(24px, calc((100% - 1360px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgb(244 247 248 / 94%); box-shadow: 0 10px 30px rgb(16 42 67 / 7%); backdrop-filter: blur(14px); }
.js .site-header { visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(calc(-100% - 2px)); transition: visibility 0s linear 480ms, opacity 320ms ease, transform 480ms cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
.js .site-header.is-visible, .js body.menu-open .site-header { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
.brand img { width: 188px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-contact)::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--ink); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 11px 15px; color: var(--paper); background: var(--ink); }
.menu-button { display: none; border: 0; background: transparent; }

.hero { isolation: isolate; position: relative; width: 100%; min-height: 100svh; margin: 0; padding: clamp(72px, 9vw, 128px) max(24px, calc((100% - 1360px) / 2)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero::before { position: absolute; z-index: -2; inset: 0; background-image: var(--metal-texture-wide); background-size: cover; background-position: center; content: ""; opacity: .075; mix-blend-mode: screen; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent 42%, rgb(21 94 99 / 10%) 68%, rgb(21 94 99 / 24%) 100%), radial-gradient(circle at 78% 34%, rgb(41 132 136 / 28%), transparent 26%), linear-gradient(135deg, transparent 70%, rgb(174 184 194 / 10%)); content: ""; }
.section-index { color: var(--stone); font-size: 12px; font-weight: 680; letter-spacing: .14em; text-transform: uppercase; }
.section-index { display: flex; align-items: center; gap: 10px; }
.section-index::before { width: 22px; height: 2px; flex: 0 0 auto; background-image: var(--metal-texture-wide); background-size: cover; content: ""; }
.hero-grid { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(370px, .62fr); gap: clamp(52px, 7vw, 108px); align-items: center; }
.hero-message { position: relative; z-index: 1; min-width: 0; }
.hero h1 { margin: 0; font-size: clamp(62px, 7.2vw, 112px); font-weight: 590; line-height: .94; letter-spacing: -.068em; }
.hero-title-lead { display: block; margin-bottom: .3em; color: var(--paper); font-size: .43em; font-weight: 620; line-height: 1.08; letter-spacing: -.045em; }
.hero h1 em { color: var(--metal); font-style: normal; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em { background-image: var(--metal-texture-wide); background-position: center; background-size: 130% auto; color: transparent; background-clip: text; -webkit-background-clip: text; }
}
.hero-title-stage { position: relative; display: block; height: 1.92em; contain: layout paint; perspective: 900px; transform-style: preserve-3d; }
.hero-title-item { position: absolute; inset: 0; display: block; opacity: 0; backface-visibility: hidden; transform: translate3d(0, 28px, 0) rotateX(-64deg); transform-origin: 50% 0; transition: opacity 520ms cubic-bezier(.2,.7,.2,1), transform 680ms cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.hero-title-item.is-active { opacity: 1; transform: none; }
.hero-title-item.is-leaving { opacity: 0; transform: translate3d(0, -26px, 0) rotateX(62deg); transform-origin: 50% 100%; }
.hero-title-item > span { display: block; min-width: 0; }
.hero-title-item strong { display: block; color: var(--paper); font: inherit; font-weight: inherit; }
.hero-title-qualifier { color: var(--metal); opacity: .72; }
.hero-title-keyword { color: var(--paper); }
.hero-title-period { color: var(--coral); -webkit-text-fill-color: var(--coral); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title-qualifier { display: inline-block; background-image: var(--metal-texture-wide); background-position: center; background-repeat: no-repeat; background-size: auto 125%; color: transparent; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
}
.hero-side { min-width: 0; align-self: center; }
.hero-hook-progress { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.hero-hook-progress i { position: relative; height: 2px; overflow: hidden; background: rgb(174 184 194 / 20%); }
.hero-hook-progress i span { position: absolute; inset: 0; display: block; background: var(--metal); transform: translateZ(0) scaleX(0); transform-origin: left; will-change: transform; }
.hero-title-progress { width: min(420px, 62%); margin-top: 28px; }
.hero-copy { position: relative; max-width: 430px; padding: 30px 0 2px; border-top: 1px solid rgb(174 184 194 / 34%); }
.hero-copy::before { position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 2px; background: var(--coral); content: ""; }
.hero-copy > p { margin: 0; color: #d2dbe0; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.72; letter-spacing: -.018em; word-break: keep-all; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 24px; }
.button { min-height: 50px; padding: 0 20px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; font-size: 14px; font-weight: 650; transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: #183b59; }
.text-link { padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 14px; }
.hero .button-dark { border-color: #c8d1d7; color: var(--ink); background: linear-gradient(135deg, #f3f6f7 0%, #dce3e7 24%, #aeb8c2 52%, #cbd4da 76%, #edf1f3 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%), inset 0 -1px 0 rgb(82 103 119 / 18%), 0 8px 22px rgb(5 24 40 / 16%); }
.hero .hero-actions .button { min-width: 220px; }
.hero .button-dark:hover { background: linear-gradient(135deg, #fff 0%, #e4eaed 24%, #b8c3cc 52%, #d5dce1 76%, #f4f6f7 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 88%), inset 0 -1px 0 rgb(82 103 119 / 14%), 0 11px 28px rgb(5 24 40 / 20%); }
.hero .button-dark span, .button-light span { color: var(--coral-dark); }
.hero .text-link { border-color: var(--metal); color: var(--paper); }

.section { width: var(--page); margin: var(--section-space) auto 0; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 72px; }
.section-heading h2, .portfolio-heading h2, .about h2, .contact h2 { margin: 0; font-size: clamp(42px, 5vw, 76px); font-weight: 580; line-height: 1.04; letter-spacing: -.055em; word-break: keep-all; }
.section-heading > div > p { max-width: 590px; margin: 26px 0 0; color: var(--stone); font-size: 16px; line-height: 1.7; }

.service-list { position: relative; border-top: 0; }
.service-list::before { position: absolute; top: 0; right: 0; left: 0; height: 2px; background-image: var(--metal-texture-wide); background-size: cover; content: ""; }
.service-row { display: grid; grid-template-columns: 64px minmax(220px, .75fr) minmax(300px, 1.1fr) minmax(220px, .7fr); gap: 24px; align-items: start; padding: 34px clamp(18px, 2.4vw, 32px) 38px; border-bottom: 1px solid var(--line); transition: background 180ms ease, box-shadow 180ms ease; }
.service-row:hover { background: #eaf0f3; box-shadow: inset 3px 0 0 var(--metal); }
.service-number { color: var(--signal); font-size: 12px; }
.service-row h3 { margin: -5px 0 0; font-size: 27px; font-weight: 590; letter-spacing: -.035em; }
.service-row p { max-width: 520px; margin: 0; color: var(--stone); font-size: 15px; line-height: 1.7; word-break: keep-all; }
.service-row ul { margin: 0; padding: 0; list-style: none; color: var(--stone); font-size: 13px; }
.service-row li + li { margin-top: 9px; }
.service-row li::before { margin-right: 8px; color: var(--signal); content: "/"; }

.portfolio { padding: var(--section-space) 0 clamp(78px, 9vw, 128px); background: #eaf0f3; }
.portfolio-heading { width: var(--page); margin: 0 auto clamp(62px, 7vw, 96px); display: grid; grid-template-columns: .62fr 1.25fr .72fr; gap: 40px; align-items: start; }
.portfolio-heading > div > p { max-width: 620px; margin: 26px 0 0; color: var(--stone); font-size: 16px; line-height: 1.7; word-break: keep-all; }
.portfolio-facts { margin: 0; border-top: 1px solid var(--ink); }
.portfolio-facts div { padding: 13px 0 14px; display: grid; grid-template-columns: 72px 1fr; gap: 18px; border-bottom: 1px solid #cbd6dd; font-size: 11px; }
.portfolio-facts dt { color: var(--muted); }
.portfolio-facts dd { margin: 0; font-weight: 630; text-align: right; }
.portfolio-list { width: var(--page); margin: 0 auto; border-top: 1px solid var(--ink); }
.portfolio-case { --case-accent: var(--signal); padding: clamp(54px, 6vw, 84px) 0; display: grid; grid-template-columns: minmax(260px, .45fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 104px); border-bottom: 1px solid #cbd6dd; }
.portfolio-case:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr); }
.portfolio-case:nth-child(even) .portfolio-case-copy { order: 2; }
.portfolio-case:nth-child(even) .portfolio-visual { order: 1; }
.portfolio-case-copy { min-height: 520px; padding: 2px 0 4px; display: flex; flex-direction: column; align-items: flex-start; }
.portfolio-case-meta { width: 100%; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-case-meta span:first-child { color: var(--case-accent); font-size: 13px; }
.portfolio-category { margin: clamp(62px, 7vw, 104px) 0 12px; color: var(--case-accent); font-size: 11px; font-weight: 680; letter-spacing: .11em; text-transform: uppercase; }
.portfolio-case h3 { margin: 0; font-size: clamp(36px, 4vw, 58px); font-weight: 590; line-height: 1; letter-spacing: -.052em; word-break: keep-all; }
.portfolio-summary { margin: 28px 0 0; color: var(--stone); font-size: 15px; line-height: 1.75; word-break: keep-all; }
.portfolio-points { width: 100%; margin: 34px 0 0; padding: 0; border-top: 1px solid #cbd6dd; list-style: none; }
.portfolio-points li { padding: 10px 0; border-bottom: 1px solid #cbd6dd; color: var(--stone); font-size: 12px; }
.portfolio-points li::before { margin-right: 9px; color: var(--case-accent); content: "/"; }
.portfolio-link { margin-top: auto; padding: 12px 0 8px; border-bottom: 1px solid var(--ink); display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 640; }
.portfolio-link span { color: var(--case-accent); }
.portfolio-visual { position: relative; min-width: 0; align-self: center; display: block; }
.portfolio-browser { position: relative; display: block; overflow: hidden; border: 1px solid #c2ced6; background: var(--paper); box-shadow: 0 28px 60px rgb(16 42 67 / 12%); }
.portfolio-browser::after { position: absolute; inset: 42px 0 0; border: 1px solid rgb(255 255 255 / 28%); pointer-events: none; content: ""; }
.portfolio-browser-bar { height: 42px; padding: 0 16px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid #d9e1e6; background: #f8fafb; }
.portfolio-browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #aeb8c2; }
.portfolio-browser-bar i:first-child { background: var(--case-accent); }
.portfolio-browser-bar b { min-width: 0; margin-left: 10px; overflow: hidden; color: #81909b; font-size: 9px; font-weight: 520; text-overflow: ellipsis; white-space: nowrap; }
.portfolio-browser img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.portfolio-browser picture, .portfolio-phone picture, .about-image picture { display: block; width: 100%; height: 100%; }
.portfolio-visual:hover .portfolio-browser img { transform: scale(1.018); }
.portfolio-phone { position: absolute; right: clamp(18px, 3vw, 46px); bottom: clamp(-54px, -4vw, -34px); z-index: 2; width: clamp(128px, 14vw, 198px); aspect-ratio: 390 / 844; overflow: hidden; border: 6px solid #0d1f2f; border-radius: 28px; background: var(--paper); box-shadow: 0 24px 50px rgb(16 42 67 / 28%); transition: transform 280ms cubic-bezier(.2,.7,.2,1); }
.portfolio-case:nth-child(even) .portfolio-phone { right: auto; left: clamp(18px, 3vw, 46px); }
.portfolio-phone::before { position: absolute; z-index: 1; top: 5px; left: 50%; width: 34%; height: 5px; border-radius: 10px; background: #0d1f2f; content: ""; transform: translateX(-50%); }
.portfolio-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portfolio-visual:hover .portfolio-phone { transform: translateY(-5px); }
.portfolio-device-label { position: absolute; bottom: 10px; left: 16px; color: var(--muted); font-size: 9px; font-weight: 680; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-case:nth-child(even) .portfolio-device-label { right: 16px; left: auto; }
.portfolio-next { width: var(--page); margin: clamp(48px, 6vw, 82px) auto 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.portfolio-next p { margin: 0; font-size: clamp(20px, 2.3vw, 32px); font-weight: 570; letter-spacing: -.03em; }
.portfolio-next p span { margin-right: 18px; color: var(--signal); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; vertical-align: middle; }

.process-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.process-list li { min-height: 286px; padding: 28px 28px 26px; display: flex; flex-direction: column; border-right: 1px solid var(--line); transition: background 180ms ease; }
.process-list li:hover { background: #eaf0f3; }
.process-list li:last-child { border-right: 0; }
.process-list li > span { color: var(--metal); font-size: 32px; font-weight: 650; letter-spacing: -.04em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .process-list li > span { background-image: var(--metal-texture-detail); background-position: center; background-size: cover; color: transparent; background-clip: text; -webkit-background-clip: text; }
}
.process-list li > div { margin-top: auto; }
.process-list h3 { margin: 0; font-size: 27px; font-weight: 600; }
.process-list p { margin: 12px 0 0; color: var(--stone); font-size: 14px; line-height: 1.65; word-break: keep-all; }
.process-list small { margin-top: 24px; color: var(--stone); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.about { width: var(--page); margin: var(--section-space) auto 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.about-image { min-height: 650px; margin: 0; overflow: hidden; border-right: 1px solid var(--line); background: #dce5ea; }
.about-image img { width: 100%; height: 100%; min-height: 650px; display: block; object-fit: cover; object-position: center; filter: saturate(.9) contrast(1.02); }
.about-copy { padding: clamp(60px, 7vw, 112px); }
.about-copy .section-index { margin-bottom: 54px; }
.about-lead { margin: 44px 0 18px; font-size: 22px; font-weight: 620; }
.about-copy > p:not(.section-index):not(.about-lead) { color: var(--stone); line-height: 1.75; word-break: keep-all; }
.about dl { margin: 64px 0 0; border-top: 1px solid var(--line); }
.about dl div { display: flex; justify-content: space-between; gap: 30px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.about dt { color: var(--stone); }
.about dd { margin: 0; text-align: right; }

.faq { padding-bottom: var(--section-space); }
.faq-list { margin-left: calc(33.333% + 14px); border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; cursor: pointer; font-size: 20px; font-weight: 580; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 18px; height: 18px; position: relative; flex: 0 0 auto; }
.faq summary span::before, .faq summary span::after { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--ink); content: ""; transition: transform 180ms ease; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { max-width: 680px; margin: -5px 40px 30px 0; color: var(--stone); font-size: 15px; line-height: 1.7; }

.contact { position: relative; padding: clamp(72px, 9vw, 132px) max(24px, calc((100% - 1360px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 10vw, 160px); overflow: hidden; color: var(--paper); background: var(--ink); }
.contact::before { position: absolute; top: 0; right: 0; left: 0; height: 2px; background-image: var(--metal-texture-wide); background-size: cover; content: ""; }
.contact .section-index { color: var(--metal); }
.contact h2 { margin-top: 58px; }
.contact h2 span { color: var(--coral); }
.contact-heading > p:not(.section-index) { max-width: 520px; margin: 30px 0 0; color: #bdc8cf; font-size: 16px; line-height: 1.7; }
.email-copy { margin-top: 68px; padding: 0 0 8px; border: 0; border-bottom: 1px solid #6f8190; color: var(--paper); background: transparent; font-size: 18px; }
.email-copy span { margin-left: 18px; color: var(--metal); font-size: 11px; }
.contact-form { display: grid; gap: 26px; }
.contact-form label { display: grid; gap: 9px; color: #bdc8cf; font-size: 12px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #405d73; border-radius: 0; outline: 0; color: var(--paper); background: transparent; font-size: 16px; transition: border-color 160ms ease; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--signal); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6f8190; }
.contact-form select option { color: var(--ink); background: var(--paper); }
.button-light { width: 100%; margin-top: 10px; border-color: #c8d1d7; color: var(--ink); background: linear-gradient(135deg, #f3f6f7 0%, #dce3e7 24%, #aeb8c2 52%, #cbd4da 76%, #edf1f3 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 75%), inset 0 -1px 0 rgb(82 103 119 / 18%), 0 8px 22px rgb(5 24 40 / 16%); }
.button-light:hover { background: linear-gradient(135deg, #fff 0%, #e4eaed 24%, #b8c3cc 52%, #d5dce1 76%, #f4f6f7 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 88%), inset 0 -1px 0 rgb(82 103 119 / 14%), 0 11px 28px rgb(5 24 40 / 20%); }
.form-note { margin: -12px 0 0; color: #7f8f9b; font-size: 11px; }

.site-footer { width: var(--page); min-height: 170px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.site-footer img { width: 170px; }
.site-footer div { text-align: right; }
.site-footer a { font-size: 13px; }
.site-footer p { margin: 16px 0 0; color: var(--stone); font-size: 11px; }

:focus-visible { outline: 3px solid rgb(21 94 99 / 38%); outline-offset: 4px; }
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { max-width: 680px; }
  .hero-copy { max-width: none; }
  .service-row { grid-template-columns: 52px .7fr 1fr; }
  .service-row ul { grid-column: 2 / -1; display: flex; gap: 18px; }
  .service-row li + li { margin-top: 0; }
  .portfolio-heading { grid-template-columns: .5fr 1.5fr; }
  .portfolio-facts { grid-column: 2; }
  .portfolio-case, .portfolio-case:nth-child(even) { grid-template-columns: 1fr; gap: 44px; }
  .portfolio-case:nth-child(even) .portfolio-case-copy, .portfolio-case:nth-child(even) .portfolio-visual { order: initial; }
  .portfolio-case-copy { min-height: 0; }
  .portfolio-category { margin-top: 56px; }
  .portfolio-link { margin-top: 38px; }
  .portfolio-case:nth-child(even) .portfolio-phone { right: clamp(18px, 3vw, 46px); left: auto; }
  .portfolio-case:nth-child(even) .portfolio-device-label { right: auto; left: 16px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 760px) {
  :root { --page: min(100% - 32px, 1360px); --section-space: 88px; }
  html { scroll-padding-top: 76px; }
  .site-header { height: 76px; }
  .site-header { padding-right: 16px; padding-left: 16px; }
  .brand img { width: 150px; }
  .menu-button { width: 54px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
  .menu-button span { font-size: 12px; }
  .menu-button i, .menu-button i::before { display: block; width: 16px; height: 1px; background: var(--ink); content: ""; transition: transform 180ms ease; }
  .menu-button i::before { transform: translateY(-5px); }
  .menu-button[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] i::before { transform: rotate(-90deg); }
  .site-nav { position: fixed; inset: 76px 0 0; padding: 52px 24px; display: none; align-items: stretch; flex-direction: column; gap: 0; background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 28px; }
  .site-nav .nav-contact { margin-top: 28px; padding: 18px; border: 0; font-size: 18px; text-align: center; }
  .hero { min-height: auto; padding-top: 58px; }
  .hero-grid { gap: 46px; }
  .hero h1 { font-size: clamp(50px, 14vw, 76px); }
  .hero-title-lead { font-size: .48em; }
  .hero-title-stage { height: 2em; }
  .hero-title-progress { width: 100%; margin-top: 20px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
  .text-link { align-self: flex-start; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 48px; }
  .section-heading h2, .portfolio-heading h2, .about h2, .contact h2 { font-size: clamp(42px, 12vw, 62px); }
  .service-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 28px 16px 32px; }
  .service-row h3 { font-size: 23px; }
  .service-row p, .service-row ul { grid-column: 2; }
  .service-row ul { flex-wrap: wrap; gap: 7px 14px; }
  .portfolio { padding-top: 88px; }
  .portfolio-heading { grid-template-columns: 1fr; gap: 34px; }
  .portfolio-facts { grid-column: auto; }
  .portfolio-case, .portfolio-case:nth-child(even) { padding: 48px 0 58px; gap: 36px; }
  .portfolio-category { margin-top: 42px; }
  .portfolio-case h3 { font-size: clamp(38px, 11vw, 52px); }
  .portfolio-summary { font-size: 14px; }
  .portfolio-browser-bar { height: 34px; padding: 0 11px; gap: 5px; }
  .portfolio-browser-bar i { width: 5px; height: 5px; }
  .portfolio-browser-bar b { margin-left: 6px; font-size: 7px; }
  .portfolio-browser::after { inset: 34px 0 0; }
  .portfolio-phone, .portfolio-case:nth-child(even) .portfolio-phone { right: 12px; bottom: -28px; left: auto; width: clamp(88px, 28vw, 118px); border-width: 4px; border-radius: 18px; }
  .portfolio-phone::before { top: 3px; height: 3px; }
  .portfolio-device-label { display: none; }
  .portfolio-next { align-items: flex-start; flex-direction: column; }
  .portfolio-next p span { display: block; margin: 0 0 12px; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li { min-height: 270px; padding: 22px 18px; }
  .process-list li:nth-child(even) { border-right: 0; }
  .process-list h3 { font-size: 23px; }
  .process-list p { font-size: 13px; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 0; width: 100%; aspect-ratio: 1 / 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-image img { min-height: 0; }
  .about-copy { padding: 64px 0; }
  .faq-list { margin-left: 0; }
  .faq summary { font-size: 17px; }
  .contact { grid-template-columns: 1fr; padding-right: 16px; padding-left: 16px; }
  .site-footer { min-height: 190px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 34px; }
  .site-footer div { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .site-header { transition: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-hook-progress i span { transform: scaleX(0); }
}
