/* =========================================================
   Amanda, Amira & Mohamed — Wedding Website
   Palette + typography matched to the printed invitation.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@400;500&display=swap');

:root {
  /* Colors taken from the invite suite */
  --bg:        #BFD0D5;        /* powder blue background */
  --bg-soft:   #CADBDF;        /* lighter band */
  --bg-deep:   #A6BCC2;        /* darker band for contrast */
  --ink:       #1E4A44;        /* deep teal — body text */
  --ink-soft:  #2D5C55;        /* secondary teal */
  --ink-faint: #4F7872;        /* muted teal for meta */
  --line:      rgba(30, 74, 68, 0.20);
  --cream:     #F5EFDB;        /* envelope cream accent */
  --cream-soft:#FAF6E8;

  /* Moroccan accent suite — used sparingly to lift, not overwhelm */
  --rose:        #8E2A3A;      /* dark rose red — primary accent */
  --rose-deep:   #6E1F2D;      /* deeper for hover / shadows */
  --rose-soft:   #A8455A;      /* lighter rose for highlights */
  --rose-tint:   rgba(142, 42, 58, 0.10);
  --gold:        #B8893A;      /* warm Moroccan gold */
  --gold-bright: #D4A84B;      /* brighter gold accent */
  --gold-soft:   #E2C988;      /* parchment gold for fills */
  --gold-line:   rgba(184, 137, 58, 0.45);

  /* Typography */
  --display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --serif:   'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  --sans:    'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;

  /* Layout */
  --max:    1120px;
  --gutter: clamp(20px, 4vw, 56px);
  --rail:   72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(30,74,68,.35); transition: opacity .2s ease, border-color .2s ease; }
a:hover { opacity: .75; border-bottom-color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: 0.14em; line-height: 1.05; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.05rem; letter-spacing: 0.24em; color: var(--ink-soft); }
h4 { font-size: .85rem; letter-spacing: 0.32em; color: var(--ink-faint); }

p { margin: 0 0 1em; }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-style: italic;
  color: var(--ink-soft);
  max-width: 56ch;
}
.italic-script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.2em;
  display: inline-block;
}

hr.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 30%, var(--gold-line) 70%, transparent);
  margin: 56px auto;
  max-width: 320px;
}

.ornament {
  display: block;
  text-align: center;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.6em;
  color: var(--gold);
  margin: 24px 0;
}
.ornament::before { content: "✦   ·   ✦"; letter-spacing: 0.5em; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 760px; }
.center { text-align: center; }

main { padding-top: 12px; }

section {
  padding: clamp(36px, 5vw, 72px) 0;
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(191, 208, 213, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
/* Homepage only: let the photo hero sit flush under the menu — no divider line or gap */
body.home .site-header { border-bottom: 0; }
body.home main { padding-top: 0; }
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  gap: 24px;
  position: relative;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--display);
  letter-spacing: .2em;
  font-size: .72rem;
  padding: 8px 12px;
  cursor: pointer;
  text-transform: uppercase;
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
}
nav.primary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  flex-wrap: wrap;
  justify-content: center;
}
nav.primary a {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  border: 0;
  color: var(--ink);
  opacity: .92;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] {
  opacity: 1;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  color: var(--rose);
}

@media (max-width: 900px) {
  .site-header .bar { justify-content: flex-start; min-height: 44px; }
  .nav-toggle { display: inline-block; position: static; transform: none; margin-left: auto; }
  nav.primary {
    display: none;
    width: 100%;
    padding: 16px 0 4px;
    border-top: 1px solid var(--line);
    margin-top: 14px;
  }
  nav.primary.open { display: block; }
  nav.primary ul {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .site-header .bar { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(48px, 8vw, 96px);
  position: relative;
}
.hero .eyebrow { margin-bottom: 28px; color: var(--gold); }
.hero h1 {
  margin: 0 0 18px;
}
.hero .amp-mark {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--rose);
  margin: 6px 0;
}

/* Hero with photo backdrop */
.hero--photo {
  color: var(--cream-soft);
  isolation: isolate;
  background-color: #142326;     /* deep teal frame around the photo */
  overflow: hidden;
}
.hero--photo .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(0.86);          /* visual "zoom out" — shows more of the image */
  transform-origin: center;
  z-index: -2;
}
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(20, 35, 38, 0.50) 0%,
      rgba(110, 31, 45, 0.28) 50%,
      rgba(20, 35, 38, 0.72) 100%);
  z-index: -1;
}
.hero--photo .container { position: relative; z-index: 1; }
.hero--photo .eyebrow { color: var(--gold-bright); }
.hero--photo h1,
.hero--photo .amp-mark,
.hero--photo .meta,
.hero--photo .countdown .num,
.hero--photo .countdown .label { color: var(--cream-soft); }
.hero--photo .amp-mark { color: var(--cream-soft); text-shadow: 0 2px 14px rgba(20, 35, 38, 0.55); }
.hero--photo .countdown .label { color: var(--gold-soft); }

