/* ============================================================
   Deluxe Couture, styles.css
   Single stylesheet for all pages. Tokens locked in design-system.md.
   No bordeaux, no sage. Cream + ink + gold. That is the entire palette.
   ============================================================ */

:root {
  --cream: #F5EFE2;
  --cream-soft: #FBF7EE;
  --cream-deep: #EDE3CE;
  --ink: #1A1410;
  --ink-soft: #2A2620;
  --ink-mute: #7A6F5F;
  --gold: #C9A24E;
  --gold-deep: #A88234;
  --gold-soft: #E5D2A0;
  --shadow-soft: 0 1px 2px rgba(26,20,16,0.04), 0 8px 28px rgba(26,20,16,0.06);
  --shadow-mid: 0 6px 24px rgba(26,20,16,0.14);

  --fz-display: clamp(3rem, 7vw, 6.25rem);
  --fz-page-title: clamp(2.25rem, 5vw, 4rem);
  --fz-h2: clamp(1.75rem, 3.5vw, 2.75rem);
  --fz-h3: clamp(1.25rem, 2vw, 1.625rem);
  --fz-lede: clamp(1.0625rem, 1.5vw, 1.3125rem);
  --fz-body: 1.0625rem;
  --fz-meta: 0.875rem;
  --fz-eyebrow: 0.75rem;

  --lh-display: 0.95;
  --lh-h2: 1.1;
  --lh-body: 1.6;
  --lh-tight: 1.25;

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem;  --s-7: 3rem; --s-8: 4.5rem;
  --s-9: 6.5rem; --s-10: 9rem;

  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --container-wide: 1480px;

  --header-h: 76px;
  --serif: 'Bodoni Moda', Georgia, serif;
  --sans:  'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);
}

* { box-sizing: border-box; }

*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* View Transitions, smooth product nav */
@view-transition { navigation: auto; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
  padding-bottom: 0.08em; /* descender breathing room (j, q, g, p, y) */
}
h1 { font-size: var(--fz-display); line-height: var(--lh-display); font-weight: 400; }
h2 { font-size: var(--fz-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fz-h3); line-height: var(--lh-tight); }
.emphasis, em { font-style: italic; font-weight: 400; }

p { margin: 0 0 var(--s-4) 0; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fz-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
}
.eyebrow.gold { color: var(--gold-deep); }
.lede {
  font-family: var(--sans);
  font-size: var(--fz-lede);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: var(--lh-body);
  max-width: 64ch;
  text-wrap: pretty;
}

/* Tagline (English, bridal page only, but defined globally) */
.tagline-en {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  letter-spacing: 0;
  color: var(--ink);
}

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.container.wide { max-width: var(--container-wide); }

.section {
  padding-top: var(--s-9);
  padding-bottom: var(--s-9);
}
@media (max-width: 720px) {
  .section { padding-top: var(--s-7); padding-bottom: var(--s-7); }
}
.section.tight { padding-top: var(--s-7); padding-bottom: var(--s-7); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream); padding: 12px 16px;
  font-weight: 600; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 500; font-size: 0.9375rem;
  letter-spacing: 0.02em;
  background: var(--ink); color: var(--cream);
  padding: 0.95rem 1.5rem; border: 0; cursor: pointer;
  transition: background 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.btn:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn .arrow { transition: transform 240ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 500; font-size: 0.9375rem;
  letter-spacing: 0.02em;
  background: transparent; color: var(--ink); padding: 0.9rem 0;
  border: 0; border-bottom: 1px solid var(--ink); cursor: pointer;
  transition: color 200ms, border-color 200ms;
}
.btn-ghost:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.btn-ghost .arrow { transition: transform 240ms var(--ease-out); }
.btn-ghost:hover .arrow { transform: translateX(3px); }

