/* ==========================================================================
   LINDA — Żory
   Editorial boutique layout. Cormorant Garamond (display, variable) over
   Inter (UI/body, variable). Both self-hosted with latin + latin-ext so
   Polish diacritics (ą ć ę ł ń ó ś ź ż) render in the real face rather than
   dropping to a fallback.
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/cormorant-roman-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/cormorant-roman-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-roman-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-roman-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ------------------------------------------------ */
:root {
  --sand: #efeae3;        /* page ground — warm, papery */
  --sand-deep: #e5ded4;   /* alternating band */
  --paper: #ffffff;
  --ink: #211d1a;         /* type + dark bands */
  --ink-soft: #4a423b;
  --muted: #8a7f73;
  --line: #dcd3c7;
  --line-dark: #3b342e;   /* hairlines inside dark bands */
  --accent: #7a4b52;      /* dusty wine */
  --accent-soft: #a87c82;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;

  --maxw: 1280px;
  --maxw-text: 68ch;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --band: clamp(4rem, 9vw, 8rem);   /* vertical rhythm between sections */
  --shadow: 0 24px 60px -28px rgba(33, 29, 26, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Type ---------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0 0 0.35em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

/* Small letterspaced label — the site's connective tissue */
.label {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin: 0;
}
.label--accent { color: var(--accent); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.serif-italic { font-family: var(--font-display); font-style: italic; }

.prose { max-width: var(--maxw-text); }
.prose p { margin: 0 0 1.15em; }
.prose a { border-bottom: 1px solid var(--accent-soft); }
.prose a:hover { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- Layout primitives -------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 900px; }
.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--alt { background: var(--sand-deep); }
.band--ink { background: var(--ink); color: var(--sand); }
.band--ink .label { color: var(--accent-soft); }
.band--ink .muted { color: #a89c8e; }

/* Section header: centered label, hairline rule, title */
.sechead { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sechead__rule { width: 1px; height: 42px; background: var(--line); margin: 1rem auto 1.25rem; }
.band--ink .sechead__rule { background: var(--line-dark); }
.sechead h2 { margin-bottom: 0.2em; }
.sechead p.sub { color: var(--muted); margin: 0 auto; max-width: 52ch; }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 2em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--sand);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.band--ink .btn { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.band--ink .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.band--ink .btn--ghost { background: transparent; color: var(--sand); border-color: #564d45; }
.band--ink .btn--ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--sand); }

/* Text link with a sliding rule */
.tlink {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 0.35em;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.tlink:hover { color: var(--accent); border-color: var(--accent); }
.band--ink .tlink { border-color: var(--line-dark); }

/* ---------- Brand wordmark ------------------------------------------------ */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;   /* optical centering against the tracking */
}
.wordmark__sub {
  font-size: 0.56rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}
.site-foot .wordmark__sub { color: var(--accent-soft); }
.wordmark--lg .wordmark__name { font-size: 2.6rem; }
.brand__logo { height: 46px; width: auto; }

/* ---------- Header -------------------------------------------------------- */
/* A dark info strip, then a centered wordmark with the nav beneath it.
   The nav row alone becomes sticky once the strip scrolls away. */
.topstrip { background: var(--ink); color: #cdbfae; font-size: 0.7rem; letter-spacing: 0.12em; }
.topstrip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding-block: 0.5rem;
  text-align: center;
}
.topstrip a:hover { color: #fff; }
.topstrip__sep { color: #574d44; }

/* PL | EN switch — lives in the dark top strip, and in the mobile menu */
.langsw { display: inline-flex; align-items: center; gap: 0.4em; letter-spacing: 0.14em; }
.langsw__on { color: #fff; }
.langsw__sep { color: #574d44; }
.langsw__off { color: #9a8e81; }
.langsw__off:hover { color: #fff; }
.langsw--mobile { display: none; }
@media (max-width: 720px) {
  /* In the burger menu the strip version is far away, so repeat it here. */
  .langsw--mobile {
    display: inline-flex;
    padding-top: 1rem;
    font-size: 0.72rem;
    text-transform: uppercase;
  }
  .langsw--mobile .langsw__on { color: var(--ink); }
  .langsw--mobile .langsw__sep { color: var(--line); }
  .langsw--mobile .langsw__off { color: var(--muted); }
  .langsw--mobile .langsw__off:hover { color: var(--accent); }
  /* it sits inside .navbar__links, so undo the menu-row border/padding */
  .navbar__links .langsw--mobile a { padding-block: 0; border-bottom: 0; }
}

.masthead { text-align: center; padding-block: clamp(1.75rem, 4vw, 2.75rem) 1.25rem; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(239, 234, 227, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  border-block: 1px solid var(--line);
}
.navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
}
.navbar__links { display: flex; gap: clamp(1.5rem, 4vw, 3.25rem); }
.navbar a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.navbar a:hover { color: var(--accent); border-color: var(--accent); }
.navbar a[aria-current="page"] { border-color: var(--ink); }

/* Compact wordmark that fades into the sticky bar once the masthead leaves */
.navbar__brand {
  position: absolute;
  left: var(--gutter);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.3em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.navbar.is-stuck .navbar__brand { opacity: 1; pointer-events: auto; }

/* Mobile menu */
.navtoggle { display: none; }
@media (max-width: 720px) {
  .navbar__inner { justify-content: space-between; min-height: 50px; }
  .navtoggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: 0;
    padding: 0.5rem 0;
    cursor: pointer;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .navtoggle__bars { display: grid; gap: 4px; width: 18px; }
  .navtoggle__bars i { display: block; height: 1px; background: var(--ink); }
  .navbar__links {
    position: absolute;
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    top: 100%;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 0.25rem var(--gutter) 1rem;
  }
  .navbar__links.is-open { display: flex; }
  .navbar__links a { padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
  .navbar__brand { position: static; opacity: 1; pointer-events: auto; }
  .masthead { display: none; }   /* on mobile the wordmark lives in the bar */
  .topstrip__inner { font-size: 0.65rem; }
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.hero__title { margin-bottom: 0.5rem; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead { margin: 1.5rem 0 2.25rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin: 2.75rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero__meta > div { min-width: 8rem; }
.hero__meta dt {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta dd { margin: 0.35rem 0 0; font-family: var(--font-display); font-size: 1.25rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.hero__media--empty {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--sand-deep), #d8cec1);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-align: center;
  padding: 2rem;
}
.hero__caption {
  position: absolute;
  left: 0;
  bottom: -2.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { order: -1; }
  .hero__caption { position: static; margin-top: 0.75rem; }
}

/* ---------- Product cards ------------------------------------------------- */
/* Sharp corners, 2:3 portrait, title over a scrim — deliberately editorial. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem) clamp(1rem, 1.8vw, 1.5rem);
}
.grid--home { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.card { display: block; position: relative; }
.card__media { position: relative; overflow: hidden; background: var(--sand-deep); aspect-ratio: 2 / 3; }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__scrim {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3.5rem 1.1rem 1.1rem;
  background: linear-gradient(to top, rgba(24, 20, 18, 0.8), rgba(24, 20, 18, 0));
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}
.card__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.card__index { font-size: 0.62rem; letter-spacing: 0.18em; opacity: 0.7; padding-bottom: 0.35em; flex: none; }
.card__flag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5em 0.9em;
}
.card__cta {
  margin-top: 0.7rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}
.card:hover .card__cta { color: var(--accent); }

/* ---------- Story band ---------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.story__quote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-style: italic;
  line-height: 1.28;
  margin: 0;
}
.story__body p { margin: 0 0 1.15em; color: #c6b9aa; }
.story__body p:last-of-type { margin-bottom: 1.75rem; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; gap: 2rem; } }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.band--ink .facts { background: var(--line-dark); border-color: var(--line-dark); }
.facts__item { background: var(--sand); padding: 1.75rem 1.5rem; text-align: center; }
.band--ink .facts__item { background: var(--ink); }
.facts__n { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; display: block; }
/* For facts whose value is a phrase rather than a number */
.facts__n--sm { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.facts__k {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.7rem;
  display: block;
}

/* ---------- Visit strip --------------------------------------------------- */
.visit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.visit__cell { background: var(--sand); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; }
.visit__cell h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.visit__cell p { margin: 0 0 0.35rem; color: var(--ink-soft); }
.visit__cell .tlink { margin-top: auto; padding-top: 1.25rem; align-self: flex-start; }

/* ---------- Product page -------------------------------------------------- */
/* Sticky info column beside a vertical stack of every photo. */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.pdp__info { position: sticky; top: 96px; padding-block: clamp(1rem, 3vw, 2.5rem); }
.pdp__back { display: inline-block; margin-bottom: 1.75rem; }
.pdp__title { margin-bottom: 0.6rem; font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.pdp__desc { color: var(--ink-soft); margin: 0 0 1.75rem; }
.pdp__spec { border-top: 1px solid var(--line); margin: 2rem 0 0; padding-top: 1.5rem; display: grid; gap: 0.9rem; }
.pdp__spec > div { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; }
.pdp__spec dt { color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.62rem; }
.pdp__spec dd { margin: 0; text-align: right; font-size: 0.9rem; }
.pdp__note { margin-top: 1.75rem; font-size: 0.85rem; color: var(--muted); }

.pdp__stack { display: grid; gap: clamp(0.5rem, 1.2vw, 1rem); }
.pdp__shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--sand-deep);
  cursor: zoom-in;
  position: relative;
}
.pdp__shot img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.pdp__shot::after {
  content: attr(data-n);
  position: absolute;
  top: 0.8rem;
  right: 0.95rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: #fff;
  mix-blend-mode: difference;
}
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 1.5rem; }
  .pdp__info { position: static; }
}

/* ---------- About / Contact ----------------------------------------------- */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.editorial__aside { position: sticky; top: 96px; }
.editorial__figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.editorial__figure--empty {
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, var(--sand-deep), #d8cec1);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
@media (max-width: 820px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial__aside { position: static; }
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ccard { background: var(--paper); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.ccard h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.ccard p { margin: 0 0 0.4rem; color: var(--ink-soft); }
.ccard .tlink { margin-top: auto; padding-top: 1.5rem; align-self: flex-start; }
.ccard__big { font-family: var(--font-display); font-size: 1.6rem; display: inline-block; margin-bottom: 0.5rem; }
.ccard__big:hover { color: var(--accent); }

/* ---------- Footer -------------------------------------------------------- */
.site-foot { background: var(--ink); color: #b7aa9b; margin-top: clamp(4rem, 8vw, 7rem); }
.site-foot__top { text-align: center; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-foot__top .wordmark__name { color: var(--sand); }
.site-foot__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: #a19486;
  margin: 1.25rem 0 0;
}
.site-foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line-dark);
}
.site-foot__h {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.9rem; }
.site-foot a:hover { color: var(--sand); }
.site-foot__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: #7d7166;
}

/* ---------- Lightbox ------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 17, 15, 0.96);
  padding: clamp(1rem, 4vw, 3rem);
  overflow: hidden;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.2s ease;
  will-change: transform;
}
.lightbox__img.is-zoomed { cursor: zoom-out; transition: none; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: #efeae3;
  cursor: pointer;
  padding: 1rem;
  line-height: 1;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 0.5rem; right: 0.75rem; font-size: 1.6rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
.lightbox__nav--prev { left: 0.25rem; }
.lightbox__nav--next { right: 0.25rem; }
.lightbox__count {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #efeae3;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------- Empty state / 404 --------------------------------------------- */
.empty { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.empty code { background: var(--sand-deep); padding: 0.15em 0.45em; font-size: 0.9em; }

/* ---------- Focus + motion ------------------------------------------------ */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
