/* ==========================================================================
   Petra Tour from Amman — "Rose City Dossier"
   Editorial expedition-guide design system. No frameworks, no CDN.
   One stylesheet for the whole site.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Paper & ink */
  --paper:      #f4ece0;   /* warm cream page */
  --paper-2:    #ece0cf;   /* slightly deeper panel */
  --paper-3:    #e3d3bd;
  --card:       #fbf6ee;   /* raised card */
  --ink:        #1d150e;   /* near-black brown */
  --ink-2:      #3a2c1f;
  --ink-3:      #5e4a38;
  --ink-4:      #856a52;
  --line:       #d9c7ad;   /* engraved rule */
  --line-2:     #cbb593;

  /* Rose city palette */
  --rose:       #b23a1e;   /* carved rose-red — primary brand */
  --rose-deep:  #8a2a13;
  --rose-soft:  #f6e0d6;
  --ochre:      #c98a2b;   /* gold/ochre accent */
  --ochre-deep: #a26e1c;

  --olive:      #6b7a4f;
  --teal:       #2f6f75;   /* dead sea / water */
  --night:      #2a2438;   /* bedouin night */

  --star:       #e0a92b;
  --green:      #3c7a4e;

  --radius:     4px;       /* crisp, editorial — low radius */
  --radius-lg:  8px;
  --shadow-sm:  0 1px 2px rgba(29,21,14,.05), 0 3px 10px rgba(29,21,14,.05);
  --shadow-md:  0 10px 34px rgba(29,21,14,.12);
  --shadow-lg:  0 26px 70px rgba(29,21,14,.22);

  --container:  1180px;
  --measure:    68ch;
  --header-h:   68px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:  ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0; font-family: var(--sans); color: var(--ink-2);
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,138,43,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(178,58,30,.06), transparent 55%);
  line-height: 1.68; font-size: 17.5px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
button { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(1.8rem, 1.15rem + 2.9vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.6rem); }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1.1em; }
strong, b { color: var(--ink); font-weight: 700; }
ul { margin: 0; padding: 0; }
hr { border: 0; height: 1px; background: var(--line); margin: 2rem 0; }