/* ============ HEADER ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: var(--s-4);
  padding: 14px var(--container-pad);
  background: rgba(245, 239, 226, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 200ms var(--ease-out), border-color 200ms var(--ease-out);
  height: var(--header-h);
}
.site-header.scrolled { border-bottom-color: rgba(26,20,16,0.08); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 500; font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-logo { width: 30px; height: 30px; object-fit: contain; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 0.95rem; }
.brand-sub  { font-size: 0.65rem; color: var(--ink-mute); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; }

.nav {
  display: flex; gap: var(--s-6); justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: 0.9375rem;
}
.nav a { color: var(--ink-soft); transition: color 200ms; position: relative; padding: 4px 0; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
}

.header-cta {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 500; font-size: 0.875rem;
  background: var(--ink); color: var(--cream);
  padding: 0.65rem 1.1rem; transition: background 200ms;
}
.header-cta:hover { background: var(--ink-soft); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid rgba(26,20,16,0.18);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 18px; height: 1.5px; background: var(--ink);
}
.nav-toggle .bar { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle .bar::before { top: -6px; }
.nav-toggle .bar::after { top: 6px; }

@media (max-width: 880px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header { grid-template-columns: auto 1fr auto; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 60;
  padding: var(--s-9) var(--container-pad) var(--s-7);
  transform: translateX(100%);
  transition: transform 360ms var(--ease-out);
  display: flex; flex-direction: column; gap: var(--s-7);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  border: 1px solid rgba(26,20,16,0.18);
  background: transparent; cursor: pointer;
}
.mobile-drawer-close::before, .mobile-drawer-close::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px;
  background: var(--ink); transform-origin: center;
}
.mobile-drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-drawer-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-nav { display: flex; flex-direction: column; gap: var(--s-3); }
.mobile-nav a {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.05; color: var(--ink);
  border-bottom: 1px solid rgba(26,20,16,0.08);
  padding: var(--s-3) 0;
}
.mobile-meta {
  margin-top: auto;
  display: flex; flex-direction: column; gap: var(--s-2);
  font-size: 0.875rem; color: var(--ink-mute);
}
.mobile-meta a { color: var(--ink); }

/* ============ HERO (home) ============ */
/* Hero photos are portrait IG (3:4). On wide landscape viewports cover crops top/bottom.
   Strategy: tall hero so the full silhouette shows. object-position centered on the dress
   detail (around 40% from top) so we keep face + corset + skirt in frame. */
.hero-home {
  position: relative;
  min-height: 92vh;
  display: grid; align-items: end;
  overflow: hidden;
}
@media (max-width: 720px) {
  .hero-home { min-height: 100svh; min-height: 100vh; align-items: end; }
}
.hero-home::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(26,20,16,0) 0%,
    rgba(26,20,16,0) 35%,
    rgba(26,20,16,0.65) 100%);
  z-index: 2;
}
.hero-home picture, .hero-home img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  z-index: 1;
}
@media (max-width: 720px) {
  .hero-home picture, .hero-home img { object-position: 50% 35%; }
}
.hero-home .container {
  position: relative; z-index: 3;
  padding-top: calc(var(--header-h) + var(--s-7));
  padding-bottom: var(--s-9);
}
.hero-home .eyebrow { color: var(--gold-soft); }
.hero-home h1 {
  color: var(--cream); max-width: 18ch;
  font-size: clamp(2.25rem, 7vw, 6.25rem); /* tighter floor for mobile */
}
.hero-home .lede { color: rgba(245,239,226,0.86); max-width: 56ch; margin-top: var(--s-4); }
.hero-home .cta-row { display: flex; gap: var(--s-4); margin-top: var(--s-6); flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero-home .container { padding-bottom: var(--s-7); }
  .hero-home .lede { font-size: 0.9375rem; }
  .hero-home .cta-row { margin-top: var(--s-5); gap: var(--s-3); }
  .hero-home .btn, .hero-home .btn-ghost { padding-top: 0.8rem; padding-bottom: 0.8rem; font-size: 0.875rem; }
}
.hero-home .btn { background: var(--cream); color: var(--ink); }
.hero-home .btn:hover { background: var(--gold-soft); }
.hero-home .btn-ghost { color: var(--cream); border-bottom-color: var(--cream); }
.hero-home .btn-ghost:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }

