/* ==========================================================================
   DXB.in — Dubai travel guide
   Design system: modern, editorial, neutral/luxury palette.
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol { margin: 0; }

ul[class], ol[class] { list-style: none; padding: 0; }

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

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --ink:        #171b1f;
  --ink-soft:   #3d4349;
  --muted:      #6e6a63;
  --paper:      #ffffff;
  --mist:       #f7f5f1;
  --mist-2:     #efece5;
  --line:       #e4ded2;
  --line-soft:  #eeeae2;
  --gold:       #a9843f;
  --gold-soft:  #c6a86a;
  --gold-tint:  #f3ecdd;
  --deep:       #10161a;
  --deep-2:     #1b2429;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --prose: 760px;
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(23, 27, 31, .05);
  --shadow-md: 0 8px 30px -14px rgba(23, 27, 31, .18);
  --shadow-lg: 0 24px 60px -28px rgba(23, 27, 31, .28);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); letter-spacing: -.005em; }
h4 { font-size: 1.06rem; letter-spacing: 0; }

p { text-wrap: pretty; }

strong { color: var(--ink); font-weight: 650; }

::selection { background: var(--gold-tint); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.prose { max-width: var(--prose); }
.prose-wide { max-width: 880px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--mist { background: var(--mist); }
.section--line { border-top: 1px solid var(--line-soft); }

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 18px;
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 24px 0;
}
.section-head--center .rule { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #96742f; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

.btn--onDark {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--onDark:hover { background: rgba(255, 255, 255, .2); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 650;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.textlink:hover { border-color: var(--gold); gap: 12px; }
.textlink::after { content: "→"; font-weight: 400; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand .brand-dot { color: var(--gold); }
.brand small {
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  transform: translateY(-2px);
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav > li { position: relative; }

.nav a {
  display: block;
  padding: 10px 13px;
  font-size: .875rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav a:hover { color: var(--gold); }

.nav a[aria-current="page"] { color: var(--gold); }

/* dropdown */
.nav-toggle-parent > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}

.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav > li:hover .subnav,
.nav > li:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.subnav a {
  padding: 9px 12px;
  font-size: .855rem;
  border-radius: var(--radius);
}
.subnav a:hover { background: var(--mist); color: var(--ink); }

.nav-cta { margin-left: 14px; padding: 10px 18px !important; font-size: .84rem !important; }

/* mobile menu button */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-btn span::before,
.menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero (uncropped image + overlaid copy) ---------- */
.hero { position: relative; background: var(--deep); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  height: auto;      /* never cropped */
  display: block;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 14, 17, .82) 0%, rgba(10, 14, 17, .58) 42%, rgba(10, 14, 17, .12) 72%, rgba(10, 14, 17, .02) 100%);
  pointer-events: none;
}

.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.hero__copy .wrap { width: 100%; }
.hero__copy-inner { max-width: 660px; color: #fff; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 18px;
}
.hero__eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.hero h1 { color: #fff; }
.hero h1 em {
  font-style: italic;
  color: #e8cfa4;
}

.hero__sub {
  margin-top: 20px;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
  max-width: 540px;
}

.hero__meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* page hero (inner pages) */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line-soft); }

.page-hero__media img {
  width: 100%;
  height: auto;
  display: block;
}

.page-hero__body { padding: clamp(34px, 5vw, 58px) 0 clamp(36px, 5vw, 56px); }

.page-hero h1 { max-width: 860px; }

.page-hero .lede { max-width: 720px; }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  font-size: .78rem;
  color: var(--muted);
  padding: 18px 0 0;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs [aria-current="page"] { color: var(--ink-soft); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line);
  transform: translateY(-2px);
}

.card__media { background: var(--mist-2); }
.card__media img { width: 100%; height: auto; display: block; }

