/* ============================================================
   So Modelesque — Photography Portfolio (v2)
   Granite gray base, amber + steel-blue accents.
   Plain CSS. No frameworks. No purple.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Granite gray scale (warm-neutral dark grays) */
  --g-950: #101113;   /* deepest bg            */
  --g-900: #141618;   /* page background       */
  --g-850: #191b1e;   /* alt sections          */
  --g-800: #1f2226;   /* cards                 */
  --g-700: #2a2e33;   /* elevated / inputs     */
  --g-600: #3a3f45;   /* borders strong        */

  /* Text (warm off-white) */
  --t-100: #eceae5;   /* headings              */
  --t-300: #b7b4ad;   /* body                  */
  --t-500: #8a877f;   /* muted                 */
  --t-700: #5f5d57;   /* faint                 */

  /* Accents — used sparingly */
  --amber:      #e0a43f;   /* warm highlight        */
  --amber-soft: #c98f31;
  --steel:      #8fb3c7;   /* cool highlight        */
  --steel-soft: #6f95aa;

  /* Lines */
  --line:        rgba(236, 234, 229, 0.08);
  --line-strong: rgba(236, 234, 229, 0.18);

  /* Layout */
  --maxw:    1240px;
  --gutter:  clamp(20px, 4vw, 48px);
  --radius:  4px;

  /* Type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--g-900);
  color: var(--t-300);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain over everything */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

::selection { background: var(--amber); color: var(--g-950); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--g-850); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--amber);
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--amber); }
.kicker--steel { color: var(--steel); }
.kicker--steel::before { background: var(--steel); }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ''; width: 34px; height: 1px; background: currentColor; }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--t-100);
  margin-top: 18px;
}
.section-title em { font-style: italic; color: var(--amber); }
.section-sub { max-width: 540px; margin-top: 18px; color: var(--t-300); }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  border: 1px solid transparent;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--t-100); color: var(--g-950); }
.btn-solid:hover { background: var(--amber); }
.btn-line { background: transparent; color: var(--t-100); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--amber); color: var(--amber); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(16, 17, 19, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.04em; color: var(--t-100); }
.brand em { font-style: italic; color: var(--amber); }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  position: relative;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--t-300);
  padding-block: 8px;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--amber);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--t-100); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 8px; padding: 11px 22px; }
.nav-cta::after { display: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--t-100); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%;
  filter: grayscale(0.35) brightness(0.5) contrast(1.05);
  animation: heroZoom 14s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16,17,19,0.55) 0%, rgba(16,17,19,0.1) 35%, rgba(16,17,19,0.92) 100%),
    linear-gradient(90deg, rgba(16,17,19,0.65) 0%, rgba(16,17,19,0) 60%);
}
.hero__inner { padding-bottom: clamp(72px, 12vh, 140px); padding-top: 160px; width: 100%; }
.hero__kicker { color: var(--steel); }
.hero__kicker::before { background: var(--steel); }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--t-100);
  max-width: 14ch;
  margin-top: 24px;
}
.hero__title em { font-style: italic; color: var(--amber); }
.hero__sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--t-300);
}
.hero__cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  position: absolute; right: var(--gutter); bottom: clamp(72px, 12vh, 140px);
  display: flex; flex-direction: column; gap: 22px;
  max-width: 30ch; text-align: right;
}
.hero__meta .m { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 14px; }
.hero__meta .m b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--t-100); line-height: 1.2; }
.hero__meta .m span { font-size: 0.82rem; color: var(--t-500); margin-top: 6px; max-width: 26ch; }
.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--t-500);
}
.scroll-cue .bar { width: 52px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue .bar::after {
  content: ''; position: absolute; inset: 0;
  background: var(--amber);
  transform: translateX(-100%);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 40% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--g-950);
  overflow: hidden;
  padding-block: 18px;
}
.marquee__track {
  display: flex; gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-500);
  white-space: nowrap;
  padding-inline: 28px;
}
.marquee__track span i { font-style: normal; color: var(--amber); padding-left: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Featured work (uniform folder thumbnails) ----------
   Same-size squares that act as folder previews, so the collection grids
   below keep their editorial layout. Crop is orientation-aware: portrait
   frames anchor high to keep the head, landscape frames anchor where the
   face sits. Both are set by js/galleries.js from the real pixel size. */
.featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.featured .f-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--g-800); aspect-ratio: 1 / 1; }
.featured .f-item img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 15%;            /* portrait frames: protect the head */
  filter: grayscale(0.25) brightness(0.92);
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.featured .f-item.is-landscape img { object-position: 76% 46%; }
.featured .f-item:hover img { transform: scale(1.05); filter: grayscale(0) brightness(1); }
/* Caption stays visible: these tiles are folder labels as much as images,
   and hover-only text is unreachable on touch. */
