/* ==========================================================================
   Zürihonig – Design System
   Black & gold, like the label. Colours from the corporate design (~/CI, ci/tokens.json). Warm, quiet, generous.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* Ink (dark) */
  --ink:          #0D0C0A;
  --ink-2:        #15130F;
  --ink-3:        #1F1C16;
  --ink-line:     rgba(233, 216, 180, .14);

  /* Gold */
  --gold:         #B38F3B;
  --gold-bright:  #DCBB63;
  --gold-pale:    #E8D6A0;
  --gold-deep:    #7A6124;   /* gold that clears 4.5:1 on cream */

  /* Cream (light) */
  --cream:        #F2EDE3;
  --cream-2:      #E9E2D4;
  --cream-line:   rgba(27, 25, 21, .12);

  /* Text */
  --on-dark:      #F2EDE3;
  --on-dark-mute: rgba(242, 237, 227, .62);
  --on-light:     #1B1915;
  --on-light-mute:#6A6151;

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container:    1180px;
  --container-wide: 1440px;
  --gutter:       clamp(1.25rem, 5vw, 3.5rem);
  --section-y:    clamp(4.5rem, 11vw, 9.5rem);

  --radius:       2px;
  --ease:         cubic-bezier(.22, .61, .36, 1);

  /* Context gold: accessible on light surfaces, label gold on dark ones. */
  --gold-ui:       var(--gold-deep);
  --gold-ui-hover: var(--ink);
}

/* --- 2. Reset ------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--on-light);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* --- 3. Typography ------------------------------------------------------- */

.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.display-xl { font-size: clamp(3.2rem, 11vw, 8.5rem); }
.display-l  { font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 1.08; }
.display-m  { font-size: clamp(1.9rem, 4vw, 3.1rem);  line-height: 1.14; }
.display-s  { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.22; }

.display-xl em, .display-l em, .display-m em, .display-s em {
  font-style: italic;
  color: var(--gold-ui);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ui);
  margin-bottom: 1.6rem;
}
.kicker::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.kicker.is-centered { justify-content: center; }

.lead {
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.68;
  color: var(--on-light-mute);
  text-wrap: pretty;
}
.prose p + p { margin-top: 1.15em; }
.prose p { color: var(--on-light-mute); text-wrap: pretty; }
.prose strong { color: var(--on-light); font-weight: 600; }

/* Dark context */
.section--dark { background: var(--ink); color: var(--on-dark); }

/* Dark surfaces carry the bright label gold; light panels nested inside them
   (cards) switch back, so the accent always meets contrast on its own ground. */
.section--dark, .header, .hero, .drawer, .footer, .lightbox {
  --gold-ui:       var(--gold);
  --gold-ui-hover: var(--gold-bright);
}
.card {
  --gold-ui:       var(--gold-deep);
  --gold-ui-hover: var(--ink);
}
.card--dark {
  --gold-ui:       var(--gold);
  --gold-ui-hover: var(--gold-bright);
}
.section--dark .lead,
.section--dark .prose p { color: var(--on-dark-mute); }
.section--dark .prose strong { color: var(--on-dark); }

/* --- 4. Layout ----------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--cream-2 { background: var(--cream-2); }

.section-head { max-width: 46rem; }
.section-head--centered { margin-inline: auto; text-align: center; }

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr .95fr; }
  .split--reverse > :first-child { order: 2; }
}

/* --- 5. Buttons ---------------------------------------------------------- */

.btn {
  --btn-fg: var(--ink);
  --btn-bg: var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .95rem 1.75rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border: 1px solid rgba(242, 237, 227, .3);
}
.btn--ghost:hover {
  background: rgba(242, 237, 227, .08);
  border-color: rgba(242, 237, 227, .55);
  color: var(--on-dark);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--on-light);
  border: 1px solid rgba(27, 25, 21, .28);
}
.btn--outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Text link with animated rule */
.link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ui);
  padding-bottom: .35rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 30% 1px; }
.link .arrow { transition: transform .35s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.1rem;
  align-items: center;
  margin-top: 2.4rem;
}

