/* Pleuni van der Pas Photography - demo homepage */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Pinyon Script";
  src: url("../assets/fonts/pinyon-script.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../assets/fonts/jost.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
}

:root {
  --paper: #f2f2ec;
  --paper-2: #e5e8de;
  --ink: #20231f;
  --ink-soft: #4f544b;
  --sage: #55634c;
  --sage-ink: #f4f5ef;
  --line: rgba(32, 35, 31, 0.16);
  --on-photo: #fbfbf7;
  --band: #55634c;
  --band-ink: #f4f5ef;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --serif-opsz: "opsz" 11;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --sans: "Jost", "Avenir Next", system-ui, sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1360px;
  --radius: 2px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161915;
    --paper-2: #1f231d;
    --ink: #ecede6;
    --ink-soft: #b9bdb1;
    --sage: #aebb9f;
    --sage-ink: #161915;
    --line: rgba(236, 237, 230, 0.18);
    --band: #2a3226;
    --band-ink: #ecede6;
  }
}

*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: light dark; }
a, button, label, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(85, 99, 76, .18); }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
/* Lage optische grootte: stevigere schreven, dichter bij de letters in het logo */
h1, h2, h3, .wordmark__name, .menu__list a, .reviews__number, .reviews__main p, .contact__lines a, .day__frame span {
  font-optical-sizing: none; font-variation-settings: var(--serif-opsz);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Type */
.script {
  font-family: var(--script);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 .1em;
  color: var(--sage);
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: .07em;
  text-transform: uppercase;
}
h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: .02em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .8rem 1.6rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .1s ease-out;
}
.btn:active { transform: scale(.97); }
.btn--light { background: var(--on-photo); color: #20231f; }
.btn--light:hover { background: #e3e7da; }
.btn--ghost-light { color: var(--on-photo); border-color: rgba(251, 251, 247, .75); }
.btn--ghost-light:hover { background: rgba(251, 251, 247, .14); }
.btn--dark { background: var(--sage); color: var(--sage-ink); }
.btn--dark:hover { background: var(--ink); color: var(--paper); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: .5rem 0; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  color: var(--on-photo);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.menu-toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: .7rem;
  background: none; border: 0; color: inherit; cursor: pointer; min-height: 44px; padding: 0;
  font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.menu-toggle__lines, .menu-toggle__lines::before {
  display: block; width: 22px; height: 1px; background: currentColor; position: relative;
}
.menu-toggle__lines::before { content: ""; position: absolute; top: 6px; width: 14px; }
.wordmark { text-align: center; text-decoration: none; line-height: 1; display: grid; justify-items: center; }
.wordmark__name {
  font-family: var(--serif); font-weight: 600; font-size: clamp(.9rem, 1.6vw, 1.15rem);
  letter-spacing: .2em; text-transform: uppercase; padding-left: .2em;
}
.wordmark__script { font-family: var(--script); font-size: clamp(1.05rem, 1.7vw, 1.3rem); margin-top: .18em; }
.header-insta {
  justify-self: end; font-size: .82rem; letter-spacing: .06em; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.header-insta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Menu overlay */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper); color: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 2rem; padding: var(--gutter);
  overscroll-behavior: contain; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__close {
  position: absolute; top: 16px; left: var(--gutter); min-height: 44px;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}
.menu__list { display: grid; gap: .4rem; text-align: center; }
.menu__list a {
  font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.6rem); letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; display: inline-block; padding: .2rem .5rem;
}
.menu__list a:hover { font-style: italic; text-transform: none; letter-spacing: .02em; }
.menu__script { font-family: var(--script); font-size: 1.8rem; color: var(--sage); margin: 0; }
body.menu-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: grid; align-items: end; justify-items: center;
  overflow: hidden; color: var(--on-photo); isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 22, 12, .42) 0%, rgba(28, 22, 12, 0) 22%, rgba(28, 22, 12, 0) 38%, rgba(28, 22, 12, .5) 62%, rgba(28, 22, 12, .78) 100%);
}
.hero__content {
  width: min(100% - 2 * var(--gutter), 1120px);
  text-align: center; padding: calc(var(--header-h) + 2rem) 0 clamp(2rem, 6vh, 3.5rem);
}
.hero__script { color: var(--on-photo); font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: .3rem; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 3.7vw, 3.3rem); line-height: 1.08; letter-spacing: .05em;
  text-transform: uppercase; text-wrap: balance;
  text-shadow: 0 1px 30px rgba(20, 18, 12, .3);
}
.hero__sub {
  max-width: 34rem; margin: 1.2rem auto 1.8rem; font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 400;
  text-shadow: 0 1px 14px rgba(20, 18, 12, .5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
@media (min-width: 900px) {
  /* Tekst links over het pad, het bruidspaar rechts blijft vrij in beeld */
  .hero { align-items: end; justify-items: start; }
  .hero__media img { object-position: 60% 40%; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(28, 22, 12, .62) 0%, rgba(28, 22, 12, .38) 34%, rgba(28, 22, 12, 0) 58%),
      linear-gradient(180deg, rgba(28, 22, 12, .4) 0%, rgba(28, 22, 12, 0) 20%, rgba(28, 22, 12, 0) 70%, rgba(28, 22, 12, .45) 100%);
  }
  .hero__content {
    width: auto; max-width: 46rem; text-align: left;
    margin-left: var(--gutter); padding-bottom: clamp(3.5rem, 12vh, 8rem);
  }
  .hero__title { text-wrap: nowrap; }
  .hero__sub { margin-left: 0; }
  .hero__actions { justify-content: flex-start; }
}

@media (max-width: 899px) {
  /* Mobiel: eigen compositie. Foto bovenaan vrij in beeld, tekst eronder op papier */
  .hero { display: block; min-height: 0; color: var(--ink); }
  .hero__media { position: relative; inset: auto; height: 48svh; min-height: 330px; overflow: hidden; }
  .hero__media img { object-position: 70% 50%; }
  .hero::after { bottom: auto; height: 48svh; min-height: 330px; background: linear-gradient(180deg, rgba(28, 22, 12, .5) 0%, rgba(28, 22, 12, 0) 28%); }
  .hero__content { margin: 0 auto; padding: 1.4rem 0 2.6rem; }
  .hero__script { font-size: 1.7rem; }
  .hero__title { font-size: clamp(1.75rem, 7.4vw, 2.4rem); }
  .hero__sub { margin: .9rem auto 1.3rem; }
  .hero__actions { gap: .6rem; }
  .hero__script { color: var(--sage); }
  .hero__title { text-shadow: none; }
  .hero__sub { text-shadow: none; color: var(--ink-soft); }
  .hero .btn--light { background: var(--sage); color: var(--sage-ink); }
  .hero .btn--ghost-light { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
}

/* Sections, shared */
section { position: relative; }
.section-head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto clamp(2rem, 4vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head__lead { max-width: 38rem; margin: 1rem auto 0; color: var(--ink-soft); }

/* Intro */
.intro {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 9rem) var(--gutter) clamp(4rem, 8vw, 7rem);
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
.intro__title { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 1.4rem; text-wrap: balance; }
.intro__text { max-width: 34rem; }
.intro__text p:not(.script) { color: var(--ink-soft); }
.intro__text .link-arrow { margin-top: .8rem; }
.intro__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .intro { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); }
  .intro__figure { margin-right: calc(-1 * var(--gutter)); }
  .intro__figure img { aspect-ratio: 3 / 2; }
}

/* Portfolio */
.portfolio { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.portfolio__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  padding: 0 10px; max-width: 1600px; margin: 0 auto;
}
.portfolio__grid li { overflow: hidden; }
.portfolio__grid img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter .6s var(--ease-out);
}
.portfolio__grid li:hover img { transform: scale(1.03); }
.portfolio__grid li:nth-child(9) { display: none; }
@media (min-width: 768px) {
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 20px; }
  .portfolio__grid li:nth-child(9) { display: block; }
}
.portfolio__more { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* Een trouwdag */
.day { background: var(--paper-2); }
.day__pin { padding: clamp(4rem, 8vw, 6rem) 0; overflow: hidden; }
.day__head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 2.5rem; }
.day__head p:not(.script) { max-width: 34rem; color: var(--ink-soft); margin-top: 1rem; }
.day__viewport {
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.day__viewport::-webkit-scrollbar { display: none; }
.day__track {
  display: flex; gap: clamp(14px, 2vw, 28px); align-items: flex-end;
  padding: 0 var(--gutter); width: max-content;
}
.day__frame { flex: none; scroll-snap-align: center; margin: 0; }
.day__frame img { height: clamp(260px, 52vh, 560px); width: auto; object-fit: cover; border-radius: var(--radius); }
.day__frame--wide img { aspect-ratio: 3 / 2; }
.day__frame--tall img { aspect-ratio: 2 / 3; }
.day__frame span {
  display: block; margin-top: .8rem;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-soft);
}
@media (max-width: 899px) {
  .day__frame img { height: auto; width: 82vw; }
  .day__frame--tall img { width: 36.5vw; }
}
.day.is-pinned .day__viewport { overflow: visible; scroll-snap-type: none; }
.day.is-pinned .day__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.day.is-pinned .day__head { margin-bottom: 2rem; }
.day.is-pinned .day__frame img { height: clamp(260px, 48vh, 540px); }

