:root {
  --ivory: #f4f1e8;
  --paper: #fffdf8;
  --ink: #102d3b;
  --muted: #536873;
  --gulf: #0b6575;
  --water: #178294;
  --coral: #c45b3c;
  --sand: #d7c29f;
  --line: rgba(16, 45, 59, .18);
  --display: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --ui: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: min(1280px, calc(100vw - 72px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--ui); text-rendering: optimizeLegibility; }
::selection { background: var(--gulf); color: #fff; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--coral); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 30; background: rgba(255, 253, 248, .97); border-bottom: 1px solid var(--line); }
.header-inner { width: var(--shell); min-height: 78px; margin: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 720; font-size: 20px; letter-spacing: -.035em; }
.brand > span > span { color: var(--water); }
.brand img { display: block; border-radius: 10px; }
.primary-nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 38px); font-size: 13px; font-weight: 650; }
.primary-nav a { position: relative; padding: 29px 0 24px; color: #38515d; text-decoration: none; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--coral); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover::after { transform: scaleX(1); }
.search-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
.search-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-button:disabled { opacity: .55; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
.atlas-hero { background: #dbe6e2; }
.atlas-stage { --atlas-x: 0px; --atlas-y: 0px; --label-x: 0px; --label-y: 0px; position: relative; min-height: clamp(700px, 64vw, 850px); overflow: hidden; isolation: isolate; }
.atlas-art { position: absolute; inset: -16px; z-index: 0; transform: translate3d(var(--atlas-x), var(--atlas-y), 0) scale(1.025); transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .45s ease; }
.atlas-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 241, 232, .98) 0%, rgba(244, 241, 232, .88) 22%, rgba(244, 241, 232, .22) 43%, transparent 65%); }
.atlas-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.atlas-route { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 8 12; opacity: .75; mix-blend-mode: multiply; }
.atlas-route path:first-child { animation: route-flow 18s linear infinite; }
.atlas-route path:last-child { stroke: #fff; stroke-width: 1.25; opacity: .72; animation: route-flow 24s linear reverse infinite; }
.atlas-copy { position: absolute; z-index: 4; left: max(36px, calc((100vw - min(1280px, 100vw - 72px)) / 2)); top: 12%; width: min(500px, 36vw); }
.atlas-copy h1 { margin: 0; max-width: 490px; font-size: clamp(70px, 8vw, 122px); line-height: .83; letter-spacing: -.055em; }
.atlas-copy p { max-width: 410px; margin: 28px 0 32px; color: #294753; font: clamp(20px, 1.9vw, 28px)/1.35 var(--display); }
.primary-action { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 18px; background: var(--gulf); color: #fff; text-decoration: none; font-size: 13px; font-weight: 750; box-shadow: 0 12px 28px rgba(11, 101, 117, .2); }
.primary-action:hover { background: var(--ink); color: #fff; }
.atlas-layers { position: absolute; z-index: 5; top: 17%; right: max(36px, calc((100vw - min(1280px, 100vw - 72px)) / 2)); width: 192px; padding: 14px 15px; background: rgba(255, 253, 248, .92); border: 1px solid rgba(16, 45, 59, .16); box-shadow: 0 24px 60px rgba(16, 45, 59, .16); backdrop-filter: blur(10px); }
.atlas-layers button { position: relative; width: 100%; min-height: 39px; padding: 8px 6px 8px 28px; border: 0; border-top: 1px solid var(--line); background: none; color: #4a616b; text-align: left; font: 12px var(--ui); cursor: pointer; }
.atlas-layers button:first-child { border-top: 0; }
.atlas-layers button::before { content: ""; position: absolute; left: 7px; top: 50%; width: 9px; height: 9px; border: 1px solid var(--gulf); border-radius: 50%; transform: translateY(-50%); }
.atlas-layers button[aria-pressed="true"] { color: var(--ink); font-weight: 750; }
.atlas-layers button[aria-pressed="true"]::before { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 4px rgba(196, 91, 60, .14); }
.atlas-stage[data-layer="movement"] .atlas-art { filter: saturate(.7) contrast(.95); }
.atlas-stage[data-layer="water"] .atlas-art { filter: saturate(1.35) hue-rotate(-5deg); }
.atlas-stage[data-layer="places"] .atlas-art { filter: contrast(1.05) saturate(.85); }
.atlas-stage[data-layer="systems"] .atlas-art { filter: sepia(.18) contrast(1.04); }
.map-hotspots { position: absolute; z-index: 4; inset: 0; pointer-events: none; transform: translate3d(var(--label-x), var(--label-y), 0); transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.hotspot { position: absolute; min-width: 108px; padding: 9px 11px; background: rgba(12, 43, 56, .92); color: #fff; text-decoration: none; font-size: 11px; line-height: 1.25; pointer-events: auto; box-shadow: 0 12px 25px rgba(16, 45, 59, .2); backdrop-filter: blur(6px); }
.hotspot::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 28px; background: rgba(255, 255, 255, .78); }
.hotspot span, .hotspot small { display: block; }
.hotspot small { margin-top: 2px; color: #bcd7dc; font-size: 9px; }
.hotspot:hover { background: var(--coral); color: #fff; }
.hotspot--marina { left: 45%; top: 67%; }
.hotspot--palm { left: 48%; top: 34%; }
.hotspot--downtown { left: 75%; top: 31%; }
.hotspot--creek { left: 81%; top: 71%; }
.atlas-note { position: absolute; z-index: 5; right: max(36px, calc((100vw - min(1280px, 100vw - 72px)) / 2)); bottom: 24px; max-width: 410px; margin: 0; color: #eef7f6; font-size: 10px; text-align: right; text-shadow: 0 1px 7px rgba(16, 45, 59, .75); }
.atlas-index { position: relative; z-index: 6; display: flex; align-items: center; gap: 8px; min-height: 72px; }
.atlas-index strong { margin-right: 10px; font-size: 12px; }
.atlas-index a { padding: 8px 13px; border: 1px solid rgba(16, 45, 59, .24); border-radius: 999px; text-decoration: none; font-size: 12px; background: rgba(255,255,255,.22); }
.atlas-index span { margin-left: auto; color: var(--muted); font-size: 11px; }
.latest { padding-block: 110px 125px; }
.section-intro { display: grid; grid-template-columns: minmax(330px, .7fr) minmax(360px, 1fr) auto; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-intro h2 { margin: 0; font-size: clamp(50px, 5.5vw, 78px); line-height: .92; letter-spacing: -.04em; }
.section-intro p { max-width: 580px; margin: 0; color: var(--muted); font: 21px/1.45 var(--display); }
.section-intro > a { font-size: 13px; font-weight: 750; }
.latest-layout { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(360px, .64fr); gap: 38px; }
.lead-story > a { display: block; color: var(--ink); text-decoration: none; }
.story-visual { position: relative; overflow: hidden; background-image: url("assets/dubai-atlas-v2.jpg"); background-repeat: no-repeat; background-size: 230%; }
.story-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(16,45,59,.12); transition: background .25s ease; }
.lead-story .story-visual { height: 530px; background-size: 145%; }
.visual--wind { background-position: 96% 35%; }
.visual--marina { background-position: 50% 73%; }
.visual--metro { background-position: 72% 65%; }
.visual--rules { background-position: 97% 86%; }
.story-copy { padding-top: 25px; }
.story-copy span, .story-stack span { color: var(--gulf); font-size: 11px; font-weight: 750; }
.story-copy h3 { max-width: 760px; margin: 9px 0 12px; font-size: clamp(39px, 4vw, 58px); line-height: 1.02; letter-spacing: -.035em; }
.story-copy p { max-width: 680px; margin: 0 0 17px; color: var(--muted); }
.story-copy time, .story-stack time { color: var(--muted); font-size: 10px; }
.story-stack { border-top: 2px solid var(--ink); }
.story-stack article { border-bottom: 1px solid var(--line); }
.story-stack a { display: grid; grid-template-columns: 180px 1fr; gap: 23px; align-items: center; min-height: 193px; padding: 19px 0; color: var(--ink); text-decoration: none; }
.story-stack .story-visual { height: 150px; }
.story-stack h3 { margin: 7px 0 14px; font-size: 24px; line-height: 1.13; }
.lead-story a:hover h3, .story-stack a:hover h3 { color: var(--coral); }
.lead-story a:hover .story-visual::after, .story-stack a:hover .story-visual::after { background: rgba(11,101,117,.08); }
.context-band { position: relative; overflow: hidden; background: #e8eeeb; }
.context-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(230px,.62fr) minmax(420px,1.18fr) minmax(230px,.58fr); gap: clamp(28px,4vw,64px); align-items: center; min-height: 500px; padding-block: 58px; }
.context-grid h2 { margin: 0; font-size: clamp(38px,4vw,56px); line-height: .96; letter-spacing: -.025em; text-transform: uppercase; }
.context-grid > div > p { max-width: 310px; margin: 28px 0 0; color: var(--muted); font: 19px/1.38 var(--display); }
.context-copy > span { display: block; width: 52px; height: 2px; margin-top: 32px; background: var(--gulf); }
.context-grid nav { border-top: 2px solid var(--ink); }
.context-grid nav a { display: grid; grid-template-columns: 108px minmax(130px,.75fr) minmax(0,1fr); gap: 18px; align-items: baseline; padding: 21px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.context-grid nav strong { color: var(--gulf); font-size: 11px; }
.context-grid nav span { font: 25px var(--display); }
.context-grid nav em { color: var(--muted); font-size: 13px; font-style: normal; }
.context-palm { position: relative; align-self: stretch; margin: 0; overflow: hidden; }
.context-palm img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.context-palm::after { content: ""; position: absolute; inset: 0; box-shadow: inset 28px 0 35px #e8eeeb, inset -28px 0 35px #e8eeeb; pointer-events: none; }
.context-palm figcaption { position: absolute; right: 12px; bottom: 8px; z-index: 1; margin: 0; padding: 4px 7px; background: rgba(232,238,235,.82); color: var(--muted); font-size: 9px; }
.context-promises { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; color: var(--ink); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.context-promises::before { content: ""; position: absolute; left: 5px; top: 9px; bottom: 9px; width: 1px; background: #668d93; }
.context-promises li { position: relative; padding: 9px 0; }
.context-promises li::before { content: ""; position: absolute; left: -27px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gulf); transform: translateY(-50%); }
.editorial-routes { padding-block: 120px; }
.routes-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-bottom: 55px; }
.routes-heading h2 { margin: 0; font-size: clamp(50px, 5.5vw, 76px); line-height: .95; letter-spacing: -.04em; }
.routes-heading p { max-width: 590px; margin: 15px 0 0; color: var(--muted); font: 22px/1.5 var(--display); }
.route-lines { border-top: 2px solid var(--ink); }
.route-lines a { display: grid; grid-template-columns: minmax(230px,.62fr) minmax(320px,1.1fr) 170px; gap: 34px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.route-lines strong { font: 29px/1.15 var(--display); }
.route-lines span { color: var(--muted); font-size: 14px; }
.route-lines em { justify-self: end; color: var(--gulf); font-size: 12px; font-style: normal; }
.verification-strip { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
.verification-strip .shell { display: grid; grid-template-columns: 280px minmax(0,1fr) auto; gap: 55px; align-items: center; padding-block: 48px; }
.verification-strip h2 { margin: 0; font-size: 32px; }
.verification-strip p { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; }
.verification-strip a { color: var(--gulf); font-size: 12px; font-weight: 750; }
.site-footer { background: #0b2937; color: #d5e0e3; }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: clamp(42px,6vw,90px); align-items: center; min-height: 150px; padding-block: 42px; }
.footer-brand { color: #fff; }
.footer-statement { margin: 0; color: #fff; font: 21px/1.25 var(--display); text-align: right; }
.footer-links { display: flex; justify-content: center; gap: clamp(18px,2.5vw,36px); }
.footer-links a { color: #abc0c5; text-decoration: none; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-base { display: grid; grid-template-columns: 1fr auto auto; gap: 45px; align-items: center; padding-block: 25px; border-top: 1px solid #36515f; color: #91a9af; font-size: 10px; }
.footer-base p { margin: 0; }
.footer-base nav { display: flex; gap: 18px; }
.footer-base a { color: #b7c9cd; }
@keyframes route-flow { to { stroke-dashoffset: -200; } }
@media (max-width: 1050px) {
  :root { --shell: min(100% - 48px, 940px); }
  .primary-nav { justify-content: flex-start; overflow-x: auto; }
  .atlas-stage { min-height: 730px; }
  .atlas-copy { width: 43vw; }
  .atlas-layers { top: auto; bottom: 58px; }
  .hotspot--creek { left: 76%; }
  .latest-layout { grid-template-columns: 1fr; }
  .story-stack { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border-top: 0; }
  .story-stack article { background: var(--paper); border: 0; }
  .story-stack a { display: block; padding: 18px; }
  .story-stack .story-visual { height: 220px; margin-bottom: 18px; }
  .context-grid { grid-template-columns: minmax(220px,.7fr) minmax(360px,1.3fr); gap: 38px; }
  .context-grid > div { grid-column: auto; }
  .context-promises { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; padding-left: 26px; }
  .context-promises::before { bottom: 9px; }
  .footer-main { grid-template-columns: auto 1fr; }
  .footer-links { grid-column: 1/-1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  :root { --shell: min(100% - 30px, 620px); }
  .header-inner { min-height: 64px; grid-template-columns: 1fr auto; gap: 14px; }
  .brand img { width: 38px; height: 38px; }
  .primary-nav { grid-column: 1/-1; grid-row: 2; flex-wrap: wrap; overflow: visible; gap: 0 18px; padding: 0 0 8px; border-top: 1px solid var(--line); }
  .primary-nav a { padding: 10px 0 6px; }
  .search-button { grid-column: 2; grid-row: 1; }
  .atlas-stage { min-height: 760px; }
  .atlas-art { inset: 0; transform: none; }
  .atlas-art img { object-position: 55% center; }
  .atlas-art::after { background: linear-gradient(180deg, rgba(244,241,232,.98) 0%, rgba(244,241,232,.88) 28%, rgba(244,241,232,.04) 55%, rgba(7,50,62,.25) 100%); }
  .atlas-route { display: none; }
  .atlas-copy { left: 15px; right: 15px; top: 5%; width: auto; }
  .atlas-copy h1 { max-width: 350px; font-size: clamp(62px,20vw,86px); }
  .atlas-copy p { max-width: 340px; margin: 17px 0 21px; font-size: 20px; }
  .atlas-layers { right: 15px; bottom: 62px; width: 160px; padding: 8px; }
  .atlas-layers button { min-height: 35px; }
  .map-hotspots { transform: none; }
  .hotspot { display: flex; align-items: center; min-width: 86px; min-height: 44px; padding: 7px 9px; font-size: 11px; }
  .hotspot small { display: none; }
  .hotspot::after { height: 18px; }
  .hotspot--marina { left: 7%; top: 60%; }
  .hotspot--palm { left: 34%; top: 48%; }
  .hotspot--downtown { left: 63%; top: 58%; }
  .hotspot--creek { display: none; }
  .atlas-note { left: 15px; right: auto; bottom: 18px; max-width: 175px; text-align: left; }
  .atlas-index { min-height: 102px; flex-wrap: wrap; padding-block: 14px; }
  .atlas-index strong { width: 100%; }
  .atlas-index span { display: none; }
  .latest { padding-block: 76px 84px; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 31px; }
  .section-intro h2 { font-size: 55px; }
  .section-intro p { font-size: 19px; }
  .section-intro > a { justify-self: start; }
  .lead-story .story-visual { height: 360px; background-size: 190%; }
  .story-copy h3 { font-size: 40px; }
  .story-stack { display: block; background: none; border-top: 2px solid var(--ink); }
  .story-stack a { display: grid; grid-template-columns: 120px 1fr; min-height: 148px; padding: 16px 0; }
  .story-stack .story-visual { height: 108px; margin: 0; }
  .story-stack h3 { font-size: 21px; }
  .context-grid { padding-block: 78px; }
  .context-grid { grid-template-columns: 1fr; gap: 36px; }
  .context-grid > div { grid-column: auto; }
  .context-palm { width: 100%; min-height: 330px; margin-inline: auto; }
  .context-grid h2 { font-size: 42px; }
  .context-promises { grid-column: auto; display: block; }
  .context-grid nav a { grid-template-columns: 1fr; gap: 5px; }
  .context-grid nav span { font-size: 26px; }
  .editorial-routes { padding-block: 80px; }
  .routes-heading { grid-template-columns: 1fr; gap: 18px; }
  .route-lines a { grid-template-columns: 1fr; gap: 8px; }
  .route-lines em { justify-self: start; }
  .verification-strip .shell { grid-template-columns: 1fr; gap: 16px; padding-block: 42px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding-block: 42px; }
  .footer-links { grid-column: auto; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .footer-statement { text-align: left; }
  .footer-base { grid-template-columns: 1fr; gap: 14px; }
  .footer-base nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .atlas-art, .map-hotspots { transform: none !important; transition: none; }
  .atlas-route path { animation: none; }
}