/* --- 6. Header ----------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity .45s var(--ease);
  z-index: -1;
}
.header.is-solid::after { opacity: .96; }
.header.is-solid { box-shadow: 0 1px 0 var(--ink-line); }
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 84px;
  transition: height .45s var(--ease);
}
.header.is-solid .header__inner { height: 68px; }

.brand { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.brand__logo { display: block; width: auto; height: 40px; transition: height .45s var(--ease); }
.header.is-solid .brand__logo { height: 34px; }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
}
.nav__link {
  position: relative;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, .78);
  padding-block: .4rem;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after { transform: scaleX(1); }

.header__cta { display: none; }
@media (min-width: 1140px) { .header__cta { display: inline-flex; padding: .72rem 1.35rem; } }

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  margin-right: -10px;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 1px;
  background: var(--cream);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
/* Lines sit 8px apart (2px line + 6px gap), so the outer two meet in the middle. */
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Language switch */
.lang { display: none; align-items: center; gap: .7rem; }
@media (min-width: 1000px) { .lang { display: inline-flex; } }
.lang__link {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  transition: color .3s var(--ease);
}
a.lang__link:hover { color: var(--cream); }
.lang__link.is-active { color: var(--gold-ui); }
.lang--drawer { display: inline-flex; margin-bottom: 1.4rem; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: 120px var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5rem);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
  overflow-y: auto;
}
.drawer.is-open {
  opacity: 1; visibility: visible; transform: none;
  /* Visible at once on open, so the first link can take focus right away. */
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s;
}
.drawer__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.9rem);
  font-weight: 300;
  color: var(--cream);
  padding-block: .28em;
  border-bottom: 1px solid var(--ink-line);
  transition: color .3s var(--ease), padding-left .4s var(--ease);
}
.drawer__link:hover, .drawer__link.is-active { color: var(--gold); padding-left: .3em; }
.drawer__foot {
  margin-top: 2.5rem;
  color: var(--on-dark-mute);
  font-size: .9rem;
}
.drawer__foot a { color: var(--gold); }

/* --- 7. Hero ------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--on-dark);
  background: var(--ink);
  overflow: hidden;
}
.hero--page { min-height: min(78svh, 680px); }

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; transform: none; }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(13,12,10,.82) 0%, rgba(13,12,10,.55) 34%, rgba(13,12,10,.12) 62%, rgba(13,12,10,.35) 100%),
    linear-gradient(to top, rgba(13,12,10,.92) 0%, rgba(13,12,10,.42) 34%, rgba(13,12,10,.18) 58%, rgba(13,12,10,.62) 100%);
}

.hero .kicker { text-shadow: 0 1px 18px rgba(13,12,10,.85); }

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(4rem, 10vh, 7rem);
}
.hero__title { color: var(--cream); text-shadow: 0 2px 40px rgba(13,12,10,.55); }
.hero__title em { color: var(--gold-bright); }
.hero__sub {
  max-width: 34rem;
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: rgba(242, 237, 227, .78);
  text-wrap: pretty;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2rem, 6vh, 3.5rem);
  z-index: 2;
  display: none;
  align-items: center;
  gap: .8rem;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, .5);
  writing-mode: vertical-rl;
}
@media (min-width: 860px) { .hero__scroll { display: flex; } }
.hero__scroll::after {
  content: "";
  width: 1px; height: 4rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

/* Page hero (subpages) */
.hero--page .hero .kicker { text-shadow: 0 1px 18px rgba(13,12,10,.85); }

.hero__inner { padding-bottom: clamp(3rem, 7vh, 5rem); }
.hero--page .hero__media img { object-position: center 45%; }

/* --- 9. Stats ------------------------------------------------------------ */

.stats {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--cream-line);
}
.section--dark .stats { border-top-color: var(--ink-line); }
.stats--compact { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 1.5rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold-ui);
  letter-spacing: -.02em;
}
.stat__label {
  margin-top: .85rem;
  font-size: .8rem;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--on-light-mute);
  max-width: 15rem;
}
.section--dark .stat__label { color: var(--on-dark-mute); }

/* --- 10. Media / figures ------------------------------------------------- */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--square   { aspect-ratio: 1 / 1; }
.media--wide     { aspect-ratio: 16 / 10; }
.media--tall     { aspect-ratio: 3 / 4; }

.media__caption {
  margin-top: .9rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--on-light-mute);
}
.section--dark .media__caption { color: var(--on-dark-mute); }

