/* =========================================================
   Brinkman baut's — styles.css
   Palette derived from the brand logo (tree) + the dusk
   photos: pine green, cedar wood, amber string-light glow,
   slate charcoal, warm cream. Fonts self-hosted.
   ========================================================= */

/* ---- Self-hosted variable fonts ---- */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --pine:       #2f5233;
  --pine-dark:  #223c25;
  --leaf:       #86ab54;
  --wood:       #a86b3c;
  --wood-text:  #8a5527;
  --amber:      #e6a34a;
  --amber-soft: #f0be6b;
  --ink:        #33383c;
  --ink-soft:   #5d666c;
  --cream:      #f7f1e6;
  --sand:       #efe4d2;
  --paper:      #fffaf1;
  --line:       rgba(51, 56, 60, .14);
  --white:      #fffefb;

  --wrap:  74rem;
  --gap:   clamp(1.25rem, 4vw, 2.5rem);
  --pad-y: clamp(3.5rem, 9vw, 7rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -22px rgba(34, 40, 30, .5);
  --shadow-sm: 0 8px 22px -16px rgba(34, 40, 30, .55);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 5vw, 2.5rem); }

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 200;
  background: var(--pine); color: var(--white); padding: .7rem 1.1rem;
  border-radius: 0 0 10px 10px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* The signature amber "(t)" mark — used on dark backgrounds (hero, footer).
   Inside the header brand it sits on light/variable backgrounds, so there it
   inherits the surrounding colour to keep sufficient contrast. */
