:root {
  --bg: #071a2a;
  --bg-deep: #020a10;
  --ink: #f5f2ea;
  --muted: #9ebdb0;
  --tile: #0e7c7b;
  --tile-light: #3ec4b8;
  --lapis: #1a4b6e;
  --gold: #c6a15b;
  --gold-soft: #e8d4a0;
  --green: #2f6b4f;
  --green-bright: #4caf7a;
  --line: rgba(198, 161, 91, .32);
  --panel: rgba(6, 28, 38, .78);
  --font: "Vazirmatn", "Segoe UI", sans-serif;
  --display: "Lalezar", "Vazirmatn", sans-serif;
  --display-lat: "Playfair Display", "Vazirmatn", serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0 }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

html[dir="ltr"] { --display: var(--display-lat) }

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg-deep);
  color: var(--ink);
  line-height: 1.9;
  overflow-x: clip;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto }
a { color: inherit; text-decoration: none }
button, input, textarea, select { font: inherit; color: inherit }

/* ── animated background ── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(168deg, #020a10 0%, #061824 35%, #0a2434 65%, #041018 100%);
}

.bg-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
}
.bg-aurora-1 {
  width: 55vw; height: 55vw;
  top: -18%; inset-inline-end: -12%;
  background: radial-gradient(circle, rgba(42, 163, 154, .45), transparent 70%);
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
.bg-aurora-2 {
  width: 48vw; height: 48vw;
  bottom: -10%; inset-inline-start: -8%;
  background: radial-gradient(circle, rgba(47, 107, 79, .4), transparent 70%);
  animation: aurora-drift 28s ease-in-out infinite alternate-reverse;
}
.bg-aurora-3 {
  width: 38vw; height: 38vw;
  top: 40%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(198, 161, 91, .22), transparent 70%);
  animation: aurora-pulse 16s ease-in-out infinite;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1) }
  100% { transform: translate(4vw, 6vh) scale(1.08) }
}
@keyframes aurora-pulse {
  0%, 100% { opacity: .35; transform: translateX(-50%) scale(1) }
  50% { opacity: .6; transform: translateX(-50%) scale(1.12) }
}

.bg-tile-layer {
  position: absolute;
  inset: -10%;
  opacity: .1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='124' viewBox='0 0 72 124'%3E%3Cg fill='none' stroke='%233ec4b8' stroke-width='.8' opacity='.6'%3E%3Cpath d='M36 0 L72 31 L36 62 L0 31 Z'/%3E%3Cpath d='M36 62 L72 93 L36 124 L0 93 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 124px;
  animation: tile-scroll 60s linear infinite;
  will-change: transform;
}
@keyframes tile-scroll {
  to { background-position: 144px 248px }
}

.bg-mesh {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(226, 201, 138, .8) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(62, 196, 184, .8) 1px, transparent 1px);
  background-size: 48px 48px, 64px 64px;
  animation: mesh-shift 30s linear infinite;
}
@keyframes mesh-shift {
  to { background-position: 48px 48px, -64px -64px }
}

#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .7;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, transparent 40%, rgba(2, 10, 16, .65) 100%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(2, 10, 16, .8), transparent 50%);
}

/* ── scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-stagger > *.is-visible { opacity: 1; transform: none }
.reveal-stagger > *:nth-child(1) { transition-delay: .05s }
.reveal-stagger > *:nth-child(2) { transition-delay: .15s }
.reveal-stagger > *:nth-child(3) { transition-delay: .25s }
.reveal-stagger > *:nth-child(4) { transition-delay: .35s }
.reveal-stagger > *:nth-child(5) { transition-delay: .45s }
.reveal-stagger > *:nth-child(6) { transition-delay: .55s }
.reveal-stagger > *:nth-child(7) { transition-delay: .65s }

/* ── ornament ── */
.ornament-line {
  height: 1px;
  width: min(260px, 50vw);
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.ornament-line:before,
.ornament-line:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
  animation: gem-spin 6s linear infinite;
}
.ornament-line:before { inset-inline-start: 0 }
.ornament-line:after { inset-inline-end: 0; animation-direction: reverse }
@keyframes gem-spin {
  0%, 100% { transform: translateY(-50%) rotate(45deg) }
  50% { transform: translateY(-50%) rotate(225deg) }
}

/* ── nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4vw;
  background: rgba(2, 10, 16, .55);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid transparent;
  width: 100%;
  transition: background .4s, border-color .4s, padding .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(2, 10, 16, .88);
  border-bottom-color: var(--line);
  padding-block: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.brand {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .01em;
  color: var(--gold-soft);
  transition: color .3s, transform .3s;
}
.brand:hover { color: var(--tile-light); transform: translateY(-1px) }
.brand em { font-style: normal; color: var(--tile-light) }

.nav-sheet { display: contents }
.links {
  display: flex;
  gap: 6px 18px;
  margin-inline-start: auto;
  align-items: center;
  flex-shrink: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.links a {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  transition: color .3s;
}
.links a:after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--tile-light), var(--gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease-out);
}
.links a:hover,
.links a.on { color: var(--ink) }
.links a:hover:after,
.links a.on:after { transform: scaleX(1) }

.nav-cta {
  padding: 9px 18px !important;
  border: 1px solid rgba(198, 161, 91, .5);
  background: rgba(198, 161, 91, .1);
  transition: background .3s, box-shadow .3s, transform .3s !important;
}
.nav-cta:after { display: none !important }
.nav-cta:hover {
  background: rgba(198, 161, 91, .2);
  box-shadow: 0 0 24px rgba(198, 161, 91, .2);
  transform: translateY(-2px);
}

.lang { display: flex; flex-shrink: 0; gap: 4px }
.lang a {
  font-size: .68rem;
  font-weight: 600;
  padding: 5px 8px;
  border: 1px solid transparent;
  color: var(--muted);
  white-space: nowrap;
  transition: all .3s;
}
.lang a.on,
.lang a:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(198, 161, 91, .12);
}

.nav-toggle {
  display: none;
  margin-inline-start: auto;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.nav-toggle i,
.nav-toggle i:before,
.nav-toggle i:after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .3s;
}
.nav-toggle i:before,
.nav-toggle i:after { content: ""; position: absolute; left: 0 }
.nav-toggle i:before { top: -6px }
.nav-toggle i:after { top: 6px }

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  z-index: 1;
}

/* ── hero ── */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-stage {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(42, 163, 154, .15), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(2, 10, 16, .4) 50%, rgba(2, 10, 16, .95) 100%);
}
.hero-stage:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='173' viewBox='0 0 100 173'%3E%3Cpath fill='none' stroke='%23c6a15b' stroke-opacity='.12' d='M50 0 L100 43 L50 86 L0 43 Z M50 86 L100 129 L50 172 L0 129 Z'/%3E%3C/svg%3E");
  background-size: 100px 173px;
  animation: tile-scroll 80s linear infinite;
  opacity: .5;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  padding: 10vh 6vw 9vh;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0;
}

.hero-visual {
  position: relative;
  min-height: clamp(320px, 58vh, 560px);
  min-width: 0;
}

.hero-frame {
  min-height: inherit;
  height: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.hero-frame img {
  min-height: inherit;
  height: 100%;
  object-fit: cover;
}

.kicker {
  color: var(--tile-light);
  letter-spacing: .12em;
  font-size: .84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(62, 196, 184, .25);
  background: rgba(14, 124, 123, .1);
  animation: fade-up .9s var(--ease-out) both;
}
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 0 rgba(76, 175, 122, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent } }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 8.5vw, 6.2rem);
  line-height: 1.08;
  font-weight: 400;
  color: var(--gold-soft);
  text-shadow: 0 4px 60px rgba(198, 161, 91, .25);
  animation: fade-up 1s var(--ease-out) .1s both;
}

.hero .ornament-line {
  margin-inline: 0;
  animation: fade-up 1s var(--ease-out) .2s both;
}

.hero .lead {
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 400;
  line-height: 2;
  max-width: 100%;
  animation: fade-up 1s var(--ease-out) .3s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  animation: fade-up 1s var(--ease-out) .4s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px) }
  to { opacity: 1; transform: none }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.btn:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.15) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .6s;
}
.btn:hover:before { transform: translateX(120%) }
.btn:hover { transform: translateY(-3px) }

.btn-glow {
  background: linear-gradient(135deg, var(--tile) 0%, var(--green) 100%);
  color: #f7faf8;
  box-shadow: 0 8px 32px rgba(14, 124, 123, .4), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-glow:hover {
  box-shadow: 0 16px 48px rgba(14, 124, 123, .5), inset 0 1px 0 rgba(255,255,255,.15);
}

.btn-ghost {
  background: rgba(198, 161, 91, .06);
  border: 1px solid var(--line);
  color: var(--gold-soft);
}
.btn-ghost:hover {
  background: rgba(198, 161, 91, .14);
  border-color: var(--gold);
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  inset-inline-start: 6vw;
  bottom: 32px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fade-up 1.2s var(--ease-out) .6s both;
}
.scroll-hint b {
  width: 20px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
}
.scroll-hint b:after {
  content: "";
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--gold);
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  animation: wheel 1.6s infinite;
}
@keyframes wheel { to { top: 16px; opacity: 0 } }

