/* ===========================================================
   MADHOUSE.vip — dark luxury / cinematic
   =========================================================== */

:root {
  /* palette — tuned for readability on older eyes */
  --bg:           #0a0807;
  --surface-1:    #121110;
  --surface-2:    #1a1714;
  --surface-3:    #221d18;
  --text:         #f5efe6;
  --text-dim:     #d6cdb9;      /* body / secondary — was #b3a895, now higher contrast */
  --text-faint:   #968a76;      /* labels — was #6e6557 */
  --accent:       #c79a4d;      /* warm copper, slightly lighter for contrast — was #b8893f */
  --accent-soft:  #8a6730;
  --accent-bright:#f3d28b;
  --border:       rgba(199,154,77,0.18);
  --border-strong:rgba(199,154,77,0.38);
  --shadow-lg:    0 30px 80px -20px rgba(0,0,0,0.8);

  /* type */
  --f-display: 'Playfair Display', 'Garamond', 'Times New Roman', serif;
  --f-sans:    'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* rhythm */
  --max:       1320px;
  --pad-x:     clamp(20px, 5vw, 64px);
  --pad-y:     clamp(80px, 12vw, 160px);
  --gap-lg:    clamp(48px, 8vw, 96px);
}

/* -----------------------------------------------------------
   Base
   ----------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-bright); }

::selection { background: var(--accent); color: var(--bg); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--bg); padding: 12px 18px;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; }

/* -----------------------------------------------------------
   Type primitives
   ----------------------------------------------------------- */

.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0;
  font-size: clamp(64px, 13vw, 200px);
  color: var(--text);
}
.display--small { font-size: clamp(40px, 5.4vw, 76px); line-height: 1; font-style: normal; }
.display__line { display: block; }

.eyebrow {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #f5d97a;
  margin: 0 0 18px;
  text-shadow:
    0 0 10px rgba(0,0,0,0.95),
    0 2px 4px rgba(0,0,0,0.95),
    0 0 1px rgba(0,0,0,1);
}

.kicker {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 14px;
}
.kicker::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent); vertical-align: middle;
  margin-right: 12px; transform: translateY(-2px);
}

.lede {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--text-dim);
  max-width: 56ch;
  margin: 0 0 32px;
}

.section__lead {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 60ch;
  margin: 18px 0 0;
}

