/* =================================================================
   Astrid M. Obert — Landing Page
   Style: StudioMunich.digital — editorial, minimal, premium
   Typeface: Euclid (with Manrope as the bundled free fallback)
   Themes: dark (default) + light, via [data-theme]
   ================================================================= */

/* --- Euclid drop-in -------------------------------------------------
   Astrid's brand font is EUCLID (Euclid Circular A/B by Swiss Typefaces,
   a licensed font). Drop the .woff2 files into /assets/fonts/ and
   uncomment the blocks below — the whole site will switch to Euclid
   automatically. Until then, Manrope (a close geometric grotesque)
   is loaded as the fallback so the design holds.

@font-face {
  font-family: 'Euclid Circular A';
  src: url('../fonts/EuclidCircularA-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Euclid Circular A';
  src: url('../fonts/EuclidCircularA-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Euclid Circular A';
  src: url('../fonts/EuclidCircularA-Semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
------------------------------------------------------------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --font: 'Euclid Circular A', 'Euclid', 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --accent: #ff3b30;
  --maxw: 1280px;
  --pad-x: clamp(24px, 6vw, 100px);
}

/* DARK (default) */
[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-soft: #131313;
  --fg: #ffffff;
  --muted: #8a8a8a;
  --muted-2: rgba(255,255,255,.55);
  --line: rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.06);
  --card: rgba(255,255,255,.02);
  --input-bg: rgba(255,255,255,.03);
  --shadow: 0 30px 80px rgba(0,0,0,.5);
}

/* LIGHT */
[data-theme="light"] {
  --bg: #fbfaf8;
  --bg-soft: #f3f1ec;
  --fg: #0a0a0a;
  --muted: #6b6b6b;
  --muted-2: rgba(10,10,10,.6);
  --line: rgba(10,10,10,.14);
  --line-soft: rgba(10,10,10,.07);
  --card: rgba(10,10,10,.015);
  --input-bg: rgba(10,10,10,.02);
  --shadow: 0 30px 80px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .5s ease, color .5s ease;
}

::selection { background: var(--accent); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line-soft);
  transition: background .5s ease, border-color .5s ease;
}
.brand-mark {
  font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600; text-decoration: none; color: var(--fg);
  white-space: nowrap;
}
.brand-mark small { color: var(--muted); font-weight: 400; letter-spacing: 2px; }
@media (max-width: 1180px) { .brand-mark small { display: none; } }
.topbar-actions { display: flex; align-items: center; gap: 10px; }

.toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  border: 1px solid var(--line); background: transparent; color: var(--fg);
  font-family: var(--font); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 10px 14px; border-radius: 999px;
  cursor: pointer; transition: all .25s ease;
}
.toggle:hover { border-color: var(--fg); }
.toggle .seg { color: var(--muted); transition: color .2s; }
.toggle .seg.active { color: var(--fg); font-weight: 600; }

.btn-cta-top {
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  font-family: var(--font); font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 10px 18px; border-radius: 999px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
}
.btn-cta-top:hover { opacity: .88; transform: translateY(-1px); }