/* ── viewpoint — full-width text boxes ── */
.viewpoint {
  position: relative;
  margin: 48px 6vw 56px;
  padding: clamp(44px, 7vw, 80px) clamp(32px, 6vw, 72px);
  text-align: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(14, 124, 123, .16) 0%, rgba(6, 28, 38, .88) 48%, rgba(47, 107, 79, .14) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath fill='none' stroke='%23c6a15b' stroke-opacity='.18' d='M30 0 L60 26 L30 52 L0 26 Z M30 52 L60 78 L30 104 L0 78 Z'/%3E%3C/svg%3E");
  background-size: auto, 60px 104px;
  backdrop-filter: blur(14px);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .38),
    inset 0 1px 0 rgba(226, 201, 138, .1);
  overflow: hidden;
}
.viewpoint:before,
.viewpoint:after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
  opacity: .65;
}
.viewpoint:before {
  top: 16px; inset-inline-start: 16px;
  border-width: 2px 0 0 2px;
}
.viewpoint:after {
  bottom: 16px; inset-inline-end: 16px;
  border-width: 0 2px 2px 0;
}
.viewpoint-text {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.85;
  color: var(--ink);
  width: 100%;
  max-width: 100%;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.viewpoint-label {
  justify-content: center;
  margin-bottom: 18px;
  border: none;
  background: transparent;
  padding: 0;
}

/* ── sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 6vw;
  overflow-x: hidden;
}

.section-head { margin-bottom: 40px; max-width: 860px }
.section-head h2,
.chapter h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.25;
  color: var(--gold-soft);
  font-weight: 400;
  margin-top: 8px;
}

.muted { color: var(--muted); line-height: 1.9 }
.prose p {
  color: var(--muted);
  margin-bottom: 1.1em;
  font-size: 1.04rem;
  line-height: 2;
}

/* ── chapter ── */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding: 96px 6vw;
  border-top: 1px solid rgba(198, 161, 91, .12);
}

.chapter-visual { position: relative }

.tile-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow:
    inset 0 0 0 6px rgba(14, 124, 123, .12),
    0 28px 70px rgba(0, 0, 0, .4);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.tile-frame:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 6px rgba(14, 124, 123, .18),
    0 36px 90px rgba(0, 0, 0, .5),
    0 0 40px rgba(42, 163, 154, .08);
}
.tile-frame:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(62, 196, 184, .3);
  pointer-events: none;
  z-index: 2;
}
.tile-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter .5s;
}
.tile-frame:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1.08);
}
.tile-frame figcaption {
  position: absolute;
  inset-inline-start: 20px;
  bottom: 20px;
  z-index: 3;
  font-size: .76rem;
  font-weight: 600;
  padding: 7px 14px;
  background: rgba(2, 10, 16, .82);
  border: 1px solid var(--line);
  color: var(--gold-soft);
  backdrop-filter: blur(8px);
}
.frame-empty {
  min-height: 420px;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(14, 124, 123, .1), rgba(47, 107, 79, .08)),
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(62, 196, 184, .04) 16px, rgba(62, 196, 184, .04) 17px);
}
.frame-empty b {
  display: block;
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.frame-empty span { color: var(--muted); font-size: .9rem; max-width: 280px; line-height: 1.7 }

/* ── bands (3 columns) ── */
.bands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0 6vw 80px;
}
.bands article {
  padding: 36px 28px;
  border: 1px solid rgba(198, 161, 91, .18);
  background: rgba(6, 28, 38, .55);
  backdrop-filter: blur(10px);
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s, background .45s;
  position: relative;
  overflow: hidden;
}
.bands article:before {
  content: "";
  position: absolute;
  top: 0; inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tile-light), var(--gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s var(--ease-out);
}
.bands article:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 161, 91, .4);
  background: rgba(14, 124, 123, .12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.bands article:hover:before { transform: scaleX(1) }

.bands .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  transition: background .3s, color .3s;
}
.bands article:hover .mark {
  background: rgba(198, 161, 91, .15);
  color: var(--gold-soft);
}
.bands h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--gold-soft);
  margin-bottom: 14px;
  line-height: 1.35;
}
.bands p {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.95;
}