/* -----------------------------------------------------------
   Header
   ----------------------------------------------------------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--pad-x);
  background: linear-gradient(180deg, rgba(10,8,7,0.85), rgba(10,8,7,0));
  backdrop-filter: blur(0px);
  transition: background .35s ease, backdrop-filter .35s ease, padding .35s ease;
}
.site-header.is-scrolled {
  background: rgba(10,8,7,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1;
  text-decoration: none;
}
img.brand__morelo {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  transition: transform .25s ease;
  flex-shrink: 0;
}
.brand:hover img.brand__morelo { transform: scale(1.06); }
.brand__word {
  font-style: normal;
  display: inline-block;
  line-height: 1;
}
.brand__tld {
  color: var(--accent);
  font-size: 17px;
  font-style: italic;
  letter-spacing: 0.05em;
  display: inline-block;
  line-height: 1;
}

.site-nav {
  display: flex; justify-content: center; gap: 30px;
}
.site-nav a {
  font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text);
  padding: 6px 0;
  position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); }

.lang-switcher {
  position: relative;
}
.lang-switcher__toggle {
  appearance: none;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px 9px 18px;
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s, background .2s;
}
.lang-switcher__toggle:hover {
  border-color: var(--border-strong);
  background: rgba(0,0,0,0.6);
}
.lang-switcher__toggle[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.lang-switcher__caret {
  transition: transform .25s ease;
}
.lang-switcher__toggle[aria-expanded="true"] .lang-switcher__caret {
  transform: rotate(180deg);
}
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(10,8,7,0.96);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px) saturate(140%);
  min-width: 220px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 60;
  box-shadow: var(--shadow-lg);
}
.lang-switcher__menu[hidden] { display: none; }
.lang-item {
  width: 100%;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 9px 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--text-dim);
  cursor: pointer;
  text-align: left;
  transition: color .15s, background .15s;
}
.lang-item:hover {
  background: rgba(199,154,77,0.1);
  color: var(--text);
}
.lang-item[aria-pressed="true"] {
  color: var(--accent);
  background: rgba(199,154,77,0.08);
}
.lang-item__code {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  width: 32px;
  flex-shrink: 0;
}
.lang-item__name {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.menu-toggle {
  display: none;
  appearance: none; background: transparent; border: 1px solid var(--border-strong);
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block; width: 18px; height: 1px; background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* -----------------------------------------------------------
   Hero
   ----------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--pad-x) + 60px) var(--pad-x) clamp(60px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.05);
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to   { transform: scale(1.12) translate3d(-1%,-1%,0); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    /* Strong left column darken — guarantees text contrast */
    linear-gradient(90deg, rgba(10,8,7,0.92) 0%, rgba(10,8,7,0.75) 25%, rgba(10,8,7,0.35) 55%, rgba(10,8,7,0) 80%),
    /* Top fade so the header has air */
    linear-gradient(180deg, rgba(10,8,7,0.55) 0%, rgba(10,8,7,0.05) 30%, rgba(10,8,7,0.4) 100%),
    /* Mild global darken */
    linear-gradient(180deg, rgba(10,8,7,0.3), rgba(10,8,7,0.3));
}
.hero__content {
  max-width: 1080px;
}
.hero .display {
  font-style: italic;
  font-weight: 400;
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 38px;
}
.meta-chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.18em;
  color: var(--text);
  text-transform: uppercase;
}
.meta-chip em {
  font-style: normal;
  color: var(--accent-bright);
  font-family: var(--f-display);
  font-size: 16px; letter-spacing: 0.04em;
}
.hero__scroll {
  position: absolute;
  left: var(--pad-x);
  bottom: 28px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-dim);
}
.hero__scroll svg {
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* -----------------------------------------------------------
   Layout primitives
   ----------------------------------------------------------- */

.section {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.section + .section { border-top: 1px solid var(--border); }

.section__head {
  max-width: 920px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section__body { }

.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.prose p {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 1.2em;
  max-width: 64ch;
}
.prose em { color: var(--accent-bright); font-style: italic; }

/* -----------------------------------------------------------
   Intro / manifesto
   ----------------------------------------------------------- */
.intro {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(20px, 4vw, 40px);
  text-align: center;
}
.intro .kicker { display: inline-block; }
.manifesto {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.4;
  color: var(--text);
  max-width: 32ch;
  margin: 24px auto 0;
}

/* -----------------------------------------------------------
   Story / spec card
   ----------------------------------------------------------- */

.spec-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--border);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
}
.spec-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 32px; height: 32px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.spec-card::after {
  content: "";
  position: absolute; bottom: 0; right: 0;
  width: 32px; height: 32px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.spec-card__title {
  font-family: var(--f-mono); font-weight: 400;
  font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
}
.spec-list {
  margin: 0; display: grid; gap: 18px;
}
.spec-list > div {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt {
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim);
  align-self: center;
}
.spec-list dd {
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: 19px;
  color: var(--text);
}

/* -----------------------------------------------------------
   Provenance — chapters
   ----------------------------------------------------------- */

.chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: stretch;
}
.chapter {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  padding: clamp(32px, 3.5vw, 48px);
  transition: transform .4s ease, border-color .4s ease, background .4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.chapter:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.chapter__num {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.85;
}

/* Heading row — title on the left, brand mark inline on the right.
   Keeps the left edge clean (numeral → name) and pairs each name with
   its identity mark rather than stacking another row above. */
.chapter__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 6px;
  min-height: 44px;          /* matches the brand mark / portrait so all 3 cards align */
}
.chapter__brand-emblem,
.chapter__brand-portrait {
  width: 40px !important;
  height: 40px !important;
  flex-shrink: 0;
  display: block;
}
.chapter__brand-emblem {
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.chapter__brand-portrait {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(199,154,77,0.55);
  filter: grayscale(1) contrast(1.05);
}

.chapter__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  margin: 0;
  color: var(--text);
  flex: 1;                   /* lets the title take its natural width, pushing the mark to the right */
}
.chapter__role {
  font-family: var(--f-mono); font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0 0 20px;
  min-height: calc(1.5em * 2);     /* reserve 2 lines so wrapped eyebrows (CS 'Spoluzakladatel značky MORELO') stay baseline-aligned */
}

/* KH Group title — SVG wordmark recoloured to white. Portrait sits as a
   sibling inside .chapter__heading, so it lines up to the right just like
   MORELO's shield does on card I. */
.chapter__title--khgroup {
  padding: 0;
  line-height: 0;            /* hugs the SVG, no extra leading */
}
.chapter__title--khgroup a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.chapter__title-mark {
  height: 32px;
  width: auto;
  /* SVG fill is rgb(29,29,27); invert + brightness pushes it to white, matching var(--text) */
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity .25s;
}
.chapter__title--khgroup a:hover .chapter__title-mark {
  opacity: 1;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.chapter__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

/* -----------------------------------------------------------
   Engineering features
   ----------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2vw, 32px) clamp(40px, 5vw, 80px);
}
.feature {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.feature__index {
  font-family: var(--f-mono);
  font-size: 13px; letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 14px;
}
.feature__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--text);
}
.feature__body {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

/* -----------------------------------------------------------
   Equipment / Onboard
   ----------------------------------------------------------- */

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
/* Checkerboard variant — square tiles, cards and photos alternating */
.equipment-grid--checker .equipment-card,
.equipment-grid--checker .equipment-photo {
  aspect-ratio: 1 / 1;
}
.equipment-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.equipment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.equipment-photo:hover img { transform: scale(1.04); }

@media (max-width: 1080px) {
  .equipment-grid--checker .equipment-card,
  .equipment-grid--checker .equipment-photo { aspect-ratio: auto; }
  .equipment-grid--checker .equipment-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .equipment-grid--checker .equipment-photo { aspect-ratio: 4 / 3; }
}
.equipment-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  padding: clamp(24px, 2.6vw, 36px);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.equipment-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.equipment-card__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px);
  margin: 0 0 18px;
  color: var(--accent-bright);
  line-height: 1.15;
}
.equipment-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.equipment-card__list li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
}
.equipment-card__list li:last-child { margin-bottom: 0; }
.equipment-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

