@font-face {
  font-family: Inter;
  src: url("InterVariable.2bf3d951bf9d.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --logo-indigo: #2d1f6c;
  --logo-blue: #4c6eb8;
  --accent: #c0d6ee;
  --accent-hover: #dbe9f8;
  --ink: #19182d;
  --muted: #53546c;
  --link: #423281;
  --link-hover: #271c58;
  --paper: #f7f8fc;
  --line: #dce0ed;
  --tint: #eaf0fa;
  --dark: #141126;
  --dark-line: #393550;
  --contrast: #f4f6ff;
  --dark-muted: #b8b9d0;
  --header-height: 77px;
  --gutter: clamp(22px, 5.55vw, 80px);
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--link); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.6; }
ul[role="list"] { list-style: none; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
main:focus { outline: none; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-150%);
  background: #fff;
  color: var(--ink);
}
.skip-link:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--dark);
  color: var(--contrast);
  border-bottom: 1px solid var(--dark-line);
}
.header :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
.header-inner {
  min-height: calc(var(--header-height) - 1px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; width: fit-content; }
.brand:hover { color: var(--accent); }
.brand strong { font-size: 16px; font-weight: 750; letter-spacing: -.04em; display: block; }
.brand small { color: var(--dark-muted); display: block; font-size: 11px; margin-top: 2px; }
.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 4px;
  object-fit: contain;
  background: var(--contrast);
  border-radius: 9px;
}
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.65vw, 40px); }
.main-nav > a { text-decoration: none; font-size: 14px; font-weight: 560; white-space: nowrap; }
.main-nav > a:hover, .main-nav > a[aria-current] { color: var(--accent); }
.main-nav > a[aria-current] { text-decoration: underline; }
.main-nav .mobile-nav-action { display: none; }
.header-action { justify-self: end; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: fit-content;
  min-height: 54px;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 100vw;
  color: var(--dark);
  background: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 740;
  line-height: 1.35;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.button > span { font-size: 17px; line-height: 1; }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--dark); }
.button-compact { min-height: 42px; gap: 13px; padding-inline: 15px; font-size: 13px; }
.page .button:not(.button-outline):not(.button-inverse) { color: white; background: var(--logo-indigo); border-color: var(--logo-indigo); }
.page .button:not(.button-outline):not(.button-inverse):hover { background: var(--link-hover); }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: #fff; border-color: var(--link); color: var(--link); }
.button-inverse { color: var(--contrast); background: var(--dark); border-color: var(--dark); }
.button-inverse:hover { color: var(--contrast); background: var(--logo-indigo); border-color: var(--logo-indigo); }
.button-inverse:focus-visible { outline-color: var(--dark); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.text-link, .back-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--link);
  font-weight: 650;
  text-decoration: underline;
  font-size: 14px;
}
.text-link:hover, .back-link:hover { color: var(--link-hover); }
.back-link { margin-bottom: 36px; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: .015em;
  line-height: 1.5;
}
.square { display: inline-block; width: 7px; height: 7px; margin-right: 6px; vertical-align: 1px; background: var(--link); }
.page-heading h1, .message-page h1, .policy h1 {
  font-size: clamp(45px, 5.4vw, 84px);
  line-height: 1.015;
  letter-spacing: -.05em;
  font-weight: 770;
}

