/* Part 2 — Location, Design, Residences, Amenities, Gallery, Provenance,
   Launches, Conversion, Footer, FAB, Modal, Forms, Toast, Tweaks tweaks */

/* ─────────────────────────────────────────────────────────────
   9. Location
   ───────────────────────────────────────────────────────────── */
.loc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.loc-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.loc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.loc-image:hover img { transform: scale(1.03); }
.loc-image-cap {
  position: absolute;
  bottom: 16px; inset-inline-start: 16px;
  background: rgba(14,18,22,0.7);
  color: var(--surface);
  padding: 6px 10px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.loc-body p {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  max-width: 42ch;
  margin-bottom: 32px;
  font-style: italic;
}
html[data-type="grotesque"] .loc-body p { font-family: var(--font-body); font-weight: 300; font-style: normal; }
.loc-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  border-top: var(--hairline);
  padding-top: 24px;
  margin-bottom: 32px;
}
.loc-points dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.loc-points dd { font-size: 15px; color: var(--text); font-weight: 500; }
.loc-locator {
  margin: 32px 0 0 0;
  border: var(--hairline);
  background: var(--surface);
  padding: 0;
}
.loc-locator svg { display: block; width: 100%; height: auto; }
.loc-locator-cap {
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  color: var(--muted);
  border-top: var(--hairline);
}

@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ─────────────────────────────────────────────────────────────
   10. Design (full-bleed)
   ───────────────────────────────────────────────────────────── */
.design {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}
.design-bg { position: absolute; inset: 0; z-index: 0; }
.design-bg img { width: 100%; height: 100%; object-fit: cover; }
.design-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,18,22,0.9) 0%, rgba(14,18,22,0.7) 40%, rgba(14,18,22,0.3) 100%);
}
.design-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  color: var(--surface);
}
.design-body {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  font-style: italic;
  color: rgba(247,246,242,0.9);
  margin-top: 24px;
}
html[data-type="grotesque"] .design-body { font-family: var(--font-body); font-style: normal; font-weight: 300; }

/* ─────────────────────────────────────────────────────────────
   11. Residences
   ───────────────────────────────────────────────────────────── */
.res-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}
.res-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-inline-end: var(--hairline);
  background: var(--surface);
  transition: background .3s var(--ease);
  position: relative;
}
.res-card:last-child { border-inline-end: 0; }
.res-card:hover { background: var(--cream); }
.res-card-plan {
  width: 100%;
  aspect-ratio: 5/3;
  background: var(--cream);
  margin-bottom: 32px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease);
}
.res-card:hover .res-card-plan { background: var(--surface); }
.res-card-plan svg { width: 100%; max-height: 100%; }
.res-card-spec {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.res-card-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
  margin-bottom: 12px;
  text-wrap: balance;
  font-weight: 400;
}
.res-card-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 24px;
  flex: 1;
}
.res-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: var(--hairline);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}
.res-foot {
  margin-top: 32px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 80ch;
  font-family: var(--font-mono);
}

@media (max-width: 1000px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .res-card:nth-child(2) { border-inline-end: 0; }
  .res-card:nth-child(-n+2) { border-bottom: var(--hairline); }
}
@media (max-width: 600px) {
  .res-grid { grid-template-columns: 1fr; }
  .res-card { border-inline-end: 0; border-bottom: var(--hairline); }
  .res-card:last-child { border-bottom: 0; }
}

/* ─────────────────────────────────────────────────────────────
   12. Amenities
   ───────────────────────────────────────────────────────────── */
.am-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.am-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 200px;
  gap: 12px;
}
.am-fig { margin: 0; overflow: hidden; }
.am-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.am-fig:hover img { transform: scale(1.05); }
.am-fig--0 { grid-column: 1 / 2; grid-row: 1 / 3; }
.am-fig--1 { grid-column: 2 / 3; grid-row: 1 / 2; }
.am-fig--2 { grid-column: 2 / 3; grid-row: 2 / 3; }

.am-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  align-content: start;
}
.am-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: var(--hairline);
}
.am-list li:nth-last-child(-n+2) { border-bottom: var(--hairline); }
.am-i {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--secondary);
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.am-list h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
html[data-type="grotesque"] .am-list h4 { font-family: var(--font-body); font-weight: 500; font-size: 15px; }
.am-list p { font-size: 13px; line-height: 1.5; color: var(--muted); }