.featured .f-item .f-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(16,17,19,0.55) 45%, rgba(16,17,19,0.92));
  display: flex; flex-direction: column; gap: 3px;
}
.featured .f-cap h3 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--t-100); }
.featured .f-cap span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }

/* ---------- Gallery category cards ---------- */
.cat-list { display: grid; gap: 14px; }
.cat-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--g-850);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.cat-card:hover { border-color: var(--line-strong); background: var(--g-800); }
.cat-card .c-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.cat-card .c-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: brightness(0.85); transition: transform 0.7s var(--ease), filter 0.7s var(--ease); }
.cat-card:hover .c-img img { transform: scale(1.05); filter: grayscale(0) brightness(0.95); }
.cat-card .c-img--empty {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--g-700), var(--g-850) 70%);
}
.cat-card .c-soon {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--t-700);
}
.cat-card .c-body.is-empty .c-info h3 { color: var(--t-500); }
.cat-card .c-body.is-empty .c-info p { color: var(--t-700); }
.cat-card:hover .c-body.is-empty .c-info h3 { color: var(--t-300); }
.cat-card .c-meta .lbl--soon { letter-spacing: 0.16em; margin-top: 0; }
.cat-card .c-note {
  position: absolute; top: 14px; left: 14px;
  background: rgba(16,17,19,0.82);
  border: 1px solid var(--line-strong);
  color: var(--t-100);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.cat-card .c-body { padding: clamp(24px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cat-card .c-body h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--t-100);
}
.cat-card .c-body p { color: var(--t-500); font-size: 0.92rem; margin-top: 6px; max-width: 44ch; }
.cat-card .c-meta { text-align: right; flex: 0 0 auto; }
.cat-card .c-meta .count { font-family: var(--serif); font-size: 1.6rem; color: var(--amber); line-height: 1; }
.cat-card .c-meta .lbl { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-500); margin-top: 6px; }
.cat-card .c-arrow {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--t-300);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cat-card:hover .c-arrow { color: var(--g-950); background: var(--amber); border-color: var(--amber); transform: rotate(45deg); }
.cat-card .c-arrow svg { width: 20px; height: 20px; }

/* ---------- About ---------- */
.about { max-width: 820px; margin-inline: auto; }
.about__text p { margin-top: 20px; }
.about__text .lede { font-size: 1.12rem; color: var(--t-100); }
.about__sig {
  margin-top: 30px;
  font-family: var(--serif); font-style: italic;
  font-size: 1.5rem; color: var(--steel);
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--g-850);
  padding: clamp(28px, 3.4vw, 44px);
  display: flex; flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.service:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; color: var(--t-100); margin-top: 0; }