/* ---------- A11y ---------- */
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 6px; z-index: 3000; box-shadow: var(--shadow-md); transition: top .2s; }
.skip-link:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container--narrow { max-width: 900px; }
.section { padding: clamp(52px, 4vw + 30px, 104px) 0; position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper-3); }
.section--rose { background:
  linear-gradient(160deg, var(--rose-deep), #6a1f0f 70%);
  color: #f7e7df; }

/* Editorial section header */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose); font-weight: 600; margin-bottom: 14px;
}
.kicker::before { content: attr(data-num); color: var(--ochre-deep); font-weight: 700; }
.kicker .rule { width: 34px; height: 1px; background: var(--line-2); display: inline-block; }
.section--ink .kicker, .section--rose .kicker { color: var(--ochre); }
.section--ink .kicker::before, .section--rose .kicker::before { color: #f0cf92; }

.headline { max-width: 24ch; }
.section__head { max-width: 800px; margin-bottom: 40px; }
.section__head .lede { font-size: 1.16rem; color: var(--ink-3); font-family: var(--serif); font-style: italic; }
.section--ink .section__head h2, .section--rose .section__head h2 { color: #fff; }
.section--ink .section__head .lede, .section--rose .section__head .lede { color: #e9d7c8; }
.section--center { text-align: center; }
.section--center .section__head { margin-inline: auto; }
.section--center .kicker { justify-content: center; }

/* thin engraved divider */
.engrave { height: 3px; background: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent); position: relative; }
.engrave::after { content: ""; position: absolute; inset: 0; top: 2px; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--rose); color: #fff; box-shadow: 0 8px 22px rgba(178,58,30,.30); }
.btn--primary:hover { background: var(--rose-deep); color: #fff; }
.btn--gold { background: var(--ochre); color: #241a08; box-shadow: 0 8px 22px rgba(201,138,43,.30); }
.btn--gold:hover { background: var(--ochre-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--rose); color: var(--rose-deep); background: var(--card); }
.btn--ondark { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn--ondark:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .15s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Reading progress + header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--ochre), var(--rose)); z-index: 1200; transition: width .1s linear; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center; transition: background .25s, box-shadow .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand__mark { flex: 0 0 auto; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--rose); color: #fff; box-shadow: 0 4px 12px rgba(178,58,30,.35); }
.brand__mark svg { width: 24px; height: 24px; display: block; }
.site-header.is-solid .brand { color: var(--ink); }
.site-header.is-solid .brand__mark { background: var(--rose); color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: rgba(255,255,255,.92); font-weight: 600; font-size: .93rem; padding: 9px 13px; border-radius: 6px; transition: background .15s, color .15s; }
.nav a:hover { text-decoration: none; background: rgba(255,255,255,.14); }
.nav__cta { margin-left: 8px; }
.site-header.is-solid { background: rgba(244,236,224,.94); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); backdrop-filter: saturate(1.3) blur(9px); }
.site-header.is-solid .nav a { color: var(--ink-2); }
.site-header.is-solid .nav a:hover { background: var(--paper-2); color: var(--rose-deep); }
.brand__word { font-family: var(--serif); font-weight: 700; font-size: 1.08rem; color: currentColor; letter-spacing: .01em; line-height: 1; }
.brand__word small { display: block; font-family: var(--mono); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; opacity: .72; margin-top: 4px; font-weight: 600; }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.16); border-radius: 8px; cursor: pointer; padding: 0 11px; }
  .site-header.is-solid .nav-toggle { background: var(--paper-2); }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .site-header.is-solid .nav-toggle span { background: var(--ink); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--card); padding: 14px 18px 22px; box-shadow: var(--shadow-lg); transform: translateY(-135%); transition: transform .28s; visibility: hidden; border-top: 1px solid var(--line); }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav a { color: var(--ink-2) !important; padding: 13px 12px; border-radius: 6px; }
  .nav a:hover { background: var(--paper-2); }
  .nav__cta { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding-top: calc(var(--header-h) + 24px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,12,7,.62) 0%, rgba(20,12,7,.20) 30%, rgba(20,12,7,.20) 45%, rgba(20,12,7,.86) 92%),
    radial-gradient(120% 80% at 15% 100%, rgba(138,42,19,.55), transparent 60%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(34px, 4vw, 64px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #f0cf92; margin-bottom: 20px; }
.hero__eyebrow .rule { width: 40px; height: 1px; background: rgba(240,207,146,.6); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.2rem + 5.4vw, 4.5rem); max-width: 15ch; line-height: 1.02; text-shadow: 0 3px 30px rgba(0,0,0,.4); margin-bottom: .38em; }
.hero h1 em { font-style: italic; color: #f4c987; }
.hero__sub { font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .7vw, 1.45rem); max-width: 54ch; color: #f3e6da; margin-bottom: 28px; line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__trust { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; color: #ecdccb; }
.hero__trust .stars { color: var(--star); letter-spacing: 1px; }
.hero__trust b { color: #fff; }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }

/* fact bar under hero */
.factbar { background: var(--ink); color: var(--paper-3); position: relative; z-index: 3; border-top: 3px solid var(--rose); }
.factbar__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.factbar .f { padding: 20px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.factbar .f:last-child { border-right: 0; }
.factbar .f .ico { font-size: 1.15rem; }
.factbar .f b { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-top: 2px; }
.factbar .f span { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); }
@media (max-width: 860px) { .factbar__grid { grid-template-columns: repeat(3, 1fr); } .factbar .f:nth-child(3){border-right:0;} }
@media (max-width: 520px) { .factbar__grid { grid-template-columns: repeat(2, 1fr); } }

/* anchor rail (chips) — native scrollbar hidden, soft fade edges */
.rail { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 900; }
.rail .container { position: relative; }
.rail .container::before, .rail .container::after { content: ""; position: absolute; top: 0; bottom: 0; width: 34px; pointer-events: none; z-index: 2; }
.rail .container::before { left: 22px; background: linear-gradient(90deg, var(--card), transparent); }
.rail .container::after  { right: 22px; background: linear-gradient(270deg, var(--card), transparent); }
.rail__scroll { display: flex; gap: 6px; overflow-x: auto; padding: 11px 0; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; }
.rail__scroll::-webkit-scrollbar { height: 0; width: 0; display: none; }
.rail a { flex: 0 0 auto; font-size: .84rem; font-weight: 600; color: var(--ink-3); padding: 7px 14px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.rail a:hover { text-decoration: none; background: var(--paper-2); color: var(--rose-deep); }
.rail a.is-active { background: var(--rose); color: #fff; border-color: var(--rose); box-shadow: 0 3px 10px rgba(178,58,30,.28); }

/* ---------- Editorial intro / prose ---------- */
.prose { max-width: var(--measure); font-size: 1.12rem; color: var(--ink-2); }
.prose p { margin-bottom: 1.15em; }
.prose--lead > p:first-of-type::first-letter {
  font-family: var(--serif); float: left; font-size: 3.6em; line-height: .78; padding: 6px 12px 0 0; color: var(--rose); font-weight: 700;
}
.prose h3 { margin-top: 1.6em; }
.prose a { border-bottom: 1px solid var(--line-2); }

.pullquote { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.6vw, 1.9rem); font-style: italic; color: var(--ink); line-height: 1.35; border-left: 3px solid var(--rose); padding: 6px 0 6px 24px; margin: 28px 0; }
.pullquote cite { display: block; font-style: normal; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); margin-top: 12px; }

/* key-facts card */
.keyfacts { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.keyfacts__head { background: var(--ink); color: #fff; padding: 14px 20px; font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.keyfacts dl { margin: 0; padding: 6px 20px 14px; }
.keyfacts .row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.keyfacts .row:last-child { border-bottom: 0; }
.keyfacts dt { color: var(--ink-4); font-size: .92rem; }
.keyfacts dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; font-size: .95rem; }

.split { display: grid; grid-template-columns: 1.35fr .9fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* stat tiles */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.stat-tile b { font-family: var(--serif); font-size: 2rem; color: var(--rose-deep); display: block; line-height: 1; }
.stat-tile span { font-size: .86rem; color: var(--ink-4); }
.section--ink .stat-tile { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--ink .stat-tile b { color: var(--ochre); }
.section--ink .stat-tile span { color: var(--paper-3); }

/* ---------- Featured tour ---------- */
.featured { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.featured__media { position: relative; min-height: 380px; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__ribbon { position: absolute; top: 18px; left: 0; background: var(--rose); color: #fff; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 16px 7px 18px; border-radius: 0 999px 999px 0; box-shadow: var(--shadow-sm); }
.featured__body { padding: clamp(26px, 3vw, 44px); }
.featured__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; font-size: .92rem; color: var(--ink-3); }
.star { color: var(--star); }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-3); font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pill--green { background: #e9f4ec; border-color: #cbe6d3; color: var(--green); }
.pill--gold { background: #f8eecf; border-color: #ecd79b; color: var(--ochre-deep); }
.chips-inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.price-line { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 16px; }
.price-line .from { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.price-line .amt { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--ink); }
.price-line .per { color: var(--ink-4); font-size: .9rem; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured__media { min-height: 260px; } }

/* availability widget shell */
.avail { margin-top: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.avail__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.avail__head h3 { margin: 0; }
.avail__note { font-size: .82rem; color: var(--ink-4); font-family: var(--mono); letter-spacing: .04em; }
[data-gyg-widget] { min-height: 200px; }

/* ---------- Tour cards ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tour-grid { grid-template-columns: 1fr; } }
.tour-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tour-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.tour-card__media { position: relative; aspect-ratio: 16/10; background: var(--paper-3); }
.tour-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-card__flag { position: absolute; top: 12px; left: 12px; background: rgba(20,12,7,.82); color: #fff; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 3px; }
.tour-card__days { position: absolute; top: 12px; right: 12px; background: var(--ochre); color: #241a08; font-weight: 800; font-size: .74rem; padding: 5px 11px; border-radius: 3px; }
.tour-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tour-card__body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.tour-card__meta { font-size: .86rem; color: var(--ink-3); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.tour-card__list { list-style: none; margin: 0 0 18px; display: grid; gap: 7px; }
.tour-card__list li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--ink-2); }
.tour-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.tour-card__list li.no { color: var(--ink-4); }
.tour-card__list li.no::before { content: "—"; color: var(--ink-4); }
.tour-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.tour-card__price .from { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); display: block; }
.tour-card__price b { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.tour-card__actions { display: flex; gap: 8px; }

.jumpbar { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 16px; scrollbar-width: thin; }
.jumpbar a { flex: 0 0 auto; background: var(--card); border: 1px solid var(--line); color: var(--ink-3); font-weight: 600; font-size: .84rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.jumpbar a:hover { border-color: var(--rose); color: var(--rose-deep); text-decoration: none; }

/* ---------- Comparison matrix ---------- */
.matrix-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--card); }
.matrix-scroll { overflow-x: auto; }
table.matrix { width: 100%; border-collapse: collapse; min-width: 860px; font-size: .9rem; }
table.matrix th, table.matrix td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); }
table.matrix thead th { background: var(--ink); color: #fff; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; position: sticky; top: 0; }
table.matrix tbody tr:hover { background: var(--paper); }
table.matrix td.tour, table.matrix th.tour { text-align: left; font-weight: 700; color: var(--ink); min-width: 220px; position: sticky; left: 0; background: var(--card); }
table.matrix tbody tr:hover td.tour { background: var(--paper); }
table.matrix td.tour small { display: block; font-weight: 400; color: var(--ink-4); font-size: .78rem; }
table.matrix .yes { color: var(--green); font-weight: 800; }
table.matrix .no { color: var(--line-2); }
table.matrix .price { font-family: var(--serif); font-weight: 700; color: var(--rose-deep); }
.matrix-note { font-size: .82rem; color: var(--ink-4); margin-top: 12px; }

/* ---------- Pricing ---------- */
.price-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 16px; overflow: hidden; }
.price-block__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left; }
.price-block__head:hover { background: var(--paper); }
.price-block__title b { display: block; font-family: var(--serif); font-size: 1.18rem; color: var(--ink); }
.price-block__title span { font-size: .84rem; color: var(--ink-4); }
.price-block__right { display: flex; align-items: center; gap: 16px; }
.price-block__from { font-family: var(--serif); font-weight: 700; color: var(--rose-deep); font-size: 1.2rem; white-space: nowrap; }
.price-block__from small { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); font-weight: 600; text-align: right; }
.price-block__chev { transition: transform .2s; color: var(--ink-4); }
.price-block.is-open .price-block__chev { transform: rotate(180deg); }
.price-block__panel { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.price-block.is-open .price-block__panel { max-height: 1400px; }
.price-block__inner { padding: 2px 22px 22px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-top: 1px solid var(--line); }
.price-table td { padding: 13px 4px; vertical-align: top; }
.price-table .barcell { width: 40%; }
.price-table td.tier { font-weight: 700; color: var(--ink); }
.price-table td.desc { color: var(--ink-3); font-size: .88rem; }
.price-table td.amt { text-align: right; font-family: var(--serif); font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 1.05rem; }
.pbar { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin-top: 6px; }
.pbar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--ochre), var(--rose)); border-radius: 999px; }
.price-note { background: var(--rose-soft); border: 1px solid #eec9ba; border-radius: var(--radius-lg); padding: 18px 22px; color: var(--ink-2); }

/* ---------- Route map ---------- */
.routemap { background: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px,3vw,42px); color: #fff; box-shadow: var(--shadow-md); }
.routemap svg { width: 100%; height: auto; display: block; }
.route-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; font-size: .88rem; color: var(--paper-3); }
.route-legend span { display: inline-flex; align-items: center; gap: 8px; }
.route-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* transport cards */
.transport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 26px 0; }
@media (max-width: 800px) { .transport-grid { grid-template-columns: 1fr; } }
.transport-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.transport-card.is-best { border-color: var(--rose); box-shadow: 0 0 0 2px rgba(178,58,30,.14), var(--shadow-md); }
.transport-card__tag { position: absolute; top: -12px; right: 18px; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.transport-card.is-best .transport-card__tag { background: var(--rose); }
.transport-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.transport-card .cost { font-family: var(--serif); font-weight: 700; color: var(--rose-deep); font-size: 1.15rem; margin-bottom: 12px; }
.transport-card ul { list-style: none; display: grid; gap: 7px; }
.transport-card li { font-size: .89rem; color: var(--ink-3); padding-left: 20px; position: relative; }
.transport-card li::before { content: "·"; position: absolute; left: 6px; color: var(--rose); font-weight: 800; }
.verdict { background: var(--paper-2); border-left: 4px solid var(--rose); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 18px 22px; color: var(--ink-2); }

/* image band */
.band { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.band__media { position: relative; min-height: 320px; }
.band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__body { padding: clamp(26px, 3vw, 44px); }
.band__body ul { list-style: none; display: grid; gap: 9px; margin: 16px 0 22px; }
.band__body li { position: relative; padding-left: 26px; color: var(--ink-2); }
.band__body li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band--rev .band__media { order: -1; } }

/* ---------- Climate ---------- */
.climate { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px,2.5vw,34px); box-shadow: var(--shadow-sm); }
.climate__chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 220px; margin: 10px 0 6px; }
.cmonth { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.cmonth .bar { width: 60%; max-width: 26px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--ochre), var(--rose)); position: relative; }
.cmonth.cool .bar { background: linear-gradient(180deg, #7faec4, var(--teal)); }
.cmonth .t { font-family: var(--mono); font-size: .64rem; color: var(--ink-3); }
.cmonth .m { font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; color: var(--ink-4); text-transform: uppercase; }
.cmonth.best .m { color: var(--rose-deep); font-weight: 700; }
.climate__legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-4); margin-top: 10px; }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
@media (max-width: 820px) { .season-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .season-grid { grid-template-columns: 1fr; } }
.season-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); position: relative; }
.season-card.is-best { border-color: var(--ochre); }
.season-card__flag { position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ochre-deep); }
.season-card .emoji { font-size: 1.7rem; }
.season-card h3 { margin: 8px 0 2px; }
.season-card .months { font-family: var(--mono); font-weight: 600; color: var(--rose-deep); font-size: .82rem; letter-spacing: .04em; }
.season-card .temp { color: var(--ink-4); font-size: .85rem; margin-bottom: 8px; }
.season-card p { font-size: .88rem; color: var(--ink-3); margin: 0; }

