/* Emirates Spots — sun-bleached travel magazine. OKLCH, committed coral, Young Serif display. */
:root {
  --paper: oklch(0.972 0.014 85);
  --paper-deep: oklch(0.945 0.02 83);
  --ink: oklch(0.27 0.028 55);
  --muted: oklch(0.48 0.03 58);
  --coral: oklch(0.60 0.15 38);
  --coral-deep: oklch(0.50 0.14 36);
  --palm: oklch(0.45 0.085 155);
  --sun: oklch(0.91 0.075 85);
  --line: oklch(0.885 0.022 80);
  --card: oklch(0.99 0.008 85);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: oklch(0.22 0.016 55);
    --paper-deep: oklch(0.19 0.015 55);
    --ink: oklch(0.93 0.015 80);
    --muted: oklch(0.70 0.02 75);
    --coral: oklch(0.72 0.14 40);
    --coral-deep: oklch(0.78 0.13 42);
    --palm: oklch(0.72 0.1 155);
    --sun: oklch(0.34 0.05 80);
    --line: oklch(0.33 0.02 60);
    --card: oklch(0.255 0.018 55);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.75 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-underline-offset: 3px; }
a:hover { color: var(--coral-deep); }
h1, h2, h3, .logo { font-family: "Young Serif", Georgia, serif; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.prose-w { max-width: 720px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }

/* ——— masthead ——— */
header.site { border-bottom: 1px solid var(--line); background: var(--paper); }
header.site .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 14px; flex-wrap: wrap; }
.logo { font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.logo b { color: var(--coral); font-weight: 400; }
.tag { color: var(--muted); font-size: .82rem; }
nav.main { display: flex; gap: 20px; font-size: .95rem; }
nav.main a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
nav.main a:hover, nav.main a[aria-current] { border-color: var(--coral); color: var(--coral-deep); }

/* ——— homepage hero ——— */
.hero { position: relative; }
.hero img { width: 100%; height: clamp(340px, 58vw, 540px); object-fit: cover; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.2 0.03 40 / 0) 30%, oklch(0.2 0.05 38 / 0.78) 100%); }
.hero .inner { position: absolute; left: 0; right: 0; bottom: 0; }
.hero .inner .wrap { padding-bottom: clamp(22px, 5vw, 44px); }
.hero .kicker { display: inline-block; background: var(--coral); color: oklch(0.98 0.01 85); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 3px; }
.hero h1 { color: oklch(0.985 0.008 85); font-size: clamp(1.9rem, 6vw, 3.3rem); margin: 12px 0 6px; max-width: 16ch; text-shadow: 0 2px 24px oklch(0.15 0.04 40 / .5); }
.hero p { color: oklch(0.95 0.015 80); margin: 0; max-width: 46ch; font-size: clamp(.98rem, 2.4vw, 1.1rem); text-shadow: 0 1px 12px oklch(0.15 0.04 40 / .6); }

/* ——— section heads ——— */
.sect { display: flex; align-items: baseline; gap: 14px; margin: clamp(30px, 7vw, 56px) 0 18px; }
.sect h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 0; }
.sect .rule { flex: 1; height: 3px; background: var(--coral); border-radius: 2px; opacity: .85; }
.sect a { font-size: .9rem; white-space: nowrap; }

/* ——— feature + list ——— */
.feature { position: relative; border-radius: 14px; overflow: hidden; }
.feature img { width: 100%; height: clamp(240px, 46vw, 420px); object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.feature:hover img { transform: scale(1.025); }
.feature .veil { position: absolute; inset: 0; background: linear-gradient(185deg, transparent 35%, oklch(0.2 0.05 38 / .82)); }
.feature .txt { position: absolute; left: clamp(16px, 3vw, 28px); right: 16px; bottom: clamp(14px, 3vw, 24px); color: oklch(0.985 0.008 85); }
.feature .where { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: oklch(0.9 0.06 85); }
.feature h3 { margin: 4px 0 4px; font-size: clamp(1.3rem, 3.6vw, 1.9rem); }
.feature p { margin: 0; font-size: .95rem; color: oklch(0.93 0.015 80); max-width: 52ch; }
.feature a.cover { position: absolute; inset: 0; }

.row-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: center; }
.row img { width: 128px; height: 96px; object-fit: cover; border-radius: 10px; }
.row .where { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--palm); }
.row h3 { margin: 2px 0 3px; font-size: 1.12rem; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--coral-deep); }
.row p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
@media (min-width: 760px) {
  .row { grid-template-columns: 180px 1fr; }
  .row img { width: 180px; height: 120px; }
}

