:root {
  --ink: #132c30;
  --ink-soft: #42585b;
  --deep: #082c35;
  --deep-2: #0e3b45;
  --sea: #4f8590;
  --sea-pale: #b9ced0;
  --stone: #f4f0e7;
  --paper: #fbf9f4;
  --sand: #e7ddcb;
  --olive: #687363;
  --bronze: #a37b50;
  --line: rgba(19, 44, 48, .17);
  --line-light: rgba(255, 255, 255, .2);
  --white: #fffdf9;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --shell: min(1380px, calc(100vw - 80px));
  --header-h: 86px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --shadow: 0 30px 80px rgba(5, 31, 36, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button { color: inherit; }
::selection { background: var(--deep); color: var(--white); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 18px; top: 18px; z-index: 9999;
  padding: 12px 18px; background: var(--white); color: var(--deep);
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 144px 0; }
.section-dark { background: var(--deep); color: var(--white); }
.section-sand { background: var(--sand); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  color: var(--bronze);
  font-size: 10px; font-weight: 600; line-height: 1.4;
  letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: #d6c5a5; }
.display-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.045em;
}
.lead { font-size: 18px; line-height: 1.85; }

.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px;
  min-width: 205px; padding: 17px 21px 17px 24px;
  border: 1px solid transparent;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.button i { font-size: 17px; font-style: normal; font-weight: 300; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--deep); }
.button-light:hover { background: transparent; border-color: rgba(255,255,255,.65); color: var(--white); }
.button-dark { background: var(--deep); color: var(--white); }
.button-dark:hover { background: transparent; border-color: var(--deep); color: var(--deep); }
.button-outline { border-color: var(--line); color: var(--ink); }
.button-outline:hover { border-color: var(--deep); background: var(--deep); color: var(--white); }
.text-link {
  display: inline-flex; align-items: center; gap: 30px; padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.text-link i { font-style: normal; font-size: 18px; font-weight: 300; transition: transform .3s var(--ease); }
.text-link:hover i { transform: translateX(6px); }
.text-link-light { color: var(--white); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h); padding: 0 38px;
  display: grid; grid-template-columns: 250px 1fr auto; align-items: center;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .4s var(--ease), color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled,
.detail-page .site-header {
  height: 72px; color: var(--ink); background: rgba(251,249,244,.94);
  border-bottom-color: var(--line); box-shadow: 0 10px 35px rgba(8,44,53,.06);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 15px; width: max-content; }
.brand-mark { position: relative; display: inline-flex; flex-direction: column; gap: 4px; width: 27px; }
.brand-mark i { display: block; height: 1px; background: currentColor; }
.brand-mark i:nth-child(1) { width: 27px; }
.brand-mark i:nth-child(2) { width: 20px; margin-left: 7px; }
.brand-mark i:nth-child(3) { width: 13px; margin-left: 14px; }
.brand-name, .footer-brand span:last-child {
  font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -.02em;
}
.brand-name em, .footer-brand em { font-weight: 300; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 38px); }
.desktop-nav a {
  position: relative; padding: 10px 0;
  font-size: 10px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px;
  background: currentColor; transition: right .3s var(--ease);
}
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-control select {
  appearance: none; width: 54px; padding: 7px 16px 7px 4px;
  border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  color: inherit; background: transparent;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 7px) 50%, calc(100% - 3px) 50%;
  background-size: 4px 4px, 4px 4px; background-repeat: no-repeat;
  font-size: 10px; font-weight: 600; letter-spacing: .1em; cursor: pointer;
}
.language-control select option { color: var(--ink); }
.header-cta {
  padding: 12px 16px; border: 1px solid currentColor;
  font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.header-cta:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.is-scrolled .header-cta:hover, .detail-page .header-cta:hover { background: var(--deep); color: var(--white); border-color: var(--deep); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .3s; }
.menu-toggle.is-active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 72px 0 0; padding: 35px; background: var(--paper); color: var(--ink); overflow-y: auto; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 34px; line-height: 1; }
.mobile-language { display: flex; justify-content: space-between; margin-top: 35px; align-items: center; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.mobile-language select { padding: 10px; background: transparent; border: 1px solid var(--line); }

/* Hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--white); background: var(--deep); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); animation: hero-in 1.8s var(--ease) both; }
.hero-wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,29,34,.72) 0%, rgba(4,29,34,.32) 48%, rgba(4,29,34,.08) 75%),
    linear-gradient(0deg, rgba(4,29,34,.45) 0%, transparent 42%);
}
.hero-content { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 100px; }
.hero h1 {
  max-width: 970px; margin: 0;
  font-family: var(--serif); font-size: clamp(76px, 10.6vw, 170px); font-weight: 300;
  line-height: .78; letter-spacing: -.065em; text-wrap: balance;
}
.hero-subtitle { max-width: 650px; margin: 42px 0 0; font-size: 17px; line-height: 1.8; font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 38px; margin-top: 44px; }
.hero-coordinates { position: absolute; z-index: 2; right: 38px; top: 132px; text-align: right; font-size: 9px; line-height: 1.8; letter-spacing: .17em; opacity: .75; }
.hero-scroll { position: absolute; z-index: 2; left: 40px; bottom: 38px; display: flex; align-items: center; gap: 14px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll i { position: relative; width: 45px; height: 1px; background: rgba(255,255,255,.6); }
.hero-scroll i::after { content: ""; position: absolute; right: 0; bottom: 0; width: 6px; height: 1px; background: inherit; transform: rotate(35deg); transform-origin: right; }
.photo-credit { position: absolute; z-index: 2; right: 38px; bottom: 38px; font-size: 8px; letter-spacing: .12em; opacity: .65; text-transform: uppercase; }
@keyframes hero-in { from { opacity: .4; transform: scale(1.08); } to { opacity: 1; transform: scale(1.015); } }

/* Shared headings */
.section-heading { display: grid; grid-template-columns: minmax(180px, .65fr) 2fr; gap: 70px; align-items: start; margin-bottom: 78px; }
.section-heading > p.eyebrow { margin-top: 12px; }
.section-heading > div { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .65fr); gap: 70px; align-items: end; }
.section-heading > div > p { margin: 0 0 7px; max-width: 470px; color: var(--ink-soft); line-height: 1.8; }
.section-heading-light > div > p { color: rgba(255,255,255,.66); }