.service p { margin-top: 12px; font-size: 0.95rem; color: var(--t-300); flex: 1; }
.service .price { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.service .price b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--amber); }
.service .price span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-500); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--g-850);
  padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column;
}
.quote .mark { font-family: var(--serif); font-size: 3rem; line-height: 0.6; color: var(--amber); height: 26px; }
.quote p { margin-top: 18px; flex: 1; font-size: 0.98rem; color: var(--t-300); }
.quote .who { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.quote .who .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--g-700);
  display: grid; place-items: center;
  font-family: var(--serif); color: var(--steel); font-size: 1rem;
  border: 1px solid var(--line-strong);
}
.quote .who b { display: block; color: var(--t-100); font-weight: 600; font-size: 0.92rem; }
.quote .who span { font-size: 0.78rem; color: var(--t-500); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band .bg { position: absolute; inset: 0; z-index: -1; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(0.5) brightness(0.35); }
.cta-band--plain { background: var(--g-850); }
.cta-band .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,17,19,0.9), rgba(16,17,19,0.4)); }
.cta-band .inner { text-align: center; padding-block: clamp(80px, 12vw, 150px); }
.cta-band h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  color: var(--t-100); line-height: 1.1;
}
.cta-band h2 em { font-style: italic; color: var(--amber); }
.cta-band p { margin: 20px auto 36px; max-width: 46ch; color: var(--t-300); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 88px); }
.contact__info .row { display: flex; gap: 18px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.contact__info .row:first-of-type { margin-top: 30px; }
.contact__info .row .ico {
  flex: 0 0 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--amber);
}
.contact__info .row .ico svg { width: 19px; height: 19px; }
.contact__info .row .lbl { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-500); }
.contact__info .row .val { color: var(--t-100); font-weight: 500; margin-top: 3px; }
/* One profile link, labelled rather than icon-only: an unlabelled glyph
   forces people to hover a mystery box, and "Model Mayhem" carries no
   recognisable icon the way Instagram does. */
.socials { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 18px;
  color: var(--t-300);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.social-link:hover { color: var(--t-100); border-color: var(--steel); background: var(--g-800); }
.social-link:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.social-link svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--steel); }
.social-link span { display: flex; flex-direction: column; line-height: 1.3; font-size: 0.92rem; font-weight: 500; }
.social-link span em { font-style: normal; font-size: 0.78rem; color: var(--t-500); }
.contact__note {
  margin-top: 22px;
  max-width: 42ch;
  font-size: 0.92rem;
  color: var(--t-500);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
/* Booking brief — no form endpoint, so this tells people what to email
   and hands them a pre-subject mailto. */
.contact__brief {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--g-850);
  padding: clamp(26px, 3.2vw, 40px);
}
.contact__brief h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.35rem; color: var(--t-100);
}
.contact__brief ul { margin-top: 22px; }
.contact__brief li {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--t-300);
}
.contact__brief li b {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--t-500); padding-top: 2px;
}
.contact__brief .btn { margin-top: 26px; }
.brief__note { margin-top: 16px; font-size: 0.86rem; color: var(--t-500); }

/* ---------- Footer ---------- */
.footer { background: var(--g-950); border-top: 1px solid var(--line); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-block: 72px 48px;
}
.footer h4 { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--t-500); margin-bottom: 20px; font-weight: 600; }
.footer .f-brand { font-family: var(--serif); font-size: 1.7rem; color: var(--t-100); }
.footer .f-brand em { font-style: italic; color: var(--amber); }
.footer .f-tag { margin-top: 14px; font-size: 0.92rem; color: var(--t-500); max-width: 30ch; }
.footer li { margin-bottom: 12px; }
.footer li a { font-size: 0.92rem; color: var(--t-300); transition: color 0.25s var(--ease); }
.footer li a:hover { color: var(--amber); }
.footer li a .age {
  display: inline-block;
  margin-left: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--t-500);
}
.footer .f-contact p { font-size: 0.92rem; color: var(--t-300); margin-bottom: 10px; }
.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 0.8rem; color: var(--t-700);
}
.footer__bar .top-link { color: var(--t-500); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; }
.footer__bar .top-link:hover { color: var(--amber); }