/* ---------- Mobile menu ---------- */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; cursor: pointer; padding: 0 13px;
}
.menu-toggle span { display: block; height: 1.5px; width: 100%; background: var(--fg); transition: transform .3s ease, opacity .3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 4px; padding: 90px var(--pad-x) 40px; width: 100%; max-width: 520px; }
.mobile-menu a {
  font-size: clamp(26px, 7vw, 38px); font-weight: 600; letter-spacing: -.02em;
  color: var(--fg); text-decoration: none; padding: 8px 0; transition: color .2s ease;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mobile-cta {
  margin-top: 22px; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  background: var(--accent); color: #fff; border-radius: 999px; padding: 16px 28px; text-align: center; align-self: flex-start;
}
.mobile-menu .mobile-cta:hover { color: #fff; opacity: .9; }

@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .btn-cta-top { display: none; }
  #themeToggle span[data-i18n="ui.theme"] { display: none; }
}

/* ---------- Section scaffold ---------- */
section {
  position: relative;
  padding: clamp(90px, 13vh, 160px) var(--pad-x);
  border-bottom: 1px solid var(--line-soft);
  max-width: 100%;
}
.inner { max-width: var(--maxw); margin: 0 auto; width: 100%; }

.sec-num {
  position: absolute; top: clamp(28px,5vh,52px); left: var(--pad-x);
  font-size: 11px; letter-spacing: 2px; color: var(--muted); font-weight: 500;
}
.sec-label {
  position: absolute; top: clamp(28px,5vh,52px); right: var(--pad-x);
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
}

.eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.accent-line { width: 56px; height: 2px; background: var(--accent); margin: 0 0 30px; }

h1 {
  font-size: clamp(44px, 8vw, 116px); font-weight: 600;
  letter-spacing: -.03em; line-height: .96;
}
h2 {
  font-size: clamp(30px, 5vw, 64px); font-weight: 600;
  letter-spacing: -.02em; line-height: 1.02; margin-bottom: 28px;
}
h3 { font-size: clamp(20px,2.4vw,30px); font-weight: 500; letter-spacing:-.01em; }

.lead {
  font-size: clamp(18px, 2.1vw, 30px); font-weight: 400;
  line-height: 1.35; max-width: 18ch; letter-spacing: -.01em;
}
.subtitle {
  font-size: clamp(15px,1.4vw,20px); color: var(--muted-2);
  max-width: 60ch; line-height: 1.6; font-weight: 400;
}
.prose p { font-size: clamp(15px,1.25vw,19px); color: var(--muted-2); line-height: 1.65; max-width: 58ch; margin-bottom: 18px; font-weight: 400; }
.prose p strong { color: var(--fg); font-weight: 600; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; padding: 16px 30px; border-radius: 999px;
  cursor: pointer; text-decoration: none; border: 1px solid var(--fg);
  color: var(--fg); background: transparent; transition: all .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { opacity: .9; }
.btn-ghost:hover { background: var(--fg); color: var(--bg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(140px, 16vh, 200px); padding-bottom: clamp(96px, 12vh, 140px); overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,.76) 42%, rgba(8,8,8,.92) 100%);
}
/* hero content always sits above the video, in white, regardless of theme */
.hero .inner, .hero-footnote { position: relative; z-index: 2; }
/* the cover doesn't need the section index/label chrome — avoids any overlap with the headline */
.hero .sec-num, .hero .sec-label { display: none; }
.hero, .hero h1 { color: #fff; }
.hero-kicker { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.hero .question { color: rgba(255,255,255,.92); }
.hero .role { color: rgba(255,255,255,.82); }
.hero-footnote { color: rgba(255,255,255,.72); }
@media (max-width: 480px) { .hero-footnote { display: none; } }
.hero .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: #0a0a0a; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background-image: url('../img/hero.jpg'); background-size: cover; background-position: center; }
}
.hero .question {
  font-size: clamp(20px,2.6vw,34px); color: var(--muted-2); font-weight: 400;
  letter-spacing: -.01em; line-height: 1.3; max-width: 22ch; margin-bottom: 40px;
}
.hero h1 { margin-bottom: 28px; }
.hero .role { font-size: clamp(16px,1.6vw,22px); color: var(--muted); letter-spacing: -.01em; max-width: 34ch; }
.hero-footnote { position: absolute; bottom: 36px; left: var(--pad-x); font-size: 11px; letter-spacing: 1.5px; color: var(--muted); }

/* ---------- This is me ---------- */
.me-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px,6vw,90px); align-items: start; }
.me-portrait { position: relative; }
.portrait-stack { position: relative; aspect-ratio: 2 / 3; border-radius: 2px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.portrait-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.portrait-stack img.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .portrait-stack img { transition: none; } }
.me-portrait .cap { margin-top: 16px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.signature { font-size: clamp(22px,2.6vw,34px); font-weight: 600; letter-spacing: -.01em; margin-top: 30px; }
.signature span { color: var(--accent); }
@media (max-width: 900px) { .me-grid { grid-template-columns: 1fr; } }

/* ---------- Full-bleed image break ---------- */
.image-break { padding: 0; border-bottom: 1px solid var(--line-soft); }
.image-break img { display: block; width: 100%; height: clamp(360px, 66vh, 740px); object-fit: cover; }

/* ---------- Two column lists ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); margin-top: 50px; }
.col h4 { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.col ul { list-style: none; }
.col li { font-size: clamp(15px,1.3vw,18px); line-height: 1.55; color: var(--muted-2); padding: 12px 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 12px; }
.col li::before { content: "→"; color: var(--accent); }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; gap: 30px; } }

/* In LIGHT mode the portfolio "slider" stays a dark gallery so the work + titles
   pop in white (same dark tokens scoped to just this section). */
[data-theme="light"] #portfolio {
  --bg: #0a0a0a; --bg-soft: #131313; --fg: #ffffff; --muted: #8a8a8a;
  --muted-2: rgba(255,255,255,.55); --line: rgba(255,255,255,.12); --line-soft: rgba(255,255,255,.06);
  --card: rgba(255,255,255,.02);
  background: #0a0a0a; color: #fff;
}

