/* ==========================================================================
   casa rossa 4A — Design System
   Naturtöne (Sand · Olive · Stein) · Serif + Sans · puristisch
   ========================================================================== */

/* ---------- 1. Design Tokens ------------------------------------------- */
:root {
  /* Palette — Sand / Olive / Stein */
  --sand:        #F4EFE4;   /* page background            */
  --sand-2:      #ECE4D4;   /* alternating section        */
  --sand-3:      #E4DAC7;   /* deeper sand                */
  --paper:       #FBF8F1;   /* lightest cards             */
  --ink:         #2C2A24;   /* headings / primary text    */
  --ink-soft:    #605B4F;   /* body text                  */
  --ink-mute:    #8A8271;   /* captions / meta            */
  --olive:       #5F6B4B;   /* accent                     */
  --olive-deep:  #434D33;   /* accent hover / dark        */
  --stone:       #B4AB98;   /* muted lines / icons        */
  --line:        rgba(44, 42, 36, 0.14);
  --line-soft:   rgba(44, 42, 36, 0.07);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --header-h: 78px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1360px;
  --section-y: clamp(4.5rem, 11vw, 10rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, picture { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--sand);
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.075rem);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ---------- 3. Language visibility ------------------------------------ */
html.lang-de [data-lang="en"] { display: none !important; }
html.lang-en [data-lang="de"] { display: none !important; }

/* ---------- 4. Typography ---------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: 0.005em;
}
.display {
  font-size: clamp(2.9rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 0.98;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }

p { max-width: 62ch; }
p + p { margin-top: 1.1rem; }
em, i { font-style: italic; }
strong { font-weight: 500; color: var(--ink); }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.42;
  color: var(--ink);
  font-weight: 300;
  max-width: 30ch;
}

/* Kicker / eyebrow label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--olive);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--olive);
  opacity: 0.6;
}
.kicker--plain::before { display: none; }

.num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

/* ---------- 5. Layout helpers ----------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tint { background: var(--sand-2); }
.section--deep { background: var(--sand-3); }
.section--paper { background: var(--paper); }

.stack > * + * { margin-top: 1.4rem; }
.measure { max-width: 54ch; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- 6. Buttons / links ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 1.05rem 1.9rem;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--sand); }
.btn--olive { border-color: var(--olive); color: var(--olive); }
.btn--olive:hover { background: var(--olive); color: var(--sand); border-color: var(--olive); }
.btn--solid { background: var(--olive); border-color: var(--olive); color: var(--sand); }
.btn--solid:hover { background: var(--olive-deep); border-color: var(--olive-deep); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: gap .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--olive); border-color: var(--olive); gap: 0.85rem; }

/* ---------- 7. Header / Navigation ------------------------------------ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease);
}
.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header.is-solid {
  background: var(--sand);
  height: 66px;
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.brand b { font-weight: 500; }
.brand span { color: var(--olive); font-style: italic; }

/* primary nav */
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.4rem); }
.nav__item { position: relative; }
.nav__link {
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color .35s var(--ease);
}
.nav__link:hover, .nav__item.is-current > .nav__link { color: var(--olive); }
.nav__item.is-current > .nav__link { position: relative; }
.nav__caret { font-size: 0.6rem; color: var(--stone); transition: transform .35s var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 210px;
  background: var(--sand);
  border: 1px solid var(--line);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  box-shadow: 0 24px 50px -30px rgba(44,42,36,.4);
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.dropdown a:hover { background: var(--sand-2); color: var(--olive); }

/* right cluster: language + cta */
.header__right { display: flex; align-items: center; gap: 1.4rem; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}
.lang button {
  background: none; border: 0; cursor: pointer;
  color: var(--ink-mute);
  padding: 0.2rem 0.35rem;
  letter-spacing: 0.12em;
  transition: color .3s var(--ease);
}
.lang button:hover { color: var(--ink); }
.lang button.is-active { color: var(--olive); font-weight: 500; }
.lang__sep { color: var(--stone); }

.nav-cta { display: inline-flex; }

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  position: relative; z-index: 120;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile overlay menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--sand);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__group { border-top: 1px solid var(--line); padding: 1.15rem 0; }
.mobile-nav__group:last-child { border-bottom: 1px solid var(--line); }
.mobile-nav__head {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav__sub { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 0.8rem; }
.mobile-nav__sub a {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute);
}
.mobile-nav__sub a:hover { color: var(--olive); }
.mobile-nav__foot { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.2rem; }