@media (max-width: 1080px) {
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .equipment-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   Heritage timeline
   ----------------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), var(--border-strong), transparent);
}
.timeline__item {
  position: relative;
  padding-top: 44px;
}
.timeline__item::before {
  content: "";
  position: absolute; top: 18px; left: 0;
  width: 13px; height: 13px;
  border: 1px solid var(--accent);
  background: var(--bg);
  border-radius: 999px;
}
.timeline__item--accent::before {
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent);
}
.timeline__year {
  font-family: var(--f-mono); font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 8px;
}
.timeline__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  margin: 0 0 10px;
  color: var(--text);
}
.timeline__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}
.timeline__body em { color: var(--accent-bright); font-style: italic; }

.etymology {
  margin: 60px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1;
}
.etymology__tag,
.etymology__expand {
  font-family: var(--f-mono) !important;
  font-style: normal !important;
  font-weight: 400;
  font-size: 13px !important;
  text-transform: uppercase !important;
  line-height: 1;
  letter-spacing: 0.22em;
}
.etymology__tag {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  letter-spacing: 0.32em;
}
.etymology__expand em {
  font-family: var(--f-mono) !important;
  font-style: normal !important;
  font-weight: 500;
  font-size: 13px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--accent-bright);
}

/* -----------------------------------------------------------
   Photo break — full-width image between sections
   ----------------------------------------------------------- */

.section-break {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 var(--pad-x);
}
.section-break + .section { border-top: 0; }
.section-break__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}

