/* ==========================================================================
   Greece Lux Traveler - design system
   Editorial luxury: Cormorant Garamond display, Inter text, bronze accent.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg:        #fbfaf8;
  --bg-sunk:   #f4f1ec;
  --surface:   #ffffff;
  --ink:       #15171b;
  --ink-soft:  #3c4047;
  --muted:     #6c717a;
  --line:      #e5e0d7;
  --line-soft: #efebe3;
  --accent:    #926a2c;
  --accent-ink:#7a571f;
  --accent-bg: #f6efe3;
  --deep:      #0f252f;
  --deep-ink:  #f3efe7;
  --pro:       #2c6b53;
  --con:       #96503c;

  --sky-1: #cfe0e8;  --sky-2: #eef1ec;  --sea-1: #1d4d63;
  --shadow-sm: 0 1px 2px rgba(20,22,26,.05), 0 6px 18px -12px rgba(20,22,26,.18);
  --shadow-md: 0 2px 4px rgba(20,22,26,.05), 0 24px 48px -28px rgba(20,22,26,.28);

  --display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --shell: 1200px;
  --narrow: 760px;
  --radius: 3px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #0e1013;
    --bg-sunk:   #14171b;
    --surface:   #16191e;
    --ink:       #edeae4;
    --ink-soft:  #c7c4bd;
    --muted:     #8d9299;
    --line:      #262a30;
    --line-soft: #1e2228;
    --accent:    #d2ac6d;
    --accent-ink:#e4c391;
    --accent-bg: #1d1a14;
    --deep:      #0a1a22;
    --deep-ink:  #f3efe7;
    --pro:       #6fbd9b;
    --con:       #d98f78;
    --sky-1: #15323f; --sky-2: #0e1013; 
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px -12px rgba(0,0,0,.6);
    --shadow-md: 0 2px 4px rgba(0,0,0,.4), 0 24px 48px -28px rgba(0,0,0,.75);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg:        #0e1013;
  --bg-sunk:   #14171b;
  --surface:   #16191e;
  --ink:       #edeae4;
  --ink-soft:  #c7c4bd;
  --muted:     #8d9299;
  --line:      #262a30;
  --line-soft: #1e2228;
  --accent:    #d2ac6d;
  --accent-ink:#e4c391;
  --accent-bg: #1d1a14;
  --deep:      #0a1a22;
  --deep-ink:  #f3efe7;
  --pro:       #6fbd9b;
  --con:       #d98f78;
  --sky-1: #15323f; --sky-2: #0e1013;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px -12px rgba(0,0,0,.6);
  --shadow-md: 0 2px 4px rgba(0,0,0,.4), 0 24px 48px -28px rgba(0,0,0,.75);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.14; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1.15em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--bg); padding: .7rem 1.1rem;
}
.skip:focus { left: .6rem; top: .6rem; }

/* ---------- layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }
.shell.narrow { max-width: var(--narrow); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.pad { padding-block: clamp(3rem, 8vw, 6rem); }
.mt { margin-top: 2.2rem; }
.muted { color: var(--muted); }

.grid { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.h1 { font-size: clamp(2.4rem, 6vw, 3.9rem); }
.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6; color: var(--ink-soft); max-width: 62ch;
}

.eyebrow, .guide__cat, .section__title--sm {
  font-family: var(--text); font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 70px;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand__mark { color: var(--accent); display: grid; place-items: center; }
.brand__name {
  display: block; font-family: var(--display); font-size: 1.32rem;
  font-weight: 600; letter-spacing: .005em; line-height: 1.1;
}
.brand__tag {
  display: block; font-size: .64rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-top: .17rem;
}
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  font-size: .8rem; letter-spacing: .07em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-soft); padding-block: .4rem;
  border-bottom: 1px solid transparent; transition: color .18s, border-color .18s;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.masthead__tools { display: flex; gap: .3rem; align-items: center; }
.icon-btn {
  background: none; border: 1px solid transparent; color: var(--ink-soft);
  width: 36px; height: 36px; display: grid; place-items: center;
  cursor: pointer; border-radius: var(--radius); transition: background .18s, color .18s;
}
.icon-btn:hover { background: var(--bg-sunk); color: var(--accent); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun, html[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-moon { display: block; }
}
.nav-toggle { display: none; }
.nav-drawer { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.nav-drawer.open { display: block; }
.nav-drawer ul { list-style: none; margin: 0; padding: .5rem var(--pad) 1.2rem; }
.nav-drawer a {
  display: block; padding: .8rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .95rem; letter-spacing: .04em;
}

@media (max-width: 920px) {
  .nav { display: none; }
  .nav-toggle { display: grid; }
  .brand__tag { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.4rem; border-radius: var(--radius);
  font-size: .78rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s, background .18s, color .18s, border-color .18s;
  line-height: 1.2;
}
.btn__arrow { transition: transform .22s; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); }
:root[data-theme="dark"] .btn--primary { color: #16130c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { color: #16130c; } }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--deep); color: var(--deep-ink); }
.btn--dark:hover { filter: brightness(1.22); }

/* ---------- art scenes (stand-ins until real photography lands) ---------- */
.art {
  background-color: var(--bg-sunk);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  position: relative;
}
.art--santorini    { background-image: url(/assets/img/art-santorini.svg); }
.art--santorini-pool { background-image: url(/assets/img/art-santorini-pool.svg); }
.art--mykonos      { background-image: url(/assets/img/art-mykonos.svg); }
.art--athens-riviera { background-image: url(/assets/img/art-athens.svg); }
.art--athens       { background-image: url(/assets/img/art-athens.svg); }
.art--crete        { background-image: url(/assets/img/art-crete.svg); }
.art--paros        { background-image: url(/assets/img/art-paros.svg); }
.art--corfu        { background-image: url(/assets/img/art-corfu.svg); }
.art--yacht        { background-image: url(/assets/img/art-yacht.svg); }
.art--property     { background-image: url(/assets/img/art-property.svg); }

