/* ==========================================================================
   stoklasa.com – Boote & Yachten
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #061322;
  --navy: #0b1d33;
  --navy-2: #13304f;
  --sea: #1f7a8c;
  --sea-light: #7cc4d1;
  --brass: #c8a45d;
  --brass-light: #e4cc95;
  --sand: #f4efe4;
  --paper: #fbf9f4;
  --ink: #15202c;
  --muted: #5b6876;
  --line: #e2d9c6;
  --white: #fff;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -22px rgba(6, 19, 34, .45);
  --shadow-lg: 0 30px 60px -30px rgba(6, 19, 34, .6);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brass); color: var(--deep); padding: .6rem 1rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--sea);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--brass-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: var(--deep); }
.btn--brass:hover { background: var(--brass-light); color: var(--deep); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--sea); color: var(--white); }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--white);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,19,34,.55), rgba(6,19,34,0));
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 24, 42, .92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.6);
  --header-h: 64px;
}
.site-header.is-scrolled::before { opacity: 0; }

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand__icon { width: 38px; height: 38px; color: var(--brass); transition: transform .8s var(--ease); }
.brand:hover .brand__icon { transform: rotate(45deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .28em; }
.brand__tag { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-light); margin-top: .35rem; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.2rem; align-items: center; }
.nav__item { position: relative; }
.nav__link {
  color: var(--white); text-decoration: none;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: .6rem 0; position: relative; display: inline-flex; align-items: center; gap: .35rem;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brass-light); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link svg { width: .8em; height: .8em; }

.nav__sub {
  list-style: none; margin: 0; padding: .6rem;
  position: absolute; top: 100%; left: 50%; min-width: 290px;
  background: rgba(8, 24, 42, .97); border: 1px solid rgba(200,164,93,.25); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__sub a {
  display: block; padding: .6rem .9rem; border-radius: 6px;
  color: rgba(255,255,255,.88); text-decoration: none; font-size: .92rem;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: rgba(200,164,93,.14); color: var(--brass-light); }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--white); cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    background: linear-gradient(160deg, var(--navy) 0%, var(--deep) 100%);
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    flex-direction: column; align-items: stretch;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__link { font-size: 1rem; padding: 1.1rem 0; display: flex; }
  .nav__link::after { display: none; }
  .nav__link svg { display: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; border: 0; box-shadow: none; padding: 0 0 1rem .5rem; min-width: 0;
  }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { transform: none; }
  .nav__sub a { padding: .5rem .6rem; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter würde das fixierte Menü auf die Headerhöhe begrenzen */
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 940px);
  display: flex; align-items: flex-end;
  color: var(--white);
  padding: calc(var(--header-h) + 4rem) 0 clamp(6rem, 12vw, 9rem);
  overflow: hidden;
  background: var(--navy);
}
.hero--page { min-height: min(78svh, 720px); }
.hero--small { min-height: 0; padding-top: calc(var(--header-h) + 5rem); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,19,34,.55) 0%, rgba(6,19,34,.08) 35%, rgba(6,19,34,.25) 60%, rgba(6,19,34,.88) 100%),
    linear-gradient(90deg, rgba(6,19,34,.55) 0%, rgba(6,19,34,0) 60%);
}
.hero--small::before { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #1b4d6b 100%); }
.hero__content { max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { font-style: italic; color: var(--brass-light); font-weight: 500; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 620px; color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hero__facts li {
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(228,204,149,.45); background: rgba(6,19,34,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .88rem; font-weight: 500; color: var(--white);
}
.hero__facts strong { color: var(--brass-light); font-weight: 600; }

.breadcrumb { list-style: none; padding: 0; margin: 0 0 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: rgba(255,255,255,.45); }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--brass-light); }
.breadcrumb [aria-current] { color: var(--brass-light); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 5.2rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--brass-light); border-radius: 2px; animation: scrollHint 2s infinite;
}
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 700px) { .scroll-hint { display: none; } }

/* Waves */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 7vw, 110px); color: var(--paper); pointer-events: none; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave .wave__back { opacity: .35; animation: waveDrift 14s ease-in-out infinite alternate; }
.wave .wave__mid { opacity: .6; animation: waveDrift 10s ease-in-out infinite alternate-reverse; }
@keyframes waveDrift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
.wave--sand { color: var(--sand); }
.wave--navy { color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 2.2rem; height: 1px; background: currentColor; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section--navy .section__head p { color: rgba(255,255,255,.75); }
.section__head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head-row .section__head { margin-bottom: 0; }

/* ---------- Report cards ---------- */
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.cards--featured { grid-template-columns: repeat(6, 1fr); }
.cards--featured > .card { grid-column: span 3; }
.cards--featured > .card:nth-child(1) { grid-column: span 6; }
@media (max-width: 980px) {
  .cards--featured { grid-template-columns: repeat(2, 1fr); }
  .cards--featured > .card, .cards--featured > .card:nth-child(n) { grid-column: span 1; }
  .cards--featured > .card:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .cards--featured { grid-template-columns: 1fr; }
  .cards--featured > .card:nth-child(n) { grid-column: span 1; }
}

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(6,19,34,.72); color: var(--brass-light);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.75rem; margin-bottom: .4rem; }
.card__text { color: var(--muted); font-size: .98rem; margin-bottom: 1.2rem; }
.card__stats { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1.4rem; padding: 0; }
.card__stats li { font-size: .78rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--sand); color: var(--navy-2); }
.card__more {
  margin-top: auto; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sea);
}
.card__more svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(5px); }

