/* ─── Tokens — pulled directly from the painting ─────────────────── */
:root {
  /* Background — near-black, letting the gold linework carry the page */
  --lapis:       #14141A;
  --lapis-dark:  #0C0C10;
  --lapis-deep:  #050507;

  /* Gold — the painting's line-work and outlines */
  --gold:        #D4A014;
  --gold-lt:     #ECC040;
  --gold-dim:    rgba(212, 160, 20, 0.14);
  --gold-border: rgba(212, 160, 20, 0.38);

  /* Warm cream — like vellum/parchment manuscript pages */
  --cream:       #F5EED2;
  --cream-60:    rgba(245, 238, 210, 0.6);
  --cream-30:    rgba(245, 238, 210, 0.3);

  /* Terracotta — the dervish's robe; used for CTAs */
  --terra:       #B84A28;
  --terra-lt:    #D0622E;

  --muted:       #7A9CCE;
  --border-dim:  rgba(245, 238, 210, 0.09);

  --radius: 2px;
  --shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  --font-d:  'Syne', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  /* Scattered star texture — matches the painting's gold star-dots on blue sky */
  --star-texture: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18' cy='14' r='1.6' fill='rgba(212%2C160%2C20%2C0.32)'/%3E%3Ccircle cx='75' cy='22' r='1.1' fill='rgba(212%2C160%2C20%2C0.24)'/%3E%3Ccircle cx='10' cy='80' r='1.8' fill='rgba(212%2C160%2C20%2C0.28)'/%3E%3Ccircle cx='100' cy='9' r='1.3' fill='rgba(212%2C160%2C20%2C0.26)'/%3E%3Ccircle cx='52' cy='105' r='1.6' fill='rgba(212%2C160%2C20%2C0.3)'/%3E%3Ccircle cx='92' cy='72' r='1' fill='rgba(212%2C160%2C20%2C0.22)'/%3E%3Ccircle cx='36' cy='48' r='0.9' fill='rgba(212%2C160%2C20%2C0.2)'/%3E%3Ccircle cx='108' cy='95' r='1.5' fill='rgba(212%2C160%2C20%2C0.26)'/%3E%3Ccircle cx='60' cy='38' r='1.1' fill='rgba(212%2C160%2C20%2C0.2)'/%3E%3Ccircle cx='4' cy='42' r='1.4' fill='rgba(212%2C160%2C20%2C0.24)'/%3E%3Ccircle cx='84' cy='55' r='0.9' fill='rgba(212%2C160%2C20%2C0.18)'/%3E%3Ccircle cx='28' cy='92' r='1.2' fill='rgba(212%2C160%2C20%2C0.22)'/%3E%3Ccircle cx='112' cy='44' r='1.6' fill='rgba(212%2C160%2C20%2C0.28)'/%3E%3Ccircle cx='46' cy='66' r='0.8' fill='rgba(212%2C160%2C20%2C0.18)'/%3E%3C%2Fsvg%3E");

  /* Cloud-band: repeating Persian cloud forms in gold outline */
  --cloud-pattern: url("data:image/svg+xml,%3Csvg width='130' height='40' viewBox='0 0 130 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6%2C32 C6%2C22 11%2C16 18%2C18 C20%2C11 27%2C9 32%2C14 C37%2C9 44%2C11 46%2C18 C53%2C16 58%2C22 58%2C32' stroke='rgba(212%2C160%2C20%2C0.45)' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M72%2C32 C72%2C22 77%2C16 84%2C18 C86%2C11 93%2C9 98%2C14 C103%2C9 110%2C11 112%2C18 C119%2C16 124%2C22 124%2C32' stroke='rgba(212%2C160%2C20%2C0.45)' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C%2Fsvg%3E");
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--lapis);
  color: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── Miniature background collage ────────────────────────── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

body > *:not(.bg-canvas) { position: relative; z-index: 20; }

.bg-img {
  position: absolute;
  display: block;
}

/* Simurgh — left, bleeds into centre */
.bg-img-1 {
  width: 68%;
  top: -4%;
  left: -2%;
  opacity: 0.13;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 38% 42%, black 0%, rgba(0,0,0,.55) 40%, transparent 80%);
  mask-image:         radial-gradient(ellipse 80% 80% at 38% 42%, black 0%, rgba(0,0,0,.55) 40%, transparent 80%);
}