/* ---------- Portfolio slider (full PDF pages, never cropped) ---------- */
.slider { margin-top: 56px; }
.slider-stage { position: relative; display: flex; align-items: center; gap: 14px; }
.slider-track {
  position: relative; flex: 1; width: 100%;
  aspect-ratio: 16 / 9;                 /* matches the PDF page ratio */
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 3px; overflow: hidden;
}
.slider-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .55s cubic-bezier(.16,1,.3,1);
  cursor: zoom-in;
}
.slider-slide.active { opacity: 1; visibility: visible; }
.slider-slide img {
  width: 100%; height: 100%;
  object-fit: contain;                  /* show the WHOLE page — no crop */
  display: block;
}
.slider-nav {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--fg); font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease; z-index: 4; padding-bottom: 3px;
}
.slider-nav:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); }

.slider-bar { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.slider-counter { font-size: 13px; letter-spacing: 2px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.slider-counter #slideCur { color: var(--fg); font-weight: 600; }
.slider-counter .sep { margin: 0 4px; }
.slider-thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
  scroll-behavior: smooth; scrollbar-width: thin;
}
.slider-thumbs::-webkit-scrollbar { height: 5px; }
.slider-thumbs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.slider-thumbs button {
  flex: 0 0 auto; width: 80px; aspect-ratio: 16/9; padding: 0;
  border: 1px solid var(--line-soft); border-radius: 2px; overflow: hidden;
  background: var(--bg-soft); cursor: pointer; opacity: .5;
  transition: opacity .2s ease, border-color .2s ease;
}
.slider-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-thumbs button:hover { opacity: .85; }
.slider-thumbs button.active { opacity: 1; border-color: var(--accent); }

@media (max-width: 760px) {
  .slider-nav { width: 42px; height: 42px; font-size: 20px; }
  .slider-thumbs button { width: 62px; }
}

/* ---------- Behind the scenes (masonry, native crops, click-to-play) ---------- */
.bts-grid { column-count: 3; column-gap: clamp(10px, 1.4vw, 18px); margin-top: 56px; }
.bts-card {
  position: relative; display: block; break-inside: avoid; -webkit-column-break-inside: avoid;
  margin-bottom: clamp(10px, 1.4vw, 18px); overflow: hidden; border-radius: 3px;
  background: #000; cursor: pointer; border: 1px solid var(--line-soft);
}
.bts-card img { width: 100%; height: auto; display: block; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.bts-card:hover img { transform: scale(1.04); }
.bts-card video { width: 100%; height: auto; display: block; background: #000; }
.bts-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.55); color: #fff; font-size: 16px;
  backdrop-filter: blur(4px); transition: all .25s ease; padding-left: 3px; z-index: 2;
}
.bts-card:hover .bts-play { background: var(--accent); border-color: var(--accent); transform: translate(-50%,-50%) scale(1.1); }
@media (max-width: 900px) { .bts-grid { column-count: 2; } }
@media (max-width: 560px) { .bts-grid { column-count: 1; } }

/* ---------- Clients / marquee ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 40px; align-items: center; }
.clients span { font-size: clamp(18px,2.4vw,34px); font-weight: 600; letter-spacing: -.02em; color: var(--fg); opacity: .55; transition: opacity .3s; }
.clients span:hover { opacity: 1; }
.clients .dot { color: var(--accent); opacity: 1; font-weight: 400; }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin-top: 50px; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: clamp(54px, 7vw, 96px) 1fr;
  gap: clamp(18px, 4vw, 56px); align-items: start;
  padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .35s cubic-bezier(.16,1,.3,1);
}
.step:hover { padding-left: 12px; }
.step .n {
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; color: var(--accent);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1;
}
.step-body h4 { font-size: clamp(19px, 2vw, 26px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; }
.step-body p { font-size: clamp(15px, 1.25vw, 18px); color: var(--muted-2); line-height: 1.6; max-width: 68ch; font-weight: 400; }
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step .n { font-size: 20px; }
}
.process-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; margin-top: 46px; padding: clamp(26px,3vw,40px);
  border: 1px solid var(--line); border-radius: 3px; background: var(--card);
}
.process-cta-text { font-size: clamp(18px,2vw,26px); font-weight: 500; letter-spacing: -.01em; max-width: 26ch; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: clamp(24px,3vw,44px); margin-top: 56px; }
.quote { border-left: 2px solid var(--accent); padding: 6px 0 6px 26px; }
.quote p { font-size: clamp(16px,1.5vw,21px); line-height: 1.45; font-weight: 400; letter-spacing: -.01em; }
.quote .who { margin-top: 20px; font-size: 13px; color: var(--muted); letter-spacing: .3px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Trust stat ---------- */
.stat-big { font-size: clamp(56px,11vw,150px); font-weight: 600; letter-spacing: -.04em; line-height: .9; }
.stat-big span { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px,6vw,90px); margin-top: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--input-bg); border: 1px solid var(--line);
  color: var(--fg); font-family: var(--font); font-size: 16px; padding: 15px 16px;
  border-radius: 2px; transition: border-color .2s ease; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%23888' fill='none' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .field-2 { grid-template-columns: 1fr; } }