/* Hero (subpage) — softer, photo-led */
.hero-sub {
  position: relative;
  min-height: 80vh;
  display: grid; align-items: end;
  overflow: hidden;
  margin-top: 0;
}
.hero-sub::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(26,20,16,0) 30%,
    rgba(26,20,16,0.55) 100%);
  z-index: 2;
}
.hero-sub picture, .hero-sub img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  z-index: 1;
}
@media (max-width: 720px) {
  .hero-sub picture, .hero-sub img { object-position: 50% 35%; }
}
.hero-sub .container { position: relative; z-index: 3; padding-bottom: var(--s-7); padding-top: calc(var(--header-h) + var(--s-7)); }
.hero-sub .eyebrow { color: var(--gold-soft); }
.hero-sub h1 { color: var(--cream); max-width: 22ch; font-size: clamp(2rem, 5vw, 4rem); }
.hero-sub .lede { color: rgba(245,239,226,0.86); margin-top: var(--s-4); max-width: 56ch; }
@media (max-width: 720px) {
  .hero-sub { min-height: 56vh; }
  .hero-sub .lede { font-size: 0.9375rem; }
}

/* Bridal-specific hero pacing override (no color change, just spacing + scale) */
.hero-bridal { min-height: 88vh; }
.hero-bridal h1 { font-size: clamp(2.75rem, 6.5vw, 5.5rem); max-width: 24ch; }
.hero-bridal .tagline-en { color: var(--gold-soft); display: block; margin-bottom: var(--s-4); }

/* ============ INTRO BLOCK (home) ============ */
.intro-band {
  background: var(--cream);
  padding: var(--s-9) 0 var(--s-8);
}
.intro-grid {
  display: grid; gap: var(--s-7);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 880px) {
  .intro-grid { grid-template-columns: 1fr; }
}
.intro-text h2 { margin-bottom: var(--s-5); }

/* ============ EDITORIAL BAND ============ */
.edit-band {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--cream-deep);
}
@media (max-width: 880px) {
  .edit-band { grid-template-columns: 1fr; }
}
.edit-band .edit-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.edit-band .edit-img img { width: 100%; height: 100%; object-fit: cover; }
.edit-band .edit-copy {
  padding: var(--s-9) var(--s-7);
  display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 720px) {
  .edit-band .edit-copy { padding: var(--s-7) var(--s-5); }
}
.edit-band h2 { margin-bottom: var(--s-5); }

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5) var(--s-4);
}
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6) var(--s-5); } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-grid.wide-3 {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .product-grid.wide-3 { grid-template-columns: repeat(3, 1fr); } }

/* Center an orphan card on mobile */
.product-grid > .product-card:nth-child(odd):last-child {
  grid-column: 1 / -1; justify-self: center; max-width: 50%;
}
@media (min-width: 600px) {
  .product-grid > .product-card:nth-child(odd):last-child { grid-column: auto; max-width: none; }
}

.product-card {
  position: relative;
  display: block;
  background: transparent;
  transition: transform 280ms var(--ease-out);
}
.product-card .pc-image {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--cream-deep);
  overflow: hidden;
}
.product-card .pc-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.product-card:hover .pc-image img { transform: scale(1.04); }
.product-card .pc-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: var(--s-3);
  font-family: var(--sans); font-size: var(--fz-meta);
  color: var(--ink-mute);
}
.product-card h3 {
  font-family: var(--serif); font-size: 1.125rem; font-weight: 500;
  margin-top: var(--s-1);
  line-height: 1.2;
  color: var(--ink);
}
.product-card .pc-cta {
  display: inline-flex; gap: 0.4em; align-items: center;
  font-family: var(--sans); font-size: var(--fz-meta); font-weight: 500;
  color: var(--ink-mute);
  margin-top: var(--s-2);
  transition: color 200ms;
}
.product-card:hover .pc-cta { color: var(--gold-deep); }
.product-card .pc-cta .arrow { transition: transform 240ms; }
.product-card:hover .pc-cta .arrow { transform: translateX(3px); }