.accent-t { color: var(--amber); font-style: italic; }
.brand .accent-t { color: inherit; font-style: normal; }

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--pine); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--pine); --btn-fg: var(--white); }
.btn--primary:hover { background: var(--pine-dark); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--pill { padding: .55rem 1.15rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); }
.brand__mark { width: 44px; height: 44px; filter: drop-shadow(0 1px 4px rgba(0,0,0,.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.brand__text small { font-size: .72rem; opacity: .92; letter-spacing: .02em; }

/* header state when scrolled */
.site-header.is-stuck {
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 6px 24px -18px rgba(34,40,30,.7);
}
.site-header.is-stuck .brand,
.site-header.is-stuck .nav__menu a:not(.btn) { color: var(--ink); }
.site-header.is-stuck .brand__mark { filter: none; }
.site-header.is-stuck .nav__bars,
.site-header.is-stuck .nav__bars::before,
.site-header.is-stuck .nav__bars::after { background: var(--ink); }

/* ---- Nav ---- */
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; align-items: center; justify-content: center; border-radius: 10px;
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease, background .3s;
}
.nav__bars { position: relative; }
.nav__bars::before { position: absolute; top: -7px; }
.nav__bars::after  { position: absolute; top: 7px; }
.nav[data-open="true"] .nav__bars { background: transparent; }
.nav[data-open="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav__bars::after  { transform: translateY(-7px) rotate(-45deg); }

.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.nav__menu a:not(.btn) {
  color: var(--white); text-decoration: none; font-weight: 500; font-size: .98rem;
  position: relative; padding-block: .3rem; text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--amber); transition: width .22s ease;
}
.nav__menu a:not(.btn):hover::after { width: 100%; }
.site-header.is-stuck .nav__menu a:not(.btn) { text-shadow: none; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(20,26,20,.86) 0%, rgba(20,26,20,.35) 45%, rgba(20,26,20,.55) 100%);
}
.hero__inner { padding-block: clamp(6rem, 16vh, 9rem) clamp(3rem, 8vh, 5rem); max-width: 46rem; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 600;
  color: var(--amber-soft); margin-bottom: 1rem;
}
.hero__title { font-size: clamp(2.9rem, 9vw, 6rem); font-weight: 500; letter-spacing: -.02em; }
.hero__lead { margin-top: 1.25rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34rem; color: rgba(255,255,255,.92); }
.hero__offers {
  display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem;
}
.hero__offers li {
  font-size: .85rem; font-weight: 500; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(2px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* ---- Wood-slat divider (echoes the cladding/ceiling) ---- */
.slats {
  height: 16px;
  background:
    repeating-linear-gradient(90deg,
      var(--wood) 0 5px,
      color-mix(in srgb, var(--wood) 70%, #000) 5px 6px,
      color-mix(in srgb, var(--wood) 88%, #fff) 6px 11px,
      color-mix(in srgb, var(--wood) 70%, #000) 11px 12px);
  opacity: .9;
}

/* ---- Generic section ---- */
.section { padding-block: var(--pad-y); }
.section--sand { background: var(--sand); }
.section--pine { background: var(--pine); color: var(--white); }

.kicker {
  text-transform: uppercase; letter-spacing: .2em; font-size: .76rem; font-weight: 600;
  color: var(--wood-text); margin-bottom: .9rem;
}
.kicker--light { color: var(--amber-soft); }
.h-display { font-size: clamp(2rem, 4.5vw, 3.4rem); }

.stack > * + * { margin-top: 1.15rem; }
.stack--center { text-align: center; max-width: 40rem; margin-inline: auto; }
.stack p { color: var(--ink-soft); max-width: 40rem; }
.section--pine .stack p { color: rgba(255,255,255,.85); }

.grid-2 { display: grid; gap: var(--gap); align-items: center; }

/* ---- Figures ---- */
.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 3 / 4; }
.figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .9rem;
  font-size: .85rem; color: var(--white);
  background: linear-gradient(to top, rgba(20,26,20,.75), transparent);
}

/* ---- Gallery (orientation-aware mosaic: landscapes span 2 cols, all span 2 rows) ---- */
.gallery {
  list-style: none; margin: 2.2rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 7.5rem; gap: .7rem; grid-auto-flow: dense;
}
.gallery__item { margin: 0; grid-row: span 2; }
.gallery__item--l { grid-column: span 2; }
.gallery__btn {
  position: relative; display: block; width: 100%; height: 100%; margin: 0; padding: 0;
  border: 0; cursor: pointer; background: var(--sand);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.gallery__btn picture { display: block; height: 100%; }
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.05); }
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .85rem .7rem;
  font-size: .8rem; font-weight: 500; color: var(--white); text-align: left;
  background: linear-gradient(to top, rgba(20, 26, 20, .8), transparent);
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(18, 22, 20, .92); backdrop-filter: blur(4px);
  opacity: 0; animation: lb-in .2s ease forwards;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { to { opacity: 1; } }
.lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .8rem; max-width: 100%; max-height: 100%; }
.lightbox__img {
  max-width: min(92vw, 1200px); max-height: 82vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); background: #14181a;
}
.lightbox__caption { color: rgba(255, 255, 255, .9); font-size: .95rem; text-align: center; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; border: 0; color: var(--white);
  background: rgba(255, 255, 255, .12); transition: background .2s ease, transform .2s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: clamp(1rem, 3vw, 1.6rem); right: clamp(1rem, 3vw, 1.6rem); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__prev { left: clamp(.5rem, 2vw, 1.6rem); }
.lightbox__next { right: clamp(.5rem, 2vw, 1.6rem); }
body.lb-open { overflow: hidden; }

/* ---- Video walkthrough ---- */
.figure--video {
  max-width: 21rem; margin-inline: auto;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.figure--video video {
  width: 100%; height: auto; display: block; aspect-ratio: 478 / 850;
  object-fit: cover; background: #14181a;
}
.video-facade {
  display: block; position: relative; width: 100%; margin: 0; padding: 0; border: 0;
  cursor: pointer; background: #14181a; aspect-ratio: 478 / 850;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-facade__play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px;
  display: grid; place-items: center; border-radius: 50%;
  background: color-mix(in srgb, var(--pine) 88%, transparent); color: var(--white);
  transition: transform .2s ease, background .2s ease;
}
.video-facade__play svg { width: 30px; height: 30px; margin-left: 3px; }
.video-facade:hover .video-facade__play,
.video-facade:focus-visible .video-facade__play { transform: scale(1.08); background: var(--pine); }
.figure--video figcaption {
  position: static; padding: .6rem .8rem .75rem; text-align: center;
  font-size: .82rem; color: var(--ink-soft); background: var(--paper);
}

/* ---- About photo (Über mich) ---- */
.about__photo {
  margin: 0; position: relative; max-width: 25rem;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.about__photo img { width: 100%; height: auto; display: block; }
.about__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1rem .8rem;
  color: var(--white); font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  background: linear-gradient(to top, rgba(20, 26, 20, .78), transparent);
}

/* ---- Deckenbach object ---- */
.object { margin-top: clamp(2.5rem, 6vw, 4rem); }
.object__head { max-width: 40rem; }
.object__head p { color: var(--ink-soft); margin-top: .8rem; }
.specs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin: 2rem 0; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.spec { background: var(--paper); padding: 1.3rem 1.2rem; }
.spec dt {
  text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 600;
  color: var(--wood-text); margin-bottom: .5rem;
}
.spec dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.spec dd span { display: block; font-family: var(--sans); font-size: .85rem; font-weight: 400; color: var(--ink-soft); margin-top: .25rem; }
.object__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.object__note { font-size: .88rem; color: var(--ink-soft); }

/* ---- Features ---- */
.features { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: clamp(2rem, 5vw, 3rem); }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
}
.feature__icon {
  display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  border-radius: 12px; background: color-mix(in srgb, var(--leaf) 22%, transparent);
  color: var(--pine); margin-bottom: 1rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.feature p { color: var(--ink-soft); font-size: .98rem; }

/* ---- About ---- */
.about { display: grid; gap: var(--gap); align-items: center; }

/* ---- Contact ---- */
.contact { display: grid; gap: var(--gap); align-items: start; }
.contact__lead { color: rgba(255,255,255,.9) !important; }
.contact__details { margin-top: 2rem; display: grid; gap: 1.2rem; }
.contact__label { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--amber-soft); margin-bottom: .25rem; }
.contact__details a { font-family: var(--serif); font-size: 1.4rem; color: var(--white); text-decoration: none; }
.contact__details a:hover { color: var(--amber-soft); }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .9rem; resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--pine);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pine) 22%, transparent);
}
.form__hint { margin-top: .9rem; font-size: .82rem; color: var(--ink-soft); text-align: center; }