/* featured (large) card – horizontal on desktop */
@media (min-width: 981px) {
  .cards--featured > .card:nth-child(1) { flex-direction: row; min-height: 440px; }
  .cards--featured > .card:nth-child(1) .card__media { flex: 1.5; aspect-ratio: auto; }
  .cards--featured > .card:nth-child(1) .card__body { flex: 1; padding: 3rem; justify-content: center; }
  .cards--featured > .card:nth-child(1) .card__title { font-size: 2.6rem; }
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--brass-light); line-height: 1; font-weight: 600; }
.stat__label { margin-top: .6rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } }

/* ---------- Coming soon ---------- */
.soon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.soon li {
  padding: 1.8rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper);
  display: flex; flex-direction: column; gap: .7rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.soon li:hover { border-color: var(--brass); transform: translateY(-3px); }
.soon svg { width: 34px; height: 34px; color: var(--brass); }
.soon strong { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); font-weight: 600; line-height: 1.15; }
.soon span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sea); font-weight: 600; }
@media (max-width: 980px) { .soon { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .soon { grid-template-columns: 1fr; } }

/* ---------- Split (screensaver) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.split__media::after {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; z-index: -1;
  border: 1px solid var(--brass); border-radius: var(--radius);
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split__media::after { display: none; } }

.downloads { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.downloads a {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.downloads a:hover { border-color: var(--brass); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.downloads svg { width: 22px; height: 22px; color: var(--sea); flex: none; }
.downloads strong { display: block; font-size: .98rem; }
.downloads small { color: var(--muted); font-size: .8rem; }
@media (max-width: 460px) { .downloads { grid-template-columns: 1fr; } }

/* ---------- Article (report) ---------- */
.report { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (max-width: 1020px) { .report { grid-template-columns: 1fr; } }

.prose { max-width: 760px; font-size: 1.08rem; }
.prose > p:first-of-type.lead, .prose .lead { font-size: 1.25rem; color: var(--navy-2); line-height: 1.6; }
.prose h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 2.6rem; margin-bottom: .6rem;
  display: flex; align-items: center; gap: .8rem;
}
.prose h2::before { content: ""; width: 26px; height: 2px; background: var(--brass); flex: none; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 10px;
  border: 2px solid var(--brass); border-radius: 50%;
}
.prose a { color: var(--sea); word-break: break-word; }

/* Galleries */
.gallery {
  display: grid; gap: .6rem; margin: 2rem 0 2.4rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
}
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); } }
.gallery__item {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 3 / 2; background: var(--sand); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem .7rem .55rem; font-size: .76rem; line-height: 1.3; color: var(--white);
  background: linear-gradient(180deg, rgba(6,19,34,0), rgba(6,19,34,.85));
  opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery__item figcaption { opacity: 1; transform: none; } }
.gallery__item::after {
  content: ""; position: absolute; top: .6rem; right: .6rem; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(6,19,34,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e4cc95' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 15px no-repeat;
  opacity: 0; transition: opacity .3s;
}
.gallery__item:hover::after { opacity: 1; }

.panorama { margin: 2.2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.panorama a { display: block; cursor: zoom-in; }
.panorama img { width: 100%; transition: transform 1.2s var(--ease); }
.panorama:hover img { transform: scale(1.03); }
.panorama figcaption { background: var(--navy); color: rgba(255,255,255,.8); font-size: .85rem; padding: .7rem 1rem; }

/* Aside */
.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
@media (max-width: 1020px) { .aside { position: static; } }
.specs {
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.specs::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px;
  background: url("../img/helm.svg") center / contain no-repeat; opacity: .07;
}
.specs h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 1.2rem; }
.specs dl { margin: 0; display: grid; }
.specs dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.specs dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); font-weight: 600; padding-top: .2rem; }
.specs dd { margin: 0; font-size: .95rem; color: rgba(255,255,255,.92); }
.specs dd a { color: var(--sea-light); }

.aside-box { background: var(--sand); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.2rem; }
.aside-box h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li + li { border-top: 1px solid var(--line); }
.aside-box a { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; text-decoration: none; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.aside-box a:hover { color: var(--sea); }
.aside-box img { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--deep); color: rgba(255,255,255,.7); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .95rem; }
.site-footer .wave { top: -1px; bottom: auto; transform: rotate(180deg); color: var(--paper); }
.site-footer.on-sand .wave { color: var(--sand); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.site-footer .brand { margin-bottom: 1.2rem; }
.footer__bottom {
  margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer__bottom a { color: rgba(255,255,255,.6); }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brass); color: var(--deep); box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brass-light); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4, 12, 22, .96);
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .12em; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 4.5rem; min-height: 0; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); transition: opacity .25s; }
.lightbox__img.is-loading { opacity: .2; }
.lightbox__caption { text-align: center; color: rgba(255,255,255,.85); padding: 1rem 1.25rem 1.5rem; min-height: 3.5rem; font-family: var(--serif); font-size: 1.25rem; }
.lightbox button {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: var(--white);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.lightbox button:hover { background: var(--brass); border-color: var(--brass); color: var(--deep); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
@media (max-width: 640px) {
  .lightbox__stage { padding: 0 .5rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -3.8rem; transform: none; }
  .lightbox__prev { left: 1rem; } .lightbox__next { right: 1rem; }
  .lightbox__caption { padding-inline: 4.5rem; font-size: 1.05rem; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .hero__content { margin-inline: auto; }
.notfound .hero__actions { justify-content: center; }

/* ---------- Print ---------- */
@media print {
  .site-header, .to-top, .wave, .lightbox, .scroll-hint { display: none !important; }
  .hero { min-height: 0; color: var(--ink); padding: 1rem 0; background: none; }
  .hero::before, .hero__media { display: none; }
  .hero h1 { color: var(--ink); }
  .report { grid-template-columns: 1fr; }
}