/* ---------- Hour-by-hour timeline ---------- */
.daytimeline { position: relative; padding-left: 34px; }
.daytimeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--ochre), var(--rose)); }
.dt-item { position: relative; margin-bottom: 26px; }
.dt-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 3px solid var(--rose); box-shadow: 0 0 0 4px var(--paper); }
.dt-time { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--rose-deep); font-weight: 700; }
.dt-item h4 { margin: 3px 0 4px; font-size: 1.12rem; }
.dt-item p { margin: 0; color: var(--ink-3); font-size: .95rem; }

/* ---------- Monument grid ---------- */
.mon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .mon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mon-grid { grid-template-columns: 1fr; } }
.mon-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.mon-card__media { position: relative; aspect-ratio: 4/3; background: var(--paper-3); }
.mon-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mon-card__num { position: absolute; left: 12px; top: 12px; font-family: var(--serif); font-weight: 700; font-size: .9rem; color: #fff; background: rgba(20,12,7,.72); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.mon-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.mon-card__body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.mon-card__body p { font-size: .92rem; color: var(--ink-3); margin: 0 0 14px; }
.mon-card__facts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-3); padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600; }
.tag--multi { background: #f6ead2; border-color: #ead6ab; color: var(--ochre-deep); }
.tag--rose { background: var(--rose-soft); border-color: #eec9ba; color: var(--rose-deep); }

/* ---------- Included / excluded ---------- */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .incl-grid { grid-template-columns: 1fr; } }
.incl-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.incl-card h3 { display: flex; align-items: center; gap: 10px; }
.incl-card ul { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.incl-card li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: .93rem; color: var(--ink-2); padding-left: 28px; position: relative; }
.incl-card.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.incl-card.no li::before { content: "✕"; position: absolute; left: 0; color: var(--rose); font-weight: 800; }
.incl-card li .badge { flex: 0 0 auto; font-family: var(--mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-4); border: 1px solid var(--line); }
.legend-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: .84rem; color: var(--ink-4); }
.legend-row b { color: var(--ink); }