/* Horseman — right, bleeds into centre */
.bg-img-2 {
  width: 36%;
  top: 6%;
  right: -2%;
  opacity: 0.11;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 58% 38%, black 0%, rgba(0,0,0,.55) 38%, transparent 82%);
  mask-image:         radial-gradient(ellipse 85% 80% at 58% 38%, black 0%, rgba(0,0,0,.55) 38%, transparent 82%);
}

/* Cavalry — bottom, bleeds upward */
.bg-img-3 {
  width: 85%;
  bottom: -4%;
  left: 8%;
  opacity: 0.11;
  -webkit-mask-image: radial-gradient(ellipse 88% 80% at 50% 62%, black 0%, rgba(0,0,0,.5) 38%, transparent 80%);
  mask-image:         radial-gradient(ellipse 88% 80% at 50% 62%, black 0%, rgba(0,0,0,.5) 38%, transparent 80%);
}
a { text-decoration: none; color: inherit; }

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--lapis-deep);
  border-bottom: 1px solid var(--gold-border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-tagline {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--cream);
  letter-spacing: 0.03em;
  border-left: 1px solid var(--gold-border);
  padding-left: 24px;
  white-space: nowrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.logo-star { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.nav-links a { color: var(--cream-60); transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--gold-border);
  padding: 7px 18px;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta:hover { background: var(--gold-dim); border-color: var(--gold) !important; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 80px 40px 60px;
  text-align: center;
}

/* Gold star dots — the painting's sky texture */
.hero-stars {
  position: absolute;
  inset: 0;
  background-image: var(--star-texture);
  background-size: 120px 120px;
  pointer-events: none;
}

/* Manuscript frame — the gold border that frames a miniature painting */
.ms-frame {
  position: absolute;
  inset: 32px;
  border: 1.5px solid rgba(212, 160, 20, 0.55);
  box-shadow:
    0 0 0 7px rgba(212, 160, 20, 0.04),
    0 0 0 8px rgba(212, 160, 20, 0.22);
  pointer-events: none;
  z-index: 0;
}
/* Mid-border decorative diamond strip */
.ms-frame::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 160, 20, 0.18);
  pointer-events: none;
}
.ms-corner {
  position: absolute;
  width: 52px;
  height: 52px;
  display: block;
}
.ms-corner svg { width: 100%; height: 100%; }
.ms-corner--tl { top: -14px; left: -14px; }
.ms-corner--tr { top: -14px; right: -14px; }
.ms-corner--bl { bottom: -14px; left: -14px; }
.ms-corner--br { bottom: -14px; right: -14px; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

/* Persian cloud ornament (above and below title) */
.cloud-strip {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.cloud-strip svg { width: 320px; height: 28px; flex-shrink: 0; }
.cloud-strip--flip { margin-bottom: 0; margin-top: 20px; transform: scaleY(-1); }

/* The big title */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-d);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 24px;
}
.title-iran {
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 0 60px rgba(212, 160, 20, 0.2);
}
.title-abroad {
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(212, 160, 20, 0.3);
}

/* Gold rule with star between title and text */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto 22px;
  max-width: 260px;
}
.rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream-60);
  line-height: 1.8;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-quote {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream-30);
  border-top: 1px solid rgba(212, 160, 20, 0.18);
  padding-top: 22px;
  line-height: 1.7;
}
.hero-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 160, 20, 0.55);
  margin-top: 8px;
}

/* ─── Buttons ─────────────────────────────────────────────── */
/* Primary: terracotta/vermillion — like the red pigment in miniatures */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--terra);
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--terra-lt); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--cream-60);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid rgba(245, 238, 210, 0.22);
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--cream); border-color: rgba(245, 238, 210, 0.5); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 1px solid var(--gold-border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: var(--gold-dim); border-color: var(--gold); }

/* ─── Persian miniature illustration layer ───────────────── */
/* Faded ghost-illustrations drawn from the Khosrow & Shirin  */
/* painting — visible but never competing with content.        */
.hero-illustration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.illus {
  position: absolute;
}

/* Persian tree: left edge, trunk at bottom-left, crown spreading */
.illus-tree-l {
  bottom: -40px;
  left: -24px;
  width: 230px;
  height: auto;
  opacity: 0.09;
}

/* Persian tree: right edge, mirrored twin of the left tree */
.illus-tree-r {
  bottom: -40px;
  right: -24px;
  width: 200px;
  height: auto;
  opacity: 0.07;
  transform: scaleX(-1);
  transform-origin: center;
}