/* ============ FILTER BAR ============ */
.filter-bar {
  display: flex; gap: var(--s-2);
  margin-bottom: var(--s-7);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(26,20,16,0.08);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar button {
  font-family: var(--sans); font-weight: 500; font-size: 0.875rem;
  letter-spacing: 0.02em;
  background: transparent; border: 0; padding: 0.7rem 1rem;
  color: var(--ink-mute); cursor: pointer; white-space: nowrap;
  position: relative;
  transition: color 200ms;
}
.filter-bar button:hover { color: var(--ink); }
.filter-bar button.active { color: var(--ink); font-weight: 600; }
.filter-bar button.active::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: -1px;
  height: 1px; background: var(--gold);
}

/* Hide filtered-out cards */
.product-card.is-hidden { display: none; }

/* ============ PDP (product detail) ============ */
.pdp {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-7);
  padding-top: calc(var(--header-h) + var(--s-7));
  padding-bottom: var(--s-9);
  align-items: start;
}
@media (max-width: 880px) { .pdp { grid-template-columns: 1fr; } }

.pdp-gallery { display: grid; gap: var(--s-3); }
.pdp-main {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--cream-deep);
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs {
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(3, 1fr);
}
.pdp-thumb { aspect-ratio: 1/1; overflow: hidden; cursor: pointer; background: var(--cream-deep); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 200ms; }
.pdp-thumb:hover img { opacity: 0.85; }

.pdp-copy { position: sticky; top: calc(var(--header-h) + var(--s-5)); padding: var(--s-4) 0; }
.pdp-copy .meta-row {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  font-family: var(--sans); font-size: var(--fz-meta);
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
}
.pdp-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05;
  margin-bottom: var(--s-4);
}
.pdp-copy .lede { margin-bottom: var(--s-5); }
.pdp-copy .details {
  list-style: none; padding: 0; margin: 0 0 var(--s-6) 0;
  border-top: 1px solid rgba(26,20,16,0.1);
}
.pdp-copy .details li {
  padding: var(--s-3) 0;
  font-size: 0.9375rem; color: var(--ink-soft);
  border-bottom: 1px solid rgba(26,20,16,0.08);
  display: flex; align-items: baseline; gap: var(--s-3);
}
.pdp-copy .details li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); flex: none;
}
.pdp-copy .pdp-cta { margin-top: var(--s-5); }
.pdp-back {
  display: inline-flex; gap: 0.4em; align-items: center;
  margin-top: calc(var(--header-h) + var(--s-5));
  margin-bottom: var(--s-4);
  font-family: var(--sans); font-size: var(--fz-meta); font-weight: 500;
  color: var(--ink-mute);
}
.pdp-back .arrow { transform: rotate(180deg); transition: transform 200ms; }
.pdp-back:hover { color: var(--ink); }

/* ============ BRIDAL PAGE ============ */
.bridal-intro {
  padding: var(--s-9) 0 var(--s-8);
  text-align: center;
}
.bridal-intro h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 26ch;
  margin: 0 auto var(--s-5);
}
.bridal-intro .lede { margin: 0 auto; }
.bridal-intro .tagline-en {
  display: block;
  margin-bottom: var(--s-4);
  color: var(--gold-deep);
}
.bridal-meta-row {
  display: flex; gap: var(--s-7); justify-content: center; flex-wrap: wrap;
  margin-top: var(--s-7);
  font-family: var(--sans); font-size: var(--fz-meta); color: var(--ink-mute);
}
.bridal-meta-row span { display: inline-flex; align-items: center; gap: 0.5em; }
.bridal-meta-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.bridal-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-7) var(--s-6);
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 720px) { .bridal-grid { grid-template-columns: 1fr; gap: var(--s-7); } }
.bridal-grid .product-card .pc-image { aspect-ratio: 3/4; }
.bridal-grid .product-card h3 { font-size: 1.5rem; margin-top: var(--s-3); }

.bridal-cta-band {
  margin-top: var(--s-9);
  padding: var(--s-9) var(--s-5);
  background: var(--cream-soft);
  text-align: center;
}
.bridal-cta-band p { max-width: 56ch; margin: 0 auto var(--s-5); color: var(--ink-soft); }
.bridal-cta-band a.ig-link {
  display: inline-block; margin-top: var(--s-4);
  font-family: var(--sans); font-size: var(--fz-meta);
  color: var(--ink-mute); text-decoration: underline; text-underline-offset: 4px;
}