/* ---------- Planning deep-dive accordions ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 800px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.plan-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.plan-card .emoji { font-size: 1.35rem; }
.plan-card ul { list-style: none; display: grid; gap: 9px; margin-top: 14px; }
.plan-card li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--ink-2); border-bottom: 1px dashed var(--line); padding-bottom: 9px; }
.plan-card li:last-child { border-bottom: 0; }
.plan-card li b { color: var(--ink); flex: 0 0 auto; }
.plan-card p { font-size: .92rem; color: var(--ink-3); }

/* ---------- History timeline ---------- */
.history { position: relative; }
.htimeline { display: grid; gap: 4px; }
.h-item { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.h-item .year { font-family: var(--serif); font-size: 1.4rem; color: var(--ochre); font-weight: 700; }
.h-item .what h4 { color: #fff; margin-bottom: 4px; }
.h-item .what p { color: var(--paper-3); margin: 0; font-size: .95rem; }
@media (max-width: 620px) { .h-item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 30px; }
.reviews-score { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 28px; box-shadow: var(--shadow-sm); }
.reviews-score b { font-family: var(--serif); font-size: 3rem; color: var(--rose-deep); line-height: 1; display: block; }
.reviews-score .stars { color: var(--star); letter-spacing: 2px; }
.reviews-score span { font-size: .84rem; color: var(--ink-4); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review-card .stars { color: var(--star); letter-spacing: 1px; margin-bottom: 12px; }
.review-card blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.02rem; color: var(--ink-2); line-height: 1.55; font-style: italic; }
.review-card__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: 0 0 auto; }
.review-card__who b { color: var(--ink); display: block; font-size: .92rem; }
.review-card__who span { color: var(--ink-4); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin-inline: auto; }
.faq__bar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.faq__toggle-all { background: none; border: 1px solid var(--line-2); color: var(--ink-3); font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 9px 15px; border-radius: 999px; cursor: pointer; }
.faq__toggle-all:hover { border-color: var(--rose); color: var(--rose-deep); }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.faq-item__q:hover { background: var(--paper); }
.faq-item__icon { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); color: var(--rose-deep); font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--rose); color: #fff; }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item__a-inner { padding: 0 22px 22px; color: var(--ink-2); }
.faq-item__a-inner ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; position: relative; }
.final-cta .stars { color: var(--star); font-size: 1.15rem; letter-spacing: 3px; }
.final-cta h2 { color: #fff; margin-top: 14px; }
.final-cta p { color: #f0dccd; max-width: 58ch; margin: 0 auto 28px; font-size: 1.14rem; font-family: var(--serif); }
.final-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #17100a; color: var(--paper-3); padding: 62px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand__word { color: #fff; }
.site-footer img { height: 34px; margin-bottom: 14px; }
.site-footer p { font-size: .92rem; color: #c9b49b; }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--paper-3); font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-disclosure { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 24px; font-size: .82rem; color: #b7a082; max-width: 940px; }
.footer-bottom { margin-top: 16px; font-size: .8rem; color: #8f7a63; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,12,7,.64); backdrop-filter: blur(3px); }
.modal__dialog { position: relative; z-index: 1; margin: 6vh auto; width: min(560px, 92vw); background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-height: 88vh; overflow: auto; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 24px 26px 8px; }
.modal__head h3 { margin: 0; }
.modal__head p { font-size: .88rem; color: var(--ink-4); margin: 4px 0 0; }
.modal__close { border: 0; background: var(--paper-2); width: 38px; height: 38px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--ink-2); flex: 0 0 auto; }
.modal__close:hover { background: var(--paper-3); }
.modal__body { padding: 8px 26px 20px; }
.modal__foot { padding: 0 26px 24px; font-size: .8rem; color: var(--ink-4); text-align: center; font-family: var(--mono); }
body.no-scroll { overflow: hidden; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-l { margin-top: 40px; }
.tocenter { margin: 40px auto 0; text-align: center; max-width: 640px; }

/* ==========================================================================
   Decorative layer — subtle carved-stone texture & motifs (no external files)
   ========================================================================== */
/* faint topographic contour on dark + rose sections */
.section--ink, .section--rose {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.1'%3E%3Cpath d='M-10 42 Q37 14 75 42 T160 42'/%3E%3Cpath d='M-10 80 Q37 52 75 80 T160 80'/%3E%3Cpath d='M-10 118 Q37 90 75 118 T160 118'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}
.section--ink { background-color: var(--ink); }
.section--rose { background-blend-mode: overlay, normal; }
/* very faint warm texture on tinted paper sections */
.section--paper2 {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%238a2a13' stroke-opacity='0.035' stroke-width='1'%3E%3Cpath d='M-10 46 Q37 20 75 46 T160 46'/%3E%3Cpath d='M-10 90 Q37 64 75 90 T160 90'/%3E%3C/g%3E%3C/svg%3E");
}
/* decorative arch watermark used in hero + CTA */
.deco-arch { position: absolute; pointer-events: none; z-index: 1; opacity: .10; color: #fff; }
.deco-arch svg { width: 100%; height: 100%; display: block; }
.hero .deco-arch { right: -40px; bottom: -30px; width: 340px; height: 460px; opacity: .12; z-index: 1; }
.final-cta .deco-arch { left: 50%; top: 50%; transform: translate(-50%,-50%); width: 520px; height: 520px; opacity: .08; }
@media (max-width: 760px){ .hero .deco-arch { width: 220px; height: 300px; right: -60px; } }
/* engraved corner ticks on key cards */
.keyfacts, .price-note, .routemap { position: relative; }
.routemap::before, .routemap::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--ochre); opacity: .5; }
.routemap::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.routemap::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* clickable cards */
a.transport-card, a.mon-card, a.tour-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.transport-card:hover, a.mon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
a.transport-card { transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-link { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--rose-deep); display: inline-flex; align-items: center; gap: 6px; }
a.mon-card:hover .card-link, a.transport-card:hover .card-link { text-decoration: underline; }
.card-note { margin-top: auto; padding-top: 12px; font-size: .78rem; color: var(--ink-4); font-style: italic; }
.transport-card .card-link, .transport-card .card-note { padding-left: 0; }
.transport-card li::before { content: "·"; } /* keep bullets */

/* footer brand lockup */
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand__mark { width: 34px; height: 34px; }

/* CTA arch containment */
.final-cta { overflow: hidden; }
.final-cta .container { position: relative; z-index: 2; }
.hero .container { position: relative; z-index: 2; }

/* ==========================================================================
   Fixes & additions v2 (backgrounds, header CTA, rail indicator, mobile matrix)
   ========================================================================== */

/* --- FIX: rose gradient was overwritten by the contour image; restore it and
   layer a faint dot texture on top. Also fix the ink section. --- */
.section--paper2 { background-image: none; }   /* clear blanket waves; deco-* add variety */
.section--ink {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.1'%3E%3Cpath d='M-10 42 Q37 14 75 42 T160 42'/%3E%3Cpath d='M-10 80 Q37 52 75 80 T160 80'/%3E%3Cpath d='M-10 118 Q37 90 75 118 T160 118'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}
.section--rose {
  background-color: #6a1f0f;
  background-image:
    radial-gradient(rgba(255,255,255,.07) 1.3px, transparent 1.5px),
    linear-gradient(160deg, var(--rose-deep), #6a1f0f 70%);
  background-size: 26px 26px, auto;
  background-repeat: repeat, no-repeat;
  background-blend-mode: normal;
}

/* --- decorative pattern utilities (paper sections) --- */
.deco-waves  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%238a2a13' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M-10 46 Q37 20 75 46 T160 46'/%3E%3Cpath d='M-10 90 Q37 64 75 90 T160 90'/%3E%3Cpath d='M-10 134 Q37 108 75 134 T160 134'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: repeat; }
.deco-strata { background-image: repeating-linear-gradient(0deg, rgba(138,42,19,.05) 0 1px, transparent 1px 26px); }
.deco-dots   { background-image: radial-gradient(rgba(138,42,19,.06) 1.3px, transparent 1.5px); background-size: 24px 24px; }
.deco-hatch  { background-image: repeating-linear-gradient(45deg, rgba(138,42,19,.045) 0 1px, transparent 1px 16px); }

/* --- Header CTA button --- */
.nav__cta { margin-left: 10px; padding: 11px 20px; gap: .45em; box-shadow: 0 6px 16px rgba(178,58,30,.34); }
.nav__cta-ico { flex: 0 0 auto; opacity: .95; }
.nav__cta:hover { box-shadow: 0 10px 24px rgba(178,58,30,.44); }
@media (max-width: 940px) { .nav__cta { justify-content: center; } }

/* --- Rail scroll indicator --- */
.rail__ind { height: 3px; background: var(--paper-2); border-radius: 3px; position: relative; overflow: hidden; margin-top: 2px; margin-bottom: 4px; }
.rail__ind span { position: absolute; top: 0; left: 0; height: 100%; width: 30%; background: var(--rose); border-radius: 3px; transition: left .12s ease, width .12s ease; }

/* --- Hero framing: show the Treasury, not just the canyon top --- */
.hero__bg img { object-position: 50% 42%; }

/* --- Comparison matrix: responsive --- */
.matrix-cards { display: none; }
.swipe-hint { display: none; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--ink-4); text-align: center; margin: 10px 0 0; }
.mtx-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.mtx-card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mtx-card__title > span:first-child { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.06rem; line-height: 1.2; }
.mtx-card__title:hover { text-decoration: none; }
.mtx-card__price { flex: 0 0 auto; font-family: var(--serif); font-weight: 700; color: var(--rose-deep); }
.mtx-card__sub { font-size: .82rem; color: var(--ink-4); margin: 3px 0 14px; }
.mtx-card__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px 8px; }
.mtx-card__grid > div { display: flex; flex-direction: column; gap: 2px; }
.mtx-card__grid span { font-family: var(--mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.mtx-card__grid b { color: var(--ink); font-size: .92rem; }
.mtx-card__grid b.yes { color: var(--green); }
.mtx-card__grid b.no { color: var(--line-2); }
@media (max-width: 1040px) and (min-width: 721px) { .swipe-hint { display: block; } }
@media (max-width: 720px) {
  .matrix-wrap { display: none; }
  .matrix-cards { display: grid; gap: 12px; }
}

/* --- Rail scroll buttons (desktop) --- */
.rail__btn {
  position: absolute; top: 6px; z-index: 4; width: 30px; height: 36px;
  display: none; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  border-radius: 8px; cursor: pointer; font-size: 1.2rem; line-height: 1;
  box-shadow: var(--shadow-sm); transition: background .15s, color .15s, opacity .15s;
}
.rail__btn:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.rail__btn--prev { left: 22px; }
.rail__btn--next { right: 22px; }
.rail__btn[disabled] { opacity: .35; cursor: default; pointer-events: none; }
@media (min-width: 721px) {
  .rail__btn { display: inline-flex; }
  .rail__scroll { padding-inline: 40px; }          /* room for the buttons */
  .rail .container::before { left: 52px; }
  .rail .container::after  { right: 52px; }
}

/* ---------- Tour / interior pages ---------- */
.hero--tour { min-height: min(74vh, 600px); }
.hero--tour h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem); max-width: 20ch; }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #f0dccd; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: #f0dccd; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }
.crumbs em { font-style: normal; color: var(--ochre); }
ul.ticks { list-style: none; display: grid; gap: 9px; margin: 18px 0 4px; }
ul.ticks li { position: relative; padding-left: 26px; color: var(--ink-2); }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.section--rose ul.ticks li { color: #f3e6da; }
.section--rose ul.ticks li::before { color: var(--ochre); }

/* ---------- Simple page header (service / legal pages, no hero photo) ---------- */
.page-header { position: relative; padding: calc(var(--header-h) + 46px) 0 44px; background:
  linear-gradient(160deg, var(--rose-deep), #6a1f0f 78%); color: #f7e7df; overflow: hidden;
  border-bottom: 3px solid var(--ochre); }
.page-header .deco-arch { right: -30px; bottom: -40px; width: 300px; height: 400px; opacity: .10; }
.page-header .container { position: relative; z-index: 2; }
.page-header .crumbs { margin-bottom: 16px; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.1rem); margin: 0; }
.page-header .lede { color: #f0dccd; font-family: var(--serif); font-style: italic; font-size: 1.15rem; max-width: 60ch; margin: 12px 0 0; }

/* ---------- Document / legal prose ---------- */
.doc { max-width: 820px; margin-inline: auto; }
.doc h3 { font-family: var(--serif); font-size: 1.3rem; margin: 1.8em 0 .5em; color: var(--ink); }
.doc h3:first-child { margin-top: 0; }
.doc p { color: var(--ink-2); }
.doc .muted { color: var(--ink-4); font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.doc ul.bullet { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin: .6em 0 1.1em; }
.doc a { border-bottom: 1px solid var(--line-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.contact-form label { font-weight: 600; font-size: .9rem; color: var(--ink-2); display: grid; gap: 6px; }
.contact-form input, .contact-form textarea { font-family: var(--sans); font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--rose); border-color: var(--rose); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-hp { position: absolute; left: -9999px; }
.form-status { font-size: .92rem; padding: 10px 14px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #e9f4ec; color: var(--green); border: 1px solid #cbe6d3; }
.form-status.err { display: block; background: var(--rose-soft); color: var(--rose-deep); border: 1px solid #eec9ba; }
.contact-info { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.contact-info h3 { margin-top: 0; }
.contact-info a { font-weight: 700; }

/* ---------- Contact (email-only) ---------- */
.contact-card { max-width: 680px; margin-inline: auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.contact-card__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
.contact-card__email { display: inline-block; font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem); font-weight: 700; color: var(--rose-deep); border-bottom: 2px solid var(--line-2); padding-bottom: 4px; }
.contact-card__email:hover { color: var(--rose); border-color: var(--rose); text-decoration: none; }
.contact-card__note { color: var(--ink-4); font-size: .95rem; margin: 14px 0 0; }
.contact-card__notes { text-align: left; margin: 26px auto 22px; max-width: 56ch; }
.contact-card__notes p { color: var(--ink-3); font-size: .95rem; }
