/* =====================================================================
   LdP23 — Premium Photography Portfolio
   "Dark gallery" — moody, warm, image-first. Prints on a black wall.
   ===================================================================== */

:root {
  /* Palette — warm near-black canvas */
  --bg:      #14110e;   /* dominant surface */
  --bg-2:    #1c1815;   /* alt section (slightly lifted) */
  --bg-3:    #0d0b09;   /* deepest — footer / dark bands */
  --text:    #e7ddcf;   /* warm off-white body */
  --head:    #f3ece0;   /* headings */
  --muted:   #9c9287;   /* warm grey */
  --line:    rgba(231,221,207,.13);
  --line-2:  rgba(231,221,207,.22);
  --bronze:  #c0935e;
  --gold:    #d6ad72;
  --sand:    #ccb89c;

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Film-grain overlay — kills digital flatness */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--head);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin: 0 0 20px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 17px 36px;
  border: 1px solid var(--line-2);
  color: var(--text);
  background: transparent;
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--bronze); color: #12100d; border-color: var(--bronze); }
.btn--light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--light:hover, .btn--light:focus-visible { background: var(--bronze); color: #12100d; border-color: var(--bronze); }
.btn--solid { background: var(--bronze); color: #12100d; border-color: var(--bronze); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--gold); border-color: var(--gold); }

/* ---------- Focus visibility (a11y) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, .shot:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
  color: #fff;
}
.site-header .container { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled,
.site-header.solid {
  background: rgba(15,13,11,.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 1px 0 var(--line);
  color: var(--text);
}
.brand {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #fff;
}
.brand span { color: var(--bronze); }

/* Nav */
.nav { display: flex; align-items: center; gap: 34px; }
.nav-list { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 6px 0;
  position: relative;
  color: inherit;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--bronze);
  transition: width .5s var(--ease);
}
.nav-list a:hover::after, .nav-list a:focus-visible::after,
.nav-list a[aria-current="page"]::after { width: 100%; }

/* Dropdown */
/* invisible hover bridge so the cursor can cross from link to submenu */
.has-sub::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 22px;
  opacity: 0; visibility: hidden;
}
.has-sub:hover::after, .has-sub:focus-within::after { opacity: 1; visibility: visible; }
.has-sub > .sub {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(20,17,14,.96);
  backdrop-filter: blur(10px);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 14px 8px; min-width: 190px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.sub li a { display: block; padding: 9px 22px; letter-spacing: 0.14em; color: var(--text); }
.sub li a::after { display: none; }
.sub li a:hover { color: var(--bronze); }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 30px; height: 22px; background: none; border: 0; padding: 0; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 0; height: 1.6px; width: 100%; background: currentColor; transition: transform .4s var(--ease), opacity .25s var(--ease); }
.nav-toggle span:nth-child(1){ top: 2px; }
.nav-toggle span:nth-child(2){ top: 10px; }
.nav-toggle span:nth-child(3){ top: 18px; }
body.nav-open .nav-toggle span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: brightness(.74) contrast(1.06) saturate(1.05);
  transform: scale(1.04);
  animation: heroDrift 18s ease-out forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
/* vignette + warm wash */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 38%, transparent 30%, rgba(8,6,4,.55) 100%),
    linear-gradient(180deg, rgba(10,8,6,.55) 0%, rgba(10,8,6,.18) 40%, rgba(10,8,6,.78) 100%),
    linear-gradient(120deg, rgba(120,80,40,.16), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding: 0 var(--gutter); max-width: 900px; animation: rise 1.6s var(--ease) both .2s; }