@media (max-width: 1000px) {
  .am-grid { grid-template-columns: 1fr; gap: 32px; }
  .am-list { grid-template-columns: 1fr; }
  .am-list li { border-bottom: 0 !important; }
  .am-list li:last-child { border-bottom: var(--hairline) !important; }
}
@media (max-width: 600px) {
  .am-images { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .am-fig--0, .am-fig--1, .am-fig--2 { grid-column: 1 / 2; grid-row: auto; }
}

/* ─────────────────────────────────────────────────────────────
   13. Gallery
   ───────────────────────────────────────────────────────────── */
.gallery { padding-bottom: clamp(72px, 9vw, 130px); }
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  color: rgba(247,246,242,0.8);
}
.gallery-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav button {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
}
.gallery-nav button:hover { background: rgba(247,246,242,0.08); border-color: var(--surface); }
.gallery-nav button:first-child svg { transform: rotate(180deg); }
html[dir="rtl"] .gallery-nav button:first-child svg { transform: rotate(0); }
html[dir="rtl"] .gallery-nav button:last-child svg { transform: rotate(180deg); }

.gallery-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 clamp(20px, 3vw, 36px);
  scrollbar-width: none;
}
.gallery-scroller::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 calc(min(900px, 75vw));
  scroll-snap-align: center;
  margin: 0;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slide figcaption {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  background: rgba(14,18,22,0.7);
  color: var(--surface);
  padding: 6px 10px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.gallery-note {
  margin-top: 24px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  color: rgba(247,246,242,0.5);
}

/* ─────────────────────────────────────────────────────────────
   14. Provenance
   ───────────────────────────────────────────────────────────── */
.prov-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}
.prov-intro p:first-child {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  font-style: italic;
  max-width: 42ch;
}
html[data-type="grotesque"] .prov-intro p:first-child { font-family: var(--font-body); font-style: normal; font-weight: 300; }
.prov-cite {
  font-size: 11px;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  color: var(--muted);
  text-align: end;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 80px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  inset-inline: 0;
  height: 1px;
  background: var(--border);
}
.timeline li {
  padding: 0 16px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tl-year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.tl-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--primary);
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.timeline li.is-highlight .tl-dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(41,47,104,0.18); }
.tl-body h5 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
html[data-type="grotesque"] .tl-body h5 { font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.tl-body p { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

@media (max-width: 1100px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .timeline::before { display: none; }
  .timeline li { padding: 20px 0; border-bottom: var(--hairline); }
}
@media (max-width: 600px) {
  .timeline { grid-template-columns: 1fr; }
  .prov-intro { grid-template-columns: 1fr; gap: 16px; }
  .prov-cite { text-align: start; }
}

.scale {
  border-top: var(--hairline);
  border-bottom: var(--hairline);
  padding: 32px 0;
  margin-bottom: 80px;
}
.scale-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.scale-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.switch {
  width: 32px; height: 18px;
  background: var(--border);
  border-radius: 9px;
  position: relative;
  transition: background .25s var(--ease);
}
.switch span {
  position: absolute;
  inset-inline-start: 2px;
  top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface);
  transition: transform .25s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.switch.is-on { background: var(--primary); }
.switch.is-on span { transform: translateX(14px); }
html[dir="rtl"] .switch.is-on span { transform: translateX(-14px); }
.scale-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.scale-stat {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
html[data-type="grotesque"] .scale-stat { font-family: var(--font-body); font-weight: 300; }
.scale-unit {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.scale-note {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
}
@media (max-width: 700px) {
  .scale-grid { grid-template-columns: 1fr; gap: 24px; }
}

.awards .sect-eye { display: block; margin-bottom: 24px; color: var(--primary); }
.awards-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: var(--hairline);
}
.awards-list li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px 24px 0;
  border-bottom: var(--hairline);
  border-inline-end: var(--hairline);
}
.awards-list li:last-child { border-inline-end: 0; }
.aw-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--secondary);
}
.awards-list h6 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}
html[data-type="grotesque"] .awards-list h6 { font-family: var(--font-body); font-size: 13px; font-weight: 500; }
.awards-list p { font-size: 12px; line-height: 1.45; color: var(--muted); }

@media (max-width: 1000px) {
  .awards-list { grid-template-columns: repeat(2, 1fr); }
  .awards-list li:nth-child(even) { border-inline-end: 0; }
}
@media (max-width: 600px) {
  .awards-list { grid-template-columns: 1fr; }
  .awards-list li { border-inline-end: 0; }
}

