/* ==========================================================================
   Karadeniz Mozaik — public website
   Palette derived from the KMS logo: graphite stone, mineral beige, forest green.
   No build step: this file is served as-is (cache-busted by modification time).
   ========================================================================== */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/manrope-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: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/manrope-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-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: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ivory: #f6f4ef;
  --ivory-deep: #eeeae1;
  --stone: #d7ccb9;
  --stone-light: #e6dfd2;
  --mineral: #8c8a84;        /* decorative only — below AA for text on ivory */
  --mineral-dark: #5c5a54;   /* secondary text, AA on ivory */
  --graphite: #292b29;
  --graphite-soft: #353734;
  --forest: #39483c;
  --forest-dark: #2b372e;
  --forest-light: #4b5d4f;
  --white: #ffffff;
  --danger: #9b2c22;
  --success: #2f5a3a;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Marcellus", ui-serif, Georgia, "Times New Roman", serif;

  --container: 78rem;
  --gutter: 1.25rem;
  --header-h: 4.5rem;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 48px -28px rgba(41, 43, 41, 0.55);
  --focus: var(--forest);
}

@media (min-width: 640px) { :root { --gutter: 2rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ivory); color: var(--graphite);
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--stone); color: var(--graphite); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius); }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1.25rem;
  background: var(--graphite); color: var(--ivory); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--forest);
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--stone); }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); margin-top: .9rem; color: inherit; }
.section-title--sm { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); margin-top: 0; }
.section-lead { font-size: 1.0625rem; color: var(--mineral-dark); max-width: 38rem; }
.section-note { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--stone); font-size: .875rem; color: var(--mineral-dark); }
.prose { color: var(--mineral-dark); font-size: 1.0625rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--graphite); margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; }
.prose a { color: var(--forest); text-underline-offset: 3px; }
.prose strong { color: var(--graphite); }
.prose--wide { max-width: 48rem; }
.prose--legal { max-width: 46rem; }
.list-label { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); margin-top: 2.5rem; }

/* ---------- Links & buttons ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem;
  font-weight: 700; font-size: .9375rem; color: var(--forest); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: .2rem;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--stone); }
.link-plain { font-weight: 600; font-size: .9375rem; color: var(--mineral-dark); text-underline-offset: 4px; }
.link-plain:hover { color: var(--graphite); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 2.875rem; padding: .75rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: .9375rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest-dark); }
.btn--light { background: var(--ivory); color: var(--graphite); }
.btn--light:hover { background: var(--white); }
.btn--outline-light { border-color: rgba(246, 244, 239, .55); color: var(--ivory); }
.btn--outline-light:hover { background: rgba(246, 244, 239, .1); border-color: var(--ivory); }
.btn--sm { min-height: 2.5rem; padding: .55rem 1.1rem; font-size: .875rem; }
.btn--lg { min-height: 3.25rem; padding: .9rem 1.75rem; font-size: 1rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.site-header.is-scrolled, .site-header.is-open { border-bottom-color: var(--stone-light); box-shadow: 0 6px 24px -18px rgba(41, 43, 41, .45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.site-header__brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex: none; }
.site-header__mark { width: 5.25rem; height: auto; }
.site-header__wordmark {
  display: none; font-family: var(--font-display); font-size: .8125rem; line-height: 1.15; letter-spacing: .2em;
  text-transform: uppercase; color: var(--graphite); padding-left: .85rem; border-left: 1px solid var(--stone);
}
@media (min-width: 1280px) { .site-header__wordmark { display: block; } }

/* Overlay variant on the home page: transparent over the hero until scrolled. */
@media (min-width: 1024px) {
  .js .site-header--overlay:not(.is-scrolled) { background: transparent; }
  .js .site-header--overlay:not(.is-scrolled) .site-nav__link,
  .js .site-header--overlay:not(.is-scrolled) .lang-switch__item,
  .js .site-header--overlay:not(.is-scrolled) .site-header__wordmark { color: var(--ivory); }
  .js .site-header--overlay:not(.is-scrolled) .site-header__wordmark { border-color: rgba(246, 244, 239, .35); }
  .js .site-header--overlay:not(.is-scrolled) .site-header__mark { filter: invert(1) brightness(1.6) grayscale(1); mix-blend-mode: screen; }
  .js .site-header--overlay:not(.is-scrolled) .site-nav__cta { background: var(--ivory); color: var(--graphite); }
  .js .page-home .site-header--overlay { position: fixed; inset: 0 0 auto 0; }
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 2.875rem; height: 2.875rem;
  margin-right: -.5rem; background: none; border: 0; cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 1.5rem; height: 1rem; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--graphite); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }
.is-open .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.no-js .nav-toggle { display: none; }

.site-nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 2.75rem;
  font-weight: 600; font-size: .9375rem; color: var(--graphite); text-decoration: none;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--forest); }
.site-nav__tools { display: flex; align-items: center; gap: 1.25rem; }
.lang-switch { display: flex; align-items: center; gap: .15rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; }
.lang-switch li + li::before { content: "/"; color: var(--mineral); padding: 0 .2rem; }
.lang-switch li { display: flex; align-items: center; }
.lang-switch__item { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: 2.75rem; color: var(--mineral-dark); text-decoration: none; }
.lang-switch__item.is-current { color: var(--graphite); text-decoration: underline; text-underline-offset: 5px; }
a.lang-switch__item:hover { color: var(--forest); }

@media (max-width: 1023.98px) {
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; display: flex; flex-direction: column; justify-content: space-between;
    padding: 1.5rem var(--gutter) 2rem; background: var(--white); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-.5rem); transition: opacity .3s, transform .35s var(--ease), visibility 0s .35s;
  }
  .js .is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s var(--ease); }
  .site-nav__list { display: flex; flex-direction: column; }
  .site-nav__list li { border-bottom: 1px solid var(--stone-light); }
  .site-nav__link { width: 100%; min-height: 3.5rem; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
  .site-nav__link::after { display: none; }
  .site-nav__tools { justify-content: space-between; padding-top: 2rem; }
  .no-js .site-nav { width: 100%; }
  .no-js .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 1rem; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 2.5rem; }
  .site-nav__list { display: flex; align-items: center; gap: 1.75rem; }
}
@media (min-width: 1200px) { .site-nav__list { gap: 2.25rem; } }

