/* ──────────────────────────────────────────────────────────────
   Saltanat — Kyz Uzatuu Invitation
   Palette: dusty slate-blue + warm cream + soft gold
   ────────────────────────────────────────────────────────────── */

:root {
  --ink:        #28323f;
  --ink-soft:   #4a586a;
  --slate:      #5d7794;
  --slate-deep: #46607c;
  --slate-soft: #8ea4bd;
  --slate-mist: #b8c7d6;
  --cream:      #f4ecdc;
  --paper:      #faf4e8;
  --paper-pure: #fffaf0;
  --gold:       #b89968;
  --gold-soft:  #d4b88a;
  --leaf:       #6d7e60;
  --line:       rgba(70, 96, 124, 0.22);

  --serif:    "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --display:  "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --sans:     "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --script:   "Italianno", "Cormorant Garamond", cursive;

  --maxw: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-image:
    radial-gradient(ellipse at top, rgba(184, 153, 104, 0.04), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(93, 119, 148, 0.05), transparent 60%);
}

img { display: block; max-width: 100%; }

/* ─── Type ────────────────────────────────────────────────── */
.serif    { font-family: var(--serif); font-weight: 400; }
.display  { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.script   { font-family: var(--script); font-weight: 400; font-style: normal; }
.italic   { font-style: italic; }
.tracked  { text-transform: uppercase; letter-spacing: 0.32em; font-size: 11px; font-weight: 500; }
.tracked-md { text-transform: uppercase; letter-spacing: 0.28em; font-size: 13px; font-weight: 500; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; margin: 0; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }

/* ─── Layout ──────────────────────────────────────────────── */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(70, 96, 124, 0.06),
    0 30px 80px -20px rgba(40, 50, 63, 0.18);
  position: relative;
  overflow: hidden;
}

section {
  padding: 96px 56px;
  position: relative;
}

@media (max-width: 640px) {
  section { padding: 72px 28px; }
}

.section-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 11px;
  font-weight: 500;
  color: var(--slate);
  text-align: center;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 52px);
  font-style: italic;
  font-weight: 400;
  text-align: center;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto;
}

/* ─── Language toggle: floating button (bottom-right) ──── */
.lang-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}

.lang-fab-main {
  appearance: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--slate);
  color: var(--paper);
  border: 1px solid var(--slate-deep);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  cursor: pointer;
  box-shadow:
    0 12px 28px -8px rgba(40, 50, 63, 0.55),
    0 0 0 6px rgba(250, 244, 232, 0.6);
  transition: transform 0.25s ease, background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lang-fab-main:hover {
  transform: scale(1.06);
  background: var(--slate-deep);
}
.lang-fab-main:focus-visible {
  outline: 2px solid var(--slate-soft);
  outline-offset: 4px;
}

.lang-fab-main svg {
  width: 18px;
  height: 18px;
  opacity: 0.85;
  transition: transform 0.3s ease;
}
.lang-fab.open .lang-fab-main svg { transform: rotate(45deg); }

.lang-fab-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.lang-fab-option {
  appearance: none;
  height: 46px;
  min-width: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--paper-pure);
  color: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(40, 50, 63, 0.35);
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  animation: fab-in 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-fab-option:nth-child(1) { animation-delay: 0.05s; }
.lang-fab-option:nth-child(2) { animation-delay: 0.12s; }
.lang-fab-option:nth-child(3) { animation-delay: 0.19s; }

.lang-fab-option:hover {
  transform: translateY(0) translateX(-2px);
  background: var(--cream);
  border-color: var(--slate-soft);
}
.lang-fab-option.active {
  background: var(--slate);
  color: var(--paper);
  border-color: var(--slate);
}
.lang-fab-option .name {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: none;
  opacity: 0.65;
}

@keyframes fab-in {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
  .lang-fab { bottom: 18px; right: 18px; }
  .lang-fab-main { width: 52px; height: 52px; font-size: 12px; }
  .lang-fab-option { height: 42px; min-width: 42px; padding: 0 12px; }
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 0;
  position: relative;
  background: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/venue-evening.jpeg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.62) saturate(0.85);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(40, 50, 63, 0.55) 0%,
    rgba(40, 50, 63, 0.35) 35%,
    rgba(40, 50, 63, 0.65) 70%,
    rgba(40, 50, 63, 0.92) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding: 72px 40px 56px;
  color: var(--paper);
  text-align: center;
  min-height: 100vh;
}