/* ── interests ── */
.interest-strip {
  padding: 90px 6vw;
  border-top: 1px solid rgba(198, 161, 91, .12);
}
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 32px;
}
.chip-cloud li {
  padding: 11px 18px;
  border: 1px solid rgba(62, 196, 184, .3);
  background: rgba(14, 124, 123, .08);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 500;
  transition: transform .35s var(--ease-out), background .35s, border-color .35s, box-shadow .35s;
  cursor: default;
}
.chip-cloud li:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(14, 124, 123, .18);
  border-color: var(--tile-light);
  box-shadow: 0 8px 24px rgba(14, 124, 123, .2);
}

/* ── timeline ── */
.timeline {
  list-style: none;
  position: relative;
  max-width: 900px;
  margin-top: 32px;
}
.timeline:before {
  content: "";
  position: absolute;
  inset-inline-start: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(198, 161, 91, .1));
}
.timeline li {
  position: relative;
  padding-inline-start: 40px;
  margin-bottom: 32px;
  padding-block: 8px;
  transition: transform .35s var(--ease-out);
}
.timeline li:hover { transform: translateX(4px) }
html[dir="ltr"] .timeline li:hover { transform: translateX(-4px) }

.timeline .node {
  position: absolute;
  inset-inline-start: 3px;
  top: 14px;
  width: 11px;
  height: 11px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(198, 161, 91, .5);
  animation: node-glow 3s ease-in-out infinite;
}
@keyframes node-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(198, 161, 91, .4) }
  50% { box-shadow: 0 0 24px rgba(198, 161, 91, .7) }
}
.timeline .when { color: var(--tile-light); font-size: .84rem; font-weight: 600; margin-bottom: 4px }
.timeline h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold-soft);
  margin-bottom: 8px;
  line-height: 1.35;
}
.timeline p { color: var(--muted); line-height: 1.85 }

/* ── education ── */
.edu-list { display: grid; gap: 24px; margin-top: 32px }
.edu-item {
  padding: 20px 24px;
  border: 1px solid rgba(198, 161, 91, .14);
  background: rgba(6, 28, 38, .4);
  transition: transform .35s var(--ease-out), border-color .35s;
}
.edu-item:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 161, 91, .3);
}
.edu-item .when { color: var(--tile-light); font-size: .84rem; font-weight: 600 }
.edu-item h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--gold-soft);
  margin: 6px 0 10px;
}
.edu-item p { color: var(--muted); line-height: 1.85 }

/* ── gallery ── */
.gallery-page-hero {
  padding: 13vh 6vw 6vh;
  border-bottom: 1px solid rgba(198, 161, 91, .12);
}
.gallery-page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  color: var(--gold-soft);
  line-height: 1.15;
}
.gallery-page-hero p {
  margin-top: 18px;
  max-width: 100%;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.9;
}
.gallery-count { margin-top: 10px; font-size: .88rem !important }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  padding: 0 6vw 48px;
}
.gallery-grid .tile-frame,
.gallery-grid .tile-frame img,
.gallery-grid .frame-empty {
  min-height: 220px;
}
.gallery-grid .gallery-item { aspect-ratio: 4 / 5 }
.gallery-grid .gallery-item img {
  min-height: 220px;
  height: 100%;
}

.gallery-empty {
  padding: 60px 6vw 100px;
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.9;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 0 6vw 90px;
}
.gallery-pagination .page-indicator {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold-soft);
  padding: 0 8px;
}
.gallery-pagination .is-disabled {
  opacity: .35;
  pointer-events: none;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  padding: 44px 6vw 100px;
}
.gallery-mosaic .tile-frame { min-height: 280px; grid-column: span 4 }
.gallery-mosaic .tile-frame:nth-child(1),
.gallery-mosaic .tile-frame:nth-child(5) { grid-column: span 5 }
.gallery-mosaic .tile-frame:nth-child(2),
.gallery-mosaic .tile-frame:nth-child(6) { grid-column: span 7 }
.gallery-mosaic .tile-frame:nth-child(3) { grid-column: span 7 }
.gallery-mosaic .tile-frame:nth-child(4) { grid-column: span 5 }
.gallery-mosaic .tile-frame img,
.gallery-mosaic .frame-empty { min-height: 280px }