/* ---------- Strata (layered stone lines) ---------- */
.strata {
  height: 2.25rem; width: 100%;
  background:
    linear-gradient(transparent 0 30%, var(--stone) 30% calc(30% + 1px), transparent 0) 0 0 / 100% 100%,
    linear-gradient(transparent 0 55%, var(--stone-light) 55% calc(55% + 1px), transparent 0) 0 0 / 100% 100%,
    linear-gradient(transparent 0 78%, var(--stone) 78% calc(78% + 1px), transparent 0) 0 0 / 100% 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--dark { background: var(--graphite); color: var(--ivory); --focus: var(--stone); }
.section--dark .section-lead, .section--dark .prose { color: rgba(246, 244, 239, .75); }
.section--dark .section-note { border-color: rgba(246, 244, 239, .12); color: rgba(246, 244, 239, .6); }
.section--deep { background: var(--ivory-deep); }
.section-head { display: grid; gap: 1.75rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head__aside .link-arrow { margin-top: 1.25rem; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 4rem; }
}

/* ---------- Photos ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--stone-light); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo__note {
  position: absolute; right: .5rem; bottom: .5rem; padding: .2rem .5rem;
  background: rgba(41, 43, 41, .68); color: var(--ivory); font-size: .6875rem; letter-spacing: .04em;
}
.texture { width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: min(92svh, 56rem); min-height: max(34rem, min(92svh, 56rem));
  color: var(--ivory); background: var(--graphite); overflow: hidden; --focus: var(--stone);
}
.js .page-home .hero { padding-top: var(--header-h); }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
@media (prefers-reduced-motion: no-preference) {
  .hero__bg { animation: hero-zoom 18s var(--ease) both; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(41, 43, 41, .92), rgba(41, 43, 41, .45) 45%, rgba(41, 43, 41, .2)),
    linear-gradient(to right, rgba(41, 43, 41, .75), rgba(41, 43, 41, .15) 70%, transparent);
}
.hero__inner { padding-block: 7rem 4.5rem; }
@media (min-width: 900px) { .hero__inner { padding-bottom: 6.5rem; } }
.hero__content { max-width: 50rem; }
.hero__title { margin-top: 1.4rem; font-family: var(--font-display); font-size: clamp(2.5rem, 1.4rem + 4.8vw, 5.25rem); line-height: 1.03; }
.hero__lead { margin-top: 1.75rem; max-width: 40rem; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); color: rgba(246, 244, 239, .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.5rem; }
.hero__note { position: absolute; right: .75rem; bottom: .75rem; padding: .2rem .55rem; background: rgba(41, 43, 41, .6); font-size: .6875rem; color: rgba(246, 244, 239, .9); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.5rem; width: 1px; height: 3rem; background: rgba(246, 244, 239, .25); overflow: hidden; display: none; }
.hero__scroll span { position: absolute; inset: 0; background: var(--stone); transform: translateY(-100%); }
@media (min-width: 900px) { .hero__scroll { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll span { animation: scroll-hint 2.4s var(--ease) infinite; }
  .hero__eyebrow, .hero__title, .hero__lead, .hero__actions { animation: rise .9s var(--ease) both; }
  .hero__title { animation-delay: .1s; }
  .hero__lead { animation-delay: .22s; }
  .hero__actions { animation-delay: .34s; }
}
@keyframes scroll-hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; gap: 3.5rem; }
.intro__text .prose { margin-top: 1.5rem; }
.numbered-list { margin-top: 1rem; border-top: 1px solid var(--stone); }
.numbered-list li { display: flex; align-items: baseline; gap: 1.25rem; padding-block: 1rem; border-bottom: 1px solid var(--stone); font-weight: 600; }
.numbered-list__n { font-family: var(--font-display); font-size: .875rem; color: var(--forest); }
.intro__media { position: relative; }
.intro__photo { aspect-ratio: 4 / 5; }
.intro__logo {
  position: absolute; left: 1.25rem; bottom: -2rem; padding: 1.1rem 1.4rem; background: var(--white); box-shadow: var(--shadow);
}
.intro__logo img { width: 8.5rem; }
@media (min-width: 640px) { .intro__photo { aspect-ratio: 4 / 3; } .intro__logo img { width: 10rem; } }
@media (min-width: 1024px) {
  .intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: stretch; }
  .intro__photo { aspect-ratio: auto; height: 100%; min-height: 36rem; }
  .intro__logo { left: -2.5rem; bottom: 2.5rem; }
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .product-grid--count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--count-3 .product-card--large { grid-column: span 2; grid-row: span 2; }
  .product-grid--count-1 { grid-template-columns: 1fr; }
}
.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--stone-light); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.product-card:hover { border-color: var(--stone); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-light); }
.product-card__media img, .product-card__media .texture { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-card__media img, .product-card:hover .product-card__media .texture { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.product-card__category { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.product-card__title { margin-top: .5rem; font-family: var(--font-display); font-size: 1.5rem; }
.product-card__title a { text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.product-card__text { margin-top: .75rem; color: var(--mineral-dark); font-size: .9375rem; }
.product-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-top: auto; padding-top: 1.25rem; }
.product-card__actions .link-arrow { margin-top: 0; }
@media (min-width: 1024px) {
  .product-card--large { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .product-grid--count-3 .product-card--large { display: flex; }
  .product-card--large .product-card__media { aspect-ratio: auto; min-height: 24rem; }
  .product-grid--count-3 .product-card--large .product-card__media { aspect-ratio: 16 / 10; min-height: 0; flex: 1; }
  .product-card--large .product-card__body { padding: 2.5rem; justify-content: center; }
  .product-card--large .product-card__title { font-size: 2.25rem; }
}

/* ---------- Empty states ---------- */
.empty-state { display: grid; overflow: hidden; background: var(--white); border: 1px solid var(--stone-light); }
.empty-state .texture { aspect-ratio: 16 / 9; height: auto; }
.empty-state__body { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; justify-content: center; }
.empty-state__body h2, .empty-state__body h3 { font-family: var(--font-display); font-size: 1.75rem; }
.empty-state__body p { color: var(--mineral-dark); max-width: 32rem; }
.empty-state__body .link-arrow { margin-top: 0; }
@media (min-width: 900px) { .empty-state { grid-template-columns: 5fr 6fr; } .empty-state .texture { aspect-ratio: auto; height: 100%; min-height: 18rem; } .empty-state__body { padding: 3rem; } }
.empty-inline { padding: 2rem; border: 1px dashed var(--stone); color: var(--mineral-dark); text-align: center; }

/* ---------- Stage glyph & timeline ---------- */
.stage-glyph { width: 7rem; height: auto; fill: currentColor; color: var(--graphite); }
.section--dark .stage-glyph { color: var(--stone); }
.timeline { display: grid; gap: 0; counter-reset: step; }
.timeline__step { position: relative; display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1.25rem; padding-bottom: 3rem; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__marker { grid-row: span 3; position: relative; display: flex; flex-direction: column; align-items: center; }
.timeline__num {
  display: flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; flex: none;
  border: 1px solid rgba(246, 244, 239, .25); font-family: var(--font-display); font-size: 1.1rem; color: var(--stone);
}
.timeline__line { flex: 1; width: 1px; background: rgba(246, 244, 239, .15); }
.timeline__step:last-child .timeline__line { display: none; }
.timeline .stage-glyph { margin-bottom: 1.25rem; width: 6rem; }
.timeline__title { font-family: var(--font-display); font-size: 1.5rem; }
.timeline__text { margin-top: .75rem; color: rgba(246, 244, 239, .7); font-size: .9375rem; }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2rem; }
  .timeline__step { display: block; padding: 0; }
  .timeline__marker { flex-direction: row; gap: 1rem; margin-bottom: 2rem; }
  .timeline__num { width: auto; height: auto; border: 0; font-size: 1.1rem; }
  .timeline__line { flex: 1; height: 1px; width: auto; background: rgba(246, 244, 239, .2); }
  .timeline__step:last-child .timeline__line { display: block; opacity: .4; }
  .timeline .stage-glyph { width: 8.5rem; margin-bottom: 1.75rem; }
}