/* Variants — rhythm: narrow → cinematic */
.section-break--narrow {
  max-width: 880px;
  padding: 0 var(--pad-x);
}
.section-break--narrow .section-break__img {
  aspect-ratio: 16 / 10;
}
.section-break--cinematic .section-break__img {
  aspect-ratio: 24 / 9;
}
.section-break__cap {
  margin: 16px 0 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

@media (max-width: 1080px) {
  .section-break__img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .section-break__img { aspect-ratio: 4 / 3; }
}

/* -----------------------------------------------------------
   Adventures
   ----------------------------------------------------------- */

.adventures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.adventure {
  background: var(--surface-1);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.adventure:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.adventure__photo {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.adventure__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.adventure:not(.adventure--has-carousel):hover .adventure__photo img { transform: scale(1.04); }

/* -----------------------------------------------------------
   Carousel — reusable, used inside Adventures (and reusable elsewhere)
   ----------------------------------------------------------- */
.carousel {
  position: relative;
  overflow: hidden;
}
.carousel__track {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.carousel__slide[data-active] {
  opacity: 1;
  pointer-events: auto;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: background .25s ease, opacity .25s ease;
  z-index: 2;
}
.carousel:hover .carousel__btn,
.carousel:focus-within .carousel__btn {
  opacity: 1;
}
.carousel__btn:hover {
  background: rgba(0, 0, 0, 0.85);
}
.carousel__btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
/* Apple-style dot indicator — tiny circles, active expands into a small pill.
   No background blob; sits subtly at the bottom of the image. */
.carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
  z-index: 2;
  /* readable on any image — subtle text-shadow-equivalent for dots */
  filter: drop-shadow(0 0 1.5px rgba(0,0,0,0.6));
}
.carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width .35s cubic-bezier(.4, .0, .2, 1),
              background .25s ease;
}
.carousel__dot:hover { background: rgba(255, 255, 255, 0.9); }
.carousel__dot[aria-current="true"] {
  width: 22px;            /* dot becomes a horizontal pill at the active position */
  background: #fff;
}
.carousel__dot:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
@media (max-width: 720px) {
  /* On touch devices we always show controls since there's no hover */
  .carousel__btn { opacity: 1; background: rgba(0, 0, 0, 0.45); }
}

/* -----------------------------------------------------------
   Video loop — single frame, two Vimeo background iframes that
   crossfade into each other (clip 1 → 2 → 1 forever, muted, no UI).
   ----------------------------------------------------------- */
.section-break--video .video-loop {
  position: relative;
  width: 100%;
  /* padding-bottom hack instead of aspect-ratio for the most reliable cross-browser
     intrinsic ratio for a container with absolutely-positioned iframes */
  padding-top: 56.25%;            /* 16 : 9 */
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
  background: #000;               /* prevents a white flash while iframes load */
}
.video-loop__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  transition: opacity .6s ease;
}
.video-loop__poster.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.video-loop__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 1;
}
.video-loop__frame.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Section-break variant — carousel takes the place of the static .section-break__img,
   inheriting the same aspect-ratio rules so the layout stays consistent across breaks. */
