/* ═══════════════════════════════════════════════════════════
   SZUMSKI ART — main.css · v7.3 · 2026-06-26
   Structure: tokens → reset → utilities → layout → components
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* backgrounds */
  --bg:        #141008;
  --bg2:       #1c1610;
  --bg3:       #241c12;

  /* borders */
  --border:    #3a2a1e;
  --border2:   #5a4030;
  --border3:   #6e5038;

  /* text — three levels for hierarchy */
  --text:      #f8f2ea;   /* primary body — high contrast */
  --sub:       #ddd0bc;   /* secondary / supporting copy */
  --muted:     #c0a888;   /* labels, captions — never for reading blocks */
  --faint:     #907050;   /* decorative, very small */

  /* brand colours */
  --crimson:   #8c1f17;
  --rust:      #b84016;
  --ember:     #d45820;
  --bone:      #f5ede3;
  --gold:      #b89050;
  --parchment: #ddd0c0;

  /* tradition page tokens */
  --ink:       #181210;
  --deep:      #100c08;
  --surface:   #201810;
  --dim:       #8a6e58;

  /* typography */
  --serif:    'Cormorant Garamond', Georgia, serif;
  --mono:     'DM Mono', 'Courier New', monospace;

  /* spacing scale */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  32px;
  --sp-lg:  52px;
  --sp-xl:  80px;
  --sp-2xl: 120px;

  /* layout */
  --max-w: 1200px;
  --nav-h: 64px;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }
a { color: inherit; }

/* ─── BASE ───────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  min-height: 100vh;
  line-height: 1;
}

/* film grain overlay — purely decorative, pointer-events off */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.038'/%3E%3C/svg%3E");
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--bone);
  line-height: 1.05;
}

h1 { font-size: clamp(52px, 7vw, 96px); }
h2 { font-size: clamp(30px, 3.5vw, 52px); line-height: 1.1; }
h3 { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }

p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

em { color: var(--ember); }

/* ─── UTILITY CLASSES ────────────────────────────────────── */
.label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 14px;
}

.label--muted { color: var(--muted); }
.label--faint  { color: var(--faint); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.divider {
  height: 1px;
  background: var(--border);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 36px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--bone);
}
.btn--primary:hover {
  background: var(--rust);
  border-color: var(--rust);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border2);
  color: var(--sub);
}
.btn--ghost:hover {
  border-color: var(--muted);
  color: var(--bone);
}

/* ─── TAGS / BADGES ──────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid;
}
.tag--public  { color: var(--ember);   border-color: var(--border2); }
.tag--private { color: var(--crimson); border-color: var(--crimson); }
.tag--bridge  { color: var(--gold);    border-color: var(--gold); }

/* ─── FORM ELEMENTS ──────────────────────────────────────── */
input, textarea, select {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  padding: 13px 18px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--rust);
}
input::placeholder, textarea::placeholder {
  color: var(--muted);
  font-style: italic;
}
textarea { resize: vertical; min-height: 110px; }

/* ─── NAV — see /css/nav.css ─────────────────────────────── */

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  padding-top: var(--nav-h);
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-xl) var(--sp-lg);
  border-right: 1px solid var(--border);
}

.hero__pretitle {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

.hero__title {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.93;
  color: var(--bone);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.hero__title em {
  display: block;
  color: var(--ember);
  font-style: italic;
}

.hero__location {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-lg);
}

.hero__statement {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
  max-width: 460px;
  margin-bottom: 18px;
  border-left: 2px solid var(--border2);
  padding-left: 22px;
}
.hero__statement strong { color: var(--bone); font-weight: 400; }
.hero__statement em     { color: var(--bone); font-style: italic; }

.hero__sub {
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--sub);
  max-width: 460px;
  padding-left: 24px;
  margin-bottom: var(--sp-lg);
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero right — photo panel */
.hero__right {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* darkening overlay is applied via ::after on the container */
}

/* gradient overlay: darkens bottom (where stats bar sits) and edges */
.hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(13,11,9,0.25) 0%,
      rgba(13,11,9,0.05) 40%,
      rgba(13,11,9,0.60) 78%,
      rgba(13,11,9,0.92) 100%),
    linear-gradient(to right,
      rgba(13,11,9,0.35) 0%,
      rgba(13,11,9,0.0) 30%);
  pointer-events: none;
  z-index: 1;
}