/* ============ ATELIER PAGE ============ */
.atelier-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6);
}
@media (max-width: 880px) { .atelier-cards { grid-template-columns: 1fr; } }
.atelier-card {
  background: var(--cream-soft);
  padding: var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.atelier-card h3 { font-size: 1.75rem; line-height: 1.1; }
.atelier-card .addr { color: var(--ink-mute); font-size: var(--fz-meta); }
.atelier-card .addr-detail { color: var(--ink-soft); }

.process-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
@media (min-width: 880px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  border-top: 1px solid rgba(26,20,16,0.16);
  padding-top: var(--s-4);
}
.process-step .num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.5rem; color: var(--gold-deep);
  display: block; margin-bottom: var(--s-3);
}
.process-step h3 { font-size: 1.25rem; margin-bottom: var(--s-3); }
.process-step p { font-size: 0.9375rem; color: var(--ink-soft); }

/* ============ KONTAKT PAGE ============ */
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
}
@media (max-width: 880px) { .kontakt-grid { grid-template-columns: 1fr; } }
.kontakt-card {
  display: flex; flex-direction: column; gap: var(--s-4);
}
.kontakt-card .map-img {
  aspect-ratio: 16/10;
  background: var(--cream-deep);
  overflow: hidden;
  border: 1px solid rgba(26,20,16,0.08);
}
.kontakt-card .map-img img { width: 100%; height: 100%; object-fit: cover; }
.kontakt-card h2 { font-size: 1.875rem; line-height: 1.1; }
.kontakt-card .addr { font-size: 1.0625rem; color: var(--ink-soft); }
.kontakt-card .pill {
  display: inline-block;
  font-family: var(--sans); font-size: var(--fz-eyebrow);
  font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold);
  padding: 0.4em 0.9em;
  margin-bottom: var(--s-3);
  align-self: flex-start;
}
.kontakt-card .links { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); }
.kontakt-card .links a {
  font-family: var(--sans); font-weight: 500; font-size: 0.9375rem;
  color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px;
  align-self: flex-start;
  transition: color 200ms, border-color 200ms;
}
.kontakt-card .links a:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.kontakt-card .placeholder {
  font-family: var(--sans); font-size: var(--fz-meta);
  color: var(--ink-mute);
  font-style: italic;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--cream-deep);
  padding: var(--s-9) 0 var(--s-6);
  margin-top: 0;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-7);
}
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: var(--s-4); }
.footer-mark {
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-logo { width: 30px; height: 30px; object-fit: contain; }
.footer-mark-text {
  font-family: var(--serif); font-size: 1.125rem; font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-tagline { color: var(--ink-soft); max-width: 38ch; font-size: 0.9375rem; }
.footer-col h4 {
  font-family: var(--sans); font-size: var(--fz-eyebrow); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 var(--s-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.footer-col li { font-size: 0.9375rem; color: var(--ink-soft); }
.footer-col li a { color: var(--ink); transition: color 200ms; }
.footer-col li a:hover { color: var(--gold-deep); }
.footer-bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(26,20,16,0.08);
  display: flex; justify-content: space-between;
  font-size: var(--fz-meta); color: var(--ink-mute);
  flex-wrap: wrap; gap: var(--s-3);
}

/* ============ REVEAL (opacity-only, progressive enhancement) ============ */
/* Default: visible so no-JS users (and crawlers, and screenshot tools) see content. */
.reveal { opacity: 1; }
/* When JS has loaded, hide until intersection. */
.js-on .reveal { opacity: 0; transition: opacity 700ms var(--ease-out); }
.js-on .reveal.in { opacity: 1; }

/* ============ VIEW TRANSITIONS ============ */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 320ms;
  animation-timing-function: var(--ease-out);
}

/* ============ UTILITIES ============ */
.center { text-align: center; }
.gold-rule { display: block; width: 64px; height: 1px; background: var(--gold); margin: var(--s-4) auto; }
.divider { height: 1px; background: rgba(26,20,16,0.1); border: 0; margin: var(--s-7) 0; }

/* ============ MEDIA QUERIES, fine-tuning ============ */
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .site-header { padding: 10px var(--container-pad); }
  .brand-name { font-size: 0.85rem; }
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