/* ---------- home hero ---------- */
.hero-home { position: relative; isolation: isolate; color: #f6efe4; }
.hero-home__art {
  position: absolute; inset: 0; z-index: -2;
  background-position: center 58%;
  transform: scaleX(-1);   /* village to the right, clear ground for the headline */
}
.hero-home::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg, rgba(8,24,33,.80) 0%, rgba(8,24,33,.52) 48%, rgba(8,24,33,.20) 100%),
    linear-gradient(180deg, rgba(8,24,33,.34) 0%, rgba(8,24,33,0) 40%, rgba(8,24,33,.50) 100%);
}
.hero-home__inner { padding-block: clamp(4rem, 13vw, 9rem); max-width: 980px; }
.hero-home__eyebrow {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.hero-home__title {
  font-size: clamp(2.7rem, 8.2vw, 5.4rem); line-height: 1.04;
  font-weight: 400; letter-spacing: -.02em; margin-bottom: 1.4rem;
}
.hero-home__title em { font-style: italic; color: var(--accent); }
.hero-home__lede {
  font-size: clamp(1.08rem, 2.1vw, 1.28rem); color: var(--ink-soft);
  max-width: 56ch; line-height: 1.62;
}
.hero-home__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* hero sits on dark artwork in both themes */
.hero-home__title { color: #f8f3ea; }
.hero-home__title em { color: #e6c391; }
.hero-home__eyebrow { color: #e6c391; }
.hero-home__lede { color: rgba(248,243,234,.86); }
.hero-home .btn--ghost { border-color: rgba(248,243,234,.42); color: #f8f3ea; }
.hero-home .btn--ghost:hover { border-color: #e6c391; color: #e6c391; background: rgba(0,0,0,.18); }
.hero-home .btn--primary { background: #c69a56; color: #15130d; }
.hero-home .btn--primary:hover { background: #e6c391; }

/* ---------- section heads ---------- */
.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem; padding-bottom: 1.3rem; margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section__more {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--accent); white-space: nowrap;
}
.section__more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.card__link { display: block; height: 100%; }
.card__media { aspect-ratio: 16 / 10; width: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.35rem 1.4rem 1.6rem; }
.card__cat {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-size: .66rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem;
}
.card__money {
  background: var(--accent-bg); color: var(--accent-ink);
  padding: .18rem .5rem; border-radius: 2px; letter-spacing: .09em;
}
.card__title { font-size: 1.42rem; line-height: 1.2; margin-bottom: .55rem; }
.card__dek { font-size: .94rem; color: var(--ink-soft); margin-bottom: .9rem; }
.card__meta { font-size: .74rem; color: var(--muted); letter-spacing: .04em; margin: 0; }

.card--featured { display: block; }
.card--featured .card__link { display: grid; grid-template-columns: 1.15fr 1fr; }
.card--featured .card__media { aspect-ratio: auto; min-height: 340px; }
.card--featured .card__body { padding: clamp(1.6rem, 3.5vw, 3rem); align-self: center; }
.card--featured .card__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.card--featured .card__dek { font-size: 1.04rem; }
@media (max-width: 820px) {
  .card--featured, .card--featured .card__link { grid-template-columns: 1fr; }
  .card--featured .card__media { min-height: 220px; aspect-ratio: 16/9; }
}

/* ---------- destinations ---------- */
.dest-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.dest {
  /* minmax(0,1fr): without it the implicit column is sized to the body text's
     max-content and the photo overflows the card, then gets clipped. */
  /* auto 1fr, not auto auto: with two auto tracks the grid splits leftover
     height between them, so a card with a shorter blurb pushes its photo down
     and the titles stop lining up across the row. */
  display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden; transition: border-color .22s, transform .22s;
}
.dest:hover { border-color: var(--accent); transform: translateY(-2px); }
.dest__art { display: block; }
.dest__body { padding: 1.1rem 1.2rem 1.3rem; }
.dest__name { display: block; font-family: var(--display); font-size: 1.3rem; margin-bottom: .3rem; }
.dest__blurb { display: block; font-size: .86rem; color: var(--muted); line-height: 1.5; }

.dest-block {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center; padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.dest-block__art { height: 210px; border-radius: var(--radius); }
.dest-block h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: .5rem; }
.dest-block p { color: var(--ink-soft); }
.dest-block__links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.dest-block__links a {
  font-size: .95rem; color: var(--accent); border-bottom: 1px solid transparent;
}
.dest-block__links a:hover { border-bottom-color: var(--accent); }
@media (max-width: 760px) { .dest-block { grid-template-columns: 1fr; } }

/* ---------- trust band ---------- */
.band { background: var(--deep); color: var(--deep-ink); }
.band__inner {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.2rem, 7vw, 5.5rem); align-items: start;
}
.band__eyebrow {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.band__title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1.3rem; }
.band__text { color: color-mix(in srgb, var(--deep-ink) 78%, transparent); max-width: 60ch; }
.band__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.band .btn--ghost { border-color: rgba(255,255,255,.28); color: var(--deep-ink); }
.band .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.band .btn--dark { background: var(--accent); color: #16130c; }
.band__quote {
  margin: 0; padding: clamp(1.5rem, 3vw, 2.2rem);
  border-left: 2px solid var(--accent);
}
.band__quote blockquote {
  margin: 0 0 1rem; font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.35; font-style: italic;
}
.band__quote figcaption { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 860px) { .band__inner { grid-template-columns: 1fr; } }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 5rem) 0; }
.page-head__meta { font-size: .78rem; color: var(--muted); margin-top: 1rem; }

/* ---------- guide header ---------- */
.guide__head { padding-block: clamp(2.2rem, 5vw, 3.6rem) clamp(1.6rem, 3vw, 2.4rem); }
.crumbs {
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.8rem;
}
.crumbs a:hover { color: var(--accent); }
.guide__cat { margin-bottom: .9rem; }
.guide__title {
  font-size: clamp(2.2rem, 5.6vw, 3.7rem); line-height: 1.07;
  font-weight: 400; letter-spacing: -.018em; margin-bottom: 1.1rem;
}
.guide__dek {
  font-size: clamp(1.08rem, 2.2vw, 1.3rem); line-height: 1.58;
  color: var(--ink-soft); max-width: 58ch;
}
.byline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem;
  padding-top: 1.3rem; border-top: 1px solid var(--line);
}
.byline__who { display: flex; align-items: center; gap: .8rem; }
.byline__avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-bg); color: var(--accent-ink);
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; flex: none;
}
.byline__name { display: block; font-weight: 600; font-size: .92rem; }
.byline__role { display: block; font-size: .76rem; color: var(--muted); }
.byline__meta { display: flex; gap: .55rem; font-size: .78rem; color: var(--muted); }

.hero__media {
  width: 100%; max-width: var(--shell); margin: 0 auto clamp(2rem, 4vw, 3rem);
  aspect-ratio: 21 / 9; min-height: 240px; border-radius: var(--radius);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 700px) { .hero__media { aspect-ratio: 16/10; } }

/* ---------- guide layout ---------- */
.guide__layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 270px;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.guide__body { max-width: 72ch; min-width: 0; }
@media (max-width: 1040px) {
  /* minmax(0,1fr), not 1fr: a plain 1fr track has min-width:auto and lets a
     wide table inside push the whole column past the viewport. */
  .guide__layout { grid-template-columns: minmax(0, 1fr); }
  .guide__rail { display: none; }
}

.rail__sticky { position: sticky; top: 94px; display: grid; gap: 1rem; }
.rail__card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; background: var(--surface); }
.rail__head { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.rail__name { font-family: var(--display); font-size: 1.15rem; margin-bottom: .4rem; }
.rail__bio { font-size: .82rem; color: var(--muted); line-height: 1.55; margin-bottom: .8rem; }
.rail__link { font-size: .78rem; font-weight: 600; color: var(--accent); }
.share { display: flex; gap: .4rem; }
.share a, .share button {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .72rem; font-weight: 600; background: none; cursor: pointer;
  color: var(--ink-soft); transition: border-color .18s, color .18s;
}
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- prose ---------- */
.prose { font-size: 1.075rem; line-height: 1.75; color: var(--ink-soft); }
.prose > p { margin: 0 0 1.35em; }
.prose > p > strong { color: var(--ink); }
.prose h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.25rem); color: var(--ink);
  margin: 2.6em 0 .7em; padding-top: .55em; border-top: 1px solid var(--line-soft);
  position: relative;
}
.prose h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--ink); margin: 2em 0 .55em; }
.prose h4 { font-size: 1.1rem; color: var(--ink); margin: 1.7em 0 .4em; font-family: var(--text); font-weight: 600; }
.prose a:not(.btn):not(.aff-link):not(.grex-inline) {
  color: var(--accent-ink); border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.prose a:not(.btn):not(.aff-link):not(.grex-inline):hover { border-bottom-color: var(--accent); }
.anchor {
  position: absolute; right: 100%; padding-right: .4rem; opacity: 0;
  color: var(--accent); font-family: var(--text); font-weight: 400;
  text-decoration: none; transition: opacity .18s;
}
.prose h2:hover .anchor { opacity: .6; }
@media (max-width: 1100px) { .anchor { display: none; } }

.prose-list { margin: 0 0 1.5em; padding-left: 1.1rem; }
.prose-list li { margin-bottom: .55em; padding-left: .3rem; }
.prose-list li::marker { color: var(--accent); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }

.pull {
  margin: 2.2rem 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--accent);
  font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.4; font-style: italic; color: var(--ink);
}
.disclosure {
  font-size: .78rem; color: var(--muted); line-height: 1.55;
  padding: .75rem .95rem; background: var(--bg-sunk);
  border-left: 2px solid var(--line); border-radius: 2px; margin-bottom: 2.2rem;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em; background: var(--bg-sunk); padding: .12em .4em; border-radius: 2px;
}