/* ---------- Gallery page ---------- */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(0.4) brightness(0.45); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,17,19,0.5), rgba(16,17,19,0.94)); }
.page-hero .inner { padding: 160px 0 56px; width: 100%; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  color: var(--t-100); line-height: 1.05;
  margin-top: 16px;
}
.page-hero--empty .inner { padding-bottom: 40px; }
.page-hero p { margin-top: 14px; color: var(--t-300); max-width: 52ch; }
.page-hero .content-note {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 12px;
  max-width: 56ch;
  border: 1px solid var(--line-strong);
  background: rgba(16,17,19,0.6);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--t-300);
}
.page-hero .crumb { margin-bottom: 26px; }
.page-hero .crumb a { color: var(--steel); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
.page-hero .crumb a:hover { color: var(--amber); }

/* Collection grid
   Row-major on purpose: CSS multi-column fills DOWN each column before
   moving right, so name order would read vertically. A fixed-aspect grid
   keeps frame 1 top-left and reads left-to-right, which is what an ordered
   set needs. */
.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-items: start;
  gap: 16px;
}
.masonry .card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--g-800);
  cursor: zoom-in;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
}
.masonry .card img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  transition: transform 0.7s var(--ease);
}
.masonry .card--wide { aspect-ratio: 3 / 2; }
.masonry .card--wide img { object-position: 50% 30%; }
.masonry .card:hover img { transform: scale(1.04); }
.masonry .card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16,17,19,0.7));
  opacity: 0; transition: opacity 0.4s var(--ease);
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 18px;
}
.masonry .card:hover .veil { opacity: 1; }
.masonry .card .veil .plus {
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--t-100);
  background: rgba(16,17,19,0.5);
}
.masonry .card .veil .plus svg { width: 18px; height: 18px; }

.empty {
  text-align: center;
  color: var(--t-500);
  padding: 90px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty b { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--t-300); margin-bottom: 8px; font-weight: 500; }
.empty span { display: block; max-width: 46ch; margin: 0 auto; font-size: 0.92rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 11, 12, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox .stage { position: relative; max-width: 94vw; max-height: 88vh; }
.lightbox img {
  max-width: 94vw; max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.9);
  animation: pop 0.35s var(--ease);
}
@keyframes pop { from { transform: scale(0.97); opacity: 0.5; } to { transform: scale(1); opacity: 1; } }
.lightbox .close, .lightbox .arrow {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(16,17,19,0.7);
  color: var(--t-100);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 2;
}
.lightbox .close:hover, .lightbox .arrow:hover { background: var(--amber); color: var(--g-950); transform: scale(1.05); }
.lightbox .close { top: 22px; right: 22px; }
.lightbox .arrow { top: 50%; transform: translateY(-50%); }
.lightbox .prev { left: 22px; }
.lightbox .next { right: 22px; }
.lightbox .prev:hover, .lightbox .next:hover { transform: translateY(-50%) scale(1.05); }
.lightbox .counter {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  border: 1px solid var(--line-strong);
  background: rgba(16,17,19,0.7);
  color: var(--t-300);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem; letter-spacing: 0.14em;
}
.lightbox .counter .cur { color: var(--amber); }

/* ---------- Reveal on scroll ----------
   Visibility never depends on JS. Elements are always visible; when one
   scrolls into view js/galleries.js adds .in, which merely *plays* the
   entrance. A page that never scrolls, prints, or renders without JS
   therefore shows every image and every word. */
.reveal.in { animation: rise-in 0.8s var(--ease) both; }
.reveal[data-delay="1"].in { animation-delay: 0.1s; }
.reveal[data-delay="2"].in { animation-delay: 0.2s; }
.reveal[data-delay="3"].in { animation-delay: 0.3s; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .services, .quotes { grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__meta {
    flex-direction: row; flex-wrap: wrap; gap: 14px 26px;
    right: var(--gutter); bottom: 34px; max-width: 52vw; text-align: left;
  }
  .hero__meta .m { border-top: none; padding-top: 0; }
  .hero__meta .m span { display: none; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 84px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(16,17,19,0.97);
    border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 28px;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 16px 4px; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 16px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .cat-card { grid-template-columns: 1fr; }
  .cat-card .c-img { aspect-ratio: 16/9; }
  .cat-card .c-body { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact__form { grid-template-columns: 1fr; }
  .hero__meta { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bar { flex-direction: column; }
  .lightbox .prev { left: 10px; width: 44px; height: 44px; }
  .lightbox .next { right: 10px; width: 44px; height: 44px; }
  .lightbox .close { top: 12px; right: 12px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* the entrance animation is switched off by the rule above, and visibility
     was never tied to it, so nothing here needs compensating for */
}