/* ---------- 8. Hero ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem var(--gutter) 3rem;
  gap: 1.6rem;
}
.hero__place { color: var(--olive); }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.hero__title b { font-weight: 500; }
.hero__title i { font-style: italic; color: var(--olive); }
.hero__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--ink-soft);
  max-width: 26ch;
}
.hero__intro { max-width: 40ch; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.6rem; }
.hero__media {
  position: relative;
  padding: 3rem 3rem 3rem 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__frame {
  position: relative; height: 100%;
  overflow: hidden;
}
.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__scroll span {
  width: 46px; height: 1px; background: var(--ink-mute);
  transform-origin: left;
  animation: scrollpulse 2.4s var(--ease) infinite;
}
@keyframes scrollpulse { 0%,100%{ transform: scaleX(0.35); opacity:.4 } 50%{ transform: scaleX(1); opacity:1 } }

/* page hero (inner pages) */
.pagehero {
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.pagehero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2rem;
}
.pagehero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 300; }
.pagehero__meta { text-align: right; color: var(--ink-mute); font-size: 0.85rem; }

/* ---------- 9. Split / editorial block -------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}
.split--reverse .split__media { order: 2; }
.split__body { max-width: 34rem; }
.split__body .kicker { margin-bottom: 1.4rem; }
.split__body h2 { margin-bottom: 1.3rem; }
.split__body .stack { margin-top: 1.3rem; }
.split__media img { width: 100%; }
.frame { overflow: hidden; background: var(--sand-3); }
.frame--portrait { aspect-ratio: 3 / 4; }
.frame--portrait img { width: 100%; height: 100%; object-fit: cover; }
.frame--land { aspect-ratio: 4 / 3; }
.frame--land img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption {
  margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--ink-mute); font-style: italic; font-family: var(--serif);
}

/* feature list */
.speclist { display: grid; gap: 0; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.speclist li {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.speclist li .k { color: var(--ink); letter-spacing: .02em; }
.speclist li .v { color: var(--ink-mute); text-align: right; }

/* amenity chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.chips li {
  border: 1px solid var(--line);
  padding: 0.45rem 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- 10. Section heading --------------------------------------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}
.sec-head h2 { margin-top: 0.9rem; max-width: 16ch; }
.sec-head__aside { max-width: 30ch; color: var(--ink-soft); font-size: 0.95rem; text-align: right; }

/* ---------- 11. Cards (overview) -------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); }
.card { display: block; }
.card__media { overflow: hidden; aspect-ratio: 3/4; background: var(--sand-3); margin-bottom: 1.2rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__num { font-family: var(--serif); font-style: italic; color: var(--ink-mute); font-size: 0.9rem; }
.card h3 { margin: 0.3rem 0 0.5rem; }
.card p { font-size: 0.92rem; color: var(--ink-soft); }
.card .link-arrow { margin-top: 1rem; }

/* ---------- 12. Pinned horizontal chapter (signature) ----------------- */
.hscroll {
  position: relative;
  background: #26241E;                 /* eigenes, dunkles Kapitel */
  color: var(--sand);
}
.hscroll__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hscroll__track {
  display: flex;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4.5rem);
  padding-inline: var(--gutter);
  will-change: transform;
}

/* leading text panel */
.hscroll__intro {
  flex: 0 0 auto;
  width: min(80vw, 30rem);
  padding-right: clamp(1rem, 3vw, 3rem);
}
.hscroll__intro .kicker,
.hscroll__intro .kicker::before { color: #B9B190; }
.hscroll__intro .kicker::before { background: #B9B190; }
.hscroll__intro h2 { color: var(--sand); margin: 1.1rem 0 1.2rem; }
.hscroll__intro p { color: rgba(244,239,228,.7); max-width: 34ch; }

/* image panels */
.hpanel { flex: 0 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.hpanel img {
  height: 64vh; height: 64svh;
  width: auto; max-width: none;
  object-fit: cover;
  background: rgba(244,239,228,.06);
  -webkit-user-drag: none;
}
.hpanel figcaption {
  display: flex; align-items: baseline; gap: 0.9rem; margin: 0;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: rgba(244,239,228,.72);
}
.hpanel figcaption b {
  font-family: var(--sans); font-style: normal; font-weight: 400;
  font-size: 0.72rem; letter-spacing: 0.2em; color: #A7AE86;
}

/* progress HUD pinned to bottom */
.hscroll__hud {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: clamp(1.4rem, 4vh, 2.4rem);
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.8rem);
}
.hscroll__count {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  color: rgba(244,239,228,.9); white-space: nowrap;
}
.hscroll__line { position: relative; flex: 1; height: 1px; background: rgba(244,239,228,.22); }
.hscroll__fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: #A7AE86; }
.hscroll__hint {
  font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(244,239,228,.55); white-space: nowrap;
}

/* fallback: native swipe (mobile / reduced motion) */
.hscroll--native .hscroll__pin {
  position: static; height: auto; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-block: clamp(3rem, 10vw, 5rem);
}
.hscroll--native .hscroll__pin::-webkit-scrollbar { display: none; }
.hscroll--native .hscroll__track { transform: none !important; }
.hscroll--native .hpanel { scroll-snap-align: center; }
.hscroll--native .hpanel img { height: 60vh; }
.hscroll--native .hscroll__intro { width: min(82vw, 24rem); }
.hscroll--native .hscroll__hud { position: static; margin: 1.6rem var(--gutter) 0; }

/* ---------- 12b. Static image grid (rooms recap) ---------------------- */
.imggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
.imggrid figure { margin: 0; }
.imggrid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--sand-3); }
.imggrid figcaption {
  margin-top: 0.75rem; font-family: var(--serif); font-style: italic;
  color: var(--ink-mute); font-size: 0.92rem;
}

/* pinned chapter — mobil (Pin bleibt aktiv, nur kompakter) */
@media (max-width: 720px) {
  .hscroll__intro { width: min(84vw, 22rem); padding-right: 1rem; }
  .hscroll__intro h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hscroll__track { gap: clamp(1.1rem, 4vw, 1.8rem); }
  .hpanel img { height: 58vh; height: 58svh; }
  .hpanel figcaption { font-size: 0.95rem; gap: 0.7rem; }
  .hscroll__hud { gap: 0.9rem; bottom: 1.2rem; }
  .hscroll__hint { display: none; }
}

/* ---------- 13. Quote ------------------------------------------------- */
.quote { text-align: center; max-width: 34ch; margin-inline: auto; }
.quote p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  line-height: 1.22;
  color: var(--ink);
  max-width: none;
}
.quote cite { display: block; margin-top: 1.8rem; font-style: normal;
  font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--olive); }