/* ---------- affiliate links ---------- */
.aff-link {
  color: var(--accent-ink); font-weight: 500;
  border-bottom: 1px solid var(--accent); white-space: nowrap;
}
.aff-link:hover { background: var(--accent-bg); }
.aff-link__ext { font-size: .78em; margin-left: .18em; opacity: .75; }
.grex-inline { color: var(--accent-ink); font-weight: 500; border-bottom: 1px dotted var(--accent); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table, .cmp__table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.data-table th, .cmp__table th, .data-table td, .cmp__table td {
  padding: .8rem .95rem; text-align: left; border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.data-table thead th, .cmp__table thead th {
  background: var(--bg-sunk); font-family: var(--text); font-size: .68rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.data-table tbody tr:last-child td, .cmp__table tbody tr:last-child td { border-bottom: 0; }
.cmp__table tbody th {
  font-family: var(--text); font-size: .82rem; font-weight: 600; color: var(--ink);
  width: 30%; background: var(--bg-sunk);
}
.cmp__opt { font-family: var(--display); font-size: 1.1rem; color: var(--ink); text-transform: none; letter-spacing: 0; }
.cmp__verdict {
  margin: -1rem 0 2rem; padding: 1rem 1.2rem; background: var(--accent-bg);
  border-left: 2px solid var(--accent); font-size: .98rem; color: var(--ink);
  border-radius: 0 2px 2px 0;
}
.cmp__verdict span {
  display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); font-weight: 600; margin-bottom: .3rem;
}

/* ---------- hotel list (the money component) ---------- */
.comp { margin: 2.6rem 0; }
.comp__title { font-size: clamp(1.65rem, 3.4vw, 2.25rem); color: var(--ink); margin: 2.4em 0 1.2em; }
.hotel-list { display: grid; gap: 1rem; }
.hotel {
  display: grid; grid-template-columns: 46px minmax(0,1fr) 230px;
  gap: 1.2rem; align-items: start;
  padding: 1.4rem 1.5rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .22s, box-shadow .22s;
}
.hotel:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow-sm); }
.hotel__rank {
  font-family: var(--display); font-size: 1.7rem; line-height: 1;
  color: var(--accent); opacity: .5; padding-top: .1rem;
}
.hotel__name { font-size: 1.35rem; color: var(--ink); margin-bottom: .22rem; }
.hotel__area {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .7rem;
}
.hotel__why { font-size: .96rem; color: var(--ink-soft); margin-bottom: .8rem; line-height: 1.6; }
.hotel__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  font-size: .66rem; letter-spacing: .07em; text-transform: uppercase;
  padding: .2rem .5rem; border: 1px solid var(--line); border-radius: 2px;
  color: var(--muted);
}
.hotel__side {
  border-left: 1px solid var(--line-soft); padding-left: 1.2rem;
  display: grid; gap: .55rem; justify-items: start;
}
.hotel__price { margin: 0; line-height: 1.25; }
.hotel__price span {
  display: block; font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .1rem;
}
.hotel__price strong { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--ink); }
.hotel__best { font-size: .8rem; color: var(--muted); margin: 0 0 .3rem; line-height: 1.45; }
.hotel .btn { width: 100%; justify-content: center; padding-inline: .9rem; font-size: .7rem; }
@media (max-width: 760px) {
  .hotel { grid-template-columns: 34px minmax(0,1fr); }
  .hotel__side { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: .9rem; border-top: 1px solid var(--line-soft); justify-items: stretch; }
  .hotel__price { display: flex; align-items: baseline; gap: .5rem; }
  .hotel__price span { margin: 0; }
}

