/* empire.ly — umbrella hub theme
   Premium, editorial, image-rich. No framework, no build step. */

:root {
  --ink: #eef1f7;
  --ink-2: #cfd7e6;
  --navy: #0b0c10;
  --navy-2: #111827;
  --gold: #d4af37;
  --gold-2: #f4e19a;
  --gold-3: #e8cd77;
  --gold-wash: #171922;
  --cream: #0b0c10;
  --paper: #14161f;
  --surface-2: #1a1d29;
  --muted: #9aa3b6;
  --muted-2: #7c8598;
  --line: #232733;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 44px -22px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
  --max: 1200px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --arabic: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  background-image: radial-gradient(1200px 640px at 50% -200px, rgba(16, 53, 255, 0.16), transparent 70%);
  background-repeat: no-repeat;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border: 0;
  color: #21160a;
  box-shadow: 0 14px 30px -14px rgba(212, 175, 55, 0.9);
}
.btn-gold:hover { background: linear-gradient(135deg, #fff0bb, var(--gold)); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 12, 16, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.site-nav { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: #ffffff; }
.nav-cta {
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  background: #ffffff;
  color: #0f0f0f !important;
  font-weight: 700;
}
.nav-cta:hover { background: #e9e9e9; }

/* Hero — electric-cobalt orbital cluster (Tiny.com-inspired) ---------------- */
.hero {
  --hero-blue: #1035FF;
  --hero-blue-deep: #0F32F2;
  --hero-ink: #FFFFFF;
  --hero-dark: #0F0F0F;
  position: relative;
  overflow: hidden;
  color: var(--hero-ink);
  background:
    radial-gradient(120% 120% at 50% -10%, #2a54ff 0%, var(--hero-blue) 42%, var(--hero-blue-deep) 100%);
}
/* Seamless blend from the cobalt hero into the dark page below. */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 12, 16, 0), var(--cream));
}
.hero-wrap {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 104px 20px 96px;
}
/* The stage is the shared centre for both the ring of circles and the
   medallion, so the two always stay perfectly concentric. */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  min-height: min(80vmin, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-copy { position: relative; z-index: 3; max-width: 760px; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}
/* When the eyebrow sits directly under the medallion, tighten its top margin. */
.hero-copy .hero-eyebrow { margin: 16px 0 0; }
/* Central brand medallion — the orbiting badges revolve around this disc. */
.hero-core {
  width: clamp(178px, 22vw, 248px);
  height: clamp(178px, 22vw, 248px);
  margin: 0 auto 4px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03) 62%),
    rgba(6, 10, 30, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 34px 90px -34px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.hero-core-logo { height: clamp(34px, 4vw, 48px); width: auto; filter: brightness(0) invert(1); }
.hero-core-name {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-core-tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  max-width: 92%;
  line-height: 1.3;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(255, 255, 255, 0.86);
}
.hero-cta { margin-top: 34px; display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--hero-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 22px 52px -18px rgba(0, 0, 0, 0.7); }
.hero-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.hero-link:hover { color: #fff; border-color: #fff; }

/* Intro strip beneath the hero — keeps the hero centre clear so the medallion
   stays exactly where the orbiting circles converge. */
.hero-intro { text-align: center; padding: 6px 20px 0; }
.hero-intro .hero-sub { margin: 0 auto; color: var(--ink-2); }
.hero-intro .hero-cta { margin-top: 24px; }

/* Orbital badge ring ------------------------------------------------------- */
/* A static, perfectly round ring of circles around the centred medallion.
   Each circle floats gently on its own; the ring itself never rotates, so it
   can never tilt and the circles can never bunch up or overlap. JS
   (layoutOrbit) positions every circle on the ring. */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(88vmin, 1040px);
  height: min(88vmin, 1040px);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}
.badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--size, 84) * 1px);
  height: calc(var(--size, 84) * 1px);
  border-radius: 50%;
  background: var(--c, #fff);
  color: var(--tc, #0f0f0f);
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  padding: 6%;
  font-weight: 800;
  /* Single line that scales down to fit the circle (--fs is set in JS). */
  font-size: max(9px, calc(var(--fs, calc(var(--size, 84) * 0.17)) * 1px));
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: auto;
  box-shadow: 0 20px 46px -20px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: translate(-50%, -50%) scale(var(--s, 1));
  /* Independent translate property so the gentle float composes with the
     centring transform above instead of fighting it. */
  translate: 0 0;
  animation: badgeFloat var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    left 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.6s ease,
    height 0.6s ease,
    font-size 0.6s ease,
    background-color 0.5s ease,
    color 0.5s ease,
    box-shadow 0.4s ease;
  will-change: transform, translate, left, top, opacity;
}
@keyframes badgeFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
/* Entrance gate: applied only once JS takes over (orbit--js) so the static
   badges stay visible if scripts are unavailable. */
.orbit--js .badge { opacity: 0; }
.orbit--js.is-ready .badge { opacity: 1; }
.badge-inner { display: block; }
.badge:hover, .badge:focus-visible {
  --s: 1.08;
  z-index: 4;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
/* Leaving node: fade out + scale down before the pool swap. */
.orbit--js .badge.is-out { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
@media (prefers-reduced-motion: reduce) {
  .badge { animation: none; }
}

/* Lede paragraph (shared with the For Sale panel) -------------------------- */
.lede {
  margin: 22px 0 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 58ch;
}

/* Marquee trust bar ------------------------------------------------------- */
.trustbar {
  background: #101219;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trustbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  padding: 16px 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.trustbar-inner span { display: inline-flex; align-items: center; gap: 9px; }
.trustbar-inner span::before {
  content: "◆";
  color: var(--gold);
  font-size: 0.7rem;
}

/* Controls ---------------------------------------------------------------- */
.controls {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 12, 16, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.controls-inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.search {
  flex: 1 1 280px;
  min-width: 200px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
}
.search::placeholder { color: var(--muted-2); }
.search:focus { outline: 2px solid var(--gold-2); border-color: var(--gold); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.chip:hover { border-color: var(--gold); color: var(--gold-3); }
.chip.is-active {
  background: var(--surface-2);
  border-color: var(--gold);
  color: #fff;
  background-image: linear-gradient(135deg, rgba(212, 175, 55, 0.25), transparent);
}
.result-note { font-size: 0.78rem; color: var(--muted); margin-left: auto; }

/* Sections ---------------------------------------------------------------- */
.section-block { padding: 64px 0 8px; scroll-margin-top: 90px; }
.section-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.section-rule {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}
.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}
.section-head .count {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-2);
  background: var(--gold-wash);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  padding: 3px 11px;
}
.section-sub { margin: 8px 0 26px; color: var(--muted); font-size: 0.94rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

/* Cards ------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.45);
}
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--mark-tc, #0f0f0f);
  background: linear-gradient(135deg, var(--mark-c1, var(--gold-2)), var(--mark-c2, #e8cf88));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 20px -10px rgba(0, 0, 0, 0.7);
}
.card-mark svg { width: 24px; height: 24px; }
.card-name { margin: 0; font-size: 1.04rem; font-weight: 700; word-break: break-all; letter-spacing: -0.01em; }
.card-name a.card-link { color: inherit; text-decoration: none; }
.card-name a.card-link:hover { color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }
.card-excerpt {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  min-height: 2.6em;
  font-family: var(--sans);
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.card-go { font-size: 0.76rem; font-weight: 800; color: var(--gold-3); }
.sale-badge {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #21160a;
  border-radius: 999px;
  padding: 4px 10px;
}

/* Editorial image bands --------------------------------------------------- */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  margin: 54px 0 12px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid var(--line);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.band--flip .band-media { order: 2; }
.band-media {
  position: relative;
  min-height: 360px;
  background: linear-gradient(135deg, #1b2547, #0b1224);
}
.band-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.7s ease;
}
.band:hover .band-media img { transform: scale(1.05); }
.band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 18, 36, 0.55), rgba(11, 18, 36, 0.05));
}
.band--flip .band-media::after {
  background: linear-gradient(240deg, rgba(11, 18, 36, 0.55), rgba(11, 18, 36, 0.05));
}
.band-body {
  padding: 52px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.band-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-2);
}
.band-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  line-height: 1.15;
}
.band-text { margin: 0; color: rgba(255, 255, 255, 0.76); font-size: 0.96rem; max-width: 46ch; }
.band .btn-gold { align-self: flex-start; margin-top: 6px; }

