@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/Inter-var.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/InstrumentSerif.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/InstrumentSerif-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/JetBrainsMono-var.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #111214;
  --muted: #5d6068;
  --line: #e4e4e7;
  --paper: #fafaf8;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.scrolled { border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 30px; height: 30px; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.legal-brand { display: inline-flex; align-items: center; gap: 10px; }
.topbar nav { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--muted); }
.topbar nav a:hover { color: var(--ink); }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff !important; }

.hero, .index, .capabilities { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.hero { padding-top: clamp(64px, 12vw, 140px); padding-bottom: 64px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.hero h1 { font-size: clamp(44px, 7.5vw, 104px); line-height: .98; letter-spacing: -.035em; font-weight: 600; }
.hero h1 em { letter-spacing: -.01em; }
.lede { max-width: 640px; margin-top: 32px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.index { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding-bottom: 96px; }
.index-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 20px; min-height: 150px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.index-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent);
  transform: scaleX(.18); transform-origin: left; transition: transform .35s;
}
.index-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.index-card:hover::after { transform: scaleX(1); }
.index-card .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.index-card .name { margin-top: auto; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.index-card .cat { font-size: 13px; color: var(--muted); }

.project {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, var(--tint) 0, var(--paper) 70%);
}
.project > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.project.dark { background: linear-gradient(180deg, #14151b 0, #0e0f13 100%); color: #ecedf2; --muted: #9a9cab; --line: #2a2c36; }
.project-head { position: relative; margin-bottom: 40px; }
.meta { display: flex; gap: 16px; align-items: center; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.meta .num { color: var(--accent); font-weight: 500; }
.project h2 { font-size: clamp(48px, 8vw, 112px); letter-spacing: -.045em; font-weight: 600; line-height: 1; margin-top: 16px; }
.project h2.serif-name { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); color: var(--muted); margin-top: 12px; }
.live {
  position: absolute; right: 0; bottom: 8px;
  font-family: var(--mono); font-size: 13px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.6);
}
.dark .live { background: rgba(255,255,255,.04); }
.live:hover { border-color: var(--accent); color: var(--accent); }

.hero-shot, .gallery figure {
  border-radius: 18px; overflow: hidden; cursor: zoom-in;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -40px rgba(15, 20, 40, .45);
  border: 1px solid var(--line);
}
.dark .hero-shot, .dark .gallery figure { background: #1a1b22; box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.hero-shot img, .gallery img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero-shot:hover img, .gallery figure:hover img { transform: scale(1.012); }

.project-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; margin-top: 56px; margin-bottom: 56px; }
.story p { font-size: 18px; color: var(--muted); }
.story p + p { margin-top: 18px; }
.features { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.features li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.features b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.dark .features b { color: #fff; }
.features b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-right: 10px; vertical-align: 1px; }

.gallery { display: grid; gap: 20px; }
.gallery.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gallery figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: inherit; }
.gallery.fav-grid { grid-template-columns: 1fr 300px; align-items: center; gap: 32px; }
.gallery.phones { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 32px; }
.gallery .phone { border-radius: 32px; border: 8px solid #111; }
.gallery .phone img { aspect-ratio: 3 / 5; object-fit: cover; object-position: top center; }
.gallery .phone figcaption { border-top-color: #222; }
.gallery.r23 .phone img { aspect-ratio: 2 / 3; }

.gallery.phones.four { grid-template-columns: repeat(4, minmax(0, 260px)); gap: 28px; }

.slider { position: relative; }
.slider-stage {
  position: relative; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 80px -40px rgba(15, 20, 40, .45);
}
.slide {
  position: absolute; inset: 0; margin: 0; cursor: zoom-in;
  opacity: 0; transform: scale(1.02); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.slider-arrow {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  width: 48px; height: 48px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(17,18,20,.78); color: #fff; font-size: 18px;
  backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s, background .2s;
}
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
.slider-stage:hover .slider-arrow, .slider-arrow:focus-visible { opacity: 1; }
.slider-arrow:hover { background: var(--accent); }
.slider-tabs { display: grid; grid-template-columns: repeat(var(--cols, 8), 1fr); gap: 4px; margin-top: 18px; }
.slider-tabs button {
  display: flex; flex-direction: column; gap: 2px; text-align: left; cursor: pointer;
  padding: 12px 10px; border: 0; border-top: 2px solid var(--line); background: none;
  font: inherit; color: var(--muted); transition: color .2s, border-color .2s;
}
.slider-tabs button span { font-family: var(--mono); font-size: 11px; }
.slider-tabs button b { font-size: 14px; font-weight: 600; color: inherit; }
.slider-tabs button small { font-size: 12px; line-height: 1.35; opacity: .8; }
.slider-tabs button:hover { color: var(--ink); }
.slider-tabs button[aria-selected="true"] { color: var(--ink); border-top-color: var(--accent); }
.slider-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; border-radius: 18px 18px 0 0; overflow: hidden; pointer-events: none; }
.slider-progress i { display: block; height: 100%; width: 0; background: var(--accent); }
.slider-progress i.run { width: 100%; transition: width linear var(--dur, 5s); }
.dark .slider-stage { background: #1a1b22; box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.dark .slider-tabs button:hover, .dark .slider-tabs button[aria-selected="true"] { color: #fff; }

.engine { margin-bottom: 56px; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); }
.engine-title { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.engine ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.engine li { position: relative; padding: 0 24px; border-left: 1px solid var(--line); }
.engine li:first-child { padding-left: 0; border-left: 0; }
.engine li:not(:last-child)::after {
  content: "→"; position: absolute; right: -8px; top: 0; font-size: 14px; color: var(--accent);
  background: #111217; padding: 0 2px;
}
.engine span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.engine h3 { font-size: 18px; font-weight: 600; color: #fff; margin: 4px 0 12px; }
.engine p { font-size: 14px; color: var(--muted); padding: 7px 0; border-top: 1px dashed var(--line); }

.rail-title { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.rail-title small { font-size: 11px; letter-spacing: .08em; color: var(--accent); }
.gallery.phone-rail {
  grid-auto-flow: column; grid-auto-columns: 232px; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
          mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.gallery.phone-rail .phone { scroll-snap-align: start; }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.split .eyebrow { margin-bottom: 12px; }
.split h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; font-weight: 600; line-height: 1.05; margin-bottom: 16px; }
.split p { font-size: 16px; color: var(--muted); }
.split .split-note { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.split .gallery.phones { grid-template-columns: repeat(3, minmax(0, 220px)); gap: 20px; justify-content: end; }

.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.stack span { font-family: var(--mono); font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

.capabilities { padding-top: 128px; padding-bottom: 128px; }
.capabilities h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.cap-grid div { padding-top: 20px; border-top: 2px solid var(--ink); }
.cap-grid h3 { font-size: 17px; margin-bottom: 10px; }
.cap-grid p { font-size: 15px; color: var(--muted); }

.contact { background: var(--ink); color: #fff; padding: clamp(96px, 14vw, 180px) clamp(20px, 4vw, 48px) 40px; }
.contact > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.contact h2 { font-size: clamp(40px, 6.5vw, 92px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.contact-cta { display: flex; flex-direction: column; align-items: flex-start; }
.mail { display: inline-block; margin-top: 48px; font-size: clamp(20px, 3vw, 36px); border-bottom: 2px solid #d4ef3a; padding-bottom: 4px; }
.mail:hover { color: #d4ef3a; }
.legal {
  display: grid; grid-template-columns: auto 1fr; gap: 28px 64px; align-items: start;
  margin-top: 120px; padding-top: 32px; border-top: 1px solid #2a2b30; font-size: 13px; color: #8b8d96;
}
.legal-brand { gap: 12px; }
.legal-brand div { display: flex; flex-direction: column; line-height: 1.3; }
.legal-brand strong { color: #fff; font-size: 15px; font-weight: 600; }
.biz { display: grid; grid-template-columns: repeat(4, auto); gap: 20px 40px; justify-content: end; }
.biz dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8b8d96; margin-bottom: 4px; }
.biz dd { color: #c9cad1; }
.biz a:hover { color: #d4ef3a; }
.legal .copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #1f2025; font-size: 12px; color: #8b8d96; }

.partners { padding: 0 0 128px; overflow: hidden; }
.partners .eyebrow, .partners h2 { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 0 clamp(20px, 4vw, 48px); }
.partners .eyebrow { margin-bottom: 24px; }
.partners h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin-bottom: 56px; }
.marquee {
  display: flex; overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { border-bottom: 1px solid var(--line); }
.marquee .track { display: flex; flex: none; align-items: center; animation: marquee 70s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 30px; white-space: nowrap;
  font-size: 19px; font-weight: 600; letter-spacing: -.02em; --tone: #6b6e78; color: var(--tone); transition: color .25s;
}
.logo:hover { --tone: var(--c); }
.logo i { width: 24px; height: 24px; flex: none; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.logo b {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 7px;
  background: var(--tone); color: #fff; font-size: 14px; font-weight: 700; transition: background .25s;
}

.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 48px; }
.contact-actions .mail { margin-top: 0; font-size: clamp(18px, 2.2vw, 26px); }
.cta {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  padding: 18px 28px; border-radius: 999px; background: #d4ef3a; color: #111214;
  font: 600 17px/1 var(--sans, Inter, sans-serif); letter-spacing: -.01em;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(212,239,58,.7); }
.cta span { transition: transform .2s; }
.cta:hover span { transform: translateX(3px); }
.cta:disabled { opacity: .6; cursor: progress; transform: none; }

.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px;
  border: 0; border-radius: 999px; cursor: pointer; background: #111214; color: #fff;
  font: 600 14px/1 Inter, sans-serif; box-shadow: 0 18px 40px -14px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .2s;
}
.fab:hover { transform: translateY(-2px); }
.fab-dot { width: 8px; height: 8px; border-radius: 50%; background: #d4ef3a; box-shadow: 0 0 0 0 rgba(212,239,58,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212,239,58,0); } 100% { box-shadow: 0 0 0 0 rgba(212,239,58,0); } }
.modal-open { overflow: hidden; }

.inquiry {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto;
  padding: 0; border: 0; border-radius: 24px; background: var(--paper, #fafaf7); color: var(--ink);
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.5);
}
.inquiry::backdrop { background: rgba(10,11,14,.6); backdrop-filter: blur(6px); }
.inquiry[open] { animation: rise .35s cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.inquiry-form { position: relative; padding: 40px; }
.inquiry-close { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; color: var(--muted); cursor: pointer; }
.inquiry-close:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.inquiry .eyebrow { margin-bottom: 12px; }
.inquiry h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.inquiry-sub { margin: 10px 0 28px; color: var(--muted); font-size: 15px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 500; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  font: 400 15px/1.4 Inter, sans-serif; color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: #111214; box-shadow: 0 0 0 4px rgba(212,239,58,.45); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; transition: all .15s; }
.chips label:hover span { border-color: #111214; }
.chips input:checked + span { background: #111214; border-color: #111214; color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(212,239,58,.45); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-error { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #b42318; font-size: 14px; }
.inquiry .submit { width: 100%; justify-content: center; background: #111214; color: #fff; margin-top: 6px; }
.inquiry .submit:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.inquiry-done { text-align: center; padding: 32px 0 8px; }
.inquiry-done .done-mark { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: #d4ef3a; font-size: 28px; font-weight: 700; }
.inquiry-done .inquiry-sub { margin-bottom: 24px; }
.inquiry-done .cta { background: #111214; color: #fff; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(8,9,12,.92); padding: 4vw; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.lightbox button { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .index { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .legal { grid-template-columns: 1fr; }
  .biz { grid-template-columns: repeat(2, 1fr); }
  .project-body { grid-template-columns: 1fr; gap: 32px; }
  .gallery.fav-grid { grid-template-columns: 1fr; }
  .gallery.fav-grid .phone { width: 100%; max-width: 300px; justify-self: center; }
  .live { position: static; display: inline-block; margin-top: 20px; }
  .slider-tabs { grid-template-columns: repeat(4, 1fr); }
  .slider-tabs small { display: none; }
  .slider-arrow { opacity: 1; width: 40px; height: 40px; }
  .gallery.phones.four { grid-template-columns: repeat(2, minmax(0, 260px)); }
  .slider-tabs[style*="--cols"] { grid-template-columns: repeat(5, 1fr); }
  .engine ol { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .engine li:nth-child(3) { padding-left: 0; border-left: 0; }
  .engine li:nth-child(2)::after { display: none; }
  .split { grid-template-columns: 1fr; }
  .split .gallery.phones { justify-content: center; }
}
@media (max-width: 640px) {
  .topbar nav a:not(.pill) { display: none; }
  .index, .gallery.fav-grid { grid-template-columns: 1fr; }
  .slider-arrow { top: auto; bottom: 10px; translate: none; width: 32px; height: 32px; font-size: 14px; }
  .slider-arrow.prev { left: auto; right: 50px; }
  .slider-arrow.next { right: 10px; }
  .slider-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .slider-tabs button { flex: 0 0 auto; scroll-snap-align: start; }
  .gallery.phones, .gallery.phones.four { grid-template-columns: repeat(var(--n, 3), 72vw); overflow-x: auto; justify-content: start; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .gallery.phones .phone { scroll-snap-align: center; }
  .split .gallery.phones { grid-template-columns: repeat(3, 62vw); justify-content: start; }
  .gallery.phone-rail { grid-auto-columns: 62vw; }
  .engine { padding: 24px 20px; }
  .engine ol { grid-template-columns: 1fr; }
  .engine li, .engine li:nth-child(3) { padding: 0; border-left: 0; }
  .engine li::after { display: none; }
  .biz { grid-template-columns: 1fr; }
  .fab { right: 16px; bottom: 16px; padding: 12px 16px 12px 14px; font-size: 13px; }
  .inquiry-form { padding: 32px 20px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .logo { font-size: 16px; padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee .track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
