/* Nannan Cai Fotografie — rebuild
   Palette: near-black bg, warm-white text, champagne accent.
   Font: Oswald (variable, self-hosted). */

@import url('assets/fonts/fonts.css');

:root {
  --bg: #0c0c0d;
  --bg-2: #141416;
  --panel: #1a1a1d;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --fg: #f2efe9;
  --fg-dim: rgba(242, 239, 233, 0.62);
  --fg-faint: rgba(242, 239, 233, 0.38);
  --accent: #d8b98a;
  --accent-dim: rgba(216, 185, 138, 0.55);
  --radius: 4px;
  --maxw: 1240px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #111; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

/* ===================== header / nav ===================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 12, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img { height: 40px; width: auto; }
.brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name .dot { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); }
.nav-link {
  position: relative;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 42px; height: 38px;
  cursor: pointer;
  color: var(--fg);
  font-size: 18px;
}

/* language switcher */
.lang-switch {
  position: relative;
  margin-left: auto;
  margin-right: clamp(14px, 2.6vw, 34px);
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--fg-dim);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.lang-current::after {
  content: '▾';
  font-size: 9px;
  color: var(--fg-faint);
}
.lang-current:hover { color: var(--fg); border-color: var(--accent-dim); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 150px;
  background: rgba(12, 12, 13, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 200;
}
.lang-switch.is-open .lang-menu { display: flex; }
.lang-menu button {
  background: none;
  border: none;
  border-radius: 3px;
  color: var(--fg-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 9px 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.06); color: var(--fg); }
.lang-menu button.is-active { color: var(--accent); }

/* ===================== hero ===================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: contain;
  /* non-active slides hold the zoomed scale so the outgoing
     image doesn't snap back to 1.0 while fading out */
  transform: scale(1.1);
}
.hero-slide.is-active img {
  animation: heroZoom 6s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,12,13,0.95) 0%, rgba(12,12,13,0.45) 42%, rgba(12,12,13,0.25) 70%, rgba(12,12,13,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: var(--nav-h); }
.hero-kicker {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-title .thin { font-weight: 200; color: rgba(242,239,233,0.82); }
.hero-sub {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--fg-dim);
}
.hero-cta {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.btn:hover { background: var(--accent); color: #111; transform: translateY(-2px); }
.btn.btn-ghost { border-color: var(--line-strong); }
.btn.btn-ghost:hover { background: var(--fg); border-color: var(--fg); color: #111; }

.hero-dots {
  position: absolute;
  right: clamp(18px, 4vw, 40px);
  bottom: 42px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 34px; height: 3px;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dot.is-active { background: var(--accent); }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-faint);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* ===================== sections ===================== */
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(34px, 5vw, 60px); }
.section-kicker {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-kicker::before {
  content: '';
  width: 34px; height: 1px;
  background: var(--accent-dim);
}
.section-title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}
.section-title .thin { font-weight: 200; color: var(--fg-dim); }
.section-intro {
  margin-top: 16px;
  max-width: 640px;
  color: var(--fg-dim);
  font-size: clamp(15px, 1.5vw, 17px);
}

/* ===================== about ===================== */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.about-copy p { color: var(--fg-dim); margin-bottom: 18px; font-size: 16px; }
.about-copy p strong { color: var(--fg); font-weight: 500; }
.about-services {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
}
.about-services li {
  list-style: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  padding-left: 18px;
  position: relative;
}
.about-services li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 1px;
  background: var(--accent);
}
.about-photo { position: relative; }
.about-photo .frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.about-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-photo:hover img { transform: scale(1.05); }
.about-photo .corner {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(216, 185, 138, 0.4);
  border-radius: 2px;
  pointer-events: none;
}
.about-badge {
  position: absolute;
  left: -18px; bottom: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px 22px;
  border-radius: var(--radius);
}
.about-badge .big { font-size: 26px; font-weight: 600; color: var(--accent); line-height: 1; }
.about-badge .small { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-faint); margin-top: 6px; }

/* ===================== gallery ===================== */
.gallery { background: var(--bg-2); }
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.gallery-count {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.gallery-count b { color: var(--accent); font-weight: 500; }

.triptychs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(26px, 4vw, 52px) clamp(22px, 3.4vw, 44px);
}
.triptych {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.triptych:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.75);
}
.triptych-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2px 4px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.triptych-no {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.triptych-no::before {
  content: 'N°';
  font-weight: 300;
  color: var(--fg-faint);
  margin-right: 5px;
  font-size: 12px;
}
.triptych-title {
  font-family: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  text-align: right;
  line-height: 1.25;
  margin-left: 12px;
}
.triptych-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.triptych-row .cell {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3/4;
  background: #000;
  cursor: zoom-in;
}
.triptych-row .cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.6s;
  opacity: 0;
}
.triptych-row .cell img.is-loaded { opacity: 1; }
.triptych-row .cell:hover img { transform: scale(1.07); }
.triptych-row .cell::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(12, 12, 13, 0.0);
  transition: background 0.4s;
  pointer-events: none;
}
.triptych-row .cell:hover::after { background: rgba(12, 12, 13, 0.18); }