/* ---------- Mosaic gallery ---------- */
.mosaic { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(9rem, 22vw); }
.mosaic__item { position: relative; overflow: hidden; background: var(--stone-light); }
.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(10rem, 15vw); gap: .75rem; }
  .mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
  .mosaic--full .mosaic__item:nth-child(7n + 4) { grid-row: span 2; }
}
@media (min-width: 1400px) { .mosaic { grid-auto-rows: 13.5rem; } }
.mosaic__link { display: block; width: 100%; height: 100%; color: var(--ivory); text-decoration: none; }
.mosaic__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.mosaic__link:hover img, .mosaic__link:focus-visible img { transform: scale(1.05); filter: saturate(1.08); }
.mosaic__link:focus-visible { outline-offset: -4px; outline-color: var(--ivory); }
.mosaic__caption {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: .2rem; padding: 2.5rem 1rem .9rem;
  background: linear-gradient(to top, rgba(41, 43, 41, .82), transparent); font-size: .875rem;
}
.mosaic__title { font-weight: 600; }
.mosaic__note { font-size: .6875rem; opacity: .85; }
@media (hover: hover) {
  .mosaic__caption { opacity: 0; transform: translateY(.5rem); transition: opacity .35s, transform .45s var(--ease); }
  .mosaic__link:hover .mosaic__caption, .mosaic__link:focus-visible .mosaic__caption { opacity: 1; transform: none; }
}