/* Werkwijze */
.steps { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.steps__layout { display: grid; gap: 3rem; padding: 0 var(--gutter); }
.steps__list { counter-reset: stap; display: grid; gap: 0; }
.steps__list li {
  display: grid; grid-template-columns: 1fr; gap: .4rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line);
}
.steps__list li:last-child { border-bottom: 1px solid var(--line); }
.steps__list h3 { font-style: italic; }
.steps__list p { margin: 0; color: var(--ink-soft); max-width: 36rem; }
.steps__images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.steps__img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); }
.steps__img--b { margin-top: 18%; }
@media (min-width: 900px) {
  .steps__layout { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
  .steps__list li { grid-template-columns: 15rem 1fr; gap: 2rem; padding: 2rem 0; align-items: baseline; }
}

/* Fotoshoots */
.shoots { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line); }
.shoots__grid {
  display: grid; gap: 3rem; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto;
}
.shoot__images { display: grid; gap: 12px; margin-bottom: 1.4rem; }
.shoot--big .shoot__images { grid-template-columns: 1fr 1fr; }
.shoot--big .shoot__images img { aspect-ratio: 2 / 3; }
.shoot--big .shoot__images img:last-child { margin-top: 14%; }
.shoot__images img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.shoot:not(.shoot--big) .shoot__images img { aspect-ratio: 3 / 2; }
.shoot h3 { margin-bottom: .5rem; }
.shoot p { color: var(--ink-soft); max-width: 30rem; margin: 0; }
@media (min-width: 900px) {
  .shoots__grid { grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
  .shoot:not(.shoot--big) { padding-bottom: 12%; }
}

/* Reviews */
.reviews {
  background: var(--band); color: var(--band-ink);
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
  display: grid; gap: 2.5rem;
}
.reviews > * { max-width: var(--max); }
.reviews__number { font-family: var(--serif); line-height: 1; margin: 0 0 .8rem; }
.reviews__number span { font-size: clamp(4rem, 9vw, 7rem); font-weight: 500; }
.reviews__number small { font-size: 1.4rem; margin-left: .2rem; opacity: .85; }
.reviews__meta { font-size: .95rem; margin: 0; }
.reviews__main blockquote { margin: 0; }
.reviews__main p {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.3; margin: 0 0 1rem; text-wrap: balance;
}
.reviews__main figcaption { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.reviews__who { font-size: .88rem; font-style: italic; opacity: .92; }
.reviews__list { display: grid; gap: 1.8rem; }
.reviews__list blockquote { margin: 0; }
.reviews__list p { margin: 0 0 .5rem; }
.reviews__list li { padding-top: 1.4rem; border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
@media (min-width: 900px) {
  .reviews {
    grid-template-columns: 4fr 8fr; column-gap: clamp(3rem, 7vw, 7rem);
    max-width: none; justify-content: center;
  }
  .reviews__score { grid-row: span 2; align-self: start; }
  .reviews__list { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* Over */
.about { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.about__statement {
  padding: 0 var(--gutter); max-width: 1500px; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  font-size: clamp(1.7rem, 4.2vw, 3.9rem); line-height: 1.12; letter-spacing: .03em; text-wrap: balance;
}
.about__body {
  display: grid; gap: 2.5rem; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto;
}
.about__figure img { width: min(100%, 420px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.about__text { max-width: 34rem; color: var(--ink-soft); }
.about__sign { font-size: 2.3rem; margin-top: 1rem; }
@media (min-width: 900px) {
  .about__body { grid-template-columns: 5fr 7fr; align-items: end; gap: clamp(3rem, 6vw, 6rem); }
}

/* Contact */
.contact {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter) clamp(5rem, 9vw, 8rem);
  display: grid; gap: 3rem; border-top: 1px solid var(--line);
}
.contact__intro p:not(.script) { color: var(--ink-soft); max-width: 30rem; margin-top: 1rem; }
.contact__lines { display: grid; gap: .3rem; margin-top: 1.6rem; }
.contact__lines a {
  font-family: var(--serif); font-size: 1.2rem; text-decoration: none;
  display: inline-block; padding: .25rem 0; border-bottom: 1px solid transparent;
}
.contact__lines a:hover { border-color: currentColor; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 7vw, 7rem); }
}

.form { display: grid; gap: 1.4rem; align-content: start; }
.form__row { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.form__choice legend { font-size: .92rem; font-weight: 500; margin-bottom: .7rem; padding: 0; }
.form__choice label {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .65rem 1rem; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .95rem; transition: border-color .2s, background-color .2s;
}
.form__choice label:has(input:checked) { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 12%, transparent); }
.form__choice input { accent-color: var(--sage); margin: 0; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .92rem; font-weight: 500; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: color-mix(in srgb, var(--paper) 60%, #ffffff 40%);
  border: 1px solid color-mix(in srgb, var(--ink) 38%, transparent); border-radius: var(--radius);
  padding: .8rem .9rem; min-height: 48px;
}
@media (prefers-color-scheme: dark) {
  .field input, .field textarea { background: var(--paper-2); color-scheme: dark; }
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.field [aria-invalid="true"] { border-color: #a3392b; }
.field__error { color: #a3392b; font-size: .88rem; margin: 0; }
@media (prefers-color-scheme: dark) { .field__error { color: #f0a493; } .field [aria-invalid="true"] { border-color: #f0a493; } }
.form .btn { justify-self: start; }
.form__notice {
  margin: 0; padding: 1rem 1.1rem; border-left: 2px solid var(--sage);
  background: color-mix(in srgb, var(--sage) 10%, transparent); font-size: .95rem;
}

/* Footer */
.footer {
  background: var(--paper-2); text-align: center;
  padding: clamp(3.5rem, 7vw, 5rem) var(--gutter) 2.5rem; display: grid; justify-items: center; gap: .8rem;
}
.footer__logo { width: 220px; height: auto; }
@media (prefers-color-scheme: dark) { .footer__logo { filter: invert(1) hue-rotate(180deg) brightness(1.1); } }
.footer__script { font-size: 1.6rem; margin: -.4rem 0 .6rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; margin-bottom: 1rem; }
.footer__links a {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  display: inline-block; padding: .5rem 0;
}
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__meta { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.footer__meta a { text-decoration: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 80; transform: translateX(-50%);
  width: min(92vw, 30rem); padding: .95rem 1.2rem; text-align: center;
  background: var(--ink); color: var(--paper); border-radius: var(--radius); font-size: .95rem;
  box-shadow: 0 12px 40px rgba(20, 22, 18, .25);
}

/* Motion: content always visible without JS or with reduced motion */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js .is-revealed[data-reveal] {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.js [data-hero-item] { opacity: 0; transform: translateY(18px); }
.js .hero.is-in [data-hero-item] { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .hero.is-in [data-hero-item]:nth-child(2) { transition-delay: .12s; }
.js .hero.is-in [data-hero-item]:nth-child(3) { transition-delay: .26s; }
.js .hero.is-in [data-hero-item]:nth-child(4) { transition-delay: .38s; }
.js [data-hero-media] img { transform: scale(1.08); }
.js .hero.is-in [data-hero-media] img { transform: scale(1); transition: transform 2.4s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js [data-reveal], .js [data-hero-item] { opacity: 1 !important; transform: none !important; }
  .js [data-hero-media] img { transform: none !important; }
  .portfolio__grid li:hover img { transform: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header-insta { font-size: 0; }
  .header-insta::before { content: "IG"; font-size: .78rem; letter-spacing: .2em; font-weight: 500; }
  .menu-toggle span:last-child { display: none; }
  .hero__actions .btn { width: 100%; }
  .form .btn { width: 100%; }
}