.section-break--carousel .carousel {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 2px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
  overflow: hidden;
}
.section-break--carousel.section-break--cinematic .carousel { aspect-ratio: 24 / 9; }
.section-break--carousel.section-break--narrow    .carousel { aspect-ratio: 16 / 10; }
@media (max-width: 880px) { .section-break--carousel .carousel { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .section-break--carousel .carousel { aspect-ratio: 4 / 3; } }
.section-break--carousel .carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.adventure__text {
  padding: clamp(24px, 2.6vw, 36px);
}
.adventure__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 28px);
  margin: 0 0 14px;
  color: var(--accent-bright);
  line-height: 1.2;
}
.adventure__body {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

@media (max-width: 720px) {
  .adventures-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   Gallery
   ----------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.gallery-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.gallery-tile--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, opacity .4s;
  opacity: 0.92;
}
.gallery-tile:hover img { transform: scale(1.04); opacity: 1; }

/* Gallery tile that hosts a carousel — the carousel fills the tile's
   aspect-ratio box; defer the hover-scale to the active slide image. */
.gallery-tile--carousel { cursor: zoom-in; }
.gallery-tile--carousel .carousel {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.gallery-tile--carousel .carousel__slide img {
  opacity: 1;                    /* don't dim carousel slides — the fade handles transitions */
}
.gallery-tile--carousel:hover .carousel__slide[data-active] img {
  transform: scale(1.04);
}
.gallery-tile figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--f-mono);
  font-size: 11.5px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10,8,7,0.7);
  backdrop-filter: blur(8px);
  padding: 6px 11px;
  border: 1px solid var(--border);
}
.gallery-note {
  margin: 40px 0 0;
  font-family: var(--f-mono);
  font-size: 12.5px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

/* -----------------------------------------------------------
   Persistent scroll-section navigation
   ----------------------------------------------------------- */

.scroll-nav {
  position: fixed;
  right: 22px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.scroll-nav.is-ready { opacity: 1; pointer-events: auto; }

.scroll-nav__btn {
  appearance: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  background: rgba(10,8,7,0.7);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 4px;
  transition: background .2s, color .2s, transform .15s, border-color .2s;
}
.scroll-nav__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}
.scroll-nav__btn:disabled {
  opacity: 0.3;
  pointer-events: none;
}
.scroll-nav__btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
.scroll-nav__btn svg { pointer-events: none; }

@media (max-width: 560px) {
  .scroll-nav { right: 12px; bottom: 14px; }
  .scroll-nav__btn { width: 38px; height: 38px; }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 4vw;
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__img { max-width: 100%; max-height: 85vh; box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute; top: 24px; right: 32px;
  appearance: none; background: transparent; border: 1px solid var(--border-strong);
  color: var(--text);
  width: 44px; height: 44px;
  font-size: 24px; line-height: 1;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  appearance: none;
  background: rgba(0,0,0,0.45);
  color: var(--text);
  border: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  font-size: 34px; line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease, transform .2s ease;
}
.lightbox__nav:hover     { background: rgba(0,0,0,0.85); }
.lightbox__nav:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 560px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 26px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
}
.lightbox__cap {
  position: absolute; left: 0; right: 0; bottom: 24px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}

/* -----------------------------------------------------------
   Contact / VIP
   ----------------------------------------------------------- */

.section--contact {
  border-top: 1px solid var(--border);
}
.contact-card {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 4vw, 60px);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(184,137,63,0.08) 0%, transparent 70%),
    var(--surface-1);
  border: 1px solid var(--border);
  position: relative;
}
.contact-card::before, .contact-card::after {
  content: "";
  position: absolute;
  width: 48px; height: 48px;
}
.contact-card::before {
  top: 0; left: 0;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.contact-card::after {
  bottom: 0; right: 0;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.contact-card__body {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--text-dim);
  margin: 18px 0 32px;
  line-height: 1.55;
}
.contact-card__line {
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.24em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Charter day-rate — sits between the body copy and the CTA button.
   Minimal, mono numerals, no boxes — looks like a quoted figure, not a tag. */
.charter-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 0 36px;
  font-family: var(--f-mono);
}
.charter-rate__amount {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.01em;
}
.charter-rate__ccy {
  font-size: 0.55em;
  font-weight: 400;
  color: var(--accent);
  margin-left: 6px;
  vertical-align: 0.3em;
  letter-spacing: 0.1em;
}
.charter-rate__per {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.charter-rate__note {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
}
.charter-included {
  max-width: 540px;
  margin: -16px auto 6px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.55;
  color: var(--text-dim);
  text-align: center;
}
.charter-included--terms {
  margin: 0 auto 30px;
  font-size: clamp(12.5px, 1.1vw, 14px);
  color: var(--text-faint);
}

/* Short-rental surcharge — single mono line under the rate */
.charter-shortrent {
  margin: -16px auto 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}
.charter-shortrent__num {
  color: var(--accent);
  margin-left: 4px;
}

/* Pricing-modal inclusion list — Concorde-style coverage, but in our voice */
.charter-section-title {
  margin: 4px 0 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  text-align: center;
}
.charter-inclusions {
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  max-width: 560px;
}
.charter-inclusions li {
  position: relative;
  padding-left: 18px;
}
.charter-inclusions li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 600;
}
.charter-fineprint {
  margin: 0 auto 20px;
  max-width: 480px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  color: var(--text-faint);
}
@media (max-width: 560px) {
  .charter-inclusions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Charter inquiry form — inline inside the contact card.
   Mono labels, gold focus ring, dark fields to match the night-mode card. */
.charter-form {
  max-width: 560px;
  margin: 8px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.charter-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.charter-form__row:has(.charter-form__field--small) {
  grid-template-columns: 1fr 1fr 96px;
}
.charter-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.charter-form__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.charter-form input,
.charter-form select,
.charter-form textarea {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 11px 12px;
  width: 100%;
  outline: none;
  transition: border-color .25s, background .25s;
  -webkit-appearance: none;
  appearance: none;
}
.charter-form textarea {
  resize: vertical;
  min-height: 84px;
  font-family: var(--f-mono);
  line-height: 1.5;
}
.charter-form input:focus,
.charter-form select:focus,
.charter-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}
.charter-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(220, 80, 80, 0.55);
}
.charter-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}
.charter-form__submit {
  margin-top: 8px;
  text-align: center;
  cursor: pointer;
  /* <button> needs explicit reset so it doesn't pick up the browser's
     default light-grey background that ruins the .cta gold-on-dark look. */
  background: transparent;
  width: 100%;
  font: inherit;
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 16px 32px;
  -webkit-appearance: none;
  appearance: none;
}
.charter-form__submit:hover {
  background: var(--accent);
  color: var(--bg);
}
.charter-form__or {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.charter-form__or a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(199,154,77,0.35);
  padding-bottom: 1px;
}
.charter-form__or a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }
.charter-form__sent {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
}
@media (max-width: 560px) {
  .charter-form__row,
  .charter-form__row:has(.charter-form__field--small) {
    grid-template-columns: 1fr;
  }
}
.cta {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-family: var(--f-mono);
  font-size: 14px; letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background .25s, color .25s;
}
.cta:hover { background: var(--accent); color: var(--bg); }
/* Filled gold variant — for the primary action of a group of CTAs */
.cta--primary {
  background: var(--accent);
  color: var(--bg);
}
.cta--primary:hover {
  background: var(--accent-bright);
  color: var(--bg);
}