.hero__name {
  font-size: clamp(3.8rem, 12vw, 9.5rem);
  font-weight: 500; letter-spacing: 0.04em; color: #fff; line-height: .94;
  text-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.hero__tag {
  margin-top: 24px; font-family: var(--font-body);
  font-size: clamp(13px, 2.4vw, 16px); letter-spacing: 0.5em;
  text-transform: uppercase; color: rgba(245,235,222,.82); font-weight: 300;
}
.hero__cta { margin-top: 48px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.scroll-cue {
  position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(245,235,222,.65);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue::after { content:""; width: 1px; height: 46px; background: linear-gradient(var(--bronze), transparent); animation: cue 2.6s var(--ease) infinite; }
@keyframes cue { 0%,100%{ transform: scaleY(.35); opacity:.35; transform-origin: top; } 50%{ transform: scaleY(1); opacity:1; } }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(76px, 11vw, 160px) 0; background: var(--bg); }
/* offset so the fixed header never covers a section heading on anchor jumps */
section[id], .hero[id] { scroll-margin-top: var(--header-h); }
.section--tight { padding: clamp(60px, 8vw, 110px) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--bg-3); }
.section-head { max-width: 660px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.section-head p { color: var(--muted); margin: 22px 0 0; font-size: 1.06rem; font-weight: 300; }

/* ---------- Image grade (warm, moody) ---------- */
.feature img, .cat-card img, .gallery .shot img,
.about-portrait img, .page-hero__img, .related-grid .cat-card img {
  filter: saturate(1.05) contrast(1.05) brightness(.96);
}

/* ---------- Featured ---------- */
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 34px); align-items: start; }
.feature { position: relative; isolation: isolate; }
/* offset bronze frame peeking from behind the photo (matches About portrait) */
.feature::after {
  content:""; position:absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--bronze); opacity: .55; z-index: -1; pointer-events: none;
}
.feature__media {
  position: relative; display: block; overflow: hidden; background: var(--bg-3);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.9);
}
.feature__media::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 120px rgba(0,0,0,.4); pointer-events:none; }
/* show each photo at its true aspect ratio — no cropping */
.feature__media img { display: block; width: 100%; height: auto; transition: transform 1.5s var(--ease), filter 1s; }
.feature:hover .feature__media img { transform: scale(1.04); filter: saturate(1.1) contrast(1.06) brightness(1.02); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.cat-card { position: relative; overflow: hidden; aspect-ratio: 3/4; display: block; background: var(--bg-3); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease), opacity .8s, filter .8s; opacity: .82; }
.cat-card:hover img { transform: scale(1.08); opacity: .55; }
.cat-card::after { content:""; position:absolute; inset:0; box-shadow: inset 0 -80px 120px -40px rgba(0,0,0,.8); pointer-events:none; }
.cat-card__label {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; gap: 6px; padding: 12px;
}
.cat-card__label .n { font-size: 11px; letter-spacing: 0.34em; color: var(--sand); }
.cat-card__label .t { font-family: var(--font-head); font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 500; text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.cat-card__label .v {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand);
  margin-top: 8px; opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.cat-card:hover .cat-card__label .v { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-portrait { position: relative; isolation: isolate; }
.about-portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 50px 90px -50px rgba(0,0,0,.9); }
.about-portrait::after { content:""; position:absolute; inset: 16px -16px -16px 16px; border:1px solid var(--bronze); opacity:.6; z-index:-1; }
.about-body h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 28px; }
.about-body p { color: var(--muted); margin: 0 0 20px; font-weight: 300; }
.about-body .lead { color: var(--sand); font-size: 1.3rem; font-family: var(--font-head); font-style: italic; line-height: 1.5; }
/* About signature — matches the hero / footer tagline treatment */
.about-body .signature { margin-top: 22px; font-size: .85rem; text-transform: uppercase; letter-spacing: 0.28em; font-weight: 300; color: var(--sand); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  background: var(--bg-3); padding: clamp(32px, 4vw, 52px);
  display: flex; flex-direction: column; gap: 14px; min-height: 248px;
  transition: background .5s var(--ease);
}
.service:hover { background: #221d18; }
.service .num { font-size: 12px; letter-spacing: 0.22em; color: var(--bronze); }
.service h3 { font-size: 1.55rem; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; flex: 1; font-weight: 300; }
.service .more { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand); display: inline-flex; align-items: center; gap: 8px; }
.service .more::after { content: "→"; transition: transform .4s var(--ease); }
.service:hover .more::after { transform: translateX(7px); }

/* ---------- Instagram ---------- */
.insta { text-align: center; }
.insta h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.insta .handle { color: var(--bronze); font-style: italic; font-family: var(--font-head); font-size: 1.5rem; margin: 18px 0 32px; }