/* ---------- Approach ---------- */
.approach__grid { display: grid; gap: 3.5rem; }
.approach__photo { aspect-ratio: 16 / 10; }
.pillars { display: grid; gap: 2.5rem; margin-top: 3rem; }
.pillars__item { border-top: 1px solid rgba(41, 43, 41, .2); padding-top: 1.5rem; }
.pillars__icon svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--forest); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.pillars__title { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.3rem; }
.pillars__text { margin-top: .6rem; color: var(--mineral-dark); font-size: .9375rem; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) {
  .approach__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
  .approach__photo { aspect-ratio: auto; min-height: 30rem; }
  .approach__body { padding-block: 1rem; }
}

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--forest); color: var(--ivory); --focus: var(--stone); }
.cta__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }
.cta__inner { display: grid; gap: 2rem; align-items: center; padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.cta__mosaic { display: grid; grid-template-columns: repeat(3, .9rem); gap: .3rem; }
.cta__mosaic span { height: .9rem; background: var(--stone); opacity: calc(.25 + var(--o, 0)); }
.cta__mosaic span:nth-child(1), .cta__mosaic span:nth-child(5), .cta__mosaic span:nth-child(9) { --o: .6; }
.cta__mosaic span:nth-child(3), .cta__mosaic span:nth-child(7) { --o: .3; }
.cta__title { font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3rem); }
.cta__lead { margin-top: 1rem; color: rgba(246, 244, 239, .82); font-size: 1.0625rem; max-width: 40rem; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 3rem; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--white); }
.page-hero__inner { padding-block: 1.75rem clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero__text { max-width: 52rem; margin-top: clamp(2rem, 1.5rem + 2.5vw, 4rem); }
.page-hero__title { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.5rem); line-height: 1.05; }
.page-hero__lead { margin-top: 1.5rem; max-width: 42rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--mineral-dark); }
.page-hero__photo { aspect-ratio: 21 / 9; max-height: 34rem; width: 100%; }
@media (max-width: 639.98px) { .page-hero__photo { aspect-ratio: 4 / 3; } }
.page-hero .strata { position: absolute; left: 0; bottom: -1.1rem; z-index: 1; }
.page-hero--image .strata { display: none; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; font-size: .8125rem; color: var(--mineral-dark); }
.breadcrumbs li + li::before { content: "/"; padding-right: .35rem; color: var(--mineral); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--graphite); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--graphite); }

/* ---------- About ---------- */
.about-block__grid { display: grid; gap: 1.5rem 4rem; }
.about-block__head { display: flex; align-items: baseline; gap: 1.25rem; }
.about-block__index { font-family: var(--font-display); color: var(--forest); font-size: 1rem; }
.about-block__photo { aspect-ratio: 16 / 9; }
.about-block--alt { background: var(--ivory-deep); }
@media (min-width: 900px) {
  .about-block__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about-block--media .about-block__photo { grid-column: 2; }
}
.activity-band { display: grid; gap: 1px; margin-top: 3rem; background: rgba(246, 244, 239, .12); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.activity-band__item { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.5rem; background: var(--graphite); }
.activity-band__n { font-family: var(--font-display); color: var(--stone); }
.activity-band__label { font-family: var(--font-display); font-size: 1.4rem; }

/* ---------- Catalogue tools ---------- */
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.catalog-tools .chips { margin-bottom: 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem 1rem; border: 1px solid var(--stone);
  border-radius: 999px; font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--graphite); transition: background-color .2s, border-color .2s;
}
.chip:hover { border-color: var(--graphite); }
.chip[aria-current="page"] { background: var(--graphite); border-color: var(--graphite); color: var(--ivory); }
.search { display: flex; gap: .5rem; flex: 1 1 18rem; max-width: 26rem; }
.search input { flex: 1; min-width: 0; min-height: 2.5rem; padding: .5rem .9rem; border: 1px solid var(--stone); background: var(--white); border-radius: var(--radius); }
.catalog-count { margin-bottom: 1.25rem; font-size: .875rem; color: var(--mineral-dark); }