/* ─────────────────────────────────────────────────────────────
   15. Other launches
   ───────────────────────────────────────────────────────────── */
.launches-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.launch-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.launch-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.launch-card:nth-child(1) { grid-row: 1 / 3; grid-column: 1; }
.launch-img { aspect-ratio: 4/3; overflow: hidden; }
.launch-card:nth-child(1) .launch-img { aspect-ratio: 1/1; }
.launch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.launch-card:hover .launch-img img { transform: scale(1.04); }
.launch-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.launch-body h4 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.2;
}
html[data-type="grotesque"] .launch-body h4 { font-family: var(--font-body); font-weight: 500; font-size: 16px; }
.launch-body p { font-size: 13px; line-height: 1.5; color: var(--muted); flex: 1; }
.launch-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .launches-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .launch-card:nth-child(1) { grid-row: auto; grid-column: 1 / 3; }
  .launch-card:nth-child(1) .launch-img { aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  .launches-grid { grid-template-columns: 1fr; }
  .launch-card:nth-child(1) { grid-column: 1; }
}

/* ─────────────────────────────────────────────────────────────
   16. Conversion
   ───────────────────────────────────────────────────────────── */
.convert {
  position: relative;
  overflow: hidden;
  color: var(--surface);
  background: var(--bg);
  padding-block: clamp(96px, 12vw, 160px);
}
.convert-bg { position: absolute; inset: 0; z-index: 0; }
.convert-bg img { width: 100%; height: 100%; object-fit: cover; }
.convert-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,18,22,0.85) 0%, rgba(14,18,22,0.92) 100%);
}
.convert-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.convert-side { color: var(--surface); }
.convert-body {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  font-style: italic;
  color: rgba(247,246,242,0.85);
  margin-bottom: 40px;
  max-width: 38ch;
}
html[data-type="grotesque"] .convert-body { font-family: var(--font-body); font-weight: 300; font-style: normal; }

.convert-alts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-dark);
}
.convert-alts li { border-bottom: 1px solid var(--border-dark); }
.convert-alts button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: start;
  padding: 20px 0;
  background: transparent;
  border: 0;
  color: var(--surface);
  transition: padding .25s var(--ease), color .25s var(--ease);
}
.convert-alts button:hover { padding-inline-start: 8px; color: var(--accent); }
.convert-alts h5 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
html[data-type="grotesque"] .convert-alts h5 { font-family: var(--font-body); font-weight: 500; font-size: 15px; }
.convert-alts p { font-size: 12.5px; color: rgba(247,246,242,0.6); line-height: 1.4; }