/* ---------- 14. Feature rows (wellness / breakfast) ------------------- */
.stagger { display: grid; gap: clamp(4rem, 9vw, 8rem); }

/* small info grid */
.infogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.infogrid__item { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.infogrid__item .num { display: block; margin-bottom: 0.7rem; }
.infogrid__item h4 { margin-bottom: 0.6rem; }
.infogrid__item p { font-size: 0.92rem; }

/* ---------- 15. Contact / form ---------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.field { margin-bottom: 1.4rem; }
.field label {
  display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 0.6rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--olive);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.contact-detail { display: grid; gap: 1.6rem; }
.contact-detail dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive); margin-bottom: 0.3rem; }
.contact-detail dd { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.contact-detail a:hover { color: var(--olive); }
.map { margin-top: 2.5rem; overflow: hidden; aspect-ratio: 16/10; background: var(--sand-3); }
.map img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 16. Footer ------------------------------------------------ */
.footer { background: var(--olive-deep); color: #E7E3D6; padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.footer a { color: #E7E3D6; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(231,227,214,.18); }
.footer__brand { font-family: var(--serif); font-size: 2rem; color: #F4EFE4; }
.footer__brand span { font-style: italic; opacity: 0.8; }
.footer__tag { margin-top: 1rem; max-width: 30ch; opacity: 0.8; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.footer h5 { font-family: var(--sans); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.65; margin-bottom: 1.2rem; }
.footer ul li { margin-bottom: 0.7rem; }
.footer ul a { opacity: 0.85; font-size: 0.95rem; transition: opacity .3s; }
.footer ul a:hover { opacity: 1; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: 0.78rem; opacity: 0.6; }

/* ---------- 17. Reveal animation -------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- 18. Responsive -------------------------------------------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .infogrid { grid-template-columns: 1fr 1fr; }
  .imggrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .burger { display: block; }
  .header__right { gap: 0.8rem; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__text { padding: 2.5rem var(--gutter) 1rem; order: 2; }
  .hero__media { padding: 0 var(--gutter); order: 1; height: 68svh; min-height: 420px; }
  .hero__scroll { display: none; }

  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --section-y: clamp(3.5rem, 14vw, 5rem); }
  .cards { grid-template-columns: 1fr; }
  .infogrid { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head__aside { text-align: left; }
  .pagehero__grid { grid-template-columns: 1fr; }
  .pagehero__meta { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .imggrid { grid-template-columns: 1fr; }
}

/* ---------- 19. Reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