/* ---------- CTA block ---------- */
.cta {
  display: grid; grid-template-columns: 1fr auto; gap: 1.6rem; align-items: center;
  margin: 2.4rem 0; padding: 1.6rem 1.7rem;
  background: var(--accent-bg); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: var(--radius);
}
.cta__eyebrow { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; margin-bottom: .45rem; }
.cta__title { font-size: 1.45rem; color: var(--ink); margin-bottom: .45rem; }
.cta__text { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.cta__note { font-size: .78rem; color: var(--muted); margin: .6rem 0 0; }
.cta__actions { display: grid; gap: .5rem; min-width: 210px; }
.cta__actions .btn { justify-content: center; }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; } .cta__actions { min-width: 0; } }

/* ---------- insider / warning ---------- */
.insider {
  margin: 2.2rem 0; padding: 1.3rem 1.5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0;
}
.insider--warn { border-left-color: var(--con); }
.insider__label {
  font-size: .64rem; letter-spacing: .17em; text-transform: uppercase;
  font-weight: 600; color: var(--accent-ink); margin-bottom: .55rem;
}
.insider--warn .insider__label { color: var(--con); }
.insider__body > p:last-child { margin-bottom: 0; }
.insider__body { font-size: .98rem; }

/* ---------- pros / cons ---------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.2rem 0; }
.pc__col { padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pc__head { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: .7rem; }
.pc__col--pro .pc__head { color: var(--pro); }
.pc__col--con .pc__head { color: var(--con); }
.pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pc li { position: relative; padding-left: 1.3rem; font-size: .94rem; line-height: 1.55; }
.pc li::before { position: absolute; left: 0; top: -.05em; font-size: 1rem; }
.pc__col--pro li::before { content: "+"; color: var(--pro); }
.pc__col--con li::before { content: "\2212"; color: var(--con); }
@media (max-width: 680px) { .pc { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps-wrap { margin: 2.4rem 0; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.step { counter-increment: s; position: relative; padding-left: 3.2rem; }
.step::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: -.1rem;
  font-family: var(--display); font-size: 1.5rem; color: var(--accent); opacity: .65;
}
.step::after {
  content: ""; position: absolute; left: 1.05rem; top: 2.1rem; bottom: -1.6rem;
  width: 1px; background: var(--line);
}
.step:last-child::after { display: none; }
.step__title { font-family: var(--display); font-size: 1.28rem; color: var(--ink); margin-bottom: .35rem; }
.step__body { font-size: .98rem; }
.step__body > p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { margin: 2.8rem 0; }
.faq h2 { margin-bottom: 1.2em; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; padding: 1rem 2rem 1rem 0; position: relative;
  font-family: var(--display); font-size: 1.2rem; color: var(--ink); list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-family: var(--text); font-size: 1.3rem; line-height: 1;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 0 1.2rem; font-size: .98rem; }
.faq__a > p:last-child { margin-bottom: 0; }

/* ---------- takeaways ---------- */
.takeaways {
  margin: 0 0 2.4rem; padding: 1.4rem 1.6rem;
  background: var(--bg-sunk); border-radius: var(--radius);
  border: 1px solid var(--line);
}
.takeaways__label {
  font-size: .64rem; letter-spacing: .17em; text-transform: uppercase;
  font-weight: 600; color: var(--accent-ink); margin-bottom: .8rem;
}
.takeaways ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.takeaways li { position: relative; padding-left: 1.4rem; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.takeaways li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border: 1px solid var(--accent); transform: rotate(45deg);
}

