@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('./assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('./assets/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Playfair Display Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('./assets/fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('./assets/fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Noto Sans Arabic Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./assets/fonts/noto-sans-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1;
}

:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --paper-deep: #eee8dc;
  --paper-light: #fcfaf6;
  --ink: #242921;
  --ink-soft: #55594f;
  --moss: #34483a;
  --moss-deep: #22352b;
  --olive: #777a55;
  --terracotta: #b95b3f;
  --terracotta-deep: #98432f;
  --saffron: #f0bb66;
  --line: rgba(36, 41, 33, .14);
  --line-light: rgba(255, 255, 255, .17);
  --serif: 'Playfair Display Variable', 'Iowan Old Style', 'Baskerville', Georgia, serif;
  --sans: 'DM Sans Variable', 'Noto Sans Arabic Variable', 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  --page-width: 1240px;
  --shadow: 0 24px 80px rgba(45, 38, 27, .13);
}
html[lang^="ar"] {
  --sans: 'Noto Sans Arabic Variable', 'DM Sans Variable', sans-serif;
  --serif: 'Noto Sans Arabic Variable', 'DM Sans Variable', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button, input, select { font-family: var(--sans); }
button, input, select { font-size: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: #eec77f; color: var(--ink); }
.page-width { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 1000; inset-block-start: 10px; inset-inline-start: 10px; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: white; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: sticky; z-index: 40; inset-block-start: 0; background: rgba(247, 244, 237, .95); border-bottom: 1px solid rgba(36, 41, 33, .08); backdrop-filter: blur(16px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { position: relative; display: grid; place-items: end center; width: 39px; height: 43px; overflow: hidden; border: 1px solid rgba(185, 91, 63, .62); border-radius: 24px 24px 4px 4px; background: #f2e2c9; }
.brand-mark::before { content: ''; position: absolute; inset: 6px 7px -8px; border: 1px solid var(--terracotta); border-radius: 20px 20px 0 0; }
.brand-mark span { position: relative; z-index: 1; width: 5px; height: 5px; margin-bottom: 7px; border-radius: 50%; background: var(--terracotta); }
.brand-name { display: grid; gap: 1px; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.25; white-space: nowrap; }
.brand-name small { color: var(--ink-soft); font-size: 9px; font-weight: 600; letter-spacing: .13em; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.7vw, 40px); }
.primary-nav a { position: relative; color: #484d43; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .18s; }
.primary-nav a::after { content: ''; position: absolute; inset-inline: 0; inset-block-end: -8px; height: 1px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.primary-nav a:hover { color: var(--terracotta-deep); }
.primary-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.language-select { min-width: 54px; padding: 8px 19px 8px 9px; border: 0; border-radius: 6px; outline: 0; color: var(--ink); background-color: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.language-select:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 22px; padding: 0 23px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .quiet-button:focus-visible, .filter-chip:focus-visible, .gate-button:focus-visible, .favorite-button:focus-visible, .phrase-button:focus-visible { outline: 3px solid #d28b4e; outline-offset: 3px; }
.button--small { min-height: 43px; padding-inline: 17px; gap: 12px; font-size: 11px; }
.button--compact { min-height: 44px; padding-inline: 16px; gap: 13px; font-size: 11px; }
.button--ink { background: var(--ink); color: var(--paper-light); }
.button--ink:hover { background: var(--moss); }
.button--saffron { background: var(--saffron); color: #272a21; box-shadow: 0 5px 20px rgba(27, 26, 21, .12); }
.button--saffron:hover { background: #ffd184; box-shadow: 0 8px 24px rgba(27, 26, 21, .17); }
.button--paper { background: var(--paper); color: var(--ink); }
.button--paper:hover { background: white; }
.button--outline-light { border-color: rgba(255,255,255,.3); background: transparent; color: white; }
.button--outline-light:hover { border-color: white; background: rgba(255,255,255,.08); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; isolation: isolate; border-radius: 5px; background: var(--moss-deep); color: white; }
.hero-art, .hero-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: center 52%; }
.hero-shade { background: linear-gradient(90deg, rgba(25, 37, 29, .94) 0%, rgba(25, 37, 29, .86) 31%, rgba(25, 37, 29, .57) 55%, rgba(25, 37, 29, .07) 100%), linear-gradient(0deg, rgba(24, 34, 27, .18), transparent 40%); }
.hero-copy { position: relative; z-index: 1; width: min(60%, 690px); padding: 76px 7.1% 80px; }
.eyebrow, .section-kicker, .card-eyebrow { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow--light { color: rgba(255,255,255,.78); }
.hero h1 { max-width: 640px; margin: 26px 0 18px; font-family: var(--serif); font-size: clamp(54px, 6.1vw, 84px); font-weight: 500; letter-spacing: -.045em; line-height: .99; }
.hero h1 em { color: var(--saffron); font-weight: 500; }
.hero-description { max-width: 465px; margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; text-decoration: none; }
.text-link--light { color: rgba(255,255,255,.9); }
.text-link span:last-child { font-size: 16px; transition: transform .2s; }
.text-link:hover span:last-child { transform: translateY(3px); }
.hero-footnote { display: flex; align-items: center; gap: 9px; margin-top: 39px; color: rgba(255,255,255,.65); font-size: 10px; letter-spacing: .02em; }

/* Facts and section foundations */
.fact-rail { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 6px 29px; border-bottom: 1px solid var(--line); }
.fact-item { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 28px; border-inline-end: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; }
.fact-item:first-child { justify-content: flex-start; }
.fact-item:last-child { justify-content: flex-end; border: 0; }
.fact-number { color: var(--ink); font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.fact-item--accent .fact-number { color: var(--terracotta); font-size: 20px; }
.story-strip { display: grid; grid-template-columns: .25fr .9fr 1fr; align-items: center; gap: 35px; padding-block: 62px; border-bottom: 1px solid var(--line); }
.story-mark { width: 100px; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; justify-self: center; border: 1px solid rgba(185,91,63,.4); border-radius: 50%; color: var(--terracotta-deep); font-family: Tahoma, Arial, sans-serif; font-size: 16px; font-weight: 700; line-height: 1.35; transform: rotate(-7deg); }
.story-heading .section-kicker { margin-bottom: 13px; }
.story-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(29px, 3vw, 40px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.story-copy > p:first-child { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.85; }
.story-copy .story-note { margin: 12px 0 0; color: var(--terracotta-deep); font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.section { padding-block: 112px; }
.section-heading { margin-bottom: 44px; }
.section-heading--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 54px; }
.section-kicker { display: flex; align-items: center; gap: 13px; color: var(--terracotta); }
.section-kicker > span:first-child { color: #a6a08f; font-size: 9px; letter-spacing: .08em; }
.section-heading h1, .section-heading h2, .faq-intro h1, .faq-intro h2, .wayfinding-copy h1, .wayfinding-copy h2, .closing-cta h2 { margin: 17px 0 0; font-family: var(--serif); font-size: clamp(40px, 4.6vw, 59px); font-weight: 500; letter-spacing: -.035em; line-height: 1.07; }
.section-lede { max-width: 405px; margin: 0 0 4px; color: var(--ink-soft); font-size: 13px; line-height: 1.85; }

/* Before you go */
.visit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.info-card { position: relative; min-height: 330px; overflow: hidden; padding: 25px 23px 24px; border: 1px solid var(--line); background: rgba(255,255,255,.32); }
.info-card::after { content: ''; position: absolute; inset-inline-end: -45px; inset-block-end: -68px; width: 130px; height: 130px; border: 1px solid rgba(185,91,63,.13); border-radius: 50%; pointer-events: none; }
.info-card--hours { background: #ede6d8; }
.info-card--cash { background: #e5e9dc; }
.card-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; font-family: var(--serif); font-size: 20px; }
.card-icon--sun { background: #f6d7a2; color: #825b20; }
.card-icon--pin { background: #d9e1cf; color: #3f634c; font-size: 24px; }
.card-icon--clock { background: #e9d5c9; color: var(--terracotta-deep); }
.card-icon--coin { background: #f1d9ae; color: #6e5634; font-family: var(--sans); font-size: 10px; font-weight: 700; }
.card-eyebrow { margin-bottom: 7px; color: #878576; font-size: 8px; letter-spacing: .14em; }
.info-card h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.field-label { display: block; margin: 0 0 7px; color: var(--ink-soft); font-size: 10px; font-weight: 600; }
.date-input { width: 100%; min-height: 39px; padding: 7px 9px; border: 1px solid rgba(36,41,33,.18); border-radius: 3px; color: var(--ink); background: rgba(255,255,255,.55); font-size: 11px; }
.date-input:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.day-status { display: flex; align-items: flex-start; gap: 8px; margin: 11px 0 9px; color: var(--moss); font-size: 10px; font-weight: 700; line-height: 1.4; }
.day-status.is-closed { color: var(--terracotta-deep); }
.status-dot, .gate-reminder__dot { width: 7px; height: 7px; margin-top: 4px; flex: 0 0 auto; border-radius: 50%; background: #718356; box-shadow: 0 0 0 3px rgba(113,131,86,.13); }
.day-status.is-closed .status-dot { background: var(--terracotta); box-shadow: 0 0 0 3px rgba(185,91,63,.12); }
.small-copy { margin: 9px 0 7px; color: var(--ink-soft); font-size: 10px; line-height: 1.65; }
.small-copy strong { color: var(--ink); }
.fine-print { margin: 13px 0 0; color: #75756a; font-size: 9px; line-height: 1.65; }
.address-line { margin: 2px 0 11px; font-family: var(--serif); font-size: 17px; line-height: 1.45; }
.address-line span { color: var(--ink-soft); font-family: var(--sans); font-size: 10px; }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; color: var(--terracotta-deep); font-size: 10px; font-weight: 700; text-decoration: none; }
.arrow-link span { font-size: 15px; }
.arrow-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.time-stat { display: flex; align-items: baseline; gap: 10px; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.time-stat strong { min-width: 66px; color: var(--terracotta-deep); font-family: var(--serif); font-size: 19px; font-weight: 600; white-space: nowrap; }
.time-stat span { color: var(--ink-soft); font-size: 9px; line-height: 1.4; }
.check-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-inline-start: 17px; color: var(--ink-soft); font-size: 9px; line-height: 1.55; }
.check-list li::before { content: ''; position: absolute; inset-inline-start: 1px; inset-block-start: .45em; width: 7px; height: 4px; border-inline-start: 1.5px solid var(--moss); border-block-end: 1.5px solid var(--moss); transform: rotate(-45deg); }

/* Trip planner */
.planner-section { position: relative; overflow: hidden; padding-block: 105px 112px; background: var(--moss-deep); color: var(--paper-light); }
.planner-section::before, .planner-section::after { content: ''; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(245,223,183,.07); border-radius: 50%; pointer-events: none; }
.planner-section::before { inset-inline-start: -250px; inset-block-start: -220px; box-shadow: 0 0 0 24px rgba(245,223,183,.015), 0 0 0 50px rgba(245,223,183,.015); }
.planner-section::after { inset-inline-end: -280px; inset-block-end: -270px; box-shadow: 0 0 0 26px rgba(245,223,183,.015), 0 0 0 54px rgba(245,223,183,.015); }
.planner-wrap { position: relative; z-index: 1; }
.section-kicker--light { color: var(--saffron); }
.section-kicker--light > span:first-child { color: rgba(255,255,255,.4); }
.section-heading--light h2 { color: var(--paper-light); }
.section-heading--light .section-lede { color: rgba(255,255,255,.66); }
.planner-panel { display: grid; grid-template-columns: .92fr 1.08fr; gap: 14px; align-items: stretch; }
.planner-controls { display: flex; flex-direction: column; justify-content: space-between; min-height: 405px; padding: 33px; border-radius: 4px; background: #f3efe7; color: var(--ink); }
.planner-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.control-label { margin: 0 0 12px; padding: 0; color: var(--ink); font-size: 11px; font-weight: 700; }
.duration-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.duration-option { position: relative; display: block; cursor: pointer; }
.duration-option input { position: absolute; opacity: 0; }
.duration-option > span { min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid rgba(36,41,33,.16); border-radius: 3px; background: #faf8f3; transition: border-color .16s, background .16s, color .16s, box-shadow .16s; }
.duration-option strong { font-family: var(--serif); font-size: 25px; font-weight: 500; }
.duration-option small { color: #7c7a70; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.duration-option input:checked + span { border-color: var(--moss); background: var(--moss); color: white; box-shadow: inset 0 0 0 1px var(--moss); }
.duration-option input:checked + span small { color: rgba(255,255,255,.7); }
.duration-option input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.planner-fieldset--interests { margin-top: 28px; }
.interest-options { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-option { position: relative; cursor: pointer; }
.interest-option input { position: absolute; opacity: 0; }
.interest-option span { display: inline-flex; min-height: 34px; align-items: center; padding: 0 12px; border: 1px solid rgba(36,41,33,.16); border-radius: 999px; color: #57594e; background: rgba(255,255,255,.5); font-size: 9px; font-weight: 600; transition: all .16s; }
.interest-option input:checked + span { border-color: #c68050; background: #f4e3cf; color: #713f2c; }
.interest-option input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.planner-controls__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; }
.planner-hint { max-width: 190px; margin: 0; color: #77776d; font-size: 9px; line-height: 1.5; }
.planner-controls .button { min-height: 47px; padding-inline: 17px; white-space: nowrap; }
.itinerary-card { display: flex; flex-direction: column; min-height: 405px; padding: 33px 37px 27px; border-radius: 4px; background: var(--terracotta); color: #fff9f1; }
.itinerary-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.itinerary-badge { color: rgba(255,255,255,.72); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.itinerary-total { padding: 5px 9px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; color: white; font-size: 9px; font-weight: 600; }
.itinerary-card h3 { margin: 16px 0 4px; font-family: var(--serif); font-size: 29px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.itinerary-intro { max-width: 430px; margin: 0; color: rgba(255,255,255,.75); font-size: 10px; line-height: 1.6; }
.itinerary-steps { display: grid; gap: 11px; margin: 19px 0 20px; padding: 0; list-style: none; }
.itinerary-step { display: grid; grid-template-columns: 28px 1fr auto; align-items: start; gap: 11px; }
.step-number { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; font-family: var(--serif); font-size: 12px; }
.step-copy strong { display: block; margin: 0 0 2px; font-size: 10px; font-weight: 700; }
.step-copy span { display: block; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.45; }
.step-duration { padding-top: 2px; color: rgba(255,255,255,.8); font-size: 9px; white-space: nowrap; }
.itinerary-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.itinerary-actions .button--ink { background: var(--paper); color: var(--ink); }
.itinerary-actions .button--ink:hover { background: white; }
.saved-note { margin: 10px 0 0; color: rgba(255,255,255,.64); font-size: 8px; }

/* Market ideas */
.section--finds { padding-block: 111px 104px; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; }
.filter-chip { min-height: 34px; padding: 0 14px; border: 1px solid rgba(36,41,33,.18); border-radius: 30px; color: var(--ink-soft); background: transparent; font-size: 9px; font-weight: 600; cursor: pointer; transition: all .16s; }
.filter-chip:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }
.filter-chip.is-active { border-color: var(--ink); background: var(--ink); color: white; }
.saved-count { margin-inline-start: auto; color: var(--ink-soft); font-size: 9px; font-weight: 600; }
.finds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.find-card { position: relative; min-height: 272px; display: flex; flex-direction: column; overflow: hidden; padding: 24px 24px 21px; border: 1px solid var(--line); background: var(--paper-light); transition: transform .22s, box-shadow .22s, border-color .22s; }
.find-card:hover { transform: translateY(-4px); border-color: rgba(185,91,63,.3); box-shadow: var(--shadow); }
.find-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.find-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: #eee4d2; color: var(--terracotta-deep); font-family: var(--serif); font-size: 18px; }
.find-icon--argan { background: #e1e7d7; color: #58704e; }
.find-icon--craft { background: #efddd3; color: #9c533d; }
.find-icon--textile { background: #e5dff0; color: #62517b; }
.find-icon--food { background: #f2e0b8; color: #86652b; }
.find-icon--leather { background: #e7d8c5; color: #795337; }
.favorite-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(36,41,33,.15); border-radius: 50%; color: #74746a; background: transparent; font-size: 17px; line-height: 1; cursor: pointer; transition: all .17s; }
.favorite-button:hover, .favorite-button[aria-pressed="true"] { border-color: var(--terracotta); color: white; background: var(--terracotta); }
.find-card h3 { margin: 20px 0 7px; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.find-card__desc { max-width: 360px; margin: 0 0 15px; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.find-tip { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: #7d7566; font-size: 9px; line-height: 1.55; }
.find-tip strong { color: var(--terracotta-deep); }
.saved-shelf { margin-top: 31px; padding: 22px 25px; border: 1px solid var(--line); background: #eee9df; }
.saved-shelf[hidden] { display: none; }
.saved-shelf__heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.saved-shelf__heading h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.saved-shelf__heading .card-eyebrow { margin-bottom: 4px; }
.quiet-button { padding: 5px 0; border: 0; color: var(--terracotta-deep); background: transparent; font-size: 9px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(152,67,47,.35); text-underline-offset: 3px; cursor: pointer; }
.saved-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.saved-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(36,41,33,.13); border-radius: 30px; background: rgba(255,255,255,.55); font-size: 9px; }
.saved-pill button { display: grid; width: 15px; height: 15px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--ink-soft); background: transparent; cursor: pointer; }
.saved-pill button:hover { color: var(--terracotta); }
.empty-filter { grid-column: 1 / -1; padding: 30px; color: var(--ink-soft); font-size: 12px; text-align: center; }
.section--more { padding-block: 72px 100px; }
.manual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.manual-card { position: relative; min-height: 238px; display: flex; flex-direction: column; align-items: flex-start; padding: 21px 22px 18px; border: 1px solid var(--line); color: var(--ink); background: var(--paper-light); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.manual-card:hover { transform: translateY(-4px); border-color: rgba(185,91,63,.45); box-shadow: var(--shadow); }
.manual-card--map { border-color: var(--moss); color: var(--paper-light); background: var(--moss); }
.manual-card--map:hover { border-color: var(--moss); background: var(--moss-deep); }
.manual-card__index { color: #8a887c; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.manual-card--map .manual-card__index { color: rgba(255,255,255,.65); }
.manual-card__icon { position: absolute; inset-inline-end: 20px; inset-block-start: 17px; color: var(--terracotta); font-family: var(--serif); font-size: 24px; }
.manual-card--map .manual-card__icon { color: var(--saffron); }
.manual-card h3 { max-width: 260px; margin: 23px 0 8px; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.18; }
.manual-card p { max-width: 320px; margin: 0 0 16px; color: var(--ink-soft); font-size: 9px; line-height: 1.7; }
.manual-card--map p { color: rgba(255,255,255,.73); }
.manual-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--terracotta-deep); font-size: 9px; font-weight: 700; }
.manual-card--map .manual-card__link { color: var(--saffron); }
.manual-language-note { margin: 16px 0 0; color: #858176; font-size: 8px; text-align: end; }

/* Wayfinding */
.wayfinding-section { position: relative; overflow: hidden; padding-block: 94px; background: var(--terracotta-deep); color: white; }
.wayfinding-section::before { content: 'سوق'; position: absolute; inset-inline-end: 4%; inset-block-start: -110px; color: rgba(255,255,255,.04); font-family: var(--serif); font-size: 340px; line-height: 1; pointer-events: none; }
.wayfinding-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 9%; }
.wayfinding-copy h1, .wayfinding-copy h2 { margin-block: 20px 18px; font-size: clamp(43px, 4.5vw, 58px); }
.wayfinding-copy > p:not(.section-kicker):not(.wayfinding-small) { max-width: 420px; margin: 0 0 24px; color: rgba(255,255,255,.77); font-size: 12px; line-height: 1.85; }
.wayfinding-copy .button { min-height: 48px; }
.wayfinding-small { max-width: 380px; margin: 12px 0 0; color: rgba(255,255,255,.64); font-size: 8px; line-height: 1.55; }
.gate-tool { padding: 28px 30px 24px; border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 0 25px 55px rgba(45,26,18,.16); }
.gate-tool__top { display: flex; align-items: center; gap: 12px; }
.gate-tool__mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: #ead7cb; color: var(--terracotta-deep); font-size: 27px; }
.gate-tool__top .card-eyebrow { margin: 0 0 3px; }
.gate-tool__top h3 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.2; }
.gate-helper { max-width: 490px; margin: 16px 0 15px; color: var(--ink-soft); font-size: 9px; line-height: 1.65; }
.gate-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.gate-button { min-height: 39px; border: 1px solid rgba(36,41,33,.16); border-radius: 3px; color: var(--ink); background: #fbf9f4; font-family: var(--serif); font-size: 15px; cursor: pointer; transition: all .16s; }
.gate-button:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }
.gate-button[aria-pressed="true"] { border-color: var(--moss); background: var(--moss); color: white; }
.gate-reminder { display: flex; align-items: flex-start; gap: 8px; min-height: 38px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.gate-reminder p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.5; }
.gate-reminder.is-set .gate-reminder__dot { background: var(--terracotta); box-shadow: 0 0 0 3px rgba(185,91,63,.13); }
.gate-clear { margin-top: 2px; }

/* Field notes and phrasebook */
.section--field { padding-block: 110px 102px; }
.guest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 58px; }
.guest-card { min-height: 178px; padding: 22px 22px 20px; border-top: 2px solid #d7c8b1; background: rgba(255,255,255,.26); }
.guest-number { color: var(--terracotta); font-family: var(--serif); font-size: 17px; }
.guest-card h3 { margin: 15px 0 7px; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; }
.guest-card p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.7; }
.phrase-panel { display: grid; grid-template-columns: .76fr 1.24fr; gap: 56px; padding: 39px 42px; background: #e9e2d5; }
.phrase-panel__intro h3 { margin: 12px 0 9px; font-family: var(--serif); font-size: 33px; font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
.phrase-panel__intro > p:last-child { max-width: 275px; margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.phrase-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; align-content: center; }
.phrase-button { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 61px; padding: 10px 13px; border: 1px solid rgba(36,41,33,.13); border-radius: 3px; background: rgba(255,255,255,.47); text-align: start; cursor: pointer; transition: background .16s, border-color .16s, transform .16s; }
.phrase-button:hover { transform: translateY(-2px); border-color: rgba(185,91,63,.4); background: rgba(255,255,255,.8); }
.phrase-arabic { min-width: 60px; color: var(--terracotta-deep); font-family: Tahoma, Arial, sans-serif; font-size: 17px; font-weight: 700; text-align: center; }
.phrase-latin { display: block; color: var(--ink); font-size: 10px; font-weight: 700; }
.phrase-meaning { display: block; color: var(--ink-soft); font-size: 8px; }
.phrase-copy-icon { color: #938a79; font-size: 13px; }

/* FAQ and closing */
.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; padding-block: 100px 110px; border-top: 1px solid var(--line); }
.faq-intro h1, .faq-intro h2 { margin-block: 17px 12px; font-size: clamp(39px, 4.3vw, 55px); }
.faq-intro > p:last-child { max-width: 280px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.75; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 28px 17px 0; color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; inset-inline-end: 0; top: 50%; color: var(--terracotta); font-family: var(--sans); font-size: 20px; font-weight: 400; transform: translateY(-50%); transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 1px; }
.faq-item > p { max-width: 650px; margin: -3px 34px 17px 0; color: var(--ink-soft); font-size: 10px; line-height: 1.8; }
.closing-cta { position: relative; overflow: hidden; min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 82px; padding: 58px 28px; border-radius: 4px; background: var(--moss); color: white; text-align: center; }
.closing-cta::before, .closing-cta::after { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; pointer-events: none; }
.closing-cta::before { inset-inline-start: -210px; inset-block-end: -235px; box-shadow: 0 0 0 23px rgba(255,255,255,.025), 0 0 0 48px rgba(255,255,255,.025); }
.closing-cta::after { inset-inline-end: -170px; inset-block-start: -230px; box-shadow: 0 0 0 22px rgba(255,255,255,.025), 0 0 0 48px rgba(255,255,255,.025); }
.closing-ornament { position: absolute; inset-inline-end: 18%; inset-block-start: 19%; color: rgba(240,187,102,.33); font-size: 48px; }
.closing-cta .section-kicker { justify-content: center; color: var(--saffron); }
.closing-cta h2 { margin-top: 15px; font-size: clamp(43px, 5vw, 62px); }
.closing-cta > p:not(.section-kicker) { max-width: 400px; margin: 14px 0 22px; color: rgba(255,255,255,.71); font-size: 11px; line-height: 1.7; }
.closing-cta .button { min-height: 48px; }

/* Footer */
.site-footer { background: #eae5dc; }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 45px; min-height: 118px; border-bottom: 1px solid rgba(36,41,33,.14); }
.brand--footer .brand-mark { background: #f0e2ce; }
.footer-note { max-width: 470px; margin: 0; color: #77756b; font-size: 9px; line-height: 1.7; }
.footer-source { display: inline-flex; align-items: center; gap: 10px; color: var(--terracotta-deep); font-size: 9px; font-weight: 700; text-decoration: none; }
.footer-source:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; color: #858176; font-size: 8px; }
.footer-bottom a { color: var(--terracotta-deep); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.toast { position: fixed; z-index: 100; inset-inline-start: 50%; inset-block-end: 24px; width: max-content; max-width: calc(100vw - 36px); padding: 12px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; color: white; background: var(--ink); box-shadow: 0 12px 35px rgba(0,0,0,.24); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Right-to-left language adjustments */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .primary-nav a::after { transform-origin: right; }
html[dir="rtl"] .hero-copy, html[dir="rtl"] .section-heading, html[dir="rtl"] .info-card, html[dir="rtl"] .planner-controls, html[dir="rtl"] .itinerary-card, html[dir="rtl"] .find-card, html[dir="rtl"] .guest-card, html[dir="rtl"] .faq-list, html[dir="rtl"] .faq-intro { text-align: right; }
html[dir="rtl"] .planner-controls__bottom { flex-direction: row-reverse; }
html[dir="rtl"] .step-duration { text-align: left; }
html[dir="rtl"] .faq-item > p { margin-inline: 0 0; }
html[dir="rtl"] .footer-bottom { direction: rtl; }
html[dir="rtl"] .phrase-panel__intro { text-align: right; }

@media (max-width: 1050px) {
  .page-width { width: min(var(--page-width), calc(100% - 44px)); }
  .header-inner { gap: 20px; }
  .primary-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero { min-height: 570px; }
  .hero-copy { width: 66%; padding-inline: 6%; }
  .visit-grid { grid-template-columns: repeat(2, 1fr); }
  .info-card { min-height: 290px; }
  .planner-panel { grid-template-columns: 1fr 1fr; }
  .planner-controls { padding: 26px; }
  .itinerary-card { padding: 27px; }
  .wayfinding-wrap { gap: 5%; }
  .phrase-panel { gap: 35px; padding-inline: 30px; }
  .faq-section { gap: 55px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .page-width { width: calc(100% - 34px); }
  .header-inner { min-height: 72px; justify-content: space-between; gap: 10px; }
  .brand-mark { width: 34px; height: 38px; }
  .brand-name { font-size: 10px; }
  .brand-name small { font-size: 8px; }
  .header-actions { gap: 7px; }
  .language-select { min-width: 48px; padding-inline: 5px 15px; font-size: 10px; }
  .menu-toggle { position: relative; z-index: 45; width: 39px; height: 39px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; order: 3; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; inset-inline: 0; inset-block-start: 71px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 18px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 24px rgba(37,38,32,.08); }
  .nav-open .primary-nav { display: flex; }
  .primary-nav a { padding: 13px 2px; border-bottom: 1px solid rgba(36,41,33,.08); font-size: 12px; }
  .primary-nav a::after { display: none; }
  .hero { width: calc(100% - 20px); min-height: 690px; align-items: flex-end; border-radius: 3px; }
  .hero-art { object-position: 59% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(25,37,29,.97) 0%, rgba(25,37,29,.86) 41%, rgba(25,37,29,.28) 78%, rgba(25,37,29,.1) 100%), linear-gradient(90deg, rgba(25,37,29,.22), transparent 100%); }
  .hero-copy { width: 100%; padding: 145px 26px 42px; }
  .hero h1 { margin-block: 20px 14px; font-size: clamp(48px, 12vw, 69px); }
  .hero-description { max-width: 440px; font-size: 12px; }
  .hero-actions { flex-wrap: wrap; gap: 17px; margin-top: 23px; }
  .hero-actions .button { min-height: 47px; }
  .hero-footnote { max-width: 340px; margin-top: 24px; font-size: 9px; }
  .fact-rail { grid-template-columns: repeat(2, 1fr); padding-block: 18px; }
  .fact-item { justify-content: flex-start; min-height: 45px; padding-inline: 8px 14px; border-inline-end: 0; font-size: 9px; }
  .fact-item:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .fact-item:first-child, .fact-item:last-child { justify-content: flex-start; }
  .fact-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact-number { font-size: 21px; }
  .fact-item--accent .fact-number { font-size: 17px; }
  .story-strip { grid-template-columns: auto 1fr; gap: 16px 20px; padding-block: 43px; }
  .story-mark { width: 72px; height: 72px; font-size: 12px; }
  .story-heading h2 { font-size: 29px; }
  .story-copy { grid-column: 1 / -1; }
  .section { padding-block: 78px; }
  .section-heading--split { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 30px; }
  .section-heading h1, .section-heading h2, .faq-intro h1, .faq-intro h2, .wayfinding-copy h1, .wayfinding-copy h2, .closing-cta h2 { font-size: clamp(39px, 10vw, 53px); }
  .section-lede { max-width: 520px; font-size: 11px; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .info-card { min-height: 300px; padding: 19px 16px 18px; }
  .info-card h3 { font-size: 20px; }
  .card-icon { margin-bottom: 17px; }
  .info-card--cash .check-list { gap: 6px; }
  .planner-section { padding-block: 78px; }
  .planner-panel { grid-template-columns: 1fr; gap: 9px; }
  .planner-controls { min-height: initial; padding: 24px 21px; }
  .itinerary-card { min-height: 375px; padding: 25px 22px 22px; }
  .planner-controls__bottom { align-items: flex-start; flex-direction: column; }
  .planner-hint { max-width: 100%; }
  .planner-controls .button { width: 100%; }
  .section--finds { padding-block: 80px; }
  .section--more { padding-block: 56px 75px; }
  .manual-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .manual-card { min-height: 220px; padding: 17px 15px 15px; }
  .manual-card h3 { font-size: 19px; }
  .manual-card p { font-size: 8px; }
  .finds-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .find-card { min-height: 280px; padding: 18px 16px; }
  .find-card h3 { margin-top: 16px; font-size: 20px; }
  .find-card__desc { font-size: 9px; }
  .find-icon { width: 38px; height: 38px; }
  .wayfinding-section { padding-block: 75px; }
  .wayfinding-wrap { grid-template-columns: 1fr; gap: 33px; }
  .wayfinding-copy h1, .wayfinding-copy h2 { font-size: 48px; }
  .wayfinding-copy > p:not(.section-kicker):not(.wayfinding-small) { font-size: 11px; }
  .gate-tool { padding: 23px 19px 20px; }
  .gate-grid { grid-template-columns: repeat(7, 1fr); gap: 5px; }
  .gate-button { min-height: 37px; }
  .section--field { padding-block: 79px; }
  .guest-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 37px; }
  .guest-card { min-height: 168px; padding: 18px 15px; }
  .guest-card h3 { font-size: 19px; }
  .phrase-panel { grid-template-columns: 1fr; gap: 22px; padding: 25px 19px; }
  .phrase-panel__intro h3 { font-size: 29px; }
  .phrase-panel__intro > p:last-child { max-width: 390px; }
  .phrase-list { grid-template-columns: 1fr 1fr; gap: 7px; }
  .phrase-button { grid-template-columns: 1fr auto; gap: 5px 8px; min-height: 68px; padding: 9px; }
  .phrase-arabic { min-width: 0; grid-column: 1 / -1; text-align: start; font-size: 16px; }
  .phrase-latin { font-size: 9px; }
  .phrase-meaning { font-size: 7px; }
  .phrase-copy-icon { grid-column: 2; grid-row: 2; }
  .faq-section { grid-template-columns: 1fr; gap: 26px; padding-block: 77px; }
  .faq-intro > p:last-child { max-width: 400px; }
  .faq-item summary { font-size: 15px; }
  .closing-cta { width: calc(100% - 20px); min-height: 360px; margin-bottom: 54px; padding: 45px 18px; }
  .closing-ornament { inset-inline-end: 8%; inset-block-start: 11%; font-size: 35px; }
  .closing-cta h2 { font-size: clamp(40px, 10vw, 52px); }
  .closing-cta > p:not(.section-kicker) { font-size: 10px; }
  .footer-main { grid-template-columns: 1fr; gap: 16px; justify-items: start; padding-block: 24px; }
  .footer-bottom { flex-wrap: wrap; justify-content: space-between; gap: 9px 15px; padding-block: 14px; }
  .footer-bottom span:last-child { flex-basis: 100%; }
  .saved-count { flex: 0 0 100%; margin-inline-start: 0; }
}

@media (max-width: 420px) {
  .page-width { width: calc(100% - 28px); }
  .hero { width: calc(100% - 14px); min-height: 680px; }
  .hero-copy { padding-inline: 19px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .text-link { padding-inline-start: 3px; }
  .visit-grid { grid-template-columns: 1fr; }
  .info-card { min-height: auto; padding: 21px; }
  .info-card--cash { min-height: 260px; }
  .finds-grid { grid-template-columns: 1fr; }
  .manual-grid { grid-template-columns: 1fr; }
  .manual-card { min-height: 190px; }
  .find-card { min-height: 235px; }
  .phrase-list { grid-template-columns: 1fr; }
  .phrase-button { grid-template-columns: 60px 1fr auto; min-height: 61px; }
  .phrase-arabic { grid-column: auto; text-align: center; }
  .phrase-copy-icon { grid-column: auto; grid-row: auto; }
  .gate-grid { grid-template-columns: repeat(5, 1fr); }
  .saved-shelf { padding: 19px 16px; }
  .saved-shelf__heading h3 { font-size: 19px; }
  .planner-controls { padding-inline: 17px; }
  .duration-option > span { gap: 4px; }
  .duration-option strong { font-size: 21px; }
  .itinerary-actions { flex-direction: column; }
  .itinerary-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Homepage hero: the market model sits behind the copy as a responsive 3D backdrop. */
.landing-hero {
  position: relative;
  display: block;
  min-height: clamp(590px, 49vw, 690px);
  margin-block: 20px 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px;
  background: radial-gradient(ellipse at 76% 43%, rgba(193,151,94,.22), transparent 42%), linear-gradient(120deg, #1b3025 0%, #273d30 53%, #1b2c23 100%);
  color: var(--paper-light);
  box-shadow: 0 22px 58px rgba(23,34,27,.13);
}
.landing-hero::before { position: absolute; z-index: 1; inset: 0; content: ''; pointer-events: none; background: linear-gradient(90deg, rgba(19,32,25,.97) 0%, rgba(19,32,25,.91) 31%, rgba(19,32,25,.66) 52%, rgba(19,32,25,.2) 78%, rgba(19,32,25,.1) 100%); }
.landing-hero__copy { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: center; width: min(59%, 680px); min-height: inherit; padding-block: 66px 68px; padding-inline: clamp(30px, 5.6vw, 78px) 22px; }
.landing-hero h1 { max-width: 630px; margin: 23px 0 16px; font-family: var(--serif); font-size: clamp(50px, 5.4vw, 76px); font-weight: 500; letter-spacing: -.045em; line-height: .99; }
.landing-hero h1 em { color: var(--saffron); font-weight: 500; }
.landing-hero__description { max-width: 430px; margin: 0; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.82; }
.landing-hero__actions { display: flex; align-items: center; gap: 24px; margin-top: 25px; }
.landing-hero__note { max-width: 390px; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .04em; }
.hero-model-stage { position: absolute; z-index: 0; inset: 0; min-width: 0; min-height: 0; overflow: hidden; background: radial-gradient(ellipse at 75% 42%, rgba(236,188,118,.17), transparent 47%); touch-action: pan-y; }
#hero-model { position: absolute; z-index: 2; inset-block: 0; inset-inline: auto 0; display: block; width: 80%; height: 100%; touch-action: pan-y; cursor: grab; filter: drop-shadow(0 28px 26px rgba(0,0,0,.24)); }
#hero-model.is-dragging { cursor: grabbing; }
.hero-model-fallback { position: absolute; z-index: 1; inset-block: 0; inset-inline: auto 0; display: block; width: 80%; height: 100%; object-fit: contain; object-position: right center; opacity: .92; filter: drop-shadow(0 28px 24px rgba(0,0,0,.24)); }
.hero-model-stage.is-ready .hero-model-fallback { display: none; }
.hero-model-stage.is-fallback #hero-model { display: none; }
.hero-model-stage.is-fallback .hero-model-fallback { display: block; }
.hero-model-stage__interaction { display: none; width: max-content; margin: 13px 0 0; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .06em; pointer-events: none; }
.hero-model-stage.is-ready ~ .landing-hero__copy .hero-model-stage__interaction { display: block; }
.landing-facts { display: grid; grid-template-columns: repeat(3, max-content) minmax(0,1fr); align-items: center; gap: 0; padding-block: 24px; border-bottom: 1px solid var(--line); }
.landing-facts > div { display: flex; align-items: center; gap: 10px; min-height: 38px; padding-inline: 23px; border-inline-end: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; white-space: nowrap; }
.landing-facts > div:first-child { padding-inline-start: 4px; }
.landing-facts > div strong { color: var(--ink); font-family: var(--serif); font-size: 25px; font-weight: 600; }
.landing-facts > p { justify-self: end; max-width: 355px; margin: 0; color: #79756a; font-size: 9px; line-height: 1.65; text-align: end; }
.portal-section { padding-block: 94px 87px; }
.portal-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.portal-heading h2 { max-width: 600px; margin: 13px 0 0; font-family: var(--serif); font-size: clamp(37px, 4vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.portal-heading .section-lede { max-width: 400px; margin: 0 0 6px; }
.portal-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 11px; }
.portal-card { position: relative; min-height: 262px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 21px 18px; overflow: hidden; border: 1px solid var(--line); color: var(--ink); background: var(--paper-light); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s, background .2s; }
.portal-card:hover { z-index: 1; transform: translateY(-4px); border-color: rgba(185,91,63,.44); box-shadow: var(--shadow); }
.portal-card__number { color: #858176; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.portal-card__icon { position: absolute; inset-inline-end: 17px; inset-block-start: 11px; color: var(--terracotta); font-family: var(--serif); font-size: 26px; }
.portal-card h3 { max-width: 260px; margin: 25px 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.portal-card p { max-width: 290px; margin: 0 0 18px; color: var(--ink-soft); font-size: 9px; line-height: 1.72; }
.portal-card__link { margin-top: auto; color: var(--terracotta-deep); font-size: 9px; font-weight: 700; }
.portal-card--dark { border-color: var(--moss); color: var(--paper-light); background: var(--moss); }
.portal-card--dark .portal-card__number, .portal-card--dark p { color: rgba(255,255,255,.7); }
.portal-card--dark .portal-card__icon, .portal-card--dark .portal-card__link { color: var(--saffron); }
.portal-card--map { border-color: #e5c885; background: #f2e8d3; }
.portal-card--map .portal-card__icon { color: var(--moss); }
.portal-card--story { border-color: rgba(185,91,63,.26); background: #f4e6dd; }
.portal-language-note { margin: 17px 0 0; color: #868175; font-size: 8px; text-align: end; }
.home-story { display: grid; grid-template-columns: 105px 1fr 1fr; align-items: center; gap: 33px; padding-block: 51px 58px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-story__mark { display: grid; width: 84px; height: 84px; place-content: center; border: 1px solid rgba(185,91,63,.45); border-radius: 50%; color: var(--terracotta-deep); font-size: 15px; font-weight: 700; line-height: 1.35; text-align: center; transform: rotate(-7deg); }
.home-story h2 { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(28px, 3vw, 39px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.home-story__copy p { max-width: 460px; margin: 0 0 15px; color: var(--ink-soft); font-size: 11px; line-height: 1.85; }
.home-story__copy .text-link { color: var(--terracotta-deep); }
.landing-close { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-block: 62px 78px; padding: 50px 24px; background: var(--terracotta-deep); color: white; text-align: center; }
.landing-close .section-kicker { color: rgba(255,255,255,.7); }
.landing-close h2 { margin: 13px 0 11px; font-family: var(--serif); font-size: clamp(40px, 5vw, 61px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.landing-close > p:not(.section-kicker) { max-width: 440px; margin: 0 0 20px; color: rgba(255,255,255,.72); font-size: 11px; }

/* Shared standalone pages and long-form articles */
.section-page { min-height: 55vh; padding-block: 0 48px; }
.section-page__ribbon { display: flex; align-items: center; justify-content: space-between; padding-block: 16px 7px; color: #8b8679; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.section-page__ribbon a { color: inherit; text-decoration: none; }
.section-page__ribbon a:hover { color: var(--terracotta-deep); }
.section-page__next { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 42px; padding-block: 17px 0; border-top: 1px solid var(--line); }
.section-page__next .text-link { color: var(--terracotta-deep); }
.planner-date-field { display: grid; gap: 8px; margin-bottom: 24px; padding-bottom: 19px; border-bottom: 1px solid rgba(36,41,33,.12); }
.planner-date-field .fine-print { margin: 0; }
.planner-date-field .day-status { margin-top: 0; }
.page-hero { display: flex; align-items: center; justify-content: space-between; gap: 38px; padding-block: 56px 43px; }
.page-hero > div:first-child { max-width: 760px; }
.page-hero h1 { margin: 12px 0 10px; font-family: var(--serif); font-size: clamp(39px, 5.1vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.page-hero p:not(.section-kicker) { max-width: 630px; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.page-hero__seal { flex: 0 0 auto; width: 126px; height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(185,91,63,.42); border-radius: 50%; color: var(--terracotta-deep); transform: rotate(6deg); }
.page-hero__seal span { font-size: 7px; font-weight: 700; letter-spacing: .14em; }
.page-hero__seal strong { font-size: 29px; font-weight: 400; }
.explore-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding-block: 9px 0; }
.explore-card { position: relative; min-height: 250px; display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); color: var(--ink); background: var(--paper-light); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.explore-card:hover { z-index: 1; transform: translateY(-4px); border-color: rgba(185,91,63,.4); box-shadow: var(--shadow); }
.explore-card--feature { border-color: var(--moss); color: var(--paper-light); background: var(--moss); }
.explore-card--feature .portal-card__number, .explore-card--feature p { color: rgba(255,255,255,.7); }
.explore-card--feature .portal-card__icon, .explore-card--feature .portal-card__link { color: var(--saffron); }
.explore-card--map { background: #f2e8d3; }
.explore-card .portal-card__icon { position: absolute; inset-inline-end: 20px; inset-block-start: 13px; color: var(--terracotta); font-size: 25px; }
.explore-card h2 { margin: 29px 0 8px; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.15; }
.explore-card p { max-width: 330px; margin: 0 0 18px; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.explore-card .portal-card__link { margin-top: auto; color: var(--terracotta-deep); font-size: 9px; font-weight: 700; }
.article-page { min-height: 65vh; padding-bottom: 72px; }
.article-hero { position: relative; min-height: 270px; margin-top: 28px; padding: 48px clamp(26px, 6vw, 75px); overflow: hidden; background: var(--moss-deep); color: var(--paper-light); }
.article-hero > div:first-child { position: relative; z-index: 1; max-width: 720px; }
.article-hero h1 { max-width: 700px; margin: 15px 0 11px; font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.03; }
.article-hero p:not(.section-kicker) { max-width: 570px; margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.75; }
.article-hero__back { display: inline-block; margin-top: 18px; color: var(--saffron); font-size: 9px; font-weight: 700; text-decoration: none; }
.article-hero__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-prose { max-width: 950px; margin: 27px auto 0; padding: clamp(24px, 5vw, 51px); border: 1px solid var(--line); background: var(--paper-light); }
.article-prose > p, .article-prose li { color: #4e534b; font-size: 12px; line-height: 1.9; }
.article-prose p { margin-block: 13px; }
.article-prose ul { margin: 12px 0 20px; padding-inline-start: 22px; }
.article-prose li { padding-inline-start: 4px; margin-block: 6px; }
.article-section-title { margin: 36px 0 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.article-prose .warn, .article-prose .tip { margin: 0 0 22px; padding: 16px 19px; border-inline-start: 3px solid var(--terracotta); background: #f2e7dc; color: #56564c; font-size: 10px; line-height: 1.8; }
.article-prose .tip { border-color: var(--olive); background: #e9ebdf; }
.article-prose .sources { margin-top: 32px; padding-top: 17px; border-top: 1px dashed rgba(36,41,33,.25); color: #737166; font-size: 10px; line-height: 1.8; }
.article-prose .sources a { color: var(--terracotta-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-prose .article-return a { color: var(--terracotta-deep); font-size: 10px; font-weight: 700; text-decoration: none; }
.article-prose .article-return a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-prose .cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-block: 20px; }
.article-prose .card { padding: 20px; border: 1px solid var(--line); background: #f5f0e6; box-shadow: none; }
.article-prose .card h4 { color: var(--terracotta-deep); font-family: var(--serif); font-size: 19px; font-weight: 500; }
.article-prose .card p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.8; }

/* SVG vector plan and optional 3D site model */
.map-page { padding-bottom: 64px; }
.map-intro { align-items: end; padding-block: 48px 31px; }
.map-intro h1 { max-width: 730px; }
.map-intro .button { flex: 0 0 auto; }
.map-workspace { padding: 13px; border: 1px solid var(--line); background: var(--paper-light); box-shadow: 0 14px 44px rgba(45,38,27,.07); }
.map-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 5px 6px 13px; border-bottom: 1px solid var(--line); }
.map-toolbar__switch { display: inline-flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 40px; background: #f3eee4; }
.map-toolbar__switch button { min-height: 34px; padding: 0 17px; border: 0; border-radius: 30px; color: var(--ink-soft); background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.map-toolbar__switch button[aria-pressed="true"] { color: white; background: var(--moss); }
.map-toolbar__switch button:focus-visible, .vector-plan-toolbar button:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.map-toolbar__note { max-width: 470px; margin: 0; color: #858176; font-size: 8px; text-align: end; }
.map-canvas-wrap { position: relative; min-height: 610px; margin-top: 13px; overflow: hidden; background: radial-gradient(ellipse at 50% 48%, #e1d4bf 0%, #d8c9b2 43%, #c7b39a 100%); }
.map-canvas-wrap[hidden], .vector-plan-view[hidden] { display: none; }
.map-canvas-wrap canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; }
.map-canvas-glow { position: absolute; z-index: 0; inset: 11% 16%; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: 0 0 65px rgba(255,255,255,.16), inset 0 0 45px rgba(255,255,255,.12); pointer-events: none; }
.map-legend { display: flex; align-items: center; gap: 20px; }
.map-legend h2 { margin: 0; font-family: var(--serif); font-size: 15px; font-weight: 500; white-space: nowrap; }
.map-legend__items { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.map-legend__item { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 8px; }
.map-swatch { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 2px; }
.map-swatch--market { background: #b76a50; }
.map-swatch--building { background: #d1a263; }
.map-swatch--annex { background: #77846a; }
.map-swatch--plaza { background: #e7c878; }
.map-legend--overlay { position: absolute; z-index: 4; inset-block-start: 16px; inset-inline-start: 16px; display: block; max-width: 245px; padding: 16px; border: 1px solid rgba(58,53,43,.12); background: rgba(252,250,246,.93); box-shadow: 0 5px 18px rgba(30,31,25,.08); backdrop-filter: blur(9px); }
.map-legend--overlay h2 { margin-bottom: 12px; }
.map-legend--overlay .map-legend__items { display: grid; gap: 9px; }
.map-legend__hint { max-width: 190px; margin: 12px 0 0; color: #777468; font-size: 7px; line-height: 1.65; white-space: pre-line; }
#mode-indicator { position: absolute; z-index: 4; inset-block-start: 17px; inset-inline-end: 17px; display: none; padding: 8px 13px; border-radius: 30px; color: white; background: var(--terracotta); font-size: 9px; font-weight: 700; }
#mode-indicator.start-mode, #mode-indicator.end-mode { display: block; }
.map-route-panel { position: absolute; z-index: 4; inset-inline-start: 50%; inset-block-end: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; width: min(810px, calc(100% - 32px)); padding: 12px 14px; border: 1px solid rgba(58,53,43,.11); background: rgba(252,250,246,.94); box-shadow: 0 7px 25px rgba(30,31,25,.12); transform: translateX(-50%); backdrop-filter: blur(9px); }
.map-route-panel button { min-height: 33px; padding: 0 12px; border: 0; border-radius: 2px; color: white; font-size: 8px; font-weight: 700; cursor: pointer; }
.map-route-panel button:hover { filter: brightness(1.07); }
.map-route-panel .btn-start { background: var(--moss); }
.map-route-panel .btn-end { background: var(--terracotta); }
.map-route-panel .btn-go { background: var(--ink); }
.map-route-panel .btn-clear { color: var(--ink); background: #e5ded2; }
#itin-status { flex: 1 1 220px; min-width: 130px; color: var(--ink-soft); font-size: 8px; line-height: 1.5; text-align: center; }
#itin-status.active { color: var(--terracotta-deep); font-weight: 700; }
.vector-plan-view { margin-top: 13px; border: 1px solid var(--line); background: #f2ece1; }
.map-fallback { margin: 0; padding: 10px 15px; border-bottom: 1px solid #dfc99e; color: #655126; background: #fff5dc; font-size: 9px; text-align: center; }
.vector-plan-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #faf7f0; }
.vector-plan-toolbar__copy { margin: 0; color: var(--ink-soft); font-size: 9px; font-weight: 600; }
.vector-plan-toolbar__controls { display: flex; align-items: center; gap: 7px; }
.vector-plan-toolbar button { min-width: 35px; min-height: 33px; padding: 0 9px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink); background: var(--paper-light); font-size: 9px; font-weight: 700; cursor: pointer; }
#plan-zoom-label { min-width: 42px; color: var(--ink-soft); font-size: 8px; text-align: center; }
.plan-viewport { display: grid; min-height: 540px; place-items: center; padding: 22px; overflow: auto; background: #efe8dc; }
#map-vector { display: block; width: min(100%, 790px); height: auto; aspect-ratio: 1 / 1; border: 1px solid rgba(87,76,57,.12); background: #f4eee3; box-shadow: 0 10px 28px rgba(44,39,31,.12); }
.vector-feature { stroke: #f8f4ec; stroke-width: 1.05; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.vector-feature--market { fill: #b76a50; }
.vector-feature--building { fill: #d1a263; }
.vector-feature--teal { fill: #77846a; }
.vector-feature--plaza { fill: #e7c878; }
.map-legend--below { justify-content: center; padding: 13px 10px 15px; border-top: 1px solid var(--line); background: #faf7f0; }
.map-footnote { margin: 13px 0 0; color: #777468; font-size: 8px; line-height: 1.7; text-align: center; }

.footer-links { display: grid; justify-items: end; gap: 12px; }
.footer-links nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 13px; }
.footer-links nav a { color: #66665d; font-size: 8px; text-decoration: none; }
.footer-links nav a:hover { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 3px; }
.primary-nav a.is-current { color: var(--terracotta-deep); }
.primary-nav a.is-current::after { transform: scaleX(1); }

html[dir="rtl"] .landing-hero__copy, html[dir="rtl"] .portal-heading, html[dir="rtl"] .home-story, html[dir="rtl"] .article-prose { text-align: right; }
html[dir="rtl"] .landing-hero::before { background: linear-gradient(270deg, rgba(19,32,25,.97) 0%, rgba(19,32,25,.91) 31%, rgba(19,32,25,.66) 52%, rgba(19,32,25,.2) 78%, rgba(19,32,25,.1) 100%); }
html[dir="rtl"] .landing-facts > p { text-align: start; }
html[dir="rtl"] .portal-language-note { text-align: start; }
html[dir="rtl"] .map-toolbar__note { text-align: start; }
html[dir="rtl"] .hero-model-fallback { object-position: left center; }

@media (max-width: 1050px) {
  .landing-hero { min-height: clamp(590px, 60vw, 650px); }
  .landing-hero__copy { width: min(68%, 700px); padding-inline-start: 5%; }
  .landing-hero h1 { font-size: clamp(49px, 5.4vw, 68px); }
  .landing-facts { grid-template-columns: repeat(3,max-content) minmax(0,1fr); }
  .landing-facts > div { padding-inline: 16px; }
  .portal-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .portal-heading { align-items: flex-start; }
  .map-canvas-wrap { min-height: 570px; }
}
@media (max-width: 760px) {
  .landing-hero { width: calc(100% - 20px); min-height: 680px; margin-top: 10px; }
  .landing-hero::before { background: linear-gradient(180deg, rgba(19,32,25,.97) 0%, rgba(19,32,25,.93) 35%, rgba(19,32,25,.72) 59%, rgba(19,32,25,.3) 100%); }
  .landing-hero__copy { width: 100%; justify-content: flex-start; padding: clamp(32px, 5vh, 48px) 27px clamp(190px, 27vh, 230px); }
  .landing-hero h1 { max-width: 560px; margin-block: 19px 13px; font-size: clamp(48px, 10.6vw, 67px); }
  .landing-hero__description { max-width: 500px; font-size: 11px; }
  .landing-hero__actions { flex-wrap: wrap; gap: 18px; margin-top: 21px; }
  .landing-hero__note { margin-top: 18px; font-size: 8px; }
  #hero-model, .hero-model-fallback { inset-block: auto 0; inset-inline: 0; width: 100%; height: 46%; }
  .hero-model-fallback { object-position: center bottom; }
  .hero-model-stage__interaction { display: none; }
  .landing-facts { grid-template-columns: repeat(3,1fr); padding-block: 17px; }
  .landing-facts > div { justify-content: center; gap: 7px; min-height: 37px; padding-inline: 7px; font-size: 8px; }
  .landing-facts > div strong { font-size: 20px; }
  .landing-facts > div:first-child { padding-inline-start: 0; }
  .landing-facts > div:nth-child(3) { border-inline-end: 0; }
  .landing-facts > p { grid-column: 1 / -1; justify-self: stretch; max-width: none; margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 8px; text-align: start; }
  .portal-section { padding-block: 66px 57px; }
  .portal-heading { flex-direction: column; gap: 13px; margin-bottom: 24px; }
  .portal-heading h2 { font-size: clamp(33px, 7.5vw, 44px); }
  .portal-heading .section-lede { max-width: 560px; font-size: 10px; }
  .portal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .portal-card { min-height: 235px; padding: 17px 15px 15px; }
  .portal-card h3 { margin-top: 25px; font-size: 19px; }
  .portal-card p { font-size: 8px; }
  .portal-language-note { margin-top: 13px; font-size: 7px; }
  .home-story { grid-template-columns: 67px 1fr; gap: 15px; padding-block: 34px; }
  .home-story__mark { width: 61px; height: 61px; font-size: 11px; }
  .home-story h2 { font-size: 27px; }
  .home-story__copy { grid-column: 1 / -1; }
  .home-story__copy p { font-size: 10px; }
  .landing-close { width: calc(100% - 20px); min-height: 300px; margin-block: 37px 44px; padding-inline: 17px; }
  .landing-close h2 { font-size: clamp(36px, 9vw, 48px); }
  .section-page__ribbon { padding-top: 14px; }
  .section-page__next { align-items: flex-start; flex-direction: column; margin-top: 28px; }
  .page-hero { align-items: flex-start; padding-block: 37px 27px; }
  .page-hero h1 { font-size: clamp(36px, 8vw, 49px); }
  .page-hero__seal { width: 83px; height: 83px; }
  .page-hero__seal span { font-size: 5px; }
  .page-hero__seal strong { font-size: 21px; }
  .explore-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .explore-card { min-height: 220px; padding: 17px 15px; }
  .explore-card h2 { font-size: 19px; }
  .explore-card p { font-size: 8px; }
  .article-hero { min-height: 230px; margin-top: 10px; padding: 35px 24px; }
  .article-hero h1 { max-width: 85%; font-size: clamp(38px, 9vw, 53px); }
  .article-prose { width: calc(100% - 34px); margin-top: 13px; padding: 25px 20px; }
  .article-prose > p, .article-prose li { font-size: 10px; }
  .article-section-title { margin-top: 28px; font-size: 23px; }
  .article-prose .cards { grid-template-columns: 1fr; }
  .map-intro { align-items: flex-start; flex-direction: column; gap: 17px; padding-block: 32px 24px; }
  .map-intro h1 { font-size: clamp(36px, 8vw, 48px); }
  .map-toolbar { align-items: flex-start; flex-direction: column; padding-bottom: 11px; }
  .map-toolbar__note { max-width: none; text-align: start; }
  .map-canvas-wrap { min-height: 560px; }
  .map-legend--overlay { inset-block-start: 9px; inset-inline-start: 9px; max-width: 165px; padding: 11px; }
  .map-legend h2 { font-size: 13px; }
  .map-legend__items { gap: 7px; }
  .map-legend__item { font-size: 7px; }
  .map-legend__hint { max-width: 145px; font-size: 6px; }
  .map-route-panel { inset-block-end: 8px; flex-wrap: wrap; gap: 6px; width: calc(100% - 14px); padding: 8px; }
  .map-route-panel button { flex: 1 1 35%; padding-inline: 7px; font-size: 7px; }
  #itin-status { flex-basis: 100%; min-width: 0; }
  .vector-plan-toolbar { align-items: flex-start; flex-direction: column; padding: 10px; }
  .vector-plan-toolbar__controls { flex-wrap: wrap; }
  .plan-viewport { min-height: 390px; padding: 10px; }
  .map-legend--below { justify-content: flex-start; padding-inline: 11px; }
  .footer-links { justify-items: start; }
  .footer-links nav { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .landing-hero { width: calc(100% - 14px); min-height: 700px; }
  .landing-hero__copy { padding-inline: 20px; }
  .landing-hero__actions { align-items: flex-start; flex-direction: column; }
  .landing-hero h1 { font-size: clamp(42px, 10.5vw, 54px); }
  .portal-grid, .explore-grid { grid-template-columns: 1fr; }
  .portal-card, .explore-card { min-height: 195px; }
  .landing-facts > div { gap: 5px; font-size: 7px; }
  .landing-facts > div strong { font-size: 18px; }
  .map-workspace { width: calc(100% - 18px); padding: 7px; }
  .map-canvas-wrap { min-height: 525px; }
  .map-toolbar__switch { width: 100%; }
  .map-toolbar__switch button { flex: 1; padding-inline: 8px; }
  .plan-viewport { min-height: 320px; }
  .footer-main { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #hero-model { cursor: default; }
}

/* Simple line-drawn details; no pictogram characters or external icon service. */
.card-icon, .gate-tool__mark { position: relative; }
.card-icon::before, .card-icon::after, .gate-tool__mark::before, .gate-tool__mark::after { position: absolute; display: block; content: ''; }
.card-icon--sun::before, .card-icon--clock::before { inset: 9px; border: 1.5px solid currentColor; border-radius: 50%; }
.card-icon--sun::after { inset: 16px 17px 7px; width: 1.5px; background: currentColor; transform: rotate(30deg); transform-origin: center top; }
.card-icon--clock::after { inset: 11px 17px auto; width: 7px; height: 9px; border-inline-start: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.card-icon--pin::before, .gate-tool__mark::before { inset: 9px 11px 11px; border: 1.5px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.card-icon--pin::after, .gate-tool__mark::after { inset: 15px 16px auto; width: 4px; height: 4px; border: 1.3px solid currentColor; border-radius: 50%; }
.card-icon--coin::before { inset: 8px; border: 1.5px solid currentColor; border-radius: 50%; box-shadow: inset 0 0 0 3px #f1d9ae, inset 0 0 0 4.5px currentColor; }
.card-icon--coin::after { inset: 16px 17px auto; width: 2px; height: 6px; border-inline-start: 1px solid currentColor; }
.gate-tool__mark { flex: 0 0 43px; }
.find-icon { position: relative; overflow: hidden; }
.find-icon::before, .find-icon::after { position: absolute; display: block; content: ''; }
.find-icon--spices::before { top: 11px; width: 14px; height: 20px; border: 1.5px solid currentColor; border-radius: 8px 8px 5px 5px; }
.find-icon--spices::after { top: 8px; width: 8px; height: 4px; border: 1.3px solid currentColor; border-radius: 2px 2px 0 0; }
.find-icon--argan::before { inset: 11px; border: 1.5px solid currentColor; border-radius: 50%; }
.find-icon--argan::after { inset: 16px; border: 1px solid currentColor; border-radius: 50%; }
.find-icon--craft::before { inset: 12px 10px; border: 1.5px solid currentColor; border-radius: 2px 2px 6px 6px; }
.find-icon--craft::after { top: 9px; width: 13px; height: 3px; border: 1.3px solid currentColor; border-radius: 3px; }
.find-icon--textile::before { inset: 12px 9px; border: 1.3px solid currentColor; background: repeating-linear-gradient(0deg, transparent 0 4px, currentColor 4px 5px), repeating-linear-gradient(90deg, transparent 0 4px, currentColor 4px 5px); opacity: .7; }
.find-icon--food::before { top: 17px; width: 21px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px 2px 12px 12px; }
.find-icon--food::after { top: 13px; width: 17px; height: 1.5px; background: currentColor; }
.find-icon--leather::before { inset: 10px 13px; border: 1.5px solid currentColor; border-radius: 2px; }
.find-icon--leather::after { inset: 15px 16px; border-inline-start: 1.3px dashed currentColor; }
.favorite-mark { display: block; width: 13px; height: 16px; border: 1.4px solid currentColor; border-radius: 2px 2px 1px 1px; clip-path: polygon(0 0,100% 0,100% 100%,50% 73%,0 100%); }
.favorite-button[aria-pressed="true"] .favorite-mark { background: currentColor; }
.phrase-copy-icon { position: relative; width: 16px; height: 16px; }
.phrase-copy-icon::before, .phrase-copy-icon::after { position: absolute; width: 9px; height: 11px; border: 1.3px solid currentColor; border-radius: 2px; content: ''; }
.phrase-copy-icon::before { inset: 1px 2px auto auto; background: #e9e2d5; }
.phrase-copy-icon::after { inset: 4px auto auto 2px; background: rgba(255,255,255,.65); }
.route-point { display: inline-block; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; vertical-align: 1px; }
.route-point--start { color: #f0bb66; background: #f0bb66; }
.route-point--end { color: #e07d60; background: #e07d60; }
.button-icon--save { width: 13px; height: 16px; border: 1.3px solid currentColor; border-radius: 2px 2px 1px 1px; clip-path: polygon(0 0,100% 0,100% 100%,50% 73%,0 100%); }
.ribbon-mark { position: relative; width: 18px; height: 18px; border: 1px solid rgba(185,91,63,.46); border-radius: 50%; }
.ribbon-mark::after { position: absolute; inset: 5px; border: 1px solid var(--terracotta); border-radius: 50%; content: ''; }
.page-hero__seal-mark { display: block; width: 19px; height: 19px; margin: 6px 0; border: 1px solid currentColor; border-radius: 50%; background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px); }

/* Clear, readable policy pages. */
.legal-page { padding-block: clamp(44px, 8vw, 90px); }
.legal-copy { max-width: 760px; margin-inline: auto; }
.legal-copy h1, .legal-copy h2 { color: var(--ink); font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; }
.legal-copy h1 { margin: 10px 0 15px; font-size: clamp(42px, 6vw, 67px); line-height: 1.05; }
.legal-copy h2 { margin: 45px 0 12px; font-size: clamp(25px, 4vw, 34px); line-height: 1.18; }
.legal-copy p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.legal-copy .legal-lede { max-width: 650px; color: #41463d; font-size: clamp(16px, 2vw, 19px); }
.legal-copy .legal-updated { color: #79756a; font-size: 12px; }
.legal-copy a { color: var(--terracotta-deep); text-underline-offset: 3px; }
.legal-copy a:focus-visible, .legal-contents a:focus-visible, .footer-legal a:focus-visible, .footer-legal button:focus-visible { outline: 3px solid #d28b4e; outline-offset: 3px; }
.legal-contents { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-block: 31px 42px; padding: 17px 20px; border: 1px solid var(--line); background: rgba(255,255,255,.45); }
.legal-contents a { color: var(--ink-soft); font-size: 13px; text-decoration-thickness: 1px; }
.legal-copy code { padding: 2px 5px; border-radius: 3px; background: #eee8dc; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; }
.legal-return { margin-top: 40px; }

/* Privacy notice */
.cookie-notice { position: fixed; z-index: 80; inset-inline: 16px; inset-block-end: 16px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 25px; width: min(100% - 32px, 690px); margin-inline: auto; padding: 23px 25px; border-color: rgba(36,41,33,.16); border-top: 3px solid var(--terracotta); color: var(--ink); background: var(--paper-light); box-shadow: 0 20px 60px rgba(23,30,24,.23); }
.cookie-notice[hidden] { display: none !important; }
.cookie-notice__eyebrow { margin: 0 0 5px; color: var(--terracotta-deep); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.cookie-notice h2 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.2; }
.cookie-notice__copy > p:last-child { max-width: 420px; margin: 8px 0 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.cookie-notice__actions { display: grid; justify-items: stretch; gap: 10px; }
.cookie-notice__actions .button { min-height: 44px; padding-inline: 15px; font-size: 10px; }
.cookie-notice__link { color: var(--terracotta-deep); font-size: 10px; text-align: center; text-underline-offset: 3px; }

.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
.footer-legal a, .footer-legal button { padding: 0; border: 0; color: #66665d; background: none; font: inherit; font-size: 8px; text-decoration: none; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 761px) and (max-width: 860px) {
  .header-inner { min-height: 72px; gap: 10px; }
  .header-actions { margin-inline-start: auto; }
  .header-cta { display: none; }
  .menu-toggle { position: relative; z-index: 45; width: 39px; height: 39px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; order: 3; padding: 0; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; inset-inline: 0; inset-block-start: 71px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 18px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 24px rgba(37,38,32,.08); }
  .nav-open .primary-nav { display: flex; }
  .primary-nav a { padding: 13px 2px; border-bottom: 1px solid rgba(36,41,33,.08); font-size: 12px; }
  .primary-nav a::after { display: none; }
}
@media (max-width: 760px) {
  .cookie-notice { grid-template-columns: 1fr; gap: 15px; inset-inline: 10px; inset-block-end: 10px; width: calc(100% - 20px); padding: 18px; }
  .cookie-notice__actions { grid-template-columns: 1fr auto; align-items: center; }
  .cookie-notice__link { padding-inline: 8px; }
  .legal-contents { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-legal { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .cookie-notice { padding: 15px; }
  .cookie-notice h2 { font-size: 21px; }
  .cookie-notice__actions { grid-template-columns: 1fr; }
  .cookie-notice__actions .button { width: 100%; }
  .cookie-notice__link { padding-block: 4px; }
}

/* Expanded visitor notes, archival photo credits and click-to-load video embeds. */
.guest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.guest-card { min-height: 194px; }
.guest-card p { font-size: 11px; line-height: 1.7; }

.history-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 38px; }
.history-photo { min-width: 0; margin: 0; padding: 9px; border: 1px solid var(--line); background: #f5f0e6; }
.history-photo img { display: block; width: 100%; height: 210px; object-fit: contain; background: #e7e0d3; }
.history-photo figcaption { padding: 11px 4px 3px; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.history-photo__caption { margin: 0 0 6px !important; color: var(--ink); font-family: var(--serif); font-size: 17px !important; line-height: 1.3 !important; }
.history-photo__credit { margin: 0 !important; color: #625f56; font-size: 10px !important; line-height: 1.7 !important; }
.history-photo__credit a { color: var(--terracotta-deep); text-underline-offset: 2px; }
.history-videos { margin-top: 38px; }
.history-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block: 17px 14px; }
.history-video { min-width: 0; padding: 11px; border: 1px solid var(--line); background: #f5f0e6; }
.video-embed__stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #304036, #17231c 70%, #604536); }
.video-embed__load { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; width: 100%; min-height: 100%; padding: 14px; border: 0; color: #fffaf0; background: radial-gradient(ellipse at 72% 22%, rgba(240,187,102,.18), transparent 40%), linear-gradient(135deg, #304036, #17231c 70%, #604536); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; transition: filter .18s ease; }
.video-embed__load:hover { filter: brightness(1.16); }
.video-embed__load:focus-visible { outline: 3px solid #f0bb66; outline-offset: -5px; }
.video-embed__play { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,250,240,.72); border-radius: 50%; background: rgba(255,255,255,.08); }
.video-embed__play::before { width: 0; height: 0; margin-left: 4px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid currentColor; content: ''; }
.video-embed__stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.history-video h3 { margin: 13px 0 6px; color: var(--ink); font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.3; }
.history-video > p { margin: 6px 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.history-video .history-video__credit { font-size: 10px; }
.history-video__credit a { color: var(--terracotta-deep); text-underline-offset: 2px; }
.history-videos .history-video__privacy { margin-top: 10px; color: #615d53; font-size: 10px; line-height: 1.7; }

@media (max-width: 1050px) {
  .guest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .history-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .guest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .guest-card { min-height: 180px; }
  .history-gallery { grid-template-columns: 1fr 1fr; gap: 9px; }
  .history-photo { padding: 7px; }
  .history-photo img { height: 170px; }
  .history-video-grid { grid-template-columns: 1fr; gap: 11px; }
}
@media (max-width: 420px) {
  .guest-grid { grid-template-columns: 1fr; }
  .guest-card { min-height: 0; padding: 17px; }
  .history-gallery { grid-template-columns: 1fr; }
  .history-photo img { height: 220px; }
}