/* Introduction */
.intro-section { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12vw; align-items: end; }
.intro-copy > p { margin: 0 0 52px; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats div { padding: 24px 16px 0 0; border-right: 1px solid var(--line); }
.stats div:last-child { padding-left: 16px; border: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: 52px; font-weight: 300; line-height: 1; }
.stats span { display: block; margin-top: 8px; font-size: 9px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }

/* Interactive coast map */
.map-section { position: relative; overflow: hidden; }
.map-section::before {
  content: "ADRIATIC"; position: absolute; left: -1vw; top: 45%;
  color: rgba(255,255,255,.018); font-family: var(--serif); font-size: 22vw; line-height: 1;
  letter-spacing: -.06em; pointer-events: none; transform: rotate(-10deg);
}
.map-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-chip {
  padding: 11px 18px; border: 1px solid var(--line-light); border-radius: 999px;
  color: rgba(255,255,255,.74); background: transparent;
  font-size: 9px; font-weight: 500; letter-spacing: .11em; text-transform: uppercase;
  cursor: pointer; transition: .3s var(--ease);
}
.filter-chip:hover, .filter-chip.is-active { color: var(--deep); background: var(--white); border-color: var(--white); }
.coast-map-shell {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .62fr);
  min-height: 720px; border: 1px solid var(--line-light); background: #0b333d;
  box-shadow: 0 45px 90px rgba(0,0,0,.18); overflow: hidden;
}
.coast-map { position: relative; min-height: 720px; overflow: hidden; background: radial-gradient(circle at 52% 35%, #154954 0%, #0b333d 65%); }
.coast-map::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, #000, transparent 95%); }
.coast-map svg { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 720px; display: block; }
.map-land { fill: #d8d0bd; stroke: rgba(255,255,255,.18); stroke-width: 1.4; }
.map-italy { fill: #173f47; stroke: rgba(255,255,255,.08); stroke-width: 1; }
.map-island { fill: #c9c0ac; opacity: .82; }
.map-route { fill: none; stroke: rgba(230,212,176,.6); stroke-width: 1.4; stroke-dasharray: 3 7; }
.map-route-active { fill: none; stroke: #f0d6a4; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(240,214,164,.35)); }
.map-marker { cursor: pointer; outline: none; transition: opacity .28s; }
.map-marker circle.outer { fill: #0b333d; stroke: #f5e6c9; stroke-width: 1.1; transition: transform .25s var(--ease), fill .25s; transform-origin: center; transform-box: fill-box; }
.map-marker circle.inner { fill: #f5e6c9; pointer-events: none; }
.map-marker text { fill: rgba(255,255,255,.82); font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.map-marker:hover circle.outer, .map-marker:focus circle.outer, .map-marker.is-active circle.outer { fill: #f5e6c9; transform: scale(1.35); }
.map-marker:hover circle.inner, .map-marker:focus circle.inner, .map-marker.is-active circle.inner { fill: var(--deep); }
.map-marker.is-muted { opacity: .13; pointer-events: none; }
.map-sea-label { fill: rgba(255,255,255,.1); font-family: var(--serif); font-size: 33px; font-style: italic; letter-spacing: .12em; }
.map-compass line, .map-compass circle { stroke: rgba(255,255,255,.35); fill: none; }
.map-compass text { fill: rgba(255,255,255,.55); font-family: var(--sans); font-size: 8px; letter-spacing: .2em; }
.map-panel { position: relative; min-width: 0; background: var(--stone); color: var(--ink); overflow: hidden; }
.map-panel-empty { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 52px; background: linear-gradient(145deg, rgba(255,255,255,.7), transparent); }
.map-panel-number { display: block; margin-bottom: auto; color: var(--bronze); font-size: 10px; letter-spacing: .17em; }
.map-panel-empty h3 { margin: 0 0 15px; font-family: var(--serif); font-size: 46px; font-weight: 300; line-height: .98; }
.map-panel-empty p { margin: 0; color: var(--ink-soft); font-size: 11px; letter-spacing: .06em; }
.map-panel-content { height: 100%; display: grid; grid-template-rows: 38% auto; animation: panel-in .45s var(--ease) both; }
.map-panel-image { position: relative; overflow: hidden; }
.map-panel-image img { width: 100%; height: 100%; object-fit: cover; }
.map-panel-image::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(8,44,53,.38)); }
.map-panel-index { position: absolute; z-index: 2; top: 20px; left: 22px; padding: 6px 9px; color: var(--white); border: 1px solid rgba(255,255,255,.45); font-size: 9px; letter-spacing: .12em; }
.map-panel-copy { padding: 28px 32px 30px; overflow-y: auto; }
.map-panel-copy .eyebrow { margin-bottom: 15px; }
.map-panel-copy h3 { margin: 0; font-family: var(--serif); font-size: 43px; font-weight: 300; line-height: .94; letter-spacing: -.035em; }
.map-panel-copy > p { margin: 14px 0 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.62; }
.map-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 0 28px; border-top: 1px solid var(--line); }
.map-facts div { padding: 11px 8px 8px 0; border-bottom: 1px solid var(--line); }
.map-facts dt { font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.map-facts dd { margin: 3px 0 0; font-family: var(--serif); font-size: 17px; line-height: 1.2; }
.map-panel-copy .text-link { color: var(--ink); }
.map-disclaimer { margin: 16px 0 0; color: rgba(255,255,255,.5); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.map-disclaimer span:first-child { margin-right: 8px; }
@keyframes panel-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* Riviera cards */
.riviera-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 52px 24px; }
.riviera-card { grid-column: span 4; min-width: 0; }
.riviera-card:nth-child(5n + 1), .riviera-card:nth-child(5n + 5) { grid-column: span 5; }
.riviera-card:nth-child(5n + 2), .riviera-card:nth-child(5n + 4) { grid-column: span 4; }
.riviera-card:nth-child(5n + 3) { grid-column: span 3; }
.riviera-card-link { display: block; }
.riviera-image { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.riviera-card:nth-child(5n + 1) .riviera-image, .riviera-card:nth-child(5n + 5) .riviera-image { aspect-ratio: 5 / 4; }
.riviera-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s; }
.riviera-card-link:hover .riviera-image img { transform: scale(1.035); filter: saturate(.9); }
.riviera-index { position: absolute; top: 16px; left: 16px; padding: 5px 8px; color: var(--white); border: 1px solid rgba(255,255,255,.45); font-size: 8px; letter-spacing: .12em; backdrop-filter: blur(6px); }
.riviera-region { position: absolute; left: 16px; bottom: 15px; color: var(--white); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.riviera-card-copy { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.riviera-card-copy h3 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 2.8vw, 49px); font-weight: 300; line-height: .95; letter-spacing: -.035em; }
.riviera-card-copy p { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.riviera-arrow { align-self: start; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 17px; transition: .3s var(--ease); }
.riviera-card-link:hover .riviera-arrow { color: var(--white); background: var(--deep); border-color: var(--deep); transform: rotate(45deg); }
.riviera-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 16px; color: var(--ink-soft); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.riviera-meta span { display: inline-flex; align-items: center; gap: 7px; }
.riviera-meta span::before { content: ""; width: 4px; height: 4px; border: 1px solid var(--bronze); border-radius: 50%; }

/* Journeys */
.journeys-section { background: #eee9df; overflow: hidden; }
.journey-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.journey-card { position: relative; min-height: 560px; overflow: hidden; color: var(--white); background: var(--deep); }
.journey-card:first-child { grid-column: 1 / -1; min-height: 660px; }
.journey-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.journey-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,29,34,.87) 0%, rgba(4,29,34,.08) 72%); }
.journey-card:hover img { transform: scale(1.035); }
.journey-content { position: absolute; z-index: 2; inset: auto 0 0; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; padding: 42px; }
.journey-card:first-child .journey-content { padding: 58px; }
.journey-number { position: absolute; z-index: 2; top: 28px; left: 30px; font-size: 9px; letter-spacing: .14em; }
.journey-content h3 { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 4.5vw, 74px); font-weight: 300; line-height: .92; letter-spacing: -.04em; }
.journey-card:not(:first-child) .journey-content h3 { font-size: clamp(38px, 3.6vw, 58px); }
.journey-content p { max-width: 580px; margin: 18px 0 0; color: rgba(255,255,255,.77); }
.journey-route { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.journey-route span { display: inline-flex; align-items: center; gap: 7px; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.journey-route span:not(:last-child)::after { content: "→"; opacity: .7; }
.journey-badge { align-self: end; padding: 17px 14px; min-width: 95px; text-align: center; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.journey-badge strong { display: block; font-family: var(--serif); font-size: 25px; font-weight: 300; line-height: 1; }
.journey-badge span { display: block; margin-top: 5px; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }

/* Riviera finder */
.finder-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 9vw; align-items: start; }
.finder-intro { position: sticky; top: 115px; }
.finder-intro > p:not(.eyebrow) { max-width: 510px; margin: 36px 0 0; color: var(--ink-soft); font-size: 16px; }
.finder-index { display: block; margin-top: 80px; color: var(--bronze); font-size: 9px; letter-spacing: .17em; }
.finder-card { position: relative; min-height: 610px; padding: 52px; background: var(--paper); box-shadow: var(--shadow); }
.quiz-start { height: 100%; min-height: 500px; display: flex; flex-direction: column; justify-content: space-between; }
.quiz-start-mark { width: 140px; height: 140px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--serif); font-size: 48px; font-style: italic; color: var(--sea); }
.quiz-start p { max-width: 460px; color: var(--ink-soft); }
.quiz-progress { display: flex; gap: 7px; margin-bottom: 42px; }
.quiz-progress i { height: 2px; flex: 1; background: var(--line); }
.quiz-progress i.is-complete { background: var(--deep); }
.quiz-step-label { margin: 0 0 18px; color: var(--bronze); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.quiz-question { margin: 0 0 40px; font-family: var(--serif); font-size: clamp(42px, 4.5vw, 66px); font-weight: 300; line-height: .95; letter-spacing: -.035em; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz-option { min-height: 105px; padding: 20px; border: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: .25s var(--ease); }
.quiz-option:hover, .quiz-option.is-selected { color: var(--white); background: var(--deep); border-color: var(--deep); transform: translateY(-2px); }
.quiz-option span { display: block; color: var(--bronze); font-family: var(--serif); font-size: 21px; font-style: italic; }
.quiz-option b { display: block; margin-top: 11px; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.quiz-navigation { display: flex; justify-content: space-between; margin-top: 42px; }
.quiz-navigation button { border: 0; background: transparent; padding: 8px 0; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.quiz-navigation button[disabled] { opacity: .35; cursor: default; }
.quiz-navigation .quiz-next { padding: 13px 20px; color: var(--white); background: var(--deep); }
.quiz-results-heading { margin-bottom: 34px; }
.quiz-results-heading h3 { margin: 0; font-family: var(--serif); font-size: 55px; font-weight: 300; line-height: .95; }
.quiz-results { display: grid; gap: 10px; }
.quiz-result { display: grid; grid-template-columns: 108px 1fr auto; align-items: center; gap: 20px; padding: 12px; border: 1px solid var(--line); transition: background .25s; }
.quiz-result:hover { background: var(--stone); }
.quiz-result img { width: 108px; height: 86px; object-fit: cover; }
.quiz-result h4 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 300; line-height: 1; }
.quiz-result p { margin: 7px 0 0; color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.quiz-result strong { align-self: stretch; min-width: 70px; display: grid; place-items: center; border-left: 1px solid var(--line); font-family: var(--serif); font-size: 25px; font-weight: 300; }
.quiz-restart { margin-top: 24px; border: 0; border-bottom: 1px solid var(--ink); padding: 5px 0; background: transparent; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

/* Seasons */
.season-section { overflow: hidden; }
.season-heading { display: grid; grid-template-columns: .6fr 1.2fr .7fr; gap: 60px; align-items: end; margin-bottom: 76px; }
.season-heading .eyebrow { align-self: start; margin-top: 12px; }
.season-heading > p:last-child { margin: 0 0 8px; color: var(--ink-soft); }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.season-card { position: relative; min-height: 310px; padding: 30px 30px 70px 0; border-right: 1px solid var(--line); }
.season-card:not(:first-child) { padding-left: 30px; }
.season-card:last-child { border-right: 0; }
.season-card > span { color: var(--bronze); font-size: 9px; letter-spacing: .14em; }
.season-card h3 { margin: 42px 0 18px; font-family: var(--serif); font-size: 44px; font-weight: 300; line-height: 1; }
.season-card p { margin: 0; color: var(--ink-soft); }
.season-card i { position: absolute; right: 26px; bottom: 24px; font-style: normal; font-size: 18px; }
.season-button { margin-top: 42px; }

/* Three pillars */
.pillars-section { position: relative; padding-top: 125px; color: var(--white); background: #061f26; }
.pillars-heading { display: grid; grid-template-columns: .65fr 2fr; gap: 70px; align-items: start; margin-bottom: 72px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar-card { position: relative; min-height: 700px; overflow: hidden; border-right: 1px solid rgba(255,255,255,.2); }
.pillar-card:last-child { border-right: 0; }
.pillar-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(.85); transition: transform .9s var(--ease), filter .6s; }
.pillar-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,29,34,.88), rgba(4,29,34,.05) 72%); }
.pillar-card:hover img { transform: scale(1.045); filter: brightness(.82) saturate(.95); }
.pillar-card > div { position: absolute; z-index: 2; left: 42px; right: 42px; bottom: 46px; }
.pillar-card h3 { margin: 0; font-family: var(--serif); font-size: 56px; font-weight: 300; line-height: .92; letter-spacing: -.04em; }
.pillar-card p { max-width: 350px; margin: 18px 0 28px; color: rgba(255,255,255,.72); }
.pillar-number { position: absolute; z-index: 2; left: 34px; top: 30px; font-size: 9px; letter-spacing: .15em; }
.pillar-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.55); }
.pillar-link b { font-size: 9px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }

/* Network */
.network-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.network-card { position: relative; min-height: 275px; padding: 30px 26px; border-right: 1px solid var(--line-light); overflow: hidden; transition: background .35s; }
.network-card:last-child { border-right: 0; }
.network-card:hover { background: rgba(255,255,255,.06); }
.network-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-family: var(--serif); font-size: 20px; font-style: italic; color: #d6c5a5; }
.network-card h3 { margin: 58px 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 300; line-height: 1; }
.network-card p { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.55; }
.network-card > i { position: absolute; right: 22px; top: 28px; font-style: normal; transition: transform .3s; }
.network-card:hover > i { transform: translate(4px,-4px); }

/* Partnership */
.partner-section { background: var(--paper); }
.partner-card { display: grid; grid-template-columns: 1.2fr .7fr; gap: 11vw; padding: 90px; border: 1px solid var(--line); background: linear-gradient(135deg, #f7f2e8, #e4dac8); }
.partner-card > div:last-child { align-self: end; }
.partner-card > div:last-child p { margin: 0 0 34px; color: var(--ink-soft); font-size: 16px; }

/* Footer */
.site-footer { padding: 82px 0 25px; color: rgba(255,255,255,.76); background: #041d23; }
.footer-top { display: grid; grid-template-columns: .8fr 1fr 1.2fr; gap: 8vw; align-items: start; padding-bottom: 75px; }
.footer-brand { display: inline-flex; align-items: center; gap: 15px; width: max-content; color: var(--white); }
.footer-brand span:last-child { font-size: 30px; }
.footer-top > p { margin: 0; max-width: 330px; color: rgba(255,255,255,.52); }
.footer-top nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 35px; }
.footer-top nav a { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.footer-top nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom a { border-bottom: 1px solid rgba(255,255,255,.3); }
.noscript { margin: 0; padding: 12px; text-align: center; background: #ffe6b7; color: #4a3412; }

/* Detail pages */
.detail-page { background: var(--paper); }
.detail-hero { position: relative; min-height: 83svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--deep); }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,29,34,.82) 0%, rgba(4,29,34,.2) 55%, rgba(4,29,34,.24) 100%); }
.detail-hero-content { position: relative; z-index: 2; padding: 190px 0 75px; }
.detail-back { display: inline-flex; align-items: center; gap: 15px; margin-bottom: 35px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.detail-back i { font-style: normal; transition: transform .3s; }
.detail-back:hover i { transform: translateX(-5px); }
.detail-title { max-width: 1050px; margin: 0; font-family: var(--serif); font-size: clamp(80px, 11vw, 168px); font-weight: 300; line-height: .75; letter-spacing: -.06em; }
.detail-tagline { max-width: 660px; margin: 42px 0 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); font-weight: 300; font-style: italic; line-height: 1.1; }
.detail-hero-meta { position: absolute; z-index: 3; right: 42px; bottom: 34px; display: grid; gap: 7px; text-align: right; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; opacity: .75; }
.detail-overview { padding: 135px 0 105px; }
.detail-overview-grid { display: grid; grid-template-columns: .58fr 1.42fr; gap: 7vw; }
.detail-overview-copy .display-title { max-width: 870px; }
.detail-overview-copy > p { max-width: 820px; margin: 47px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(25px, 2.5vw, 38px); line-height: 1.35; font-weight: 300; }
.detail-editorial-note { display: flex; gap: 13px; max-width: 450px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; letter-spacing: .05em; }
.detail-editorial-note i { color: var(--bronze); font-style: normal; }
.detail-facts-band { background: var(--deep); color: var(--white); }
.detail-facts-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); min-height: 230px; }
.detail-fact-heading, .detail-fact { padding: 48px 35px; border-right: 1px solid var(--line-light); }
.detail-fact:last-child { border: 0; }
.detail-fact-heading .eyebrow { margin: 0; }
.detail-fact span { display: block; color: rgba(255,255,255,.5); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.detail-fact strong { display: block; margin-top: 24px; font-family: var(--serif); font-size: 28px; font-weight: 300; line-height: 1.15; }
.detail-highlights { padding: 125px 0; }
.detail-highlights-heading { display: grid; grid-template-columns: .65fr 1.7fr; gap: 70px; margin-bottom: 65px; }
.highlight-list { border-top: 1px solid var(--line); }
.highlight-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 25px; align-items: center; min-height: 112px; border-bottom: 1px solid var(--line); }
.highlight-item span { color: var(--bronze); font-size: 9px; letter-spacing: .12em; }
.highlight-item h3 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 3.5vw, 52px); font-weight: 300; line-height: 1; }
.highlight-item i { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.detail-experiences { padding: 130px 0; background: var(--stone); }
.experience-heading { display: grid; grid-template-columns: .65fr 1.7fr; gap: 70px; margin-bottom: 70px; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.experience-card { min-height: 430px; padding: 35px; border: 1px solid var(--line); border-right: 0; display: flex; flex-direction: column; }
.experience-card:last-child { border-right: 1px solid var(--line); }
.experience-card > span { color: var(--bronze); font-size: 9px; letter-spacing: .14em; }
.experience-card h3 { margin: auto 0 20px; font-family: var(--serif); font-size: clamp(40px, 4vw, 58px); font-weight: 300; line-height: .92; }
.experience-card p { margin: 0; color: var(--ink-soft); }
.detail-map-section { padding: 125px 0; background: var(--deep); color: var(--white); }
.detail-map-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 8vw; align-items: center; }
.detail-map-copy p:not(.eyebrow) { max-width: 430px; color: rgba(255,255,255,.63); }
.detail-map-canvas { min-height: 590px; border: 1px solid var(--line-light); background: radial-gradient(circle at center, #154954, #0b333d 70%); }
.detail-map-canvas svg { width: 100%; height: 590px; display: block; }
.detail-guide-link { margin-top: 40px; }
.detail-continue { padding: 125px 0; }
.continue-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 58px; }
.continue-heading .share-button { border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0; background: transparent; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.continue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.continue-card { position: relative; min-height: 460px; overflow: hidden; color: var(--white); }
.continue-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.continue-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,29,34,.78), rgba(4,29,34,.04) 70%); }
.continue-card:hover img { transform: scale(1.04); }
.continue-card-copy { position: absolute; z-index: 2; left: 35px; right: 35px; bottom: 35px; }
.continue-card-copy span { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.continue-card-copy h3 { margin: 12px 0 0; font-family: var(--serif); font-size: 52px; font-weight: 300; line-height: .92; }
.source-page { min-height: 100vh; padding: 165px 0 120px; }
.source-page h1 { max-width: 900px; }
.source-page-intro { max-width: 750px; margin: 40px 0 70px; color: var(--ink-soft); font-size: 18px; }
.source-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.source-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 30px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.source-item > span { color: var(--bronze); font-size: 9px; letter-spacing: .13em; }
.source-item h2 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 300; }
.source-item p { max-width: 750px; margin: 8px 0 0; color: var(--ink-soft); }
.source-item a { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--ink); }

/* Entrance motion */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.riviera-card[data-reveal]:nth-child(2n), .season-card[data-reveal]:nth-child(2n) { transition-delay: .08s; }
.riviera-card[data-reveal]:nth-child(3n), .season-card[data-reveal]:nth-child(3n) { transition-delay: .15s; }

/* Responsive */
@media (max-width: 1220px) {
  :root { --shell: min(1180px, calc(100vw - 54px)); }
  .site-header { grid-template-columns: 220px 1fr auto; padding: 0 27px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a:nth-last-child(-n+2) { display: none; }
  .header-cta { display: none; }
  .section-heading > div { grid-template-columns: 1fr .65fr; gap: 45px; }
  .coast-map-shell { grid-template-columns: 1.35fr .65fr; }
  .network-card { padding-inline: 18px; }
  .network-card h3 { font-size: 25px; }
}

@media (max-width: 980px) {
  :root { --shell: calc(100vw - 44px); --header-h: 72px; }
  .section { padding: 105px 0; }
  .site-header { height: 72px; grid-template-columns: 1fr auto; padding: 0 22px; }
  .desktop-nav, .language-control, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { max-width: 760px; }
  .intro-grid { grid-template-columns: 1fr; gap: 65px; }
  .intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
  .section-heading, .season-heading, .pillars-heading, .detail-overview-grid, .detail-highlights-heading, .experience-heading { grid-template-columns: 1fr; gap: 30px; }
  .section-heading > div { grid-template-columns: 1fr; gap: 30px; }
  .coast-map-shell { grid-template-columns: 1fr; }
  .coast-map, .coast-map svg { min-height: 620px; }
  .map-panel { min-height: 520px; }
  .map-panel-content { grid-template-columns: .85fr 1.15fr; grid-template-rows: auto; }
  .riviera-card, .riviera-card:nth-child(n) { grid-column: span 6; }
  .riviera-card:nth-child(odd) .riviera-image, .riviera-card:nth-child(even) .riviera-image { aspect-ratio: 4 / 4.6; }
  .journey-card, .journey-card:first-child { min-height: 560px; }
  .finder-layout { grid-template-columns: 1fr; gap: 65px; }
  .finder-intro { position: static; }
  .season-heading { margin-bottom: 55px; }
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .season-card:nth-child(2) { border-right: 0; }
  .season-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pillar-card { min-height: 580px; }
  .pillar-card > div { left: 25px; right: 25px; bottom: 30px; }
  .pillar-card h3 { font-size: 43px; }
  .network-grid { grid-template-columns: repeat(2, 1fr); }
  .network-card { border-bottom: 1px solid var(--line-light); }
  .network-card:nth-child(2n) { border-right: 0; }
  .network-card:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .partner-card { grid-template-columns: 1fr; gap: 50px; padding: 65px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top nav { grid-column: 1 / -1; }
  .detail-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-fact-heading { grid-column: 1 / -1; }
  .detail-fact:nth-child(3) { border-right: 0; }
  .detail-map-layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100vw - 28px); }
  body { font-size: 14px; }
  .section { padding: 82px 0; }
  .display-title { font-size: clamp(48px, 15vw, 68px); }
  .hero-content { justify-content: flex-end; padding: 145px 0 120px; }
  .hero h1 { font-size: clamp(70px, 23vw, 105px); line-height: .82; }
  .hero-subtitle { margin-top: 30px; font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 26px; margin-top: 32px; }
  .hero-coordinates, .photo-credit { display: none; }
  .hero-scroll { left: 14px; bottom: 25px; }
  .intro-copy { grid-template-columns: 1fr; gap: 35px; }
  .stats strong { font-size: 40px; }
  .stats span { font-size: 7px; }
  .section-heading { margin-bottom: 50px; }
  .coast-map, .coast-map svg { min-height: 540px; }
  .coast-map-shell { min-height: 0; }
  .map-marker text { display: none; }
  .map-panel-content { grid-template-columns: 1fr; grid-template-rows: 270px auto; }
  .map-panel-empty { min-height: 350px; padding: 35px; }
  .map-panel-copy { padding: 30px 27px; }
  .map-panel-copy h3 { font-size: 42px; }
  .riviera-grid { gap: 50px 0; }
  .riviera-card, .riviera-card:nth-child(n) { grid-column: 1 / -1; }
  .riviera-card:nth-child(n) .riviera-image { aspect-ratio: 4 / 4.3; }
  .riviera-card-copy h3 { font-size: 44px; }
  .journey-rail { grid-template-columns: 1fr; }
  .journey-card:first-child { grid-column: auto; }
  .journey-card, .journey-card:first-child { min-height: 525px; }
  .journey-content, .journey-card:first-child .journey-content { grid-template-columns: 1fr; padding: 28px; }
  .journey-badge { justify-self: start; }
  .journey-content h3, .journey-card:not(:first-child) .journey-content h3 { font-size: 46px; }
  .finder-card { min-height: 560px; padding: 28px 22px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-option { min-height: 82px; }
  .quiz-result { grid-template-columns: 82px 1fr; }
  .quiz-result img { width: 82px; height: 78px; }
  .quiz-result strong { display: none; }
  .quiz-result h4 { font-size: 26px; }
  .season-grid { grid-template-columns: 1fr; }
  .season-card, .season-card:not(:first-child) { min-height: 255px; padding: 28px 0 65px; border-right: 0; border-bottom: 1px solid var(--line); }
  .season-card:last-child { border-bottom: 0; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 590px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .network-grid { grid-template-columns: 1fr; }
  .network-card, .network-card:nth-child(n), .network-card:last-child { grid-column: auto; min-height: 225px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .network-card:last-child { border-bottom: 0; }
  .partner-card { width: 100%; padding: 55px 24px; border-left: 0; border-right: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-top nav { grid-column: auto; grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .detail-hero { min-height: 78svh; }
  .detail-hero-content { padding: 150px 0 55px; }
  .detail-title { font-size: clamp(68px, 22vw, 104px); line-height: .82; }
  .detail-tagline { margin-top: 30px; font-size: 26px; }
  .detail-hero-meta { display: none; }
  .detail-overview { padding: 90px 0 75px; }
  .detail-facts-grid { grid-template-columns: 1fr; }
  .detail-fact-heading, .detail-fact { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--line-light); padding: 32px 20px; }
  .detail-facts-grid > *:last-child { border-bottom: 0; }
  .highlight-item { grid-template-columns: 42px 1fr auto; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 330px; border-right: 1px solid var(--line); border-bottom: 0; }
  .experience-card:last-child { border-bottom: 1px solid var(--line); }
  .detail-map-canvas, .detail-map-canvas svg { height: 510px; min-height: 510px; }
  .continue-heading { align-items: start; flex-direction: column; }
  .continue-grid { grid-template-columns: 1fr; }
  .continue-card { min-height: 410px; }
  .source-item { grid-template-columns: 45px 1fr; }
  .source-item a { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}


/* --- Photography upgrade: cinematic editorial treatment --- */
.hero::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.hero-image {
  object-position: 50% 52%;
  filter: saturate(1.08) contrast(1.035) brightness(.94);
}
.hero-wash {
  background:
    radial-gradient(circle at 72% 34%, rgba(3,25,30,0) 0%, rgba(3,25,30,.08) 35%, rgba(3,25,30,.26) 100%),
    linear-gradient(90deg, rgba(3,25,30,.68) 0%, rgba(3,25,30,.28) 46%, rgba(3,25,30,.04) 78%),
    linear-gradient(0deg, rgba(3,25,30,.52) 0%, rgba(3,25,30,.02) 48%);
}
.hero h1 { text-shadow: 0 8px 42px rgba(0,0,0,.18); }
.hero-subtitle { text-shadow: 0 2px 18px rgba(0,0,0,.28); }

.photo-essay { padding: 0 0 150px; background: var(--paper); }
.photo-essay-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr);
  grid-template-rows: 350px 350px;
  gap: 20px;
}
.photo-essay figure { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.photo-essay-main { grid-row: 1 / span 2; }
.photo-essay img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .8s var(--ease); filter: saturate(1.03) contrast(1.02); }
.photo-essay figure::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(4,29,34,.56),transparent 43%); pointer-events:none; }
.photo-essay figure:hover img { transform: scale(1.025); filter: saturate(1.08) contrast(1.025); }
.photo-essay figcaption { position:absolute; z-index:2; left:26px; right:26px; bottom:24px; display:flex; align-items:end; justify-content:space-between; gap:20px; color:var(--white); }
.photo-essay figcaption span { font-size:8px; letter-spacing:.16em; opacity:.74; }
.photo-essay figcaption strong { font-family:var(--serif); font-size:28px; font-weight:300; line-height:1; }

.riviera-image::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(0deg,rgba(4,29,34,.3),transparent 42%);
}
.riviera-image img, .journey-card img, .pillar-card img, .continue-card img, .map-panel-image img {
  filter: saturate(1.04) contrast(1.015);
}
.riviera-card-link:hover .riviera-image img { filter: saturate(1.08) contrast(1.02); }

.detail-hero { min-height: 92svh; }
.detail-hero > img {
  transform: scale(1.012);
  filter: saturate(1.08) contrast(1.035) brightness(.95);
  animation: detail-photo-in 1.55s var(--ease) both;
}
.detail-hero::before {
  content:""; position:absolute; inset:18px; z-index:3;
  border:1px solid rgba(255,255,255,.15); pointer-events:none;
}
.detail-hero::after {
  background:
    radial-gradient(circle at 70% 34%, rgba(3,25,30,0) 0%, rgba(3,25,30,.08) 37%, rgba(3,25,30,.25) 100%),
    linear-gradient(90deg, rgba(3,25,30,.55) 0%, rgba(3,25,30,.14) 54%, rgba(3,25,30,.04) 78%),
    linear-gradient(0deg, rgba(3,25,30,.82) 0%, rgba(3,25,30,.06) 57%);
}
.detail-hero-content { padding-bottom: 82px; }
.detail-title { text-shadow: 0 8px 46px rgba(0,0,0,.2); }
.detail-tagline { text-shadow: 0 3px 25px rgba(0,0,0,.24); }
@keyframes detail-photo-in { from { opacity:.35; transform:scale(1.07); } to { opacity:1; transform:scale(1.012); } }

body[data-riviera-id="istria"] .detail-hero > img { object-position: 50% 48%; }
body[data-riviera-id="opatija"] .detail-hero > img { object-position: 50% 48%; }
body[data-riviera-id="kvarner"] .detail-hero > img { object-position: 50% 48%; }
body[data-riviera-id="crikvenica"] .detail-hero > img { object-position: 50% 44%; }
body[data-riviera-id="senj"] .detail-hero > img { object-position: 52% 48%; }
body[data-riviera-id="pag"] .detail-hero > img { object-position: 50% 48%; }
body[data-riviera-id="zadar"] .detail-hero > img { object-position: 50% 50%; }
body[data-riviera-id="sibenik"] .detail-hero > img { object-position: 50% 54%; }
body[data-riviera-id="split"] .detail-hero > img { object-position: 50% 50%; }
body[data-riviera-id="makarska"] .detail-hero > img { object-position: 50% 48%; }
body[data-riviera-id="peljesac"] .detail-hero > img { object-position: 50% 50%; }
body[data-riviera-id="dubrovnik"] .detail-hero > img { object-position: 50% 48%; }

@media (max-width: 980px) {
  .photo-essay { padding-bottom:105px; }
  .photo-essay-grid { grid-template-columns:1.15fr .85fr; grid-template-rows:300px 300px; }
}
@media (max-width: 700px) {
  .hero::after, .detail-hero::before { inset:9px; }
  .hero-image { object-position:56% 50%; }
  .photo-essay { padding-bottom:82px; }
  .photo-essay-grid { display:grid; grid-template-columns:1fr; grid-template-rows:440px 260px 260px; gap:10px; }
  .photo-essay-main { grid-row:auto; }
  .photo-essay figcaption { left:18px; right:18px; bottom:18px; }
  .photo-essay figcaption strong { font-size:24px; }
  .detail-hero { min-height:86svh; }
  .detail-hero > img { object-position:55% 50%; }
  body[data-riviera-id="sibenik"] .detail-hero > img { object-position:52% 52%; }
  body[data-riviera-id="zadar"] .detail-hero > img { object-position:56% 50%; }
}