/* Arabesque islimi vine: left side, climbing alongside the tree */
.illus-vine-l {
  bottom: 0;
  left: 72px;
  width: 70px;
  height: 75%;
  opacity: 0.09;
}

/* Arabesque islimi vine: right side, mirrored */
.illus-vine-r {
  bottom: 0;
  right: 72px;
  width: 70px;
  height: 70%;
  opacity: 0.08;
  transform: scaleX(-1);
}

/* Scattered khatai flower rosettes */
.illus-flower-a {
  top: 6%;
  right: 9%;
  width: 80px;
  height: auto;
  opacity: 0.10;
}

.illus-flower-b {
  top: 42%;
  right: 5%;
  width: 58px;
  height: auto;
  opacity: 0.08;
}

.illus-flower-c {
  bottom: 18%;
  left: 38%;
  width: 48px;
  height: auto;
  opacity: 0.07;
}

/* Lift z-index so manuscript frame sits above illustrations */
.ms-frame   { z-index: 2; }
.hero-content { z-index: 3; }

/* About section illustrations */
.about-tree {
  position: absolute;
  bottom: -20px;
  right: -16px;
  width: 160px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  transform: scaleX(-1);
  transform-origin: center;
}
.about-vine {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 55px;
  height: 58%;
  opacity: 0.07;
  pointer-events: none;
}

/* ─── Cloud-band divider ──────────────────────────────────── */
/* The painted cloud-band strips found between sections of Persian manuscripts */
.cloud-band {
  height: 44px;
  background: var(--lapis-dark);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  background-image: var(--cloud-pattern);
  background-repeat: repeat-x;
  background-size: 130px 44px;
  background-position: center;
}

/* ─── Section shared ──────────────────────────────────────── */
.section-star {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto 18px;
}
.section-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ─── Map Section ─────────────────────────────────────────── */
.map-section {
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 60px 28px;
  background: var(--lapis);
}
.map-embed-wrap {
  max-width: 860px;
  margin: 0 auto;
  height: 520px;
  border: 1px solid var(--gold-border);
}
#map-el { width: 100%; height: 100%; }

/* Leaflet overrides */
.leaflet-control-zoom a {
  background: var(--lapis-dark) !important;
  color: var(--cream) !important;
  border-color: var(--gold-border) !important;
}
.leaflet-control-zoom a:hover { background: var(--lapis) !important; }
.leaflet-control-attribution {
  background: rgba(5,5,7,0.85) !important;
  color: var(--muted) !important;
  font-size: 0.6rem !important;
}
.leaflet-control-attribution a { color: var(--gold-lt) !important; }
.leaflet-popup-content-wrapper {
  background: var(--lapis-dark);
  border: 1px solid var(--gold-border);
  border-radius: 0;
  box-shadow: var(--shadow);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.85rem;
}
.leaflet-popup-tip { background: var(--lapis-dark); }
.leaflet-popup-close-button { color: var(--muted) !important; }
.continent-label {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--gold-border);
  font-family: var(--font-d);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  pointer-events: none;
}
.continent-label::before { display: none; }
.lp-name {
  display: block;
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 500;
}
.lp-city {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin-top: 3px;
}

/* ─── Catalogue ───────────────────────────────────────────── */
.catalogue-section {
  padding: 96px 28px;
  max-width: 860px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 60px; }

/* ─── Country Accordion ───────────────────────────────────────────── */
.countries-accordion { display: flex; flex-direction: column; }

.ac-item { border-bottom: 1px solid var(--gold-border); }
.ac-item:first-child { border-top: 1px solid var(--gold-border); }

.ac-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  font-family: var(--font-d);
}
.ac-header:hover .ac-country { color: var(--gold); }
.ac-item.open .ac-header { background: rgba(212, 160, 20, 0.06); border-radius: 2px; }
.ac-item.open .ac-country { color: var(--gold); opacity: 1; }

