/* ============================================================
   Monika Bäbler Photography — Redesign
   "Abendlicht im Schächental"
   paper #FAF8F3 · ink #242C28 · dusk #4C5E6E · gold #A8823E
   Display: Cormorant Garamond · Body: Karla
   ============================================================ */

:root {
  --paper: #FAF8F3;
  --paper-2: #F1EDE3;
  --ink: #242C28;
  --fir: #3D4E44;
  --muted: #6E7A72;
  --dusk: #4C5E6E;
  --dusk-deep: #38475A;
  --gold: #A8823E;
  --line: #E4DED1;
  --line-dark: rgba(255, 255, 255, .16);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8rem);
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--dusk); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--dusk-deep); }

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

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 500; }

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  max-width: var(--measure);
  color: var(--fir);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dusk);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.script { font-family: var(--font-display); font-style: italic; font-weight: 400; }

.meta {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Signature: golden viewfinder corners ---------- */

.vf {
  position: relative;
  display: inline-block;
  padding: .08em .16em;
  background:
    linear-gradient(var(--gold), var(--gold)) left 0 top 0 / 18px 1.5px,
    linear-gradient(var(--gold), var(--gold)) left 0 top 0 / 1.5px 18px,
    linear-gradient(var(--gold), var(--gold)) right 0 top 0 / 18px 1.5px,
    linear-gradient(var(--gold), var(--gold)) right 0 top 0 / 1.5px 18px,
    linear-gradient(var(--gold), var(--gold)) left 0 bottom 0 / 18px 1.5px,
    linear-gradient(var(--gold), var(--gold)) left 0 bottom 0 / 1.5px 18px,
    linear-gradient(var(--gold), var(--gold)) right 0 bottom 0 / 18px 1.5px,
    linear-gradient(var(--gold), var(--gold)) right 0 bottom 0 / 1.5px 18px;
  background-repeat: no-repeat;
}
.hero .vf {
  background-image:
    linear-gradient(#D9B25F, #D9B25F), linear-gradient(#D9B25F, #D9B25F),
    linear-gradient(#D9B25F, #D9B25F), linear-gradient(#D9B25F, #D9B25F),
    linear-gradient(#D9B25F, #D9B25F), linear-gradient(#D9B25F, #D9B25F),
    linear-gradient(#D9B25F, #D9B25F), linear-gradient(#D9B25F, #D9B25F);
}

/* ---------- Layout helpers ---------- */

.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 62rem; margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section); }
.section-tint { background: var(--paper-2); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  max-width: 76rem;
  margin-inline: auto;
  padding: .9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand-logo { height: 52px; width: auto; display: block; }
.brand-logo-light {
  height: 58px;
  filter: brightness(0) invert(1);
  opacity: .95;
  margin-bottom: .5rem;
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--dusk); }
.site-nav a[aria-current="page"] {
  color: var(--dusk);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.site-nav a.btn-solid { color: #fff; }
.site-nav a.btn-solid:hover { color: #fff; background: var(--ink); }

/* Portfolio dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: .35rem; }
.nav-drop > a::after {
  content: "";
  width: .38em; height: .38em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.drop-menu {
  position: absolute;
  top: calc(100% + .9rem);
  left: 50%;
  translate: -50% 0;
  min-width: 15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(36, 44, 40, .12);
  padding: .6rem 0;
  display: none;
}
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: .45rem 1.3rem;
  font-size: .9rem;
}
.drop-menu a:hover { background: var(--paper-2); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: .55rem .7rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: .85rem 1.9rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--dusk-deep); color: #fff; }
.btn-solid:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--dusk); color: var(--dusk); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--dusk-deep); }
.btn-sm { padding: .6rem 1.2rem; font-size: .72rem; }

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

.hero {
  position: relative;
  min-height: min(92vh, 56rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.hero img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(23, 30, 27, .78) 0%, rgba(23, 30, 27, .25) 45%, rgba(23, 30, 27, .15) 100%);
}
.hero-inner {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding: var(--section) var(--gutter) clamp(3rem, 7vw, 5rem);
}
.hero .eyebrow { color: #E8E3D6; }
.hero .eyebrow::before { background: #D9B25F; }
.hero h1 { color: #fff; max-width: 14em; }
.hero .lead { color: rgba(255, 255, 255, .88); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-actions .btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero-actions .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }

.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 1.1rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}

/* ---------- Page head (subpages) ---------- */

.page-head { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head .lead { margin-top: .5rem; }

/* ---------- Photo tiles / category grid ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.tile { grid-column: span 4; text-decoration: none; color: var(--ink); }
.tile-wide { grid-column: span 6; }
.tile-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.tile-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .6s ease;
}
.tile:hover .tile-figure img { scale: 1.045; }

/* focus corners appear on hover */
.tile-figure::after {
  content: "";
  position: absolute;
  inset: 14px;
  opacity: 0;
  transition: opacity .3s ease;
  background:
    linear-gradient(#D9B25F, #D9B25F) left 0 top 0 / 22px 2px,
    linear-gradient(#D9B25F, #D9B25F) left 0 top 0 / 2px 22px,
    linear-gradient(#D9B25F, #D9B25F) right 0 top 0 / 22px 2px,
    linear-gradient(#D9B25F, #D9B25F) right 0 top 0 / 2px 22px,
    linear-gradient(#D9B25F, #D9B25F) left 0 bottom 0 / 22px 2px,
    linear-gradient(#D9B25F, #D9B25F) left 0 bottom 0 / 2px 22px,
    linear-gradient(#D9B25F, #D9B25F) right 0 bottom 0 / 22px 2px,
    linear-gradient(#D9B25F, #D9B25F) right 0 bottom 0 / 2px 22px;
  background-repeat: no-repeat;
}
.tile:hover .tile-figure::after,
.shot:hover::after { opacity: 1; }

.tile-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .8rem;
}
.tile-label h3 { margin: 0; }
.tile-label .meta { white-space: nowrap; }
.tile-desc { margin: .2rem 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Masonry gallery ---------- */

.masonry {
  columns: 3;
  column-gap: clamp(.9rem, 1.6vw, 1.4rem);
}
.shot {
  position: relative;
  break-inside: avoid;
  margin-bottom: clamp(.9rem, 1.6vw, 1.4rem);
  overflow: hidden;
  background: var(--paper-2);
}
.shot img { width: 100%; transition: scale .6s ease; }
.shot:hover img { scale: 1.035; }
.shot::after {
  content: "";
  position: absolute;
  inset: 12px;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  background:
    linear-gradient(#D9B25F, #D9B25F) left 0 top 0 / 20px 2px,
    linear-gradient(#D9B25F, #D9B25F) left 0 top 0 / 2px 20px,
    linear-gradient(#D9B25F, #D9B25F) right 0 top 0 / 20px 2px,
    linear-gradient(#D9B25F, #D9B25F) right 0 top 0 / 2px 20px,
    linear-gradient(#D9B25F, #D9B25F) left 0 bottom 0 / 20px 2px,
    linear-gradient(#D9B25F, #D9B25F) left 0 bottom 0 / 2px 20px,
    linear-gradient(#D9B25F, #D9B25F) right 0 bottom 0 / 20px 2px,
    linear-gradient(#D9B25F, #D9B25F) right 0 bottom 0 / 2px 20px;
  background-repeat: no-repeat;
}
.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem .9rem .7rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  background: linear-gradient(to top, rgba(23, 30, 27, .65), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.shot:hover figcaption { opacity: 1; }

/* Category chips */
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-block;
  padding: .45rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--fir);
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover { border-color: var(--dusk); color: var(--dusk); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Shop ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.5rem);
}
.product-card { text-decoration: none; color: var(--ink); }
.product-figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--paper-2);
}
.product-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale .5s ease;
}
.product-card:hover .product-figure img { scale: 1.04; }
.product-tag {
  position: absolute;
  top: .7rem; left: .7rem;
  padding: .25rem .6rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(250, 248, 243, .92);
  color: var(--fir);
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: .8rem 0 .1rem;
}
.product-card:hover .product-name { color: var(--dusk); }
.product-price { font-size: .88rem; color: var(--muted); }

/* ---------- Product detail ---------- */

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.product-gallery-main {
  overflow: hidden;
  background: var(--paper-2);
}
.product-gallery-main img { width: 100%; }
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
  margin-top: .7rem;
}
.product-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s;
  border: 1px solid var(--line);
}
.product-thumbs img:hover, .product-thumbs img.is-active { opacity: 1; border-color: var(--gold); }

.product-info { position: sticky; top: 6rem; }
.product-info h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.price-line {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  margin: 1rem 0 1.4rem;
}
.price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
}
.price-note { font-size: .78rem; color: var(--muted); }

.spec-list { list-style: none; padding: 0; margin: 1.4rem 0; border-top: 1px solid var(--line); }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.spec-list li span:first-child { color: var(--muted); }

.buy-row { display: flex; gap: .8rem; margin: 1.6rem 0 .9rem; }
.qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--ink);
}
.qty button {
  width: 2.6rem;
  border: 0;
  background: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}
.qty button:hover { background: var(--paper-2); }
.qty input {
  width: 3rem;
  border: 0;
  border-inline: 1px solid var(--line);
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  background: transparent;
}

.breadcrumb { font-size: .8rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--dusk); }
.breadcrumb span::before { content: "·"; margin-inline: .5rem; }

/* ---------- Packages (Arbeite mit mir) ---------- */

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
.package {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(1.4rem, 2.5vw, 2rem);
}
.package h3 { margin-bottom: .3rem; }
.package .meta { margin-bottom: 1rem; }
.package ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  font-size: .95rem;
}
.package ul li {
  padding: .32rem 0 .32rem 1.4rem;
  position: relative;
}
.package ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .85em;
  width: .55rem; height: 1px;
  background: var(--gold);
}
.package-price {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.package-price .price { font-size: 1.7rem; }
.package-price .from { font-size: .78rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.price-rows { width: 100%; font-size: .92rem; border-collapse: collapse; margin-top: .6rem; }
.price-rows td { padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.price-rows td:last-child { text-align: right; white-space: nowrap; }
.package .btn { margin-top: 1.3rem; align-self: flex-start; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .6rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; font-size: .97rem; color: var(--fir); }

/* Checklist band */
.include-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem 2.5rem;
}
.include-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: .98rem;
}
.include-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: .8rem; height: .45rem;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- About ---------- */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about-portrait { position: sticky; top: 6rem; }
.about-portrait img { width: 100%; }
.about-portrait figcaption { margin-top: .6rem; }

.fact-list {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem 2rem;
  font-size: .95rem;
}
.fact-list li { padding-left: 1.4rem; position: relative; }
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .8em;
  width: .55rem; height: 1px;
  background: var(--gold);
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35;
  color: var(--fir);
  max-width: 26em;
  margin: 0;
}

/* ---------- Forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.4rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fir);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: .75rem .9rem;
  transition: border-color .2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--dusk);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-aside {
  border-left: 2px solid var(--gold);
  padding-left: clamp(1.2rem, 2.5vw, 2rem);
}
.contact-aside h3 { margin-top: 1.6rem; }
.contact-aside h3:first-child { margin-top: 0; }
.contact-aside p { margin: .3rem 0; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding-block: var(--section);
}
.cta-band .eyebrow { color: #C9C2B0; justify-content: center; }
.cta-band .eyebrow::before { background: var(--gold); }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 44ch; margin: 0 auto 2rem; color: rgba(255, 255, 255, .8); }

/* ---------- Note box ---------- */

.note-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  padding: 1.5rem clamp(1.2rem, 3vw, 2rem);
}
.note-box p { margin: 0; max-width: 56ch; }
.note-box strong { font-weight: 700; }

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

.site-footer {
  background: #1C2420;
  color: #B9C0BA;
  font-size: .92rem;
}
.footer-grid {
  max-width: 76rem;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
}
.footer-tag { margin-top: 1rem; max-width: 30ch; }
.site-footer h4 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8B958D;
  margin: 0 0 .9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #D9DDD8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal {
  border-top: 1px solid var(--line-dark);
  padding: 1.3rem var(--gutter);
  max-width: 76rem;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  font-size: .8rem;
  color: #8B958D;
}
.footer-legal a { color: #8B958D; }
.footer-credit svg { fill: #C0685C; vertical-align: -1px; margin-inline: .1em; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes rise {
      from { opacity: 0; translate: 0 26px; }
    }
    .reveal {
      animation: rise auto ease-out backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 64rem) {
  .tile { grid-column: span 6; }
  .tile-wide { grid-column: span 6; }
  .masonry { columns: 2; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .product-info, .about-portrait { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 44rem) {
  .tile, .tile-wide { grid-column: span 12; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid, .steps, .include-list, .form-grid, .fact-list { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }

  .brand-logo { height: 40px; }

  .tile-label { flex-wrap: wrap; }
  .tile-label .meta { white-space: normal; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .5rem 0 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-drop { width: 100%; }
  .site-nav > a, .nav-drop > a {
    display: block;
    padding: .8rem var(--gutter);
    font-size: 1.05rem;
  }
  .site-nav a[aria-current="page"] { border-bottom: none; color: var(--dusk); }
  .nav-drop > a::after { display: none; }
  .drop-menu {
    display: block;
    position: static;
    translate: none;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 .4rem;
  }
  .drop-menu a { padding: .45rem calc(var(--gutter) + 1.2rem); color: var(--fir); }
  .site-nav .btn { margin: .8rem var(--gutter) 0; }
}