.hero-top, .hero-mid, .hero-bot { display: flex; flex-direction: column; align-items: center; }
.hero-top { gap: 28px; }
.hero-mid { gap: 18px; }
.hero-bot { gap: 28px; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 11px;
  font-weight: 500;
  color: rgba(250, 244, 232, 0.78);
}

.hero-name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(72px, 14vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(40, 50, 63, 0.5);
}

.hero-groom {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(250, 244, 232, 0.78);
  margin-top: 6px;
  max-width: 32ch;
  text-wrap: balance;
}

.hero-headline {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  max-width: 28ch;
  color: rgba(250, 244, 232, 0.92);
  text-wrap: balance;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(250, 244, 232, 0.7);
}
.hero-divider .line {
  width: 60px;
  height: 1px;
  background: rgba(250, 244, 232, 0.5);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.85);
}
.hero-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(250, 244, 232, 0.55);
}

@media (max-width: 640px) {
  .hero-meta { flex-direction: column; gap: 14px; }
  .hero-meta .dot { display: none; }
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.65);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ─── Countdown ───────────────────────────────────────────── */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 480px;
  width: 100%;
}

.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 8px;
  border: 1px solid rgba(250, 244, 232, 0.22);
  background: rgba(250, 244, 232, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.countdown-num {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.7);
  margin-top: 8px;
}

/* ─── Welcome ─────────────────────────────────────────────── */
.welcome {
  background: var(--paper);
  position: relative;
}

.welcome-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 3;
}

.welcome-greeting {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--ink);
}

.welcome-blessing {
  margin-top: 2px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 11px;
  color: var(--slate);
}

.welcome-signature {
  margin-top: 28px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--slate-deep);
}

.welcome-body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
  margin-top: 26px;
}

.welcome-body p + p { margin-top: 18px; }

.welcome-illustration {
  margin: 36px auto 22px;
  width: 140px;
  opacity: 0.78;
}

.date-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 40px;
  padding: 18px 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.date-stamp .day {
  font-family: var(--display);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
}
.date-stamp .month {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ─── Section divider with ornament ───────────────────────── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  max-width: 280px;
  color: var(--slate);
}
.divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}
.divider-ornament { width: 32px; height: 32px; color: var(--slate); }

/* ─── Location ────────────────────────────────────────────── */
.location {
  background: var(--cream);
}

.location-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-image: url("assets/venue-greenhouse.jpeg");
  background-size: cover;
  background-position: center;
  margin: 40px 0 32px;
  position: relative;
  border: 1px solid var(--line);
}

.location-photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(250, 244, 232, 0.5);
  pointer-events: none;
}

.location-detail {
  text-align: center;
  margin-bottom: 28px;
}
.location-detail .city {
  font-family: var(--display);
  font-style: italic;
  font-size: 32px;
  color: var(--ink);
}
.location-detail .venue {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  margin-top: 10px;
}
.location-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 38ch;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid var(--slate);
  background: transparent;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn:hover {
  background: var(--slate);
  color: var(--paper);
}

.btn-filled {
  background: var(--slate);
  color: var(--paper);
}
.btn-filled:hover {
  background: var(--slate-deep);
  color: var(--paper);
}

.btn-block { display: flex; width: 100%; justify-content: center; }

.btn-center { display: flex; justify-content: center; }

/* ─── Programme timeline ──────────────────────────────────── */
.programme {
  background: var(--paper);
  position: relative;
}

.timeline {
  max-width: 460px;
  margin: 48px auto 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: var(--line);
}

.timeline-row {
  display: grid;
  grid-template-columns: 70px 28px 1fr;
  align-items: start;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}

.timeline-time {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  color: var(--slate-deep);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.timeline-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--slate);
  margin: 6px auto 0;
  position: relative;
  z-index: 1;
}
.timeline-node.accent { background: var(--slate); }

.timeline-content {
  padding-top: 2px;
}
.timeline-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.timeline-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  font-style: italic;
}

.programme-note {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── Dress code ──────────────────────────────────────────── */
.dress {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.dress-body {
  max-width: 520px;
  margin: 32px auto 0;
}

.dress-text {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 15px;
}
.dress-text.center { text-align: center; }

.dress-tag {
  margin-top: 36px;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--slate-deep);
}


/* ─── RSVP ────────────────────────────────────────────────── */
.rsvp {
  background: var(--paper);
}

.rsvp-deadline {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: var(--slate-deep);
  margin: 12px 0 0;
}
.rsvp-deadline strong { font-style: normal; font-weight: 500; }

.rsvp-form {
  max-width: 480px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  color: var(--slate);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field textarea {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--slate);
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--slate-mist);
  font-style: italic;
}