.pagination { margin-top: 3rem; }
.pagination ul { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.pagination__item {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .75rem;
  border: 1px solid var(--stone); text-decoration: none; font-weight: 600; font-size: .875rem;
}
a.pagination__item:hover { border-color: var(--graphite); }
.pagination__item.is-current { background: var(--graphite); color: var(--ivory); border-color: var(--graphite); }
.pagination__item.is-disabled { opacity: .45; }

/* ---------- Product detail ---------- */
.preview-banner { padding: .75rem var(--gutter); background: #f3e3b5; color: var(--graphite); text-align: center; font-weight: 600; font-size: .9375rem; }
.product-detail { background: var(--white); padding-block: 1.75rem clamp(3.5rem, 3rem + 3vw, 6rem); }
.product-detail__grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
.product-detail__main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-light); }
.product-detail__main a, .product-detail__main img, .product-detail__main .texture { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-detail__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .5rem; margin-top: .5rem; }
.product-detail__thumbs a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--stone-light); }
.product-detail__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-detail__thumbs a:hover img { transform: scale(1.06); }
.product-detail__title { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.75rem); line-height: 1.05; }
.product-detail__lead { margin-block: 1.5rem 2rem; font-size: 1.125rem; color: var(--mineral-dark); }
.product-detail__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin-bottom: 1.75rem; font-size: .9375rem; color: var(--mineral-dark); }
.product-detail__price strong { font-size: 1.5rem; color: var(--graphite); }
.product-detail__note { margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--ivory); border-left: 2px solid var(--forest); color: var(--mineral-dark); font-size: .9375rem; }
.product-detail__description { margin-top: clamp(3rem, 2.5rem + 3vw, 5rem); display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .product-detail__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; }
  .product-detail__info { position: sticky; top: calc(var(--header-h) + 2rem); }
  .product-detail__description { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; }
}
.specs { margin-top: 2.5rem; }
.specs dl { margin: 1rem 0 0; border-top: 1px solid var(--stone); }
.specs__row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--stone-light); font-size: .9375rem; }
.specs dt { color: var(--mineral-dark); }
.specs dd { margin: 0; font-weight: 600; }