.section { padding-block: clamp(46px, 5.1vw, 76px); }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px 22px;
  margin-bottom: 30px;
}
.section-heading h2, .contact-band h2, .process h2 {
  font-size: clamp(31px, 3.55vw, 54px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.section-heading h2 { text-wrap: initial; }
.service-grid, .project-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-grid { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.service-grid > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  min-height: 168px;
  padding: 22px 43px 23px 23px;
  background: #fff;
  text-decoration: none;
  transition: background-color .16s ease;
}
.service-card:hover { background: #f1f4fe; }
.service-card:focus-visible, .project-card:focus-visible { outline-offset: -3px; }
.card-category { color: var(--link); font-size: 12px; font-weight: 680; line-height: 1.4; }
.service-card h3, .project-card h3 { margin-top: 13px; font-size: clamp(19px, 1.8vw, 25px); font-weight: 720; letter-spacing: -.035em; line-height: 1.18; text-wrap: initial; }
.service-card p, .project-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.card-arrow { position: absolute; top: 18px; right: 21px; color: var(--link); font-size: 20px; transition: transform .2s ease; }
.service-card:hover .card-arrow, .project-card:hover .card-arrow { transform: translate(2px, -2px); }

.project-grid { gap: 30px 22px; }
.project-card { display: flex; flex-direction: column; height: 100%; border-bottom: 1px solid var(--line); text-decoration: none; }
.project-meta { position: relative; padding: 19px 34px 24px 0; }
.project-meta h3 { margin-top: 7px; }
.project-meta .card-arrow { top: 19px; right: 5px; }
.project-art {
  width: 100%;
  aspect-ratio: 1.4;
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  container-type: inline-size;
  border-radius: 12px;
}
.uploaded-art { display: block; background: var(--tint); }
.uploaded-art img { height: 100%; width: 100%; object-fit: cover; }
.project-screenshot { background: #e3ebf8; padding: 5%; }
.project-screenshot img { width: 100%; height: auto; border-radius: 1.6cqw; border: 1px solid #b4c2df; box-shadow: 0 2.6cqw 5cqw #29385b29; }
.art-empty { background: var(--tint); }
.art-empty .brand-mark { width: 65px; height: 65px; }
.art-website { background: #dce4f3; color: var(--ink); }
.mock-site, .mock-inventory {
  width: 81%;
  padding: 4cqw 4.5cqw;
  box-shadow: 0 13px 34px #2228502b;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.mock-site { background: #f7f8fd; padding: 3cqw 4cqw 4cqw; }
.mock-top { display: flex; gap: 5px; align-items: center; justify-content: space-between; font-size: 2.25cqw; }
.mock-site .mock-top { padding-bottom: 2cqw; border-bottom: 1px solid #b9c7df; }
.mock-site-main { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: 2cqw; margin-top: 2cqw; }
.mock-site-main strong { display: block; font-family: Georgia, serif; font-size: 5.25cqw; line-height: .96; font-weight: 500; letter-spacing: -.061em; }
.mock-site-main span { display: inline-block; margin-top: 3cqw; border: 1px solid #9aaed2; padding: .7cqw 1cqw; font-size: 1.75cqw; }
.mock-wood { height: 29cqw; background: repeating-linear-gradient(133deg, #adc5e5 0 2cqw, #c2d3eb 2cqw 3.2cqw, #e0eafa 3.2cqw 4.5cqw); }
.art-inventory { background: #dfe9f8; }
.mock-inventory { background: #f8fbff; color: #202b47; border-left: 4cqw solid var(--logo-indigo); }
.mock-inventory .mock-top { color: var(--link); }
.mock-inventory > strong { font-size: 5.35cqw; display: block; margin-block: 4.2cqw 2.5cqw; letter-spacing: -.055em; }
.mock-table { display: grid; grid-template-columns: 1fr auto; font-size: 2.3cqw; }
.mock-table > * { border-top: 1px solid #dce4f3; padding: 1.6cqw 1cqw; }
.mock-table i { color: var(--link); font-style: normal; }
.art-bot { background: #e2eaf9; }
.mock-phone {
  width: 77%;
  padding: 5cqw;
  border: 1px solid #bdcbe5;
  border-radius: 2cqw;
  box-shadow: 0 13px 24px #19244325;
  background: #f7faff;
  color: #20284a;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.mock-phone .mock-top { border-bottom: 1px solid #dce5f6; padding-bottom: 3cqw; margin-bottom: 3cqw; font-size: 3cqw; }
.bubble { width: fit-content; max-width: 94%; margin-bottom: 2.5cqw; padding: 2cqw 2.5cqw; border-radius: 2cqw 2cqw 2cqw 0; font-size: 3cqw; line-height: 1.35; background: #e7eefb; }
.bubble-reply { margin-left: auto; background: #d8e4f8; border-radius: 2cqw 2cqw 0 2cqw; }
.mock-message-input { display: flex; justify-content: space-between; color: #596789; border: 1px solid #d9e2f3; padding: 2cqw 3cqw; border-radius: 1.5cqw; font-size: 2.65cqw; }
.project-card:hover .mock-site, .project-card:hover .mock-inventory, .project-card:hover .mock-phone { transform: translateY(-4px) scale(1.025); }

.store-art { background: #e3ebf8; }
.store-devices {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3.7cqw;
  width: 100%;
  height: 100%;
  padding-top: 5cqw;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.store-devices img {
  width: 32cqw;
  height: auto;
  border: .7cqw solid #1d243c;
  border-radius: 3.6cqw;
  background: #edf2fa;
  box-shadow: 0 2.4cqw 5cqw #26365a36;
}
.store-devices img + img { margin-top: 8cqw; }
.project-card:hover .store-devices { transform: translateY(-2cqw); }
.project-detail-grid .store-devices { padding-top: 5cqw; }

.art-case { background: #e3ebf8; color: #242a45; }
.case-window {
  width: 88%;
  border-radius: 1.5cqw;
  padding: 3.6cqw 3.8cqw;
  background: #fbfdff;
  box-shadow: 0 3cqw 6cqw #29385b2f;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.case-window .mock-top { font-size: 2.7cqw; }
.case-window > strong { display: block; margin-block: 3.2cqw 2.4cqw; font-size: 5cqw; line-height: 1.15; letter-spacing: -.04em; }
.case-sheet { display: grid; grid-template-columns: 1.65fr repeat(4, 1fr); font-size: 2cqw; }
.case-sheet > * { border-top: 1px solid #dce4f3; padding-block: 1.35cqw; }
.case-sheet i { color: #386146; font-style: normal; }
.case-sheet i.case-attention { color: #9e3b26; }
.project-card:hover .case-window { transform: translateY(-4px) scale(1.025); }
.case-art-caption { color: var(--muted); margin-top: 9px; font-size: 12px; }
.case-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.case-support { margin-top: 16px; }
.case-extra { margin-top: clamp(29px, 5vw, 72px); }
.case-extra h2 { font-size: clamp(24px, 3vw, 43px); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 16px; text-wrap: initial; }
.case-extra img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.support-contact { margin-top: 20px; max-width: 680px; }

.end-section { padding-top: 0; }
.page + .end-section, .detail + .end-section { padding-top: 15px; }
.contact-band {
  background: var(--accent);
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px 32px;
  padding: clamp(25px, 4.4vw, 62px);
  border-radius: 14px;
}
.contact-band h2 { text-wrap: initial; }
.contact-band p { color: #343b58; margin-top: 10px; }
.contact-band .button { flex-shrink: 0; }

.page { padding-block: clamp(42px, 6vw, 86px) clamp(54px, 7vw, 100px); }
.page-heading { max-width: 850px; margin-bottom: clamp(26px, 4vw, 48px); }
.page-heading h1, .policy h1 { overflow-wrap: anywhere; text-wrap: initial; }
.page-heading p:not(.eyebrow) { color: var(--muted); font-size: clamp(17px, 1.6vw, 22px); max-width: 610px; margin-top: 17px; }
.page-heading .eyebrow { margin-bottom: 13px; }
.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, .43fr);
  gap: 23px 42px;
  align-items: end;
  margin-bottom: clamp(29px, 4vw, 50px);
}
.catalog-heading .page-heading { margin: 0; }
.catalog-note { border-left: 3px solid var(--accent); padding: 8px 0 8px 20px; }
.catalog-note h2 { font-size: 18px; text-wrap: initial; }
.catalog-note p { color: var(--muted); margin-block: 7px 9px; font-size: 14px; }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 3px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 590;
  font-size: 13px;
}
.filters a[aria-current] { background: var(--dark); border-color: var(--dark); color: var(--contrast); }
.filters a:hover:not([aria-current]) { color: var(--link); border-color: var(--link); }
.empty { padding: 24px; border: 1px solid var(--line); background: #fff; }
.empty a, .prose a { color: var(--link); }
.detail-grid, .project-detail-grid, .application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.detail-grid { border-top: 1px solid var(--line); padding-top: 30px; }
.project-detail-grid { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: clamp(24px, 3.5vw, 50px); }
.project-detail-grid .project-art { aspect-ratio: 1.4; }
.project-detail-grid .uploaded-art img { object-fit: contain; }
.prose { color: var(--muted); font-size: 17px; max-width: 68ch; overflow-wrap: anywhere; }
.prose h2, .info-panel h2, .contact-card h2 {
  color: var(--ink);
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -.039em;
  line-height: 1.17;
  text-wrap: initial;
}
.prose h2 { margin-bottom: 12px; }
.prose p + p { margin-top: 15px; }
.prose p + h2 { margin-top: 30px; }
.info-panel { border-top: 3px solid var(--accent); background: var(--tint); padding: clamp(20px, 3vw, 34px); }
.info-panel h2 { margin-bottom: 13px; }
.info-panel p { color: var(--muted); }
.info-panel p + p { margin-top: 10px; }
.info-panel ul { margin: 0; padding-left: 19px; color: var(--muted); line-height: 1.55; }
.info-panel li + li { margin-top: 7px; }
.info-panel .button, .info-panel .text-link { margin-top: 20px; }
.process { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 50px; }
.process ol { margin: 22px 0 0; padding-left: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 42px; }
.process li::marker { color: var(--link); font-weight: 750; }
.process li strong { display: block; margin-bottom: 6px; }
.process li p { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3.5vw, 42px); }
.contact-card h2 { margin-bottom: 12px; }
.contact-card p, .contact-card address { color: var(--muted); line-height: 1.6; font-style: normal; }
.contact-card address a { display: block; width: fit-content; overflow-wrap: anywhere; }
.contact-card .button, .contact-card .text-link { margin-top: 17px; }

.application-form { background: #fff; border: 1px solid var(--line); padding: clamp(18px, 3vw, 36px); min-width: 0; }
.field, .contact-fields, .consent { margin-bottom: 19px; }
.field label, .contact-fields legend { display: block; font-size: 14px; font-weight: 660; margin-bottom: 7px; }
.field label small { color: var(--muted); font-size: 11px; font-weight: 500; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 47px;
  border: 1px solid #9ca7bf;
  border-radius: 3px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.field input::placeholder, .field textarea::placeholder { color: #5c657d; }
.field textarea { resize: vertical; min-height: 115px; display: block; }
.field [aria-invalid="true"] { border-color: #a22537; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-fields { padding: 0; border: 0; margin-inline: 0; min-width: 0; }
.contact-fields .field { margin-bottom: 0; }
.contact-fields > p { margin-bottom: 9px; color: var(--muted); font-size: 13px; }
.consent { display: grid; grid-template-columns: 21px 1fr; align-items: start; gap: 9px; font-size: 14px; line-height: 1.5; }
.consent input { accent-color: var(--link); width: 18px; height: 18px; margin: 2px 0 0; }
.consent label { cursor: pointer; }
.consent p { font-size: 13px; margin-top: 4px; color: var(--link); }
.preview-notice, .form-message { padding: 11px 13px; font-size: 13px; line-height: 1.45; margin-bottom: 17px; }
.preview-notice { background: var(--tint); color: var(--muted); }
.form-message { background: #fbedef; color: #8a2232; }
.errorlist { list-style: none; padding: 0; color: #8a2232; margin: 6px 0 12px; font-size: 13px; line-height: 1.5; }
.message-page { min-height: 395px; }
.message-page .eyebrow { margin-bottom: 12px; }
.message-page p:not(.eyebrow), .policy > p { color: var(--muted); font-size: 18px; margin: 16px 0 25px; max-width: 55ch; }
.message-page h1, .policy h1 { font-size: clamp(37px, 5.1vw, 70px); }
.policy .prose { margin-top: 28px; }

html.request-open { overflow: hidden; }
.request-dialog {
  margin: auto;
  padding: 0;
  width: min(660px, calc(100% - 24px));
  max-height: calc(100dvh - 28px);
  border: 1px solid #b8c5dd;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 26px 90px #0d0b2d52;
}
.request-dialog[open] { animation: dialog-in .32s cubic-bezier(.16,1,.3,1) both; }
.request-dialog::backdrop { background: #111028ae; backdrop-filter: blur(6px); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.request-dialog-inner { padding: 0 clamp(17px, 4vw, 36px) clamp(20px, 4vw, 34px); }
.request-dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
  padding-block: 16px 9px;
}
.request-dialog-header h2 { font-size: clamp(25px, 4.1vw, 40px); font-weight: 770; letter-spacing: -.05em; }
.request-dialog-header h2:focus { outline: none; }
.request-dialog-header button {
  flex: 0 0 41px;
  width: 41px;
  height: 41px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--link);
  font-size: 25px;
  line-height: 1;
}
.request-dialog-header button:hover { background: var(--tint); }
.request-intro { color: var(--muted); margin-bottom: 15px; }
.request-dialog .application-form { padding: 0; border: 0; background: transparent; }
.request-dialog .preview-notice { margin-bottom: 13px; }
.request-dialog .field, .request-dialog .contact-fields { margin-bottom: 14px; }
.request-dialog .contact-fields .field { margin-bottom: 0; }
.request-dialog .field textarea { min-height: 88px; }
.request-dialog .button { background: var(--logo-indigo); color: #fff; border-color: var(--logo-indigo); }
.request-dialog .button:hover { background: var(--link-hover); }
.request-dialog .button:disabled { opacity: .65; cursor: progress; }
.request-dialog-error { margin-block: 13px 9px; }
.request-dialog [hidden] { display: none !important; }
.request-number { margin-block: 3px 9px; font-size: 18px; font-weight: 680; }

.footer { background: var(--dark); color: var(--contrast); border-top: 1px solid var(--dark-line); }
.footer-main { display: grid; grid-template-columns: 1.15fr .85fr .75fr; gap: 24px; padding-block: 36px; }
.footer-main p { color: var(--dark-muted); font-size: 13px; }
.footer-main .brand + p { margin-top: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 9px 18px; }
.footer-links a, .footer-address a { width: fit-content; font-size: 13px; font-weight: 650; text-decoration: none; }
.footer-address a { display: inline-block; margin-top: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 10px 28px; flex-wrap: wrap; border-top: 1px solid var(--dark-line); padding-block: 15px; }
.footer-bottom a { color: var(--dark-muted); font-size: 12px; }
.footer a:hover { color: var(--accent); }

[data-reveal].awaiting-reveal {
  opacity: 0;
  transform: translateY(20px);
}
[data-reveal].reveal-active { animation: reveal .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .header-inner { gap: 16px; }
  .main-nav { gap: 16px; }
  .project-grid { gap: 13px; }
  .service-card { padding-left: 17px; }
  .contact-band { flex-wrap: wrap; }
  .application-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); gap: 20px; }
}

@media (max-width: 740px) {
  :root { --header-height: 71px; }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 14px; }
  .header-inner .brand { margin-block: 13px; }
  .header-action { display: none; }
  .main-nav { grid-column: 1 / -1; flex-wrap: wrap; align-items: stretch; padding: 4px 0 14px; gap: 3px 19px; }
  .main-nav > a { padding-block: 9px; }
  .main-nav .mobile-nav-action { display: inline; color: var(--accent); }
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--dark-line);
    border-radius: 3px;
    background: none;
    color: var(--contrast);
    font-size: 13px;
    font-weight: 600;
  }
  .menu-icon { width: 13px; height: 8px; border-block: 1px solid currentColor; }
  .js .menu-toggle[aria-expanded="false"] + .main-nav { display: none; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid, .project-detail-grid, .application-layout { grid-template-columns: 1fr; gap: 24px; }
  .catalog-heading { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 490px) {
  :root { --gutter: 18px; }
  .button { min-height: 46px; padding-inline: 12px; gap: 9px; font-size: 13px; }
  .actions { gap: 8px; }
  .section-heading { margin-bottom: 18px; }
  .service-grid, .project-grid, .contact-grid, .field-row, .process ol { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 17px 41px 17px 17px; }
  .service-card h3 { margin-top: 7px; }
  .contact-fields .field + .field { margin-top: 2px; }
  .field-row:not(.contact-fields .field-row) { gap: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 19px; }
  .footer-links { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  [data-reveal].awaiting-reveal { opacity: 1; transform: none; }
}