.media-stack { position: relative; }
.media-stack__accent {
  position: absolute;
  right: -6%;
  bottom: -12%;
  width: 46%;
  border: 6px solid var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(13,12,10, .5);
}
.section--dark .media-stack__accent { border-color: var(--ink); }
@media (max-width: 620px) {
  .media-stack__accent { position: static; width: 60%; margin-top: -18%; margin-left: auto; }
}

/* --- 11. Sorten cards ---------------------------------------------------- */

.cards {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 1.9rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  margin-top: clamp(2.8rem, 5vw, 4rem);
}

.card {
  position: relative;
  padding: clamp(1.9rem, 3vw, 2.6rem);
  background: var(--cream);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.section--cream-2 .card { background: var(--cream); }
.card--dark {
  background: var(--ink-2);
  border-color: var(--ink-line);
}
.card--dark .card__title { color: var(--on-dark); }
.card--dark .card__text  { color: var(--on-dark-mute); }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(179, 143, 59, .45);
  box-shadow: 0 22px 50px -30px rgba(13,12,10, .45);
}
.card__index {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--gold-ui);
  letter-spacing: .1em;
}
.card__title {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
}
.card__meta {
  margin-top: .5rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ui);
}
.card__text {
  margin-top: 1.1rem;
  font-size: .95rem;
  line-height: 1.68;
  color: var(--on-light-mute);
}

/* --- 12. Standort tiles -------------------------------------------------- */

.tiles {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  margin-top: clamp(2.8rem, 5vw, 4rem);
}
.tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
  filter: saturate(.9) brightness(.86);
}
.tile:hover img { transform: scale(1.06); filter: saturate(1) brightness(.95); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,12,10,.92) 6%, rgba(13,12,10,.35) 48%, rgba(13,12,10,.05) 82%);
}
.tile__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--cream);
}
.tile__eyebrow {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.tile__title {
  margin-top: .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  font-weight: 400;
  line-height: 1.16;
}
.tile__text {
  margin-top: .55rem;
  font-size: .87rem;
  line-height: 1.6;
  color: rgba(242, 237, 227, .68);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .6s var(--ease), opacity .5s var(--ease), margin-top .6s var(--ease);
}
.tile:hover .tile__text,
.tile:focus-visible .tile__text { max-height: 8rem; opacity: 1; }
@media (hover: none) {
  .tile__text { max-height: 8rem; opacity: 1; }
}

/* --- 13. Verkaufsstellen list -------------------------------------------- */

.shops {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--cream-line);
}
.section--dark .shops { border-top-color: var(--ink-line); }
.shop {
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(0rem, 2vw, 1.6rem) clamp(1.6rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--cream-line);
}
.section--dark .shop { border-bottom-color: var(--ink-line); }
.shop__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
}
.shop__addr {
  margin-top: .6rem;
  font-size: .92rem;
  line-height: 1.65;
  color: var(--on-light-mute);
  font-style: normal;
}
.section--dark .shop__addr { color: var(--on-dark-mute); }
.shop__addr a { color: var(--gold-ui); transition: color .3s var(--ease); }
.shop__addr a:hover { color: var(--gold-ui-hover); text-decoration: underline; text-underline-offset: 3px; }
.shop__tag {
  display: inline-block;
  margin-bottom: .8rem;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ui);
}

/* --- 14. Presse ---------------------------------------------------------- */

.press-list { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--ink-line); }
.press-item {
  display: grid;
  gap: .35rem 2rem;
  align-items: baseline;
  padding-block: clamp(1.35rem, 2.6vw, 1.9rem);
  border-bottom: 1px solid var(--ink-line);
  transition: padding-left .5s var(--ease);
}
@media (min-width: 760px) {
  .press-item { grid-template-columns: 12rem 1fr 8rem; }
  .press-item:hover { padding-left: 1rem; }
}
.press-item__source {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ui);
}
.press-item__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  font-weight: 400;
  line-height: 1.3;
}
.press-item__kind {
  display: inline-block;
  margin-left: .55em;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  vertical-align: middle;
}
.press-item__date {
  font-size: .82rem;
  color: var(--on-dark-mute);
  white-space: nowrap;
}
.section--dark .press-item__title { color: var(--on-dark); }