.convert-form {
  background: var(--surface);
  color: var(--text);
  padding: 40px clamp(28px, 3vw, 44px);
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .convert-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ─────────────────────────────────────────────────────────────
   17. Forms
   ───────────────────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field-lbl {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  color: var(--text);
  border-radius: 0;
  transition: border-color .2s;
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--primary);
  outline: none;
}
.field.is-err input,
.field.is-err textarea,
.field.is-err select { border-bottom-color: #c0392b; }
.field textarea { resize: vertical; min-height: 70px; }
.phone-wrap { display: grid; grid-template-columns: 80px 1fr; gap: 8px; align-items: end; }
.phone-code { border-bottom: 1px solid var(--border); }
.select-wrap { position: relative; display: flex; align-items: center; }
.select-wrap select { appearance: none; padding-right: 24px; }
.select-wrap svg { position: absolute; right: 0; pointer-events: none; color: var(--muted); }
html[dir="rtl"] .select-wrap svg { right: auto; left: 0; }
html[dir="rtl"] .select-wrap select { padding-right: 0; padding-left: 24px; }

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seg button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  padding: 9px 14px;
  font-size: 12px;
  border-radius: var(--r-1);
  transition: all .2s;
  color: var(--text);
}
.seg button:hover { border-color: var(--primary); }
.seg button.is-on { background: var(--primary); color: var(--surface); border-color: var(--primary); }

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 24px;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--primary); }
.consent.is-err { color: #c0392b; }

.form--sent {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.sent-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sent-msg {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.3;
  max-width: 32ch;
  margin: 0 auto;
}
html[data-type="grotesque"] .sent-msg { font-family: var(--font-body); font-weight: 400; }
.sent-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }

/* ─────────────────────────────────────────────────────────────
   18. Modal
   ───────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(14,18,22,0.65);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fade .25s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface);
  width: min(900px, 100%);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 0.85fr 1.1fr;
  position: relative;
  animation: rise .35s var(--ease);
  overflow: hidden;
}
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-side {
  background: var(--primary);
  color: var(--surface);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.modal-side::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  bottom: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  opacity: 0.5;
}
.modal-mark img { width: 120px; }
.modal-eye {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
.modal-h {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 4px;
}
html[data-type="grotesque"] .modal-h { font-family: var(--font-body); font-weight: 500; font-size: 24px; }
.modal-sub { font-size: 13px; line-height: 1.5; color: rgba(247,246,242,0.8); max-width: 32ch; }
.modal-meta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-meta > div { display: flex; flex-direction: column; gap: 2px; }
.modal-meta span {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,246,242,0.55);
}
.modal-meta b { font-size: 13px; font-weight: 500; }
.modal-body { padding: 32px; overflow-y: auto; max-height: 90vh; }
.modal-close {
  position: absolute;
  top: 14px; inset-inline-end: 14px;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  transition: all .2s;
}
.modal-close:hover { background: var(--text); color: var(--surface); border-color: var(--text); }

@media (max-width: 700px) {
  .modal { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
  .modal-side { padding: 24px; }
  .modal-side::after { display: none; }
  .modal-body { padding: 24px; max-height: none; }
}

/* ─────────────────────────────────────────────────────────────
   19. FAB + mobile bar + toast
   ───────────────────────────────────────────────────────────── */
.fab {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  padding: 14px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(37,211,102,0.45);
  transition: all .3s var(--ease);
  opacity: 0;
  transform: translateY(16px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.fab.is-shown { opacity: 1; transform: translateY(0); }
.fab-label {
  max-width: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: all .3s var(--ease);
  padding-inline-start: 0;
}
.fab:hover .fab-label {
  max-width: 200px;
  padding-inline-start: 10px;
  padding-inline-end: 6px;
}

.mbar {
  position: fixed;
  bottom: 0; inset-inline: 0;
  z-index: 80;
  display: none;
  background: var(--surface);
  border-top: var(--hairline);
  padding: 10px 12px;
  gap: 8px;
  align-items: center;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
}
.mbar-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--hairline);
  border-radius: var(--r-1);
  color: var(--text);
}
.mbar-cta {
  flex: 1;
  background: var(--primary);
  color: var(--surface);
  padding: 13px 18px;
  border: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 720px) {
  .mbar { display: flex; }
  .fab { bottom: 80px; }
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--primary);
  color: var(--surface);
  padding: 14px 22px;
  border-radius: var(--r-1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.2);
  animation: toastIn .4s var(--ease);
}
@keyframes toastIn {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ─────────────────────────────────────────────────────────────
   20. Footer
   ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  color: rgba(247,246,242,0.78);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { height: 38px; margin-bottom: 20px; }
.footer-tag {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: rgba(247,246,242,0.85);
  max-width: 24ch;
}
html[data-type="grotesque"] .footer-tag { font-family: var(--font-body); font-style: normal; font-weight: 300; }
.footer h6 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.footer-list a { transition: color .2s; }
.footer-list a:hover { color: var(--accent); }
.footer-list .muted { color: rgba(247,246,242,0.45); font-size: 12.5px; }
.footer-list em { font-style: normal; opacity: 0.7; }

.footer-base {
  border-top: 1px solid var(--border-dark);
  padding-top: 32px;
}
.footer-disc {
  font-size: 11px;
  line-height: 1.6;
  color: rgba(247,246,242,0.45);
  margin-bottom: 24px;
  max-width: 90ch;
  font-family: var(--font-mono);
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(247,246,242,0.55);
  text-transform: uppercase;
}
.footer-meta ul { display: flex; gap: 24px; }
.footer-meta a:hover { color: var(--accent); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   21. Scroll reveal helpers
   ───────────────────────────────────────────────────────────── */
.section { opacity: 0; transform: translateY(20px); transition: all .8s var(--ease); }
.section.is-vis, .section.is-vis-init { opacity: 1; transform: translateY(0); }
.facts.is-vis-init { opacity: 1; transform: translateY(0); }
.hero { opacity: 1; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