/* ---------- GREX cross-promo ---------- */
.grex {
  margin: 2.6rem 0; padding: 1.7rem 1.8rem;
  background: var(--deep); color: var(--deep-ink); border-radius: var(--radius);
}
.grex__eyebrow { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.grex__title { font-size: 1.5rem; margin-bottom: .55rem; color: var(--deep-ink); }
.grex__text { font-size: .98rem; color: rgba(243,239,231,.78); margin-bottom: 1.2rem; }
.grex .btn--dark { background: var(--accent); color: #16130c; }
.grex__disc { font-size: .72rem; color: rgba(243,239,231,.5); margin: .9rem 0 0; }

/* ---------- ads ---------- */
.ad { margin: 2.6rem 0; min-height: 90px; }
.ad--placeholder {
  display: grid; place-items: center; min-height: 110px;
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--bg-sunk);
}
.ad--placeholder span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- TOC ---------- */
.toc {
  margin: 0 0 2.4rem; padding: 1.3rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.toc__label { font-size: .64rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); margin-bottom: .7rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .42rem; }
.toc li { font-size: .95rem; }
.toc li::marker { color: var(--accent); font-size: .8rem; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--accent); }

/* ---------- price bar ---------- */
.pb { margin: 2.4rem 0; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pb__title { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); margin-bottom: 1.1rem; }
.pb__row { display: grid; grid-template-columns: 150px 1fr 90px; gap: .9rem; align-items: center; margin-bottom: .7rem; }
.pb__label { font-size: .88rem; margin: 0; color: var(--ink); }
.pb__track { height: 7px; background: var(--bg-sunk); border-radius: 4px; overflow: hidden; }
.pb__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-ink)); }
.pb__val { font-family: var(--display); font-size: 1.05rem; text-align: right; margin: 0; color: var(--ink); }
.pb__cap { font-size: .74rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 620px) { .pb__row { grid-template-columns: 1fr 70px; } .pb__track { grid-column: 1 / -1; } }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 2.4rem 0; }
.gal__item { margin: 0; }
.gal__item img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.gal__item figcaption { font-size: .78rem; color: var(--muted); margin-top: .5rem; line-height: 1.45; }