/* ——— article ——— */
.art-hero { position: relative; }
.art-hero img { width: 100%; height: clamp(230px, 42vw, 430px); object-fit: cover; }
.art-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, oklch(0.2 0.05 38 / .72)); }
.crumbs { font-size: .84rem; color: var(--muted); margin: 16px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
article h1 { font-size: clamp(1.75rem, 5.4vw, 2.7rem); margin: 10px 0 8px; max-width: 24ch; }
.byline { color: var(--muted); font-size: .86rem; margin-bottom: 8px; }
.byline .dot { color: var(--coral); }

/* quick facts: ruled strip, big numerals */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 3px solid var(--coral); border-bottom: 1px solid var(--line); margin: 22px 0 10px; }
.facts > div { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.facts dd { margin: 2px 0 0; font-weight: 650; font-size: 1.02rem; line-height: 1.35; }
.facts dd .big { font-family: "Young Serif", Georgia, serif; font-size: 1.35rem; color: var(--coral-deep); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }

article h2 { font-size: clamp(1.3rem, 3.8vw, 1.7rem); margin: 38px 0 10px; }
article h2::before { content: ""; display: inline-block; width: 22px; height: 3px; background: var(--coral); border-radius: 2px; margin-right: 10px; vertical-align: 6px; }
article h3 { font-size: 1.12rem; margin: 24px 0 6px; }
article p { max-width: 68ch; }
article ul, article ol { max-width: 66ch; }

figure { margin: 26px 0; }
figure img { border-radius: 12px; width: 100%; object-fit: cover; }
figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
figcaption a { color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--paper-deep); font-size: .85rem; letter-spacing: .02em; }
td:first-child { font-weight: 600; }

.note { background: var(--sun); border-radius: 10px; padding: 14px 18px; margin: 20px 0; font-size: .95rem; max-width: 68ch; }
.note b:first-child { color: var(--coral-deep); }

.faq h3 { margin-bottom: 2px; }
.faq h3 + p { margin-top: 4px; color: var(--muted); }

.next { background: var(--paper-deep); border-radius: 12px; padding: 18px 20px; margin: 36px 0; }
.next .t { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--palm); margin-bottom: 4px; }
.next p { margin: 0; }

/* ——— footer ——— */
footer.site { border-top: 1px solid var(--line); margin-top: clamp(40px, 8vw, 70px); padding: 30px 0 44px; color: var(--muted); font-size: .88rem; background: var(--paper-deep); }
footer.site .cols { display: grid; gap: 18px; }
footer.site a { color: var(--muted); }
footer.site .logo { font-size: 1.15rem; }
@media (min-width: 700px) { footer.site .cols { grid-template-columns: 2fr 1fr 1fr; } }
footer.site ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }

/* ——— app shell: ticker ——— */
.ticker { background: var(--ink); color: oklch(0.93 0.015 80); font-size: .82rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ticker::-webkit-scrollbar { display: none; }
.tk-row { display: flex; gap: 8px; padding-top: 8px; padding-bottom: 8px; white-space: nowrap; align-items: center; }
.tk { background: oklch(0.35 0.03 55 / .6); border-radius: 999px; padding: 4px 12px; flex: 0 0 auto; }
.tk small { opacity: .7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticker { background: var(--paper-deep); } }

/* ——— bottom nav (mobile app feel) ——— */
.bottomnav { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 74px; }
  .bottomnav {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--card); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px oklch(0.2 0.03 50 / .12);
  }
  .bottomnav a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: .68rem; font-weight: 600; padding: 4px 0; border-radius: 10px; }
  .bottomnav a .i { font-size: 1.25rem; line-height: 1; }
  .bottomnav a.on { color: var(--coral-deep); background: var(--sun); }
  nav.main { display: none; }
  header.site .wrap { justify-content: center; }
  header.site .tag { display: none; }
  footer.site { padding-bottom: 20px; }
}

