/* =========================================================
   Propet Print — 2026 redesign
   ========================================================= */
:root {
  --paper: #F5F3EE;
  --paper-2: #ECE8DF;
  --ink: #0E0E10;
  --ink-2: #2A2A2E;
  --muted: #6B6A66;
  --line: rgba(14, 14, 16, .12);

  --c: #00A8E8;   /* cyan    */
  --m: #FF2E63;   /* magenta */
  --y: #FFD60A;   /* yellow  */
  --o: #FF7A00;   /* orange  */

  --grad: linear-gradient(100deg, var(--o) 0%, var(--m) 40%, var(--c) 100%);
  --grad-warm: linear-gradient(120deg, var(--y), var(--o) 45%, var(--m));

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(14, 14, 16, .25);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--m); color: #fff; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }

/* ---------- Utilities ---------- */
.ink {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--c { background: var(--c); } .dot--m { background: var(--m); }
.dot--y { background: var(--y); } .dot--k { background: var(--ink); margin-right: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 16px 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { --pad: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary {
  color: #fff;
  background: var(--grad) 0 0 / 200% 100%;
  box-shadow: 0 12px 30px -10px rgba(255, 46, 99, .6);
  transition: background-position .6s var(--ease), transform .3s var(--ease), box-shadow .3s;
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 36px -10px rgba(0, 168, 232, .55); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--m); }
.btn--ghost { border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(245, 243, 238, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 46px; width: auto; mix-blend-mode: multiply; }
.nav__menu { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav__menu a { position: relative; padding: 6px 0; }
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
.nav__phone-mobile { display: none; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-weight: 700; font-size: 15px; }
.nav__phone:hover { color: var(--m); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 90px;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s ease-in-out infinite; }
.blob--c { width: 460px; height: 460px; background: var(--c); top: -120px; right: 8%; }
.blob--m { width: 380px; height: 380px; background: var(--m); bottom: -80px; right: 32%; animation-delay: -6s; }
.blob--y { width: 420px; height: 420px; background: var(--y); top: 30%; left: -160px; animation-delay: -12s; opacity: .6; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(.95); }
}
.hero::after { /* subtle halftone grain */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(14,14,16,.08) 1px, transparent 1.2px);
  background-size: 16px 16px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero__title { font-size: clamp(36px, 5.2vw, 78px); font-weight: 800; margin-bottom: 26px; }
.hero__rotator { font-size: clamp(18px, 2vw, 24px); font-weight: 600; display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin-bottom: 18px; }
.hero__rotator-label { color: var(--muted); }
.rotator {
  font-family: var(--font-display); font-weight: 700;
  padding: 2px 14px; border-radius: 10px;
  background: var(--ink); color: var(--y);
  min-width: 2ch;
}
.rotator::after { content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 4px; background: currentColor; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { font-size: 19px; color: var(--ink-2); max-width: 520px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius); overflow: visible;
  transform: rotate(2deg);
  transition: transform .8s var(--ease);
}
.hero__visual:hover .hero__frame { transform: rotate(0); }
.hero__frame img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
.crop { position: absolute; width: 26px; height: 26px; border: 0 solid var(--ink); }
.crop--tl { top: -14px; left: -14px; border-top-width: 2px; border-left-width: 2px; }
.crop--tr { top: -14px; right: -14px; border-top-width: 2px; border-right-width: 2px; }
.crop--bl { bottom: -14px; left: -14px; border-bottom-width: 2px; border-left-width: 2px; }
.crop--br { bottom: -14px; right: -14px; border-bottom-width: 2px; border-right-width: 2px; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.chip b { font-family: var(--font-display); font-weight: 700; }
.chip--1 { left: -36px; bottom: 34px; }
.chip--2 { right: -18px; top: -26px; animation-delay: -3s; background: var(--ink); color: #fff; }
.swatches { display: inline-flex; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; margin-left: -5px; border: 2px solid var(--ink); }
.swatches i:nth-child(1) { background: var(--c); margin-left: 0; }
.swatches i:nth-child(2) { background: var(--m); }
.swatches i:nth-child(3) { background: var(--y); }
.swatches i:nth-child(4) { background: #fff; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.reg-mark { position: absolute; width: 40px; right: 18%; bottom: -54px; fill: none; stroke: var(--ink); stroke-width: 1.5; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: #fff;
  overflow: hidden; padding: 22px 0;
  transform: rotate(-1.5deg) scale(1.03);
  margin: -10px 0 0;
  position: relative; z-index: 2;
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 34px);
  padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee span::after { content: "✦"; font-size: .7em; color: var(--y); margin-left: 28px; }
.marquee span:nth-child(3n+1)::after { color: var(--m); }
.marquee span:nth-child(3n+2)::after { color: var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--dark { background: var(--ink); color: #EDEBE6; }
.section--dark .eyebrow { color: #9C9A94; }
.section--tint { background: var(--paper-2); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.section__title { font-size: clamp(32px, 4.4vw, 58px); font-weight: 800; margin-bottom: 18px; }
.section__lead { font-size: 19px; color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 30px 34px;
  border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  clip-path: circle(0% at var(--mx, 90%) var(--my, 10%));
  transition: clip-path .7s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: #fff; }
.service:hover::before { clip-path: circle(150% at var(--mx, 90%) var(--my, 10%)); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 46px; }
.service__num { font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid currentColor; }
.service__icon { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease), stroke .4s; }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.1); stroke: var(--y); }
.service:nth-child(3n+2):hover .service__icon { stroke: var(--c); }
.service:nth-child(3n):hover .service__icon { stroke: var(--m); }
.service h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.service p { color: var(--muted); margin: 0; transition: color .4s; }
.service:hover p { color: #BDBAB3; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius);
  background: var(--grad-warm); z-index: 0;
}
.about__media img { position: relative; z-index: 1; }
.about__badge {
  position: absolute; z-index: 2; right: -28px; bottom: 40px;
  background: var(--y); color: var(--ink);
  padding: 20px 24px; border-radius: 18px; max-width: 230px;
  font-size: 15px; line-height: 1.3; transform: rotate(-4deg);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
}
.about__badge b { display: block; font-family: var(--font-display); font-size: 19px; }
.about__text > p { color: #BDBAB3; font-size: 18px; }
.features { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.features li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm);
  color: #9C9A94; font-size: 15px;
  transition: border-color .3s, background-color .3s;
}
.features li:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.03); }
.features b { display: block; color: #fff; font-size: 17px; margin-bottom: 2px; }
.features__ico { color: var(--y); font-size: 18px; line-height: 1.4; }
.features li:nth-child(2) .features__ico { color: var(--c); }
.features li:nth-child(3) .features__ico { color: var(--m); }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; background: #fff; border-radius: 999px; border: 1px solid var(--line); }
.filter {
  border: 0; background: transparent; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: background-color .3s, color .3s;
}
.filter:hover { background: var(--paper-2); }
.filter.is-active { background: var(--ink); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.work {
  margin: 0; position: relative; overflow: hidden; border-radius: 18px; cursor: zoom-in;
  aspect-ratio: 1; background: var(--paper-2);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.work:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; }
.work figcaption {
  position: absolute; inset: auto 12px 12px 12px;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(14,14,16,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 14px; line-height: 1.3;
  transform: translateY(calc(100% + 16px)); transition: transform .5s var(--ease);
}
.work figcaption b { display: block; font-family: var(--font-display); font-size: 15px; color: var(--y); }
.work:hover img { transform: scale(1.08); }
.work:hover figcaption, .work:focus-visible figcaption { transform: none; }
.work.is-hidden { display: none; }
.work.is-entering { opacity: 0; transform: scale(.94); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.step__n {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff;
  background: var(--ink); margin-bottom: 26px;
}
.step:nth-child(1) .step__n { background: var(--c); }
.step:nth-child(2) .step__n { background: var(--m); }
.step:nth-child(3) .step__n { background: var(--y); color: var(--ink); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 55px; right: -20px; width: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px);
}

/* ---------- Contact ---------- */
.contact { overflow: hidden; isolation: isolate; }
.hero__blobs--dim .blob { opacity: .28; }
.hero__blobs--dim .blob--m { bottom: auto; top: -100px; right: -100px; }
.hero__blobs--dim .blob--c { top: auto; bottom: 10%; right: auto; left: -160px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 56px; }
.contact__list { display: grid; gap: 12px; margin-top: 34px; }
.contact__item {
  display: block; padding: 20px 22px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  transition: border-color .3s, transform .3s var(--ease), background-color .3s;
}
.contact__item:hover { border-color: var(--y); transform: translateX(6px); background: rgba(255,255,255,.03); }
.contact__item span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8E8C86; margin-bottom: 4px; }
.contact__item b { font-size: 18px; color: #fff; font-weight: 600; }

.form {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius); padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.form__title { font-size: 26px; margin-bottom: 6px; }
.form__sub { color: var(--muted); margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 24px 16px 10px; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 130px; }
.field span {
  position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none;
  transition: transform .25s var(--ease), font-size .25s, color .25s, top .25s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 46, 99, .15); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 7px; font-size: 12px; color: var(--m); font-weight: 600; }
.hidden-field { position: absolute; left: -9999px; }
.form .btn { margin-top: 6px; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; height: 380px; border: 1px solid rgba(255,255,255,.12); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); transition: filter .6s; }
.map:hover iframe { filter: none; }
.map__btn { position: absolute; left: 20px; bottom: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #8E8C86; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; padding: 26px 0; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer a { color: #fff; font-weight: 700; }
.footer a:hover { color: var(--y); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,12,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 40px 70px;
  animation: fade .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; color: #fff; }
.lightbox img { max-height: 80vh; max-width: min(1000px, 100%); border-radius: 16px; margin: 0 auto 14px; animation: pop .4s var(--ease); }
.lightbox figcaption { font-weight: 600; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; line-height: 1; transition: background-color .3s; }
.lightbox button:hover { background: var(--m); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 16px; top: 50%; translate: 0 -50%; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.95); } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 16px 24px; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .4s, visibility .4s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast.is-error { background: var(--m); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__phone { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .burger { display: block; }
  .nav__actions .btn { display: none; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 0;
    background: var(--paper); padding: 10px 20px 24px; margin: 0;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.25);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a { font-family: var(--font-display); font-size: 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__menu a::after { display: none; }
  .nav__phone-mobile { display: block; color: var(--m); font-size: 18px !important; border-bottom: 0 !important; }
  .nav.menu-open { background: var(--paper); }
  .nav__inner { justify-content: space-between; }
  .nav__actions { margin-left: auto; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero__grid, .about, .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .about__media { max-width: 520px; }
  .about__media img { aspect-ratio: 4/3; }
  .about__badge { right: -6px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .services, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .work:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 1; }
  .work figcaption { display: none; }
  .filters { border-radius: 18px; }
  .filter { padding: 8px 14px; font-size: 14px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .chip--1 { left: 8px; bottom: -22px; }
  .chip--2 { right: 8px; top: -22px; }
  .chip { font-size: 12px; padding: 10px 14px; }
  .about__media::before { inset: 12px -10px -12px 10px; }
  .about__badge { right: 8px; bottom: -24px; }
  .lightbox { padding: 70px 12px; }
  .lightbox__nav { top: auto !important; bottom: 20px; translate: none !important; }
  .map { height: 300px; }
  .hero__cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