.ac-country {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  line-height: 1.1;
}
.ac-meta { display: flex; align-items: center; gap: 16px; }
.ac-count {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.ac-chevron {
  width: 24px; height: 24px;
  color: var(--gold);
  transition: transform 0.28s ease;
  flex-shrink: 0;
}
.ac-item.open .ac-chevron { transform: rotate(180deg); }

.ac-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.ac-item.open .ac-body { max-height: 2000px; }
.ac-body > div { overflow: visible; }

.ac-cities { padding: 0 4px 28px; }

.ac-city-group { margin-bottom: 24px; }
.ac-city-group:last-child { margin-bottom: 0; }

.ac-city-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--gold-border);
}
.ac-city-name {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ac-city-count {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.ac-list {
  list-style: none;
  padding: 0;
}
.ac-place {
  padding: 9px 4px;
  margin: 0 -4px;
  border-bottom: 1px solid var(--border-dim);
  border-radius: var(--radius);
  transition: padding 0.25s ease, background 0.25s ease;
}
.ac-place:last-child { border-bottom: none; }
.ac-place:hover,
.ac-place.selected {
  padding: 12px 4px;
  background: var(--gold-dim);
}
.ac-place-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ac-dot {
  width: 7px; height: 7px;
  background: var(--terra);
  border-radius: 50%;
  flex-shrink: 0;
}
.ac-name {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}
.ac-name:hover { color: var(--gold); }
.ac-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0 0 0 21px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease;
}
.ac-place:hover .ac-desc,
.ac-place.selected .ac-desc {
  max-height: 40px;
  opacity: 1;
  margin-top: 6px;
}

/* ─── Notion Embed ────────────────────────────────────────── */
.notion-section { padding: 60px 28px; }
.notion-wrap {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--gold-border);
  overflow: hidden;
}
.notion-wrap iframe { display: block; }

/* ─── About ───────────────────────────────────────────────── */
.about-section {
  background: var(--lapis-dark);
  padding: 96px 28px;
  position: relative;
  overflow: hidden;
}
.about-stars { opacity: 0.8; }
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

/* Motif grid — the catalogue of categories */
.motif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.motif-card {
  background: rgba(212, 160, 20, 0.06);
  border: 1px solid var(--gold-border);
  padding: 22px 12px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-size: 2rem; text-align: center;
  transition: background 0.2s;
  position: relative;
}
.motif-card::before {
  content: '';
  position: absolute;
  top: 5px; left: 5px;
  width: 10px; height: 10px;
  border-top: 1px solid rgba(212, 160, 20, 0.35);
  border-left: 1px solid rgba(212, 160, 20, 0.35);
}
.motif-card:hover { background: rgba(212, 160, 20, 0.12); }
.motif-card span { font-size: 0.63rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.about-text .section-star { margin: 0 0 18px; }
.about-text h2 {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  line-height: 1.2;
}
.about-text h2 em { color: var(--gold); font-style: normal; font-weight: 400; letter-spacing: 0.08em; }
.about-text p { color: var(--cream-60); margin-bottom: 16px; font-size: 0.9rem; line-height: 1.75; }
.about-text .btn-primary { margin-top: 12px; }

/* ─── Submit ──────────────────────────────────────────────── */
.submit-section { padding: 96px 28px; }
.submit-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.submit-inner h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.submit-inner > p { color: var(--cream); font-size: 0.85rem; margin-bottom: 40px; letter-spacing: 0.05em; }
.submit-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit-form input,
.submit-form select,
.submit-form textarea {
  width: 100%;
  background: rgba(212, 160, 20, 0.07);
  border: 1px solid var(--gold-border);
  border-radius: 0;
  padding: 12px 16px;
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}
.submit-form select option { background: var(--lapis-dark); }
.submit-form input::placeholder,
.submit-form textarea::placeholder { color: var(--cream); }
.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus { border-color: var(--gold); }
.submit-form textarea { resize: vertical; min-height: 100px; }
.submit-form .btn-primary { align-self: flex-start; margin-top: 8px; }
.submit-status {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  min-height: 1em;
}
.submit-status--ok { color: var(--gold); }
.submit-status--error { color: var(--terra-lt); }

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--lapis-deep);
  border-top: 1px solid var(--gold-border);
  padding: 60px 28px 40px;
  position: relative;
  overflow: hidden;
}
.footer-stars { opacity: 0.5; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
  text-align: center;
  position: relative;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-name { font-family: var(--font-d); font-size: 1.15rem; font-weight: 500; letter-spacing: 0.06em; }
.footer-tagline { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 32px; font-size: 0.78rem; color: var(--cream-60); letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--cream); }
.footer-copy { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; }


/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .ms-frame { inset: 16px; }
  .ms-corner { width: 40px; height: 40px; }
  .ms-corner--tl { top: -10px; left: -10px; }
  .ms-corner--tr { top: -10px; right: -10px; }
  .ms-corner--bl { bottom: -10px; left: -10px; }
  .ms-corner--br { bottom: -10px; right: -10px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-tagline { display: none; }
  .title-iran, .title-abroad { font-size: 3rem; }
  .motif-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 80px 24px 60px; }
}