/* ——— property pulse ——— */
.pulse { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 760px; }
.pulse li { padding: 13px 2px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.pulse a { color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.45; }
.pulse a:hover { color: var(--coral-deep); }
.pulse small { color: var(--muted); }

/* ——— v4: depth & motion system ——— */
:root { --shadow-s: 0 1px 2px oklch(0.2 0.03 50/.06), 0 4px 12px oklch(0.2 0.03 50/.07);
        --shadow-m: 0 2px 4px oklch(0.2 0.03 50/.08), 0 12px 32px oklch(0.2 0.03 50/.14);
        --shadow-l: 0 4px 8px oklch(0.2 0.03 50/.1), 0 24px 64px oklch(0.2 0.03 50/.22); }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(26px); }
.rv.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* hero: deeper, parallax-ready */
.hero { overflow: hidden; }
.hero img { will-change: transform; transform: scale(1.14); }
.hero h1 { letter-spacing: -0.02em; }
.hero .kicker { box-shadow: var(--shadow-m); }

/* 3D tilt cards */
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1); }
.feature { box-shadow: var(--shadow-m); }
.feature:hover { box-shadow: var(--shadow-l); }
.feature .txt { transform: translateZ(40px); }
.feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, oklch(1 0 0 / .18) 45%, transparent 54%);
  background-size: 250% 100%; background-position: 110% 0; pointer-events: none; }
.feature:hover::after { transition: background-position 1s cubic-bezier(.16,1,.3,1); background-position: -60% 0; }

.row { border-radius: 14px; padding: 10px; margin: 0 -10px; transition: background .3s, transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s cubic-bezier(.16,1,.3,1); }
.row:hover { background: var(--card); transform: translateY(-3px); box-shadow: var(--shadow-m); }
.row img { box-shadow: var(--shadow-s); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.row:hover img { transform: scale(1.05) rotate(-1deg); }

/* ticker: inset depth */
.ticker { box-shadow: inset 0 -8px 16px -12px oklch(0 0 0/.5); }
.tk { box-shadow: inset 0 1px 0 oklch(1 0 0/.08), 0 1px 3px oklch(0 0 0/.25); }

/* section rules: gradient sweep */
.sect .rule { background: linear-gradient(90deg, var(--coral), oklch(0.75 0.12 60), transparent 92%); height: 4px; }

/* article hero depth + facts card lift */
.art-hero { overflow: hidden; }
.art-hero img { transform: none; }
.facts { background: var(--card); border-radius: 14px; padding: 6px 18px 2px; box-shadow: var(--shadow-m); border-bottom: 0; position: relative; margin-top: -46px; z-index: 2; }
@media (max-width: 759px) { .facts { margin-top: -30px; } }
article h1 { position: relative; z-index: 3; }

/* floating bottom nav (purposeful app chrome) */
@media (max-width: 768px) {
  .bottomnav { left: 10px; right: 10px; bottom: 10px; border-radius: 22px; border: 1px solid var(--line);
    background: color-mix(in oklab, var(--card) 86%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: var(--shadow-l); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)/2); }
  body { padding-bottom: 92px; }
}

/* buttons */
button, .hero .kicker { transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
form button:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }

/* v6: whole row card clickable */
.row { position: relative; cursor: pointer; }
.rowcover { position: absolute; inset: 0; z-index: 1; border-radius: 14px; }
.row h3 a, .row p, .row .where { position: relative; z-index: 2; }
.row p, .row .where { pointer-events: none; }

/* v6.1: tagline only on wide screens */
@media (max-width: 1080px) { header.site .tag { display: none; } header.site .wrap { justify-content: space-between; } }