.privacy { font-size: 12px; color: var(--muted); margin-top: 18px; line-height: 1.5; }
.form-status { margin-top: 18px; font-size: 14px; min-height: 20px; }
.form-status.ok { color: #34c759; }
.form-status.err { color: var(--accent); }
.mailto-fallback { display:block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.mailto-fallback a { color: var(--fg); }

.contact-aside h3 { margin-bottom: 18px; }
.contact-aside .line { display: block; font-size: clamp(16px,1.4vw,19px); color: var(--muted-2); padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.contact-aside .line a { color: var(--fg); text-decoration: none; }
.contact-aside .line a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
footer { padding: clamp(60px,9vh,100px) var(--pad-x); }
.back-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  color: var(--fg); text-decoration: none; padding: 11px 20px;
  border: 1px solid var(--line); border-radius: 999px; margin-bottom: 48px;
  transition: all .25s ease;
}
.back-to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-end; }
.foot-name { font-size: clamp(28px,5vw,64px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.foot-role { color: var(--muted); font-size: 14px; margin-top: 14px; letter-spacing: .3px; }
.foot-links { text-align: right; font-size: 14px; line-height: 2; }
.foot-links a { color: var(--fg); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.foot-links .muted { color: var(--muted); }
.foot-bottom { max-width: var(--maxw); margin: 50px auto 0; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: 1px; color: var(--muted); }
.foot-bottom a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.foot-bottom a:hover { color: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.93); display: none; align-items: center; justify-content: center; padding: 40px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 92vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .lb-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