/* --- 15. Galerie --------------------------------------------------------- */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.5rem;
}
.filter {
  padding: .55rem 1.15rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-light-mute);
  border: 1px solid var(--cream-line);
  border-radius: 100px;
  transition: all .35s var(--ease);
}
.filter:hover { border-color: var(--gold-ui); color: var(--on-light); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.grid-masonry {
  margin-top: 2.5rem;
  columns: 1;
  column-gap: clamp(.75rem, 1.4vw, 1.1rem);
}
@media (min-width: 620px)  { .grid-masonry { columns: 2; } }
@media (min-width: 1000px) { .grid-masonry { columns: 3; } }
.grid-masonry > * { break-inside: avoid; margin-bottom: clamp(.75rem, 1.4vw, 1.1rem); }

.shot {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-2);
}
.shot img { width: 100%; transition: transform 1s var(--ease), filter .5s var(--ease); }
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.shot:hover img { transform: scale(1.045); }
.shot:hover::after { opacity: .18; }
.shot[hidden] { display: none; }

/* Teaser strip */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.5rem, 1vw, .9rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }
.strip .shot { aspect-ratio: 1 / 1; }
.strip .shot img { height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(9, 8, 6, .96);
  opacity: 0;
  visibility: hidden;
  /* Delay visibility only on the way out, so the dialog is focusable the
     moment it opens. */
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s var(--ease), visibility 0s linear 0s;
}
.lightbox__img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(.97);
  transition: transform .45s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__caption {
  margin-top: 1.1rem;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--on-dark-mute);
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  color: var(--cream);
  border: 1px solid rgba(242, 237, 227,.22);
  border-radius: 50%;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__btn:hover { background: rgba(242, 237, 227,.12); border-color: rgba(242, 237, 227,.5); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev  { left: clamp(.5rem, 2vw, 2rem);  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) {
  .lightbox__prev { left: 1rem; top: auto; bottom: 1.5rem; transform: none; }
  .lightbox__next { right: 1rem; top: auto; bottom: 1.5rem; transform: none; }
}

/* --- 16. Quote / pull ---------------------------------------------------- */

.pull {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}
.pull__mark {
  display: block;
  margin-inline: auto;
  width: 52px;
  margin-bottom: 2.2rem;
  opacity: .95;
}
.pull__text {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.15rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.28;
  text-wrap: balance;
}
.pull__cite {
  display: block;
  margin-top: 1.8rem;
  font-size: .73rem;
  font-style: normal;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ui);
}

/* --- 17. Contact --------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.contact-block__label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ui);
  padding-bottom: .9rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--ink-line);
}
.contact-block__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--on-dark-mute);
  font-style: normal;
}
.contact-block__body a { color: var(--on-dark); transition: color .3s var(--ease); }
.contact-block__body a:hover { color: var(--gold-ui); }
.contact-block__body strong { color: var(--on-dark); font-weight: 500; }

/* --- 18. Footer ---------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--ink-line);
}
.footer__top {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 820px) {
  /* Keep the columns left of the buildings at the right end of the horizon. */
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr; padding-right: 20%; }
}
/* Horizon as in the letterhead: the text above sits close on the line, the
   bottom row just below it. The SVG is 700 x 86 with the line at y = 84, so
   the line lies 12 % of the width below the image top; percentage margins
   refer to the width, which puts the line 1.6rem under the columns. */
.footer__horizon {
  display: block;
  width: 100%;
  height: auto;
  margin-top: calc(-12% + 1.6rem);
  pointer-events: none;
}
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__brand img { width: auto; height: 52px; }
.footer__tag {
  margin-top: 1.4rem;
  max-width: 24rem;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--on-dark-mute);
}
.footer__col-title {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer__list li + li { margin-top: .6rem; }
.footer__list a {
  font-size: .95rem;
  color: var(--on-dark-mute);
  transition: color .3s var(--ease);
}
.footer__list a:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.8rem;
  justify-content: space-between;
  align-items: center;
  padding-top: .6rem;
  font-size: .8rem;
  color: rgba(242, 237, 227, .42);
}
.footer__bottom a { transition: color .3s var(--ease); }
.footer__bottom a:hover { color: var(--gold); }
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* --- 19. Scroll reveal --------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- 20. Utilities ------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 300;
  padding: .8rem 1.4rem;
  background: var(--gold);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }

.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;
}
.rule { height: 1px; background: var(--cream-line); border: 0; margin: 0; }
.section--dark .rule { background: var(--ink-line); }
.text-gold { color: var(--gold-ui); }
.mt-l { margin-top: clamp(2rem, 4vw, 3rem); }