/* ---- Footer ---- */
.site-footer { background: var(--pine-dark); color: rgba(255,255,255,.82); padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.footer-inner { display: grid; gap: 1.5rem; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: .8rem; }
.footer__brand img { width: 52px; height: 52px; }
.footer__brand p { font-family: var(--serif); font-size: 1.1rem; color: var(--white); }
.footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer__nav a,
.footer__nav button { color: rgba(255,255,255,.82); text-decoration: none; font-size: .95rem; }
.footer__nav a:hover,
.footer__nav button:hover { color: var(--amber-soft); }
.footer__nav button { font-family: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__copy { font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---- Legal pages (Impressum / Datenschutz) ---- */
.page--legal { background: var(--cream); }
/* Legal pages have no dark hero, so the header is always solid with dark text
   (independent of the scroll-based .is-stuck toggle). */
.page--legal .site-header {
  position: sticky;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 6px 24px -18px rgba(34, 40, 30, .7);
}
.page--legal .brand,
.page--legal .nav__menu a:not(.btn) { color: var(--ink); text-shadow: none; }
.page--legal .brand__mark { filter: none; }
.page--legal .nav__bars,
.page--legal .nav__bars::before,
.page--legal .nav__bars::after { background: var(--ink); }
.legal { padding-block: clamp(6.5rem, 14vw, 9rem) var(--pad-y); }
.legal__inner { max-width: 48rem; overflow-wrap: anywhere; hyphens: auto; }
.legal h1, .legal h2, .legal h3 { overflow-wrap: anywhere; }
.legal .breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.legal .breadcrumb a { color: var(--wood-text); text-decoration: underline; text-underline-offset: 2px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: .6rem; color: var(--pine); }
.legal h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; margin-top: 1.4rem; margin-bottom: .2rem; }
.legal p, .legal ul.prose { color: var(--ink-soft); margin-bottom: .9rem; }
.legal ul.prose { padding-left: 1.2rem; list-style: disc; }
.legal ul.prose li { margin-bottom: .4rem; }
.legal address { font-style: normal; line-height: 1.7; }
.legal a { color: var(--wood-text); overflow-wrap: anywhere; word-break: break-word; text-decoration: underline; text-underline-offset: 2px; }
.legal .muted { font-size: .85rem; color: var(--ink-soft); margin-top: 3rem; }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--sand); padding: .1em .4em; border-radius: 5px; overflow-wrap: anywhere; }

/* ---- Cookie consent (vanilla-cookieconsent) — brand theming ---- */
#cc-main {
  --cc-font-family: var(--sans);
  --cc-bg: var(--paper);
  --cc-primary-color: var(--ink);
  --cc-secondary-color: var(--ink-soft);
  --cc-btn-primary-bg: var(--pine);
  --cc-btn-primary-color: var(--white);
  --cc-btn-primary-hover-bg: var(--pine-dark);
  --cc-btn-secondary-bg: var(--sand);
  --cc-btn-secondary-color: var(--ink);
  --cc-btn-secondary-hover-bg: #e6dcc8;
  --cc-toggle-on-bg: var(--pine);
  --cc-toggle-off-bg: #b7ae9f;
  --cc-cookie-category-block-bg: var(--cream);
  --cc-cookie-category-block-bg-hover: var(--sand);
  --cc-cookie-category-block-border: var(--line);
  --cc-separator-border-color: var(--line);
  --cc-link-color: var(--wood-text);
  --cc-modal-border-radius: 18px;
  --cc-btn-border-radius: 999px;
  --cc-modal-transition-duration: .3s;
}
#cc-main .cm__title,
#cc-main .pm__title { font-family: var(--serif); font-weight: 500; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .25rem; background: var(--cream); padding: 1rem clamp(1.1rem, 5vw, 2.5rem) 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav[data-open="true"] .nav__menu { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__menu a:not(.btn) { color: var(--ink); padding: .7rem .2rem; text-shadow: none; border-bottom: 1px solid var(--line); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin-top: .6rem; }
}

@media (min-width: 700px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 10rem; }
}

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1.05fr .95fr; }
  .grid-2 .figure { max-width: 30rem; margin-left: auto; }
  .specs { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 16rem; gap: 1rem; }
  .grid-2 .figure--video { max-width: 21rem; margin: 0 auto; }
  .figure--wide { aspect-ratio: 16 / 10; max-width: 100%; }
  .about { grid-template-columns: .8fr 1.2fr; }
  .contact { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
  .footer-inner { grid-template-columns: auto 1fr auto; }
  .footer__nav { justify-content: center; }
}

@media (min-width: 1100px) {
  .features { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Motion / contrast preferences ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