/* ---------- related ---------- */
.related { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.related__title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1.8rem; }

/* ---------- static pages prose ---------- */
.prose--static { padding-block: 2.2rem clamp(3rem, 6vw, 5rem); }
.prose--static h2 { margin-top: 2em; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-sunk); margin-top: auto; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem);
  padding-block: clamp(2.6rem, 5vw, 4rem);
}
.footer__name { font-family: var(--display); font-size: 1.4rem; margin-bottom: .6rem; }
.footer__desc { font-size: .9rem; color: var(--muted); max-width: 46ch; }
.footer__disc { font-size: .78rem; color: var(--muted); max-width: 52ch; padding-top: .8rem; border-top: 1px solid var(--line); }
.footer__head { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.footer__head--sp { margin-top: 1.6rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__col a { font-size: .9rem; color: var(--ink-soft); }
.footer__col a:hover { color: var(--accent); }
.footer__base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.2rem; border-top: 1px solid var(--line);
  font-size: .76rem; color: var(--muted);
}
.footer__base p { margin: 0; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }

/* ---------- print ---------- */
@media print {
  .masthead, .footer, .guide__rail, .ad, .cta, .related, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .guide__layout { grid-template-columns: 1fr; }
  a::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}

/* ---------- reading progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}

/* ---------- component headings opt out of prose rhythm ----------
   .prose h3 carries a 2em top margin for editorial spacing; headings that
   live inside a card or box must not inherit it. */
.prose .hotel__name,
.prose .cta__title,
.prose .grex__title,
.prose .comp__title + * h3,
.prose .pc__head,
.prose .step__title { margin-top: 0; }
.prose .comp { margin-top: 0; }

/* ---------- category sections on the guides index ---------- */
.cat { margin-bottom: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 100px; }
.cat .section__more { color: var(--muted); font-weight: 500; }

/* ---------- hero photography ---------- */
.hero__media { overflow: hidden; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; }
figure.hero__media { position: relative; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.hero__credit {
  position: absolute; right: .7rem; bottom: .6rem;
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.72); background: rgba(8,24,33,.42);
  padding: .25rem .5rem; border-radius: 2px; backdrop-filter: blur(4px);
}

/* ---------- homepage hero photograph ---------- */
.hero-home__art--photo {
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  transform: none;              /* the photo is already composed for left-aligned type */
}

/* ---------- destination photography ----------
   The art box tracks the photo's own 16:10-ish shape instead of a fixed height,
   so almost nothing is cropped, and the focal point sits below centre because
   the subjects - domes, windmills, boats, fortresses - all sit low in frame. */
.dest__art--photo, .dest-block__art--photo {
  display: block;
  background-size: cover;
  background-position: center 62%;
  background-repeat: no-repeat;
}
.dest__art--photo { aspect-ratio: 16 / 10; width: 100%; }
.dest-block__art--photo { aspect-ratio: 16 / 10; height: auto; border-radius: var(--radius); }

/* ---------- list page wrappers ----------
   These pages supply their own inner layout, so the shared list template must
   not wrap them in the card grid. */
.cat-list, .dest-blocks { display: block; }
.dest-blocks .dest-block:last-child { border-bottom: 0; }