.hero__caption {
  position: absolute;
  top: 36px;
  right: 36px;
  z-index: 2;
  text-align: right;
}
.hero__caption-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(245,237,227,0.45);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.hero__caption-text {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(245,237,227,0.3);
  text-transform: uppercase;
}

.hero__stats {
  position: relative;
  z-index: 2;
  padding: 28px var(--sp-lg);
  border-top: 1px solid rgba(46,34,26,0.8);
  background: rgba(13,11,9,0.88);
  backdrop-filter: blur(10px);
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.hero__stat {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--border2);
}
.hero__stat:last-child { border-right: none; padding: 0; margin: 0; }

.hero__stat-n {
  font-size: 28px;
  font-weight: 300;
  color: var(--bone);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-l {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── OPENING STATEMENT ──────────────────────────────────── */
.opening {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.opening__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.opening__aside {
  border-right: 1px solid var(--border);
  padding: var(--sp-xl) var(--sp-md);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.opening__mark {
  font-size: 80px;
  font-weight: 300;
  font-style: italic;
  color: var(--border2);
  line-height: 1;
}
.opening__year {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--faint);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.opening__body {
  padding: var(--sp-xl) 72px var(--sp-xl) 60px;
}

.opening__quote {
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--bone);
  margin-bottom: 26px;
}
.opening__quote strong { font-weight: 400; font-style: normal; color: var(--ember); }

.opening__sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  max-width: 640px;
}

/* ─── FAMILY GRID ────────────────────────────────────────── */
.family { border-bottom: 1px solid var(--border); }

.family__header {
  padding: var(--sp-xl) var(--sp-lg) var(--sp-md);
  border-bottom: 1px solid var(--border);
}
.family__header h2 { margin-bottom: 14px; }
.family__header p {
  font-size: 18px;
  color: var(--text);
  line-height: 1.75;
  max-width: 600px;
}

.family__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.member {
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: background 0.22s;
}
.member:last-child { border-right: none; }
.member:hover { background: var(--bg2); }

.member__portrait {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.member__portrait-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}
.member:hover .member__portrait-bg { transform: scale(1.04); }

.member__initial {
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 300;
  font-style: italic;
  color: var(--border3);
  line-height: 1;
}

/* portrait placeholder backgrounds */
.portrait--z { background: linear-gradient(160deg, #221008 0%, #3c1a06 50%, #140a04 100%); }
.portrait--k { background: linear-gradient(160deg, #160a10 0%, #2e0f1c 50%, #0e0810 100%); }
.portrait--t { background: linear-gradient(160deg, #0a0e18 0%, #14203a 50%, #080e16 100%); }
.portrait--s { background: linear-gradient(160deg, #0c1008 0%, #1c2610 50%, #080c06 100%); }

.member__body {
  padding: 26px 26px 32px;
  border-top: 1px solid var(--border);
}

.member__num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.member__name {
  font-size: 22px;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 3px;
  line-height: 1.1;
}
.member__role {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.member__role--public  { color: var(--ember); }
.member__role--private { color: var(--muted); }
.member__role--pilgrim { color: var(--gold); }

.member__desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--sub);
  font-style: italic;
}

/* ─── ORIGIN SECTION ─────────────────────────────────────── */
.origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.origin__visual {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
}
.origin__visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.origin__caption {
  position: relative;
  z-index: 2;
  padding: 36px 44px;
}
.origin__addr {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.origin__place {
  font-size: 26px;
  font-weight: 300;
  color: var(--bone);
}

.origin__text {
  padding: var(--sp-xl) var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.origin__text h2 { margin-bottom: 26px; }
.origin__text p  { margin-bottom: 18px; }

.origin__link {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 3px;
  display: inline-block;
  margin-top: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.origin__link:hover { color: var(--bone); border-color: var(--muted); }

/* ─── DISCIPLINES ────────────────────────────────────────── */
.disciplines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.discipline {
  border-right: 1px solid var(--border);
  padding: var(--sp-lg) 44px;
  transition: background 0.22s;
}
.discipline:last-child { border-right: none; }
.discipline:hover { background: var(--bg2); }

.discipline__num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.discipline__title {
  font-size: 23px;
  font-weight: 300;
  color: var(--bone);
  line-height: 1.15;
  margin-bottom: 14px;
}
.discipline__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.82;
  color: var(--text);
  margin-bottom: 20px;
}
.discipline__for {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ember);
  text-transform: uppercase;
}

/* ─── HOW WE WORK ────────────────────────────────────────── */
.how {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-bottom: 1px solid var(--border);
}

.how__aside {
  padding: var(--sp-xl) 44px;
  border-right: 1px solid var(--border);
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.how__aside h2 { line-height: 1.2; }

.how__items { display: flex; flex-direction: column; }

.how__item {
  border-top: 1px solid var(--border);
  padding: var(--sp-md) 60px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  align-items: start;
}
.how__item:last-child { border-bottom: 1px solid var(--border); }

.how__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding-top: 4px;
}
.how__title {
  font-size: 20px;
  font-weight: 300;
  color: var(--bone);
  margin-bottom: 8px;
}
.how__body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
}

/* ─── EMAIL CAPTURE ──────────────────────────────────────── */
.capture {
  padding: var(--sp-xl) var(--sp-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.capture__title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: var(--bone);
  line-height: 1.1;
  margin-bottom: 18px;
}
.capture__title em { color: var(--ember); font-style: italic; }

.capture__body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

.capture__form { display: flex; flex-direction: column; gap: 12px; }

.capture__row { display: flex; }

.capture__input {
  flex: 1;
  border-right: none;
  font-size: 18px;
}
.capture__btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--crimson);
  border: 1px solid var(--crimson);
  padding: 13px 26px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.capture__btn:hover { background: var(--rust); border-color: var(--rust); }

.capture__note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.promises {
  border: 1px solid var(--border2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.promise {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--text);
}
.promise__arrow { color: var(--ember); flex-shrink: 0; }
.promise strong { font-weight: 400; color: var(--bone); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); }

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.footer__col {
  padding: var(--sp-lg) 44px;
  border-right: 1px solid var(--border);
}
.footer__col:last-child { border-right: none; }

.footer__col-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col-title {
  font-size: 17px;
  font-weight: 300;
  color: var(--bone);
  margin-bottom: 8px;
}
.footer__col-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--sub);
  margin-bottom: 16px;
}
.footer__link {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ember);
  text-decoration: none;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 2px;
  display: inline-block;
  margin-bottom: 6px;
  transition: border-color 0.18s;
}
.footer__link:hover { border-color: var(--rust); }
.footer__link--block { display: block; }

.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-btn {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: left;
  transition: color 0.18s;
}
.footer__nav-btn:hover { color: var(--sub); }
.footer__nav-btn--private { color: var(--crimson); }

.footer__bottom {
  padding: 20px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__wordmark {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.24em;
  color: var(--border3);
  text-transform: uppercase;
}
.footer__wordmark span { color: var(--muted); }
.footer__legal {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── PALETTE STRIP ──────────────────────────────────────── */
.palette-strip {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  display: flex;
  z-index: 600;
  pointer-events: none;
}
.palette-strip__swatch { flex: 1; }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.rv.visible { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.10s; }
.rv.d2 { transition-delay: 0.20s; }
.rv.d3 { transition-delay: 0.30s; }

/* ─── HERO ENTRANCE ANIMATIONS ───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.a1 { animation: fadeUp 0.9s 0.10s both; }
.a2 { animation: fadeUp 0.9s 0.28s both; }
.a3 { animation: fadeUp 0.9s 0.46s both; }
.a4 { animation: fadeUp 0.9s 0.64s both; }
.a5 { animation: fadeUp 0.9s 0.82s both; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

/* ─── MOBILE NAV — see /css/nav.css ─────────────────────── */

@media (max-width: 1024px) {
  :root { --sp-lg: 36px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__lang  { display: none; }
  .nav { overflow: visible; }
  .hero { grid-template-columns: 1fr; }
  .hero__right { min-height: 340px; }
  .hero__left { padding: var(--sp-xl) 22px var(--sp-lg); }

  .opening__inner { grid-template-columns: 1fr; }
  .opening__aside { display: none; }
  .opening__body { padding: 48px 22px; }

  .family__grid { grid-template-columns: 1fr 1fr; }
  .member:nth-child(2) { border-right: none; }
  .member:nth-child(3) { border-right: 1px solid var(--border); }
  .family__header { padding: 56px 22px 36px; }

  .origin { grid-template-columns: 1fr; }
  .origin__visual { min-height: 260px; }
  .origin__text { padding: 48px 22px; }

  .disciplines { grid-template-columns: 1fr; }
  .discipline { border-right: none; border-bottom: 1px solid var(--border); padding: 44px 22px; }
  .discipline:last-child { border-bottom: none; }

  .how { grid-template-columns: 1fr; }
  .how__aside { padding: 52px 22px; border-right: none; border-bottom: 1px solid var(--border); }
  .how__item { padding: 28px 22px; }

  .capture { grid-template-columns: 1fr; gap: 48px; padding: 60px 22px; }
  .capture__row { flex-direction: column; }
  .capture__input { border-right: 1px solid var(--border2); border-bottom: none; }

  .footer__cols { grid-template-columns: 1fr; }
  .footer__col { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 22px; }
  .footer__bottom { padding: 16px 22px; }
}

@media (max-width: 520px) {
  .family__grid { grid-template-columns: 1fr; }
  .member { border-right: none; border-bottom: 1px solid var(--border); }
  .hero__stats { padding: 20px 22px; gap: 0; }
  .hero__stat { padding-right: 18px; margin-right: 18px; }
}

/* ─── ORIGIN — REAL PHOTO LAYOUT ────────────────────────── */
/* Replaces SVG placeholder — added when real photos arrived */

.origin__visual {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
}

.origin__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* gradient: darken bottom so caption reads, add slight left-edge vignette */
.origin__photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(13,11,9,0.10) 0%,
      rgba(13,11,9,0.05) 40%,
      rgba(13,11,9,0.70) 80%,
      rgba(13,11,9,0.90) 100%),
    linear-gradient(to right,
      rgba(13,11,9,0.20) 0%,
      rgba(13,11,9,0.0) 25%);
  pointer-events: none;
  z-index: 1;
}

.origin__caption {
  position: relative;
  z-index: 2;
  padding: 32px 40px;
}

.origin__addr {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--sub);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.origin__place {
  font-size: 22px;
  font-weight: 300;
  color: var(--bone);
}
.origin__place em { color: var(--ember); font-style: italic; }

/* Interior image — sits inside the text column */
.origin__interior-wrap {
  margin: 28px 0 24px;
  position: relative;
}

.origin__interior {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  /* subtle darkening at edges so it sits in the dark column */
  filter: brightness(0.9) contrast(1.05);
}

.origin__interior-caption {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--faint);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ─── MEMBER PORTRAIT — REAL PHOTOS ─────────────────────── */
/* Added when portrait photos arrived — replaces gradient placeholders */

.member__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;  /* photos already cropped correctly — just centre */
  display: block;
  transition: transform 0.5s ease;
}

.member:hover .member__photo {
  transform: scale(1.04);
}

/* ─── CUSTOM DROPDOWN (sz-select) ───────────────────────────
   Shared across admin, studio, and tradition engine pages.
   Source of truth: main.css — do not duplicate in other files.
   ─────────────────────────────────────────────────────────── */
.sz-select {
  position: relative;
  user-select: none;
}

.sz-select__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border2);
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  transition: border-color 0.15s;
  letter-spacing: 0.04em;
}

.sz-select__trigger--open,
.sz-select__trigger:hover { border-color: var(--ember); }

.sz-select__arrow {
  font-size: 0.6rem;
  color: var(--muted);
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.sz-select__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg2);
  border: 1px solid var(--ember);
  border-top: none;
  max-height: 220px;
  overflow-y: auto;
}

.sz-select__dropdown--open { display: block; }

.sz-select__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 0.55rem 0.8rem;
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}

.sz-select__option:hover { background: var(--bg); color: var(--ember); }

.sz-select__option--placeholder { color: var(--muted); cursor: default; }

.sz-select__option-name { flex: 1; }

.sz-select__option-meta {
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.sz-select__option-status {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 2px;
}

.sz-select__option-status--open    { color: var(--ember); background: rgba(200,146,42,0.12); }
.sz-select__option-status--active  { color: var(--bone);  background: rgba(240,232,222,0.1); }
.sz-select__option-status--closed  { color: var(--muted); background: rgba(100,90,80,0.1);  }