/* ---------- Production ---------- */
.overview { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .overview { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.overview__strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.overview__strip li { display: flex; flex-direction: column; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--stone); font-family: var(--font-display); color: var(--forest); }
.overview__strip .stage-glyph { width: 100%; max-width: 7rem; }
.journey-section { padding-top: 0; }
.journey { position: relative; display: grid; gap: clamp(3.5rem, 3rem + 4vw, 7rem); }
.journey::before { content: ""; position: absolute; top: 0; bottom: 0; left: 1.25rem; width: 1px; background: var(--stone); }
.journey::after {
  content: ""; position: absolute; top: 0; left: 1.25rem; width: 1px; height: calc(var(--progress, 0) * 100%); background: var(--forest);
  transition: height .2s linear;
}
.journey__stage { position: relative; display: grid; gap: 1.5rem; padding-left: 3.75rem; }
.journey__marker { position: absolute; left: 0; top: 0; z-index: 1; }
.journey__marker span {
  display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; background: var(--ivory);
  border: 1px solid var(--stone); font-family: var(--font-display); font-size: .9375rem; color: var(--forest);
}
.journey__photo { aspect-ratio: 16 / 10; }
.journey__glyph { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--ivory-deep); }
.journey__glyph .stage-glyph { width: 40%; }
.journey__title { margin-top: .75rem; font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.journey__summary { margin-block: 1rem; font-size: 1.125rem; color: var(--graphite); }
@media (min-width: 900px) {
  .journey::before, .journey::after { left: 50%; }
  .journey__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6rem; padding-left: 0; align-items: center; }
  .journey__marker { left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .journey__stage--flip .journey__media { order: 2; }
}

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .form-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 4rem; align-items: start; }
  .form-layout--contact { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .form-layout__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.form { background: var(--white); border: 1px solid var(--stone-light); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.form__title { font-family: var(--font-display); font-size: 1.75rem; }
.form__note { margin-top: .5rem; font-size: .875rem; color: var(--mineral-dark); }
.form__group { margin: 2rem 0 0; padding: 0; border: 0; display: grid; gap: 1.25rem; }
.form__group + .form__group { padding-top: 2rem; border-top: 1px solid var(--stone-light); }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form > .form__row, .form > .field { margin-top: 1.25rem; }
.form > .form__row:first-of-type { margin-top: 2rem; }
.form__submit { margin-top: 2rem; width: 100%; }
@media (min-width: 640px) { .form__submit { width: auto; } }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field__label { font-weight: 600; font-size: .9375rem; }
.field__req { color: var(--danger); margin-left: .2rem; }
.field__opt { margin-left: .4rem; font-weight: 400; font-size: .8125rem; color: var(--mineral-dark); }
.field__control {
  width: 100%; min-height: 3rem; padding: .7rem .9rem; background: var(--ivory); border: 1px solid var(--stone);
  border-radius: var(--radius); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
textarea.field__control { min-height: 8rem; resize: vertical; }
select.field__control {
  appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.3rem, calc(100% - .8rem) 1.3rem; background-size: .35rem .35rem; background-repeat: no-repeat;
}
.field__control:hover { border-color: var(--mineral); }
.field__control:focus { outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 3px rgba(57, 72, 60, .18); }
.field__hint { font-size: .8125rem; color: var(--mineral-dark); }
.field__error { font-size: .8125rem; font-weight: 600; color: var(--danger); }
.has-error .field__control { border-color: var(--danger); background: #fdf6f5; }
.consent { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--stone-light); }
.consent__notice { font-size: .875rem; color: var(--mineral-dark); margin-bottom: .9rem; }
.consent__notice a { color: var(--forest); font-weight: 600; }
.consent__label { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; font-size: .9375rem; }
.consent__label input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--forest); flex: none; }
.form-alert { margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid; font-size: .9375rem; }
.form-alert--error { background: #fbefed; border-color: var(--danger); color: #5e1a14; }
.form-alert ul { margin-top: .5rem; padding-left: 1.1rem; list-style: disc; }
.form-alert a { color: inherit; }
.form-alert:focus { outline: 2px solid var(--danger); outline-offset: 2px; }
.form-success { background: var(--white); border: 1px solid var(--stone-light); border-top: 3px solid var(--success); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.form-success:focus { outline: none; }
.form-success__icon { width: 2.75rem; height: 2.75rem; padding: .55rem; border-radius: 50%; background: #e3ece4; fill: none; stroke: var(--success); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success h2 { margin-top: 1.25rem; font-family: var(--font-display); font-size: 2rem; }
.form-success p { margin-top: .9rem; color: var(--mineral-dark); max-width: 38rem; }
.form-success__ref { display: inline-flex; gap: .75rem; align-items: baseline; padding: .6rem 1rem; background: var(--ivory); }
.form-success__ref strong { font-size: 1.25rem; letter-spacing: .04em; color: var(--graphite); }
.form-success__hint { font-size: .875rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; }
.aside-card { padding: 1.75rem; background: var(--ivory-deep); }
.aside-card + .aside-card, .aside-card + .contact-card, .contact-card + .aside-card { margin-top: 1.25rem; }
.aside-card__title { font-family: var(--font-display); font-size: 1.35rem; }
.aside-card p { margin-top: .75rem; color: var(--mineral-dark); font-size: .9375rem; }
.aside-card .btn { margin-top: 1.25rem; }
.aside-card--accent { background: var(--forest); color: var(--ivory); --focus: var(--stone); }
.aside-card--accent p { color: rgba(246, 244, 239, .8); }
.aside-steps { margin-top: 1.25rem; display: grid; gap: 1rem; counter-reset: s; }
.aside-steps li { display: grid; grid-template-columns: 1.75rem 1fr; gap: .75rem; font-size: .9375rem; color: var(--mineral-dark); }
.aside-steps span { display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border: 1px solid var(--forest); color: var(--forest); font-family: var(--font-display); font-size: .875rem; }
.contact-card { padding: 1.75rem; background: var(--white); border: 1px solid var(--stone-light); }
.contact-card dl { margin: 0; display: grid; gap: 1.1rem; }
.contact-card dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mineral-dark); }
.contact-card dd { margin: .25rem 0 0; font-size: 1.0625rem; }
.contact-card dd a { text-decoration: none; border-bottom: 1px solid var(--stone); }
.contact-card dd a:hover { border-color: var(--graphite); }
.contact-card .link-arrow { margin-top: 1.5rem; }
.contact-card--compact { margin-top: 1.25rem; }
.contact-card--pending { color: var(--mineral-dark); font-size: .9375rem; }

/* ---------- Credits ---------- */
.credits { display: grid; gap: 1.5rem; }
.credits__item { display: grid; gap: 1.25rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--stone-light); }
.credits__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.credits__item dl { margin: 0; display: grid; gap: .5rem; font-size: .875rem; }
.credits__item dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; }
.credits__item dt { color: var(--mineral-dark); }
.credits__item dd { margin: 0; overflow-wrap: anywhere; }
.credits__item a { color: var(--forest); }
@media (min-width: 800px) { .credits__item { grid-template-columns: 16rem 1fr; align-items: center; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--graphite); color: rgba(246, 244, 239, .78); --focus: var(--stone); }
.site-footer__strata { height: 6px; background: repeating-linear-gradient(90deg, var(--forest) 0 3rem, var(--stone) 3rem 3.5rem, var(--mineral) 3.5rem 5.5rem, var(--graphite-soft) 5.5rem 7rem); }
.site-footer__grid { display: grid; gap: 2.75rem; padding-block: 4rem 3rem; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 3rem; } }
.site-footer__logo { display: inline-block; padding: 1rem 1.25rem; background: var(--white); }
.site-footer__logo img { width: 9.5rem; }
.site-footer__text { margin-top: 1.5rem; max-width: 22rem; font-size: .9375rem; }
.site-footer__title { margin-bottom: 1.1rem; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.site-footer__title--spaced { margin-top: 2rem; }
.site-footer__col ul { display: grid; gap: .15rem; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 2.25rem; text-decoration: none; font-size: .9375rem; }
.site-footer__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact li { font-size: .9375rem; padding-block: .3rem; }
.site-footer__muted { font-size: .9375rem; color: rgba(246, 244, 239, .6); }
.site-footer__col .link-arrow { margin-top: 1rem; min-height: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgba(246, 244, 239, .1); font-size: .8125rem; color: rgba(246, 244, 239, .6); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(24, 25, 24, .96); color: var(--ivory); --focus: var(--stone);
}
.lightbox::backdrop { background: rgba(24, 25, 24, .9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] { animation: fade .3s ease both; } .lightbox__img { animation: rise .45s var(--ease) both; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem var(--gutter); }
.lightbox__counter { font-size: .875rem; color: rgba(246, 244, 239, .7); }
.lightbox__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem;
  background: rgba(246, 244, 239, .08); border: 1px solid rgba(246, 244, 239, .2); color: var(--ivory); cursor: pointer; border-radius: 50%;
}
.lightbox__btn:hover { background: rgba(246, 244, 239, .18); }
.lightbox__btn svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 var(--gutter); }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
.lightbox__caption { padding: 1rem var(--gutter) 1.5rem; text-align: center; font-size: .9375rem; min-height: 3.5rem; }
.lightbox__caption small { display: block; margin-top: .25rem; color: rgba(246, 244, 239, .65); }
@media (max-width: 639.98px) { .lightbox__nav { top: auto; bottom: -3.75rem; transform: none; } .lightbox__caption { padding-inline: 4.5rem; } }

/* ---------- Error page ---------- */
.error-page { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; background: var(--ivory); }
.error-page__inner { max-width: 36rem; margin: 0 auto; padding: 3rem var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.error-page__logo img { width: 6rem; }
.error-page__code { margin-top: 1.5rem; font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 7rem); line-height: 1; color: var(--stone); }
.error-page__title { font-family: var(--font-display); font-size: 2rem; }
.error-page__text { color: var(--mineral-dark); margin-bottom: 1rem; }

/* ---------- Scroll reveal (only when JavaScript runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .cta, .hero__scroll, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