/* For sale ---------------------------------------------------------------- */
.forsale {
  background:
    radial-gradient(700px 320px at 82% 0%, rgba(212, 175, 55, 0.13), transparent 62%),
    linear-gradient(160deg, #15171f, #101219);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 26px;
  padding: 44px;
  margin: 64px 0 0;
  box-shadow: var(--shadow-md);
}
.forsale h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.forsale p.lede { margin: 0 0 26px; color: var(--muted); font-size: 0.95rem; max-width: 72ch; }
.forsale .card { background: var(--surface-2); }

/* For Sale — colourful circles (mirrors the hero circle system) ------------ */
.circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.domain-circle {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12%;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(0.78rem, 1.5vw, 1.02rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--mark-tc, #0f0f0f);
  background: linear-gradient(135deg, var(--mark-c1, var(--gold-2)), var(--mark-c2, #e8cf88));
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.domain-circle:hover, .domain-circle:focus-visible {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.domain-circle small {
  display: block;
  margin-top: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

/* Section heading used on cream panels ------------------------------------ */
.panel-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Gallery ----------------------------------------------------------------- */
.gallery-section { padding: 78px 0 10px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #1b2547, #0b1224);
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(11, 18, 36, 0.88));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* About ------------------------------------------------------------------- */
.about { padding: 70px 0 10px; }
.about .card { cursor: default; }
.about .card:hover { transform: none; }

/* Empty state ------------------------------------------------------------- */
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .mark { font-size: 2rem; color: var(--gold); }

/* Call-to-action band ----------------------------------------------------- */
.cta-band {
  margin: 74px 0 0;
  border-radius: 26px;
  padding: 54px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0) 62%),
    var(--navy-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { margin: 0 auto 24px; color: rgba(255, 255, 255, 0.76); max-width: 60ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  margin-top: 84px;
  background: #0a0b0f;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  padding: 60px 0 34px;
  font-size: 0.86rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { color: #fff; margin: 0 0 14px; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted-2); text-decoration: none; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand { filter: brightness(0) invert(1); opacity: 0.94; height: 44px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

/* Modal ------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: pop 0.22s ease;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  cursor: pointer;
}
.modal-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-2), #e8cf88);
  color: var(--navy);
  margin-bottom: 14px;
}
.modal-icon svg { width: 28px; height: 28px; }
.modal h3 { margin: 0 0 6px; word-break: break-all; font-family: var(--serif); font-size: 1.5rem; }
.modal .modal-sub { color: var(--muted); font-size: 0.84rem; margin: 0 0 16px; }
.modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.modal .modal-excerpt { font-size: 0.98rem; color: var(--ink-2); margin: 0 0 24px; font-family: var(--sans); }
.modal .modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Accessibility ----------------------------------------------------------- */
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 14px; top: 14px; background: #fff; color: #0b0c10; padding: 10px 14px; border-radius: 10px; z-index: 100; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .band { grid-template-columns: 1fr; }
  .band--flip .band-media { order: 0; }
  .band-media { min-height: 260px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-wrap {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 118px 0 54px;
    gap: 30px;
  }
  .hero-stage {
    flex-direction: column;
    min-height: auto;
    gap: 30px;
  }
  .hero-copy { order: 1; padding: 0 22px; }
  .orbit {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    order: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 22px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .badge {
    position: static;
    transform: none;
    translate: none;
    animation: none;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
  .badge:hover, .badge:focus-visible { transform: translateY(-3px); }
}
@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .controls { position: static; }
  .band-body { padding: 34px 26px; }
  .forsale { padding: 30px 22px; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .result-note { margin-left: 0; }
}