/* Subtle dark panel behind the location/date so they pop off the photo */
.hero--photo .hero-eyebrow,
.hero--photo .meta.hero-meta {
  display: inline-block;
  background: rgba(20, 35, 38, 0.55);
  border: 1px solid rgba(212, 168, 75, 0.45);
  padding: 10px 22px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
/* Date/location pill — styled to match the BELDI COUNTRY CLUB eyebrow.
   `.meta.hero-meta` raises specificity above `.hero .meta` so we win the cascade. */
.hero--photo .meta.hero-meta {
  padding: 10px 22px;
  margin-top: 28px;
  font-family: var(--display);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.hero--photo .meta.hero-meta span + span::before {
  content: " · ";
  color: var(--gold-bright);
  margin: 0 .4em;
}

.hero--photo .btn {
  border-color: var(--cream-soft);
  color: var(--cream-soft);
}
.hero--photo .btn:hover { background: var(--cream-soft); color: var(--rose-deep); }
.hero--photo .btn-primary { background: var(--rose); border-color: var(--rose); color: var(--cream-soft); }
.hero--photo .btn-primary:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--cream-soft); }

/* Larger centered primary CTA — used on homepage */
.btn-primary.btn-lg {
  padding: 20px 56px;
  font-size: .92rem;
  letter-spacing: .42em;
}
.hero .meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--ink-soft);
  margin-top: 28px;
}
.hero .meta span + span::before {
  content: " · ";
  color: var(--ink-faint);
  margin: 0 .4em;
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 56px);
  margin-top: clamp(36px, 6vw, 64px);
  font-family: var(--display);
}
.countdown .unit {
  text-align: center;
  min-width: 64px;
}
.countdown .num {
  display: block;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown .label {
  display: block;
  margin-top: 10px;
  font-size: .7rem;
  letter-spacing: .32em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
/* Narrow phones — keep the 4 units on one line without crowding */
@media (max-width: 520px) {
  .countdown {
    gap: 8px;
    padding: 0 4px;
  }
  .countdown .unit {
    min-width: 0;
    flex: 1 1 0;
  }
  .countdown .num { font-size: clamp(1.4rem, 7vw, 2rem); }
  .countdown .label {
    font-size: .54rem;
    letter-spacing: .14em;
    margin-top: 6px;
    white-space: nowrap;
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: clamp(22px, 3vw, 36px);
  border-radius: 2px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
a.card:hover {
  border-top-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(110, 31, 45, 0.10);
}
.card h3 { margin-top: 0; }
.card h2 a,
.card h3 a {
  color: inherit;
  border-bottom: 0;
  text-decoration: none;
  transition: color .2s ease;
}
.card h2 a:hover,
.card h3 a:hover {
  color: var(--rose);
  border-bottom: 0;
}
.card h2 a::after {
  content: " ↗";
  font-family: var(--serif);
  font-weight: 400;
  font-size: .8em;
  color: var(--gold);
  margin-left: .15em;
  opacity: .7;
  transition: opacity .2s ease, transform .2s ease;
  display: inline-block;
}
.card h2 a:hover::after { opacity: 1; transform: translate(2px, -2px); }
.card .meta {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: .76rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 14px 26px;
  background: transparent;
  cursor: pointer;
  border-radius: 0;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); border-bottom: 1px solid var(--ink); }
.btn-primary { background: var(--rose); color: var(--cream-soft); border-color: var(--rose); }
.btn-primary:hover { background: var(--rose-deep); color: var(--cream-soft); border-color: var(--rose-deep); }
.btn-gold { border-color: var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--cream-soft); border-bottom-color: var(--gold); }

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

/* ---------- Tables (light) ---------- */
table.detail {
  width: 100%;
  border-collapse: collapse;
}
table.detail th, table.detail td {
  text-align: left;
  vertical-align: top;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
table.detail th {
  width: 32%;
  padding-right: 28px;
  font-family: var(--display);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Schedule timeline ---------- */
.timeline {
  display: grid;
  gap: 12px;
}
.timeline .event {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 14px 0;
}
.timeline .when {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  color: var(--ink-soft);
}
.timeline .when .date { display: block; }
.timeline .when .time { display: block; color: var(--ink-faint); margin-top: 4px; font-size: .72rem; }
.timeline h2 { margin-bottom: 6px; }
@media (max-width: 720px) {
  .timeline .event { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Lists with elegance ---------- */
ul.elegant {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.elegant li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
ul.elegant li:last-child { border-bottom: 0; }
ul.elegant li .name {
  display: block;
  font-family: var(--display);
  font-size: .92rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
}
ul.elegant li .desc {
  display: block;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- FAQ ---------- */
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink-faint);
  transition: transform .2s ease;
}
details.faq[open] summary::after { content: "−"; }
details.faq .answer {
  margin-top: 12px;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Photo gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery .tile {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(30,74,68,.10), rgba(30,74,68,.02)),
    var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.gallery .tile.tall { aspect-ratio: 3 / 5; }
.gallery .tile.wide { aspect-ratio: 5 / 4; grid-column: span 2; }
.gallery .tile::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold-line);
  pointer-events: none;
  z-index: 2;
}
.gallery .tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery .tile:hover img { transform: scale(1.04); }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .tile.wide { grid-column: span 2; }
}

/* ---------- Map ---------- */
#map {
  height: 540px;
  width: 100%;
  border: 1px solid var(--line);
  filter: saturate(.85) hue-rotate(-6deg);
}
.legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
  font-size: .92rem;
}
.legend .pin {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.legend .pin.venue { background: #8E2A3A; }   /* Event venues — rose red */
.legend .pin.see   { background: #1E4A44; }   /* Things to see — deep teal */
.legend .pin.eat   { background: #B8893A; }   /* Eat & drink — gold */
.legend .pin.stay  { background: #2F6DA8; }   /* Stay — Majorelle blue */
.legend .pin.day   { background: #7A3F8F; }   /* Day trips — plum */
@media (max-width: 720px) { .legend { grid-template-columns: 1fr; } }

/* ---------- RSVP form ---------- */
form.rsvp {
  display: grid;
  gap: 20px;
  max-width: 620px;
  margin: 0 auto;
}
form.rsvp label {
  display: block;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
form.rsvp input[type="text"],
form.rsvp input[type="email"],
form.rsvp input[type="number"],
form.rsvp textarea,
form.rsvp select {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
}
form.rsvp textarea { min-height: 120px; resize: vertical; }
form.rsvp .radio-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 6px;
}
form.rsvp .radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .14em;
  color: var(--ink);
  text-transform: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
}
form.rsvp .actions {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* RSVP submit status message */
.form-status {
  max-width: 56ch;
  margin: 24px auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--ink); }
.form-status.is-error { color: var(--rose); font-style: normal; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px var(--gutter) 64px;
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
}
.site-footer .heart {
  display: block;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
  font-style: normal;
}
.site-footer nav.primary ul {
  justify-content: center;
  margin-top: 16px;
}

/* ---------- Tiny utilities ---------- */
.kicker {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.muted { color: var(--ink-faint); }
.spacer-sm { height: 16px; }
.spacer-md { height: 32px; }
.spacer-lg { height: 64px; }

/* Accent text */
.accent-rose { color: var(--rose); }
.accent-gold { color: var(--gold); }

/* ---------- Photo figures (page accents — used sparingly) ---------- */
.photo-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: var(--bg-soft);
}
.photo-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-figure figcaption {
  font-family: var(--display);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 12px;
}
.photo-figure.tall { aspect-ratio: 3 / 4; }
.photo-figure.wide { aspect-ratio: 16 / 10; }
.photo-figure.square { aspect-ratio: 1 / 1; }

/* Two-up split: image on one side, prose on the other */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split.image-left .photo-figure { order: -1; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
}

/* Photo strip — three-up landscape band */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.photo-strip .photo-figure { aspect-ratio: 4 / 5; }
@media (max-width: 820px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-strip .photo-figure:nth-child(3) { display: none; }
}

/* Moroccan-style decorative divider */
.tile-rule {
  display: block;
  margin: 24px auto;
  height: 24px;
  max-width: 280px;
  background-image:
    radial-gradient(circle at 50% 50%, var(--rose) 0 4px, transparent 5px),
    linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent);
  background-position: center, center;
  background-size: 24px 24px, 100% 1px;
  background-repeat: no-repeat;
}

/* =========================================================
   Optical centering
   The layout is already mathematically centred; these rules
   correct two things that make centred content *look* slightly
   left: a desktop scrollbar, and the trailing gap that
   letter-spacing adds after the last glyph of centred text.
   ========================================================= */

/* Reserve scrollbar space on both sides so a classic desktop
   scrollbar can't nudge centred content left. No effect with
   macOS overlay scrollbars. */
html { scrollbar-gutter: stable both-edges; }

/* Multi-line block headings — widen the line box to the right by
   one letter-space so each centred line sits dead-centre. Scoped
   to centred contexts; left-aligned card/table headings untouched. */
.hero h1, .center h1 { margin-right: -0.14em; }
.hero h2, .center h2 { margin-right: -0.18em; }
.hero h3, .center h3,
h3[style*="text-align:center"] { margin-right: -0.24em; }

/* The homepage "& our Amira" line has letter-spacing:0, so undo the
   h1 widening above just for it, keeping it centred. */
.hero .amp-mark { margin-right: 0.14em; }

/* Inline-block / single-line elements — balance the trailing gap with
   a matching leading indent (works with the pill backgrounds too). */
.eyebrow { text-indent: 0.42em; }
.hero .meta.hero-meta { text-indent: 0.32em; }
.countdown .label { text-indent: 0.32em; }
.btn { text-indent: 0.30em; }
.btn-primary.btn-lg { text-indent: 0.42em; }
.site-footer .heart { text-indent: 0.42em; }

/* The kicker is an inline span — a negative right margin recentres it. */
.kicker { margin-right: -0.36em; }

/* The ornament glyphs carry 0.5em trailing spacing. */
.ornament { margin-right: -0.5em; }

/* On narrow phones the countdown labels drop to 0.14em tracking. */
@media (max-width: 520px) {
  .countdown .label { text-indent: 0.14em; }
}