/* Two-CTA layout inside the contact card */
.contact-card__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* -----------------------------------------------------------
   Modal — shared overlay used by pricing + inquiry CTAs
   ----------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  overflow-y: auto;
  animation: modal-fade .25s ease;
}
.modal.is-open { display: flex; }
@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal__content {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--border);
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px);
  max-width: 640px;
  width: 100%;
  max-height: calc(100vh - 8vw);
  overflow-y: auto;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.9);
  /* gold corner accents — same as .contact-card */
}
.modal__content::before,
.modal__content::after {
  content: "";
  position: absolute;
  width: 36px; height: 36px;
}
.modal__content::before {
  top: 0; left: 0;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.modal__content::after {
  bottom: 0; right: 0;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px; height: 36px;
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.modal__title {
  margin: 0 0 28px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  text-align: center;
  color: var(--text);
}
.modal__cta {
  display: block;
  margin: 24px auto 0;
  text-align: center;
}

/* -----------------------------------------------------------
   Brand marks (logos)
   ----------------------------------------------------------- */

/* KH Group: source is black-on-transparent; invert to off-white */
.kh-mark {
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(0.92);
  opacity: 0.7;
  transition: opacity .25s ease, filter .25s ease;
}
.kh-mark:hover { opacity: 1; }

.kh-mark--footer { height: 28px; width: auto; margin: 0 10px; vertical-align: -8px; opacity: 0.85; }
.kh-mark--footer:hover { opacity: 1; }
.kh-mark--chapter { height: 30px; width: auto; opacity: 0.75; }
.chapter__stamp {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 14px 8px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  transition: border-color .25s, background .25s;
}
.chapter__stamp:hover {
  border-color: var(--border-strong);
  background: rgba(184,137,63,0.06);
}
.chapter__stamp:hover .kh-mark--chapter { opacity: 1; }

/* MADHOUSE registration plate — Czech EU style with CZ band */
.plate-mini {
  display: inline-block;
  height: 32px;
  width: auto;
  vertical-align: -10px;
  margin: 0 2px;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.plate-mini--inline {
  height: 34px;
  vertical-align: middle;
  margin: 0;
}

/* MORELO emblem: keep natural silver, just gently dim */
.morelo-mark {
  display: block;
  opacity: 0.85;
  transition: opacity .25s ease, transform .4s ease;
}
.morelo-mark--card {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
}
.spec-card:hover .morelo-mark--card { transform: scale(1.04); }
.timeline__logo {
  min-height: 40px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
}
.morelo-mark--timeline {
  width: 40px; height: 40px;
  margin: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

/* Inline anchors inside prose / contact card — subtle warm accent */
.chapter__body a,
.contact-card__body a,
.contact-card__line a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(184,137,63,0.35);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.chapter__body a:hover,
.contact-card__body a:hover,
.contact-card__line a:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent-bright);
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px var(--pad-x);
  background: #060504;
}
.site-footer__row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.site-footer__brand {
  font-family: var(--f-display);
  font-size: 22px;
  margin: 0;
}
.site-footer__brand span { color: var(--accent); font-style: italic; font-size: 14px; }
/* Footer self-deprecation: defuses any 'VIP-domain' bragginess for envious eyes,
   stays small enough not to distract a serious buyer. */
.site-footer__joke {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  opacity: 0.55;
  font-style: italic;
  margin: 4px 0 0;
}
.site-footer__legal {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.site-footer__meta {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
}
.site-footer__meta a { color: var(--text); }
.site-footer__meta a:hover { color: var(--accent-bright); }

.site-footer__business {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 18px var(--pad-x) 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  color: var(--text-faint);
}
.site-footer__business a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(199,154,77,0.35);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.site-footer__business a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.site-footer__version {
  margin: 24px auto 0;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  text-transform: uppercase;
  opacity: 0.7;
}
.site-footer__version a { color: var(--text-faint); }
.site-footer__version a:hover { color: var(--accent); }

/* -----------------------------------------------------------
   Scroll reveals
   ----------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* -----------------------------------------------------------
   Mobile
   ----------------------------------------------------------- */

@media (max-width: 1080px) {
  .site-nav,
  .lang-switcher { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .two-col { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .timeline::before {
    top: 0; bottom: 0; left: 6px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--border-strong), var(--border-strong), transparent);
  }
  .timeline__item {
    padding-top: 0;
    padding-left: 30px;
  }
  .timeline__item::before {
    top: 4px; left: 0;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tile--wide { grid-column: span 2; }
  .site-footer__row { grid-template-columns: 1fr; text-align: center; }
  .site-footer__legal, .site-footer__meta { text-align: center; }

  /* mobile menu overlay */
  .site-header.is-menu-open {
    background: var(--bg);
    backdrop-filter: none;
  }
  .site-header.is-menu-open .site-nav {
    display: flex;
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 30px;
    z-index: 49;
  }
  .site-header.is-menu-open .site-nav a {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 28px;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--text);
  }
  .site-header.is-menu-open .lang-switcher {
    display: flex;
    position: fixed;
    bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 49;
  }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tile--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .hero__meta { gap: 8px; flex-wrap: wrap; }
  .meta-chip { padding: 7px 12px; font-size: 11px; max-width: 100%; }
  .meta-chip em { font-size: 14px; }
  .lang { padding: 6px 10px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__bg { animation: none; transform: scale(1.04); }
}