.field textarea { resize: vertical; min-height: 80px; font-size: 15px; line-height: 1.6; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  text-align: left;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
}
.radio-option:hover { border-color: var(--slate-soft); }
.radio-option.selected {
  border-color: var(--slate);
  background: rgba(93, 119, 148, 0.06);
}

.radio-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--slate-soft);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.radio-option.selected .radio-dot { border-color: var(--slate); }
.radio-option.selected .radio-dot::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--slate);
}

.children-count {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.count-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--slate-deep);
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.count-btn:hover { border-color: var(--slate); background: var(--slate); color: var(--paper); }
.count-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.count-value {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  min-width: 32px;
  text-align: center;
  color: var(--ink);
}

.rsvp-success {
  text-align: center;
  padding: 60px 20px;
  max-width: 440px;
  margin: 48px auto 0;
}
.rsvp-success-mark {
  width: 56px; height: 56px;
  border: 1px solid var(--slate);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate);
}
.rsvp-success-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 36px;
  color: var(--ink);
  margin-bottom: 12px;
}
.rsvp-success-body {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.rsvp-closing-note {
  text-align: center;
  margin-top: 32px;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--slate-deep);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ─── Closing ─────────────────────────────────────────────── */
.closing {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.closing-bg {
  position: absolute; inset: 0;
  background-image: url("assets/venue-evening.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: saturate(0.5);
}

.closing-inner { position: relative; z-index: 2; }

.closing-title {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.15;
  margin: 24px auto 28px;
  max-width: 16ch;
  color: var(--paper);
}

.closing-body {
  max-width: 44ch;
  margin: 0 auto;
  color: rgba(250, 244, 232, 0.78);
  font-size: 15px;
  line-height: 1.85;
}

.closing-couple {
  margin-top: 40px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 5vw, 38px);
  color: var(--paper);
  letter-spacing: 0.01em;
}

.closing-couple-amp {
  font-family: var(--script);
  font-size: 1.4em;
  vertical-align: -0.04em;
  color: var(--gold-soft);
  padding: 0 0.1em;
}

.closing-signature {
  margin-top: 48px;
  font-family: var(--script);
  font-size: 44px;
  color: var(--gold-soft);
  line-height: 1;
  opacity: 0.85;
}

.closing-foot {
  margin-top: 40px;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.45);
}

/* ─── RSVP status messages ─────────────────────────────────── */
.rsvp-status {
  text-align: center;
  padding: 14px 20px;
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  border-radius: 2px;
  display: none;
}
.rsvp-status.show { display: block; }
.rsvp-status.success {
  color: var(--leaf);
  background: rgba(109, 126, 96, 0.08);
  border: 1px solid rgba(109, 126, 96, 0.2);
}
.rsvp-status.error {
  color: #a85a5a;
  background: rgba(168, 90, 90, 0.08);
  border: 1px solid rgba(168, 90, 90, 0.2);
}

/* ─── Children field hidden by default ────────────────────── */
.children-field { display: none; }
.children-field.show { display: flex; }

/* ─── Pattern separator band ──────────────────────────────── */
.pattern-band {
  width: 100%;
  height: 60px;
  overflow: hidden;
}
.pattern-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 640px) {
  .pattern-band { height: 48px; }
}

/* ─── Kyrgyz kochkor-muyuz (ram horn) ornament ────────────── */
.kyrgyz-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  pointer-events: none;
}
.kyrgyz-ornament svg { color: var(--slate-soft); }

/* Corner ornaments for sections */
.section-corner {
  position: absolute;
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  pointer-events: none;
  opacity: 0.28;
  color: var(--slate);
  overflow: hidden;
  flex-shrink: 0;
}
.section-corner svg {
  display: block;
  width: 100%;
  height: 100%;
}
.section-corner.top-left     { top: 18px; left: 18px; }
.section-corner.top-right    { top: 18px; right: 18px; transform: scaleX(-1); }
.section-corner.bottom-left  { bottom: 18px; left: 18px; transform: scaleY(-1); }
.section-corner.bottom-right { bottom: 18px; right: 18px; transform: scale(-1); }

@media (max-width: 640px) {
  .section-corner { display: none; }
}

/* ─── Shyrdak border (top/bottom decorative line) ─────────── */
.shyrdak-border {
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--slate-soft) 0px,
    var(--slate-soft) 8px,
    transparent 8px,
    transparent 12px,
    var(--gold-soft) 12px,
    var(--gold-soft) 20px,
    transparent 20px,
    transparent 24px
  );
  opacity: 0.35;
}

/* ─── Helpers ─────────────────────────────────────────────── */
.center { text-align: center; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