.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.card__eyebrow {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.card h3 { margin-bottom: 10px; }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { color: var(--gold); }
.card p { font-size: .925rem; line-height: 1.62; color: var(--muted); }
.card .card__foot { margin-top: auto; padding-top: 18px; }

/* horizontal link card */
.linkcard {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0;
  align-items: stretch;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.linkcard:hover { border-color: var(--line); box-shadow: var(--shadow-sm); }
/* Images are never cropped anywhere on this site: intrinsic ratio is preserved. */
.linkcard img { width: 100%; height: auto; object-fit: contain; }
.linkcard__body { padding: 18px 20px; }
.linkcard__body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.linkcard__body p { font-size: .85rem; color: var(--muted); }
.linkcard__body span.more {
  display: inline-block;
  margin-top: 10px;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Figures ---------- */
figure.plate { margin: 0; }
figure.plate img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
figure.plate figcaption {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  margin-top: 14px;
}

.figure-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.figure-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 30px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--ink);
  line-height: 1;
  display: block;
}
.stat__label {
  margin-top: 10px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split--flip .split__media { order: 2; }
.split__media img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.split__body h2 { margin-bottom: 18px; }
.split__body p + p { margin-top: 16px; }

/* ---------- Prose content ---------- */
.content h2 { margin-top: clamp(40px, 5vw, 60px); margin-bottom: 18px; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 34px; margin-bottom: 12px; }
.content p { margin-bottom: 18px; }
.content p:last-child { margin-bottom: 0; }
.content ul,
.content ol { margin: 0 0 20px; padding-left: 22px; }
.content li { margin-bottom: 9px; }
.content li::marker { color: var(--gold); }
.content a:not(.btn):not(.textlink) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.content a:not(.btn):not(.textlink):hover { color: var(--gold); }

.content blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.23rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Callouts ---------- */
.callout {
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 26px;
  margin: 30px 0;
}
.callout h4 { margin-bottom: 8px; }
.callout p { font-size: .93rem; margin-bottom: 0; color: var(--ink-soft); }
.callout--plain { border-left-color: var(--line); background: #fff; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  margin: 28px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 560px;
}
caption {
  caption-side: top;
  text-align: left;
  padding: 16px 18px;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--mist);
  border-bottom: 1px solid var(--line-soft);
}
th, td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
thead th {
  background: #fff;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fcfbf8; }
td strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: 1.32rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a {
  padding: 0 0 24px;
  font-size: .945rem;
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 78ch;
}
.faq .faq__a p + p { margin-top: 12px; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 10px; margin: 24px 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: .93rem;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 15px;
  height: 8px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- Pros / cons ---------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; margin: 28px 0; }
.proscons > div { background: #fff; padding: 24px; }
.proscons h4 { margin-bottom: 14px; font-family: var(--font-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.proscons ul { padding-left: 18px; margin: 0; font-size: .9rem; }
.proscons li { margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .74); font-size: .95rem; max-width: 52ch; }

/* ---------- Newsletter / inline form ---------- */
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.inline-form input {
  flex: 1 1 240px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: .92rem;
}
.inline-form input::placeholder { color: #a9a49b; }

/* ---------- Highlight list ---------- */
.hl-list { border-top: 1px solid var(--line-soft); }
.hl-list li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
}
.hl-list .n {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--gold);
}
.hl-list .t { color: var(--ink); font-weight: 550; }
.hl-list .m { font-size: .8rem; color: var(--muted); text-align: right; }

/* ---------- Tag / pill ---------- */
.pill {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fff;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

/* ---------- Updated stamp ---------- */
.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  letter-spacing: .05em;
  color: var(--muted);
}
.updated::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f8f6a;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, .68);
  font-size: .9rem;
  padding: clamp(48px, 6vw, 76px) 0 0;
}
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .95);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-grid {
  display: grid;
  /* brand + four link columns: Plan / What to do / By traveller / Editorial */
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: clamp(26px, 3vw, 44px);
  padding-bottom: clamp(36px, 4vw, 52px);
  align-items: start;
}
.site-footer a { color: rgba(255, 255, 255, .68); text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: .875rem; }

.footer-brand .brand { color: #fff; font-size: 1.5rem; }
.footer-brand .brand small { color: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .18); }
.footer-brand p { margin-top: 18px; font-size: .875rem; line-height: 1.65; max-width: 300px; }

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  font-size: .815rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .55);
}
.footer-note strong { color: rgba(255, 255, 255, .82); font-weight: 600; }

.footer-cookie {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: .815rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .55);
}
.footer-cookie .cookie-icon {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  position: relative;
}
.footer-cookie .cookie-icon::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 24px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

.email-reveal {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.email-reveal__btn {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .85);
  padding: 9px 15px;
  border-radius: var(--radius);
  font-size: .8rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s;
}
.email-reveal__btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); color: #fff; }
.email-reveal__out {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85rem;
  color: #fff;
  word-break: break-all;
}
.email-reveal__out a { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .855rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 38px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .menu-btn { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 10px 24px 26px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }

  .nav > li { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav > li:last-child { border-bottom: 0; }
  .nav a { padding: 14px 0; font-size: .95rem; }
  .nav-cta { margin: 14px 0 0 !important; text-align: center; justify-content: center; }

  .subnav {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 10px 14px;
    min-width: 0;
    display: none;
  }
  .nav > li:hover .subnav { display: none; }
  .nav > li.is-open .subnav { display: block; }
  .subnav a { padding: 10px 0; font-size: .875rem; color: var(--muted); }

  .brand small { display: none; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 0 24px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proscons { grid-template-columns: 1fr; }
  .figure-grid--2 { grid-template-columns: 1fr; }
  .hl-list li { grid-template-columns: 34px 1fr; }
  .hl-list .m { grid-column: 2; text-align: left; }

  /* hero becomes stacked: image uncropped on top, copy below */
  .hero__media::after {
    background: linear-gradient(180deg, rgba(10, 14, 17, .30) 0%, rgba(10, 14, 17, .05) 45%, rgba(10, 14, 17, .35) 100%);
  }
  .hero__copy {
    position: static;
    background: var(--deep);
    padding: 34px 0 40px;
  }
  .hero__copy-inner { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .wrap { padding-inline: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 24px; }
  .card__body { padding: 20px; }
  .linkcard { grid-template-columns: 116px 1fr; }
  .linkcard__body { padding: 14px 16px; }
  .linkcard__body h3 { font-size: .95rem; }
  .linkcard__body p { display: none; }
  .proscons > div { padding: 20px; }
  .table-wrap { margin-inline: -20px; border-radius: 0; border-left: 0; border-right: 0; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .menu-btn { display: none !important; }
  body { color: #000; }
  a { text-decoration: none; color: #000; }
}