/* ---------- Contact CTA band ---------- */
.cta-band { text-align: center; position: relative; }
.cta-band h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 36px; font-weight: 300; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; min-height: 66svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: brightness(.7) contrast(1.06) saturate(1.05); }
.page-hero::after {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(120% 100% at 50% 30%, transparent 35%, rgba(8,6,4,.5) 100%),
    linear-gradient(180deg, rgba(10,8,6,.2), rgba(10,8,6,.82));
}
.page-hero__inner { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 84px); }
.page-hero h1 { color:#fff; font-size: clamp(2.8rem, 8vw, 6.2rem); font-weight: 500; text-shadow: 0 20px 60px rgba(0,0,0,.5); }
.page-hero .crumb { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.page-hero .crumb a:hover { color:#fff; }
.page-intro { max-width: 720px; }
.page-intro p { color: var(--muted); font-size: 1.18rem; font-weight: 300; }

/* ---------- Masonry gallery ---------- */
.gallery { column-count: 3; column-gap: clamp(14px, 1.8vw, 24px); }
.gallery .shot {
  break-inside: avoid; margin-bottom: clamp(14px, 1.8vw, 24px);
  position: relative; overflow: hidden; cursor: zoom-in; background: var(--bg-3);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.9);
}
.gallery .shot img { width: 100%; transition: transform 1.5s var(--ease), filter 1s; }
.gallery .shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 45%, transparent 52%, rgba(6,4,3,.5) 100%);
  transition: background .6s var(--ease);
}
.gallery .shot:hover img { transform: scale(1.06); filter: saturate(1.12) contrast(1.06) brightness(1.03); }
.gallery .shot:hover::after { background: radial-gradient(120% 120% at 50% 45%, rgba(0,0,0,.05) 40%, rgba(6,4,3,.3) 100%); }
.gallery .shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 36px 20px 18px; color: #fff; font-size: 12px; letter-spacing: 0.06em;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery .shot:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Related ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px,1.6vw,22px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,6,5,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: min(92vw, 1500px); max-height: 84vh; object-fit: contain; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); transition: opacity .3s ease; }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(235,225,210,.78); font-size: 13px; letter-spacing: 0.06em; padding: 0 20px; }
.lightbox__count { position: absolute; top: 24px; left: 28px; color: rgba(235,225,210,.55); font-size: 12px; letter-spacing: 0.22em; }
.lb-btn { position: absolute; background: none; border: 0; color: #fff; opacity: .75; transition: opacity .3s, transform .3s; width: 56px; height: 56px; }
.lb-btn:hover { opacity: 1; color: var(--sand); }
.lb-close { top: 16px; right: 20px; font-size: 30px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 42px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-4px); }
.lb-next:hover { transform: translateY(-50%) translateX(4px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-3); color: var(--muted); padding: clamp(60px, 8vw, 92px) 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { font-size: 30px; }
.footer-brand p { margin: 16px 0 0; max-width: 330px; font-size: .95rem; font-weight: 300; }
/* footer motto — matches the hero tagline treatment, on its own line */
.footer-brand .tagline {
  margin: 18px 0 10px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 300;
  color: var(--sand);
}
.footer-col h4 { color: var(--head); font-family: var(--font-body); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .95rem; color: var(--muted); transition: color .35s; }
.footer-col a:hover { color: var(--bronze); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-size: 12px; letter-spacing: 0.04em; color: rgba(160,150,138,.7); flex-wrap: wrap; }

/* ---------- Reveal on scroll (slow, moody) ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 92px); }
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 24px; }
.contact-info p { color: var(--muted); font-weight: 300; }
.info-list { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-direction: column; gap: 24px; }
.info-list li { display: flex; flex-direction: column; gap: 4px; }
.info-list .k { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze); }
.info-list .val { font-size: 1.12rem; color: var(--text); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 12px 2px; transition: border-color .4s var(--ease);
}
.field select option { background: var(--bg-2); color: var(--text); }
.field input::placeholder { color: rgba(156,146,135,.6); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--bronze); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { grid-column: 1/-1; font-size: 13px; color: var(--muted); }
.form-note a { color: var(--bronze); }
.form-success { grid-column: 1/-1; display: none; padding: 16px 20px; background: rgba(192,147,94,.12); border-left: 3px solid var(--bronze); color: var(--text); font-size: .98rem; }
.form-success.show { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { column-count: 2; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; z-index: 120; color: #fff; }
  .site-header.scrolled .nav-toggle { color: var(--text); }
  .nav {
    position: fixed; inset: 0; background: rgba(13,11,9,.97);
    backdrop-filter: blur(8px);
    color: var(--text); flex-direction: column; justify-content: center; gap: 0;
    transform: translateX(100%); transition: transform .6s var(--ease); z-index: 110;
  }
  body.nav-open .nav { transform: none; }
  .nav-list { flex-direction: column; gap: 4px; text-align: center; }
  .nav-list a { color: var(--text); font-size: 15px; padding: 12px; letter-spacing: 0.18em; }
  .has-sub > .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; min-width: 0; margin: 0; padding: 0 0 10px; backdrop-filter: none; }
  .sub li a { color: var(--muted); padding: 7px; font-size: 13px; }
  .about-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-portrait { max-width: 440px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .featured-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery { column-count: 1; }
  .form { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none; }
}