.gallery-teaser {
  padding: 90px 6vw;
  border-top: 1px solid rgba(198, 161, 91, .12);
}
.gallery-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.gallery-teaser .tile-frame,
.gallery-teaser .tile-frame img,
.gallery-teaser .frame-empty { min-height: 320px }
.gallery-teaser-actions { margin-top: 32px }

/* ── contact ── */
.contact { border-top: 1px solid rgba(198, 161, 91, .12) }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px;
}
.contact-side { display: grid; gap: 16px }
.form,
.info {
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: border-color .35s, box-shadow .35s;
}
.form:focus-within,
.info:hover {
  border-color: rgba(198, 161, 91, .4);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .25);
}
.info h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.field { display: grid; gap: 8px; margin-bottom: 16px }
.field label { font-size: .84rem; font-weight: 600; color: var(--muted) }
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(196px, 45%), 1fr));
  gap: 14px;
}
.form input,
.form textarea {
  width: 100%;
  background: rgba(2, 10, 16, .6);
  border: 1px solid rgba(62, 196, 184, .22);
  padding: 13px 16px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.form textarea { resize: vertical; min-height: 130px }
.form input:focus,
.form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, .1);
}
.form-status { min-height: 1.4em; margin-top: 12px; color: var(--tile-light); font-weight: 500 }
.channels { list-style: none; display: grid; gap: 14px }
.channels span { color: var(--muted); font-size: .78rem; display: block; margin-bottom: 2px }
.channels b,
.channels a { color: var(--ink); transition: color .3s }
.channels a:hover { color: var(--tile-light) }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px }
.socials a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  font-size: .84rem;
  font-weight: 500;
  transition: all .3s;
}
.socials a:hover {
  border-color: var(--tile-light);
  color: var(--tile-light);
  background: rgba(14, 124, 123, .1);
  transform: translateY(-2px);
}

.foot {
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
  padding: 36px 5vw 56px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

/* ── responsive ── */
@media (max-width: 1100px) {
  .chapter,
  .contact-grid,
  .bands,
  .gallery-teaser-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bands { gap: 16px }
  .gallery-mosaic .tile-frame,
  .gallery-mosaic .tile-frame:nth-child(n) { grid-column: span 12 }
  .nav-toggle { display: grid; place-items: center }
  .nav-sheet {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: rgba(2, 10, 16, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 50px rgba(2, 6, 18, .55);
    padding: 14px 5vw 20px;
    max-height: calc(100vh - 68px);
    max-height: calc(100svh - 68px);
    overflow-y: auto;
    backdrop-filter: blur(20px);
  }
  .nav.open .nav-sheet { display: block }
  .links,
  .lang { display: none }
  .nav.open .links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
  }
  .nav.open .links a { padding: 12px 2px; font-size: .96rem }
  .nav.open .nav-cta { margin-top: 8px; text-align: center; padding: 13px 14px !important }
  .nav.open .lang {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  .tile-frame,
  .tile-frame img,
  .frame-empty { min-height: 340px; max-height: 60vh }
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 8vh 5vw 7vh;
    gap: 1.5rem;
  }
  .hero-copy { padding: 0 }
  .hero-visual,
  .hero-frame,
  .hero-frame img { min-height: 280px }
  .section,
  .chapter,
  .interest-strip,
  .gallery-teaser,
  .gallery-page-hero,
  .bands { padding-inline: 5vw }
  .bands { padding-bottom: 60px }
  .section { padding-block: 72px }
  .chapter { padding-block: 64px; gap: 28px }
  .viewpoint {
    margin-inline: 5vw;
    padding: 36px 24px;
  }
  .viewpoint-text { font-size: 1.18rem; line-height: 1.85 }
  .scroll-hint { display: none }
  .hero-actions .btn { flex: 1 1 100% }
  .gallery-mosaic { padding: 28px 5vw 72px; gap: 12px }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

@supports (padding: max(0px)) {
  .nav { padding-inline: max(4vw, env(safe-area-inset-left), env(safe-area-inset-right)) }
  .section,
  .chapter,
  .foot,
  .hero-copy,
  .gallery-page-hero,
  .gallery-grid,
  .gallery-pagination,
  .gallery-empty,
  .viewpoint,
  .bands {
    padding-inline: max(5vw, env(safe-area-inset-left), env(safe-area-inset-right));
  }
}

@media (pointer: coarse) {
  .links a,
  .lang a,
  .socials a,
  .channels a { padding-block: 10px }
  .btn { min-height: 48px }
  .nav-toggle { width: 46px; height: 46px }
}