.gallery-foot {
  margin-top: clamp(34px, 5vw, 56px);
  text-align: center;
}
.gallery-foot p { color: var(--fg-faint); font-size: 14px; letter-spacing: 0.08em; margin-bottom: 18px; }

/* ===================== contact ===================== */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.contact-list { list-style: none; margin-top: 26px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .ico {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 16px;
}
.contact-list .lbl { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-faint); }
.contact-list a, .contact-list .val { font-size: 17px; font-weight: 400; letter-spacing: 0.04em; }
.contact-list a { border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
.contact-list a:hover { color: var(--accent); border-color: var(--accent-dim); }
.contact-note { margin-top: 24px; color: var(--fg-faint); font-size: 14px; max-width: 420px; }

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
}
.contact-card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-card p { color: var(--fg-dim); font-size: 14.5px; margin-bottom: 22px; }
.contact-card .btn { width: 100%; text-align: center; }

/* ===================== contact form ===================== */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .f-field { display: block; }
.contact-form .f-field > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 8px;
}
.contact-form .f-field > span em { color: var(--accent); font-style: normal; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: border-color 0.25s, background 0.25s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--fg-faint); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
}
.contact-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { margin-top: 4px; }
.form-status { margin-top: 2px; font-size: 14px; line-height: 1.5; min-height: 1.2em; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-err { color: #d98b8b; }
@media (max-width: 520px) {
  .contact-form .f-row { grid-template-columns: 1fr; }
}

/* ===================== links ===================== */
.links-page { background: var(--bg-2); }
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.link-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.link-card:hover { transform: translateY(-5px); border-color: var(--accent-dim); }
.link-card .ico {
  width: 46px; height: 46px;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 20px;
}
.link-card .t { font-size: 17px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.link-card .d { font-size: 13.5px; color: var(--fg-faint); }

/* ===================== legal pages ===================== */
.legal-page { background: var(--bg); }
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 42px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 28px 0 10px;
  color: var(--fg);
}
.legal p, .legal li { color: var(--fg-dim); font-size: 15px; margin-bottom: 14px; }
.legal ul { list-style: none; margin-bottom: 14px; }
.legal ul li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.legal ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent-dim); }
.legal a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); word-break: break-all; }
.legal .addr { line-height: 1.7; }
.legal .upper { text-transform: uppercase; }

/* ===================== footer ===================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 40px 0 30px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 32px; }
.footer-brand span { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-faint); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); transition: color 0.25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-legal { display: inline-flex; align-items: center; gap: 16px; padding-left: 20px; margin-left: 4px; border-left: 1px solid var(--line); }
.footer-legal a { color: var(--fg-faint); }
.footer-legal a:hover { color: var(--accent); }
.footer-copy { width: 100%; text-align: center; margin-top: 26px; font-size: 12px; color: var(--fg-faint); letter-spacing: 0.06em; }



/* ===================== lightbox ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 9, 0.96);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox.is-open { display: flex; }
.lb-stage {
  position: relative;
  max-width: min(92vw, 1500px);
  max-height: 78vh;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.9);
  animation: lbIn 0.35s var(--ease);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.lb-caption {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  text-align: center;
}
.lb-caption b { color: var(--accent); font-weight: 500; }
.lb-btn {
  position: absolute;
  background: rgba(20, 20, 22, 0.7);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  z-index: 5;
}
.lb-btn:hover { background: var(--accent); color: #111; border-color: var(--accent); transform: scale(1.06); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* ===================== reveal on scroll ===================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* ?still=1 → deterministic capture (no animation) */
html.still .reveal,
html.still .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ===================== responsive ===================== */
@media (max-width: 1024px) {
  .triptychs { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .links-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(12, 12, 13, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px clamp(18px, 5vw, 40px) 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0.3s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav .nav-link { padding: 13px 0; font-size: 14px; width: 100%; border-bottom: 1px solid var(--line); }
  .links-grid { grid-template-columns: 1fr; }
  .about-services { grid-template-columns: 1fr; }
  .about-badge { left: 12px; bottom: 12px; }
  .hero-dots { bottom: 30px; }
  .hero-scroll { display: none; }
  .lb-prev, .lb-next { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
