/* Horizon — Lake Geneva & Swiss Alps editorial journal */
:root {
  --night: #0C1520;
  --lake: #1E4A5C;
  --lake-soft: #2A5F73;
  --mist: #EEF2F4;
  --paper: #F9F8F6;
  --bronze: #9A7B4F;
  --bronze-light: #C4A86A;
  --ink: #141A20;
  --mute: #5A6570;
  --line: rgba(12, 21, 32, 0.12);
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --ui: "Jost", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.25rem;
  --max: 1120px;
  --read: 38rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ui);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--bronze); }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--night);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 2000;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

/* ── Horizon line motif ── */
.hz-line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze), transparent);
  opacity: 0.7;
}

/* ── Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(249, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--night);
  line-height: 1;
}
.brand em {
  font-style: normal;
  color: var(--bronze);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--night); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--night);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ── Layout ── */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--night);
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 0.85rem;
  color: var(--mute);
  max-width: 36rem;
  font-size: 1.05rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: min(92svh, 820px);
  display: grid;
  align-items: end;
  color: var(--mist);
  overflow: hidden;
  background: var(--night);
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 18s var(--ease) infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 21, 32, 0.25) 0%, rgba(12, 21, 32, 0.15) 40%, rgba(12, 21, 32, 0.88) 100%);
}

.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--bronze-light) 50%, transparent 95%);
  opacity: 0.55;
  animation: pulseLine 4s ease-in-out infinite alternate;
}
@keyframes pulseLine {
  from { opacity: 0.35; }
  to { opacity: 0.7; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(3.8rem, 12vw, 8.5rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 1rem;
  animation: fadeRise 1s var(--ease) both;
}
.hero-brand span {
  display: block;
  font-size: 0.18em;
  letter-spacing: 0.35em;
  margin-bottom: 0.6rem;
  opacity: 0.85;
  font-family: var(--ui);
  font-weight: 400;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  line-height: 1.25;
  max-width: 22ch;
  font-style: italic;
  margin-bottom: 0.85rem;
  animation: fadeRise 1s 0.12s var(--ease) both;
}

.hero-lead {
  max-width: 34ch;
  color: rgba(238, 242, 244, 0.82);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
  animation: fadeRise 1s 0.22s var(--ease) both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.35rem;
  background: var(--bronze);
  color: var(--night);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s;
  animation: fadeRise 1s 0.32s var(--ease) both;
}
.hero-cta:hover {
  transform: translateY(-2px);
  background: var(--bronze-light);
  color: var(--night);
}

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ── Featured ── */
.featured {
  background: var(--mist);
}

.feature-main {
  display: grid;
  gap: 1.75rem;
  margin-top: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .feature-main { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}

.feature-media {
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--lake);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.feature-main:hover .feature-media img { transform: scale(1.04); }

.feature-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.6rem;
}

.feature-main h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--night);
}

.feature-main p {
  color: var(--mute);
  margin-bottom: 1.25rem;
  max-width: 36ch;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 0.15rem;
}
.link-arrow:hover { color: var(--lake); }

/* ── Article grid ── */
.grid-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.article-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 700px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .article-grid { grid-template-columns: repeat(3, 1fr); }
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.article-card:hover { color: inherit; }

.article-card .thumb {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--lake);
  margin-bottom: 1rem;
}
.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.article-card:hover .thumb img { transform: scale(1.05); }

.article-card .meta {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.4rem;
}

.article-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--night);
  margin-bottom: 0.5rem;
}

.article-card p {
  color: var(--mute);
  font-size: 0.95rem;
  flex: 1;
}

/* Asymmetric home grid accent */
.article-grid .span-wide {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .article-grid .span-wide {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
  .article-grid .span-wide .thumb { margin-bottom: 0; aspect-ratio: 21 / 11; }
}

/* ── Strip band ── */
.band {
  background: var(--night);
  color: var(--mist);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.band .section-title { color: var(--mist); }
.band p { color: rgba(238, 242, 244, 0.72); max-width: 40rem; margin-top: 0.75rem; }
.band a.hero-cta { margin-top: 1.5rem; }

/* ── Article page ── */
.article-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}
.article-hero .wrap { max-width: var(--read); }

.article-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  color: var(--night);
  margin: 0.5rem 0 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  padding-bottom: 1.25rem;
}

.article-cover {
  width: min(100%, 1200px);
  margin: 0 auto 2.5rem;
  aspect-ratio: 21 / 10;
  overflow: hidden;
  background: var(--lake);
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .article-cover { aspect-ratio: 4 / 3; }
}

.prose {
  width: min(100% - 2rem, var(--read));
  margin: 0 auto 4rem;
}
.prose p {
  margin-bottom: 1.25rem;
  font-size: 1.08rem;
  line-height: 1.8;
}
.prose p.lede {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--lake);
  font-style: italic;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.75rem;
  margin: 2.25rem 0 0.85rem;
  color: var(--night);
}
.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 2px solid var(--bronze);
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--lake);
}
.prose figure {
  margin: 2rem 0;
}
.prose figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.prose figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}

.article-end {
  width: min(100% - 2rem, var(--read));
  margin: 0 auto 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* ── About / legal ── */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(30, 74, 92, 0.08), transparent 50%),
    var(--mist);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--night);
  max-width: 14ch;
}
.page-hero p {
  margin-top: 1rem;
  color: var(--mute);
  max-width: 40rem;
}

.legal,
.about-body {
  width: min(100% - 2rem, 740px);
  margin: 0 auto;
  padding: 3rem 0 4.5rem;
}
.legal h2,
.about-body h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.65rem;
  margin: 2rem 0 0.75rem;
  color: var(--night);
}
.legal p,
.about-body p,
.legal li,
.about-body li {
  margin-bottom: 0.9rem;
  color: #2A333C;
}
.legal ul,
.about-body ul {
  margin: 0 0 1rem 1.25rem;
}
.about-portrait {
  margin: 2rem 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--lake);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Footer ── */
.site-footer {
  background: var(--night);
  color: rgba(238, 242, 244, 0.75);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.75rem;
}
.site-footer p { font-size: 0.92rem; line-height: 1.65; max-width: 36ch; }
.site-footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: rgba(238, 242, 244, 0.8); }
.site-footer a:hover { color: var(--bronze-light); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 242, 244, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Cookie notice ── */
.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 420px;
  margin-left: auto;
  background: var(--night);
  color: var(--mist);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 16px 40px rgba(12, 21, 32, 0.35);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.cookie-bar.is-visible {
  transform: none;
  opacity: 1;
}
.cookie-bar p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  color: rgba(238, 242, 244, 0.85);
}
.cookie-bar a { color: var(--bronze-light); text-decoration: underline; }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-actions button {
  padding: 0.55rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.cookie-accept {
  background: var(--bronze);
  color: var(--night);
}
.cookie-accept:hover { background: var(--bronze-light); }
.cookie-decline {
  border: 1px solid rgba(238, 242, 244, 0.35);
  color: var(--mist);
}
.cookie-decline:hover { border-color: var(--mist); }

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Articles index */
.articles-intro {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}
.articles-intro h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--night);
  max-width: 12ch;
  line-height: 1.1;
}
.articles-intro p {
  margin-top: 0.85rem;
  color: var(--mute);
  max-width: 38rem;
}
