/* Lipari Films — site styles */
:root {
  --bg: #2b2826;
  --bg-deep: #211e1c;
  --bg-light: #f4ede4;
  --ink: #ece4da;
  --ink-soft: #b9ada1;
  --ink-dark: #2b2826;
  --coral: #e8907a;
  --coral-deep: #c9674f;
  --line: rgba(236, 228, 218, 0.18);

  --f-script: "Sacramento", cursive;
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.display {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.12;
  margin: 0;
}
.display.xl { font-size: clamp(2.4rem, 6.4vw, 5.2rem); }
.display.lg { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.display.md { font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: 0.12em; }
.script {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1;
  color: var(--coral);
  text-transform: none;
  letter-spacing: 0.01em;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 38em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1.05em 2.4em;
  border: 1px solid currentColor;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--ink); color: var(--ink-dark); border-color: var(--ink); }
.btn.solid { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn.solid:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 30px var(--gutter) 18px;
  transition: background .4s, padding .4s, box-shadow .4s;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(33, 30, 28, 0.94);
  backdrop-filter: blur(8px);
  padding-top: 18px; padding-bottom: 10px;
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; flex-direction: column-reverse; align-items: center; gap: 0; color: #fff; }
.brand img { width: 84px; height: auto; transition: width .4s; position: relative; z-index: 1; }
.brand span {
  font-family: var(--f-script);
  font-size: 5.2rem;
  line-height: .9;
  -webkit-text-stroke: 0.9px currentColor;
  transform: rotate(-6deg);
  margin-bottom: .06em;
  display: inline-block;
  white-space: nowrap;
  transition: font-size .4s;
}
.site-header .brand { margin-top: 30px; transition: margin .4s; }
.scrolled .brand { margin-top: 6px; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.birds img { width: 84px; height: auto; display: block; transition: width .4s; }
.scrolled .birds img { width: 52px; }
.scrolled .header-right { gap: 8px; }
.scrolled .brand span { font-size: 3rem; }

.nav { display: flex; gap: clamp(18px, 2.6vw, 38px); }
.nav a {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--coral); transition: right .35s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.menu-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.menu-toggle i { display: block; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav-open .menu-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle i:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--bg-deep);
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav a { font-size: 0.9rem; }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
  .site-header { padding-top: 20px; }
  .site-header.scrolled { padding-top: 12px; }
  .site-header .brand { margin-top: 22px; }
  .scrolled .brand { margin-top: 4px; }
  .header-right { gap: 6px; }
  .birds img { width: 56px; }
  .scrolled .birds img { width: 42px; }
  .menu-toggle { margin-right: -10px; }
  .brand img { width: 56px; }
  .brand span { font-size: clamp(2.6rem, 13vw, 4rem); }
  .scrolled .brand span { font-size: 2.6rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 220px var(--gutter) 110px;
  overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -4%; z-index: -2;
  background: url("../img/hero.jpg") center 40% / cover no-repeat;
  animation: drift 26s ease-in-out infinite alternate;
}
@media (max-width: 700px) { .hero-bg { background-image: url("../img/hero-sm.jpg"); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(24,16,10,.55) 0%, rgba(24,16,10,.18) 38%, rgba(24,16,10,.3) 70%, var(--bg) 100%);
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1%, -1%); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }

.hero-inner { max-width: 960px; }
.hero .script { display: block; margin-bottom: 14px; color: #ffd9c8; font-size: clamp(2.8rem, 5.6vw, 4.6rem); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .display { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .sub {
  margin: 26px auto 38px; max-width: 46em;
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: #efe2d4;
}
.hero .btn { color: #fff; }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .4em; text-transform: uppercase; color: #e7d9cb;
}
.scroll-cue::after { content: ""; display: block; width: 1px; height: 40px; margin: 12px auto 0; background: currentColor; animation: cue 2.2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* page hero (interior pages) */
.page-hero {
  position: relative; min-height: 62svh; display: grid; place-items: center; text-align: center;
  padding: 230px var(--gutter) 80px; isolation: isolate; overflow: hidden;
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: blur(3px) saturate(.9); transform: scale(1.06); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24,16,10,.6), rgba(43,40,38,.55) 60%, var(--bg)); }
.page-hero .script { display: block; margin-bottom: 10px; color: #f6c9b6; }

/* ---------- sections ---------- */
section { position: relative; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.pad { padding: clamp(80px, 11vw, 150px) 0; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.light { background: var(--bg-light); color: var(--ink-dark); }
.light .eyebrow, .light .lede { color: #7b6d61; }
.light .btn:hover { background: var(--ink-dark); color: #fff; border-color: var(--ink-dark); }
.deep { background: var(--bg-deep); }

.rule { width: 60px; height: 1px; background: var(--coral); border: 0; margin: 28px auto; }

/* split intro */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .photo { position: relative; }
.split .photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split .photo .tag {
  position: absolute; bottom: -18px; right: -18px; background: var(--coral); color: #fff;
  font-family: var(--f-script); font-size: 2rem; padding: 6px 22px 10px; line-height: 1;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .split .photo .tag { right: 10px; }
}

/* featured film */
.film-frame {
  position: relative; margin: 50px auto 0; max-width: 1100px;
  aspect-ratio: 16 / 9; background: #000;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* trio of style words */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.trio h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .2em; font-size: 1.15rem; margin: 0 0 8px; }
.trio p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.trio .num { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .3em; color: var(--coral); display: block; margin-bottom: 14px; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 34px; } }

/* photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 15vw, 210px); gap: 10px; }
.mosaic figure { margin: 0; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic .a { grid-column: span 3; grid-row: span 2; }
.mosaic .b, .mosaic .c, .mosaic .d, .mosaic .e { grid-column: span 3; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mosaic .a { grid-column: span 2; grid-row: span 2; }
  .mosaic .b, .mosaic .e { grid-column: span 2; }
  .mosaic .c, .mosaic .d { grid-column: span 1; }
}

/* parallax band */
.band {
  min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 100px var(--gutter);
  background-size: cover; background-position: center; background-attachment: fixed; position: relative; isolation: isolate;
}
.band::after { content: ""; position: absolute; inset: 0; background: rgba(28,20,14,.48); z-index: -1; }
@media (hover: none) { .band { background-attachment: scroll; } }

/* reviews */
.reviews { position: relative; max-width: 880px; margin: 0 auto; min-height: 270px; }
.review { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; text-align: center; }
.review.on { opacity: 1; position: relative; }
.review blockquote {
  margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem); line-height: 1.45;
}
.review cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--coral); }
.review cite small { display: block; margin-top: 8px; color: var(--ink-soft); letter-spacing: .2em; font-size: .62rem; }
.light .review cite small { color: #8d7f72; }
.dots { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--coral); background: transparent; padding: 0; cursor: pointer; }
.dots button.on { background: var(--coral); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 46px; }
.badges a { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; opacity: .8; }
.badges a:hover { opacity: 1; color: var(--coral); }

/* collections */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.pkg { border: 1px solid var(--line); padding: 46px 34px 40px; text-align: center; display: flex; flex-direction: column; background: rgba(255,255,255,.015); }
.pkg.feature { border-color: var(--coral); background: rgba(232,144,122,.06); position: relative; }
.pkg.feature::before {
  content: "Signature Collection"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; padding: 5px 14px; white-space: nowrap;
}
.pkg h3 { font-family: var(--f-script); font-weight: 400; font-size: 2.9rem; line-height: 1; margin: 0; color: var(--coral); }
.pkg .price { font-family: var(--f-display); font-size: 2.6rem; letter-spacing: .04em; margin: 14px 0 4px; }
.pkg .tag { font-family: var(--f-display); font-style: italic; color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 26px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 32px; text-align: left; font-size: .95rem; }
.pkg li { padding: 11px 0; border-top: 1px solid var(--line); }
.pkg .btn { margin-top: auto; align-self: center; }
@media (max-width: 960px) { .collections { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

.extras { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; margin-top: 30px; }
.extras h4 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .18em; font-size: 1.15rem; margin: 0 0 18px; }
.extras table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.extras td { padding: 9px 0; border-bottom: 1px solid rgba(43,40,38,.14); }
.extras td:last-child { text-align: right; font-family: var(--f-mono); color: var(--coral-deep); }
.extras ol { padding-left: 1.2em; margin: 0; }
.extras li { margin-bottom: 10px; }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } }

/* about */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.person img, .ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.person h3 { font-family: var(--f-script); font-weight: 400; color: var(--coral); font-size: 2.8rem; margin: 26px 0 0; line-height: 1; }
.person .role { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }
.ph {
  display: grid; place-items: center; text-align: center; padding: 20px;
  border: 1px dashed rgba(232,144,122,.6); background: rgba(232,144,122,.06);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral);
}
.family-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-top: 50px; }
.family-row .ph { aspect-ratio: auto; min-height: 280px; }
.family-row.wide { grid-template-columns: 1.25fr 1.15fr .65fr; }
@media (max-width: 700px) { .family-row, .family-row.wide { grid-template-columns: 1fr; } }
.todo { outline: 1px dashed rgba(232,144,122,.7); outline-offset: 6px; }

/* films grid */
.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; margin-top: 80px; }
.film-card .thumb { position: relative; aspect-ratio: 2.35/1; overflow: hidden; background: #000; }
.film-card .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1s, opacity .4s; }
.film-card:hover .thumb img { transform: scale(1.04); opacity: 1; }
.film-card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.film-card .play::before { content: ""; width: 56px; height: 56px; border-radius: 50%; border: 1px solid #fff; background: rgba(0,0,0,.15); }
.film-card .play::after { content: ""; position: absolute; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.film-card h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .14em; font-size: 1.2rem; margin: 18px 0 2px; }
.film-card p { margin: 0; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 960px) { .films { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .films { grid-template-columns: 1fr; } }

/* video lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,11,9,.94); display: grid; place-items: center; padding: 60px var(--gutter); }
.lightbox[hidden] { display: none; }
.lightbox-frame { width: min(1200px, 100%); aspect-ratio: 16/9; position: relative; }
.lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 6px 12px; }

/* instagram grid */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ig-grid a { aspect-ratio: 1; overflow: hidden; display: block; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s, opacity .4s; opacity: .9; }
.ig-grid a:hover img { transform: scale(1.06); opacity: 1; }
@media (max-width: 700px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* contact */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 50px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.form input, .form textarea, .form select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: inherit; padding: 10px 0; border-radius: 0;
}
.form select option { background: var(--bg); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-bottom-color: var(--coral); }
.form textarea { min-height: 140px; resize: vertical; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* cta */
.cta { text-align: center; }
.cta .script { display: block; margin-bottom: 10px; }

/* footer */
.site-footer { background: var(--bg-deep); padding: 80px var(--gutter) 40px; text-align: center; }
.site-footer .brand { justify-content: center; margin-bottom: 26px; }
.site-footer .brand span { font-size: 5.6rem; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; margin: 20px 0 40px; }
.foot-links a { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.foot-links a:hover { color: var(--coral); }
.site-footer .fine { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #7c7066; }
.to-top { display: inline-block; margin-top: 18px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* photo that swaps on hover/tap */
.swap { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.swap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; aspect-ratio: auto; transition: opacity .6s ease; }
.swap img + img { opacity: 0; }
.swap:hover img + img, .swap.on img + img { opacity: 1; }

/* about page: wide portrait hero, whole photo shown, subject left, title over the black on the right */
.portrait-hero { min-height: 0; aspect-ratio: 2.5 / 1; padding: 0 var(--gutter); place-items: center end; background: #1b1b1b; }
.portrait-hero .bg { filter: none; transform: none; background-size: 100% 100%; background-position: left top; }
.portrait-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 90%, var(--bg) 100%); }
.portrait-hero-text { width: 52%; text-align: center; padding-top: 70px; }
@media (max-width: 760px) {
  .portrait-hero { aspect-ratio: auto; min-height: 54svh; place-items: end center; padding-bottom: 36px; }
  .portrait-hero .bg { background-size: cover; background-position: 20% center; }
  .portrait-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.5) 75%, var(--bg) 100%); }
  .portrait-hero-text { width: 100%; padding-top: 0; }
}

/* white print border, like a framed photo */
.photo.framed img {
  background: #f7f4ef;
  padding: clamp(10px, 1.4vw, 18px);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.65), 0 2px 6px rgba(0,0,0,.25);
}

/* headings set in the same script as the Lipari Films wordmark */
.wordmark-heading {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 0.9px currentColor;
  transform: rotate(-6deg);
  transform-origin: left center;
  margin: 34px 0 6px;
}

/* black & white family prints, framed like the main photo */
.family-row.bw { grid-template-columns: 1.65fr 1fr; gap: clamp(18px, 2.4vw, 34px); margin-top: 60px; align-items: start; }
.family-row.bw figure { margin: 0; }
.family-row.bw img {
  width: 100%; height: auto;
  background: #f7f4ef;
  padding: clamp(10px, 1.4vw, 18px);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.65), 0 2px 6px rgba(0,0,0,.25);
}
.family-row.bw figure:nth-child(2) { margin-top: 40px; transform: rotate(1.2deg); }
@media (max-width: 700px) { .family-row.bw { grid-template-columns: 1fr; } .family-row.bw figure:nth-child(2) { margin-top: 0; transform: none; } }

/* ---------- background music toggle (home) ---------- */
.sound-toggle {
  position: fixed; left: var(--gutter); bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(33, 30, 28, .72); color: var(--ink);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.sound-toggle:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.sound-toggle svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.sound-toggle .ico-on { display: none; }
.sound-toggle[aria-pressed="true"] .ico-on { display: block; }
.sound-toggle[aria-pressed="true"] .ico-off { display: none; }
@media (max-width: 600px) { .sound-toggle .sound-label { display: none; } .sound-toggle { padding: 11px; } }
.sound-toggle.invite { background: var(--coral); border-color: var(--coral); color: #fff; animation: sound-pulse 2s ease-out infinite; }
.sound-toggle.invite .sound-label { display: inline; }
@keyframes sound-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 144, 122, .6); }
  100% { box-shadow: 0 0 0 16px rgba(232, 144, 122, 0); }
}
@media (prefers-reduced-motion: reduce) { .sound-toggle.invite { animation: none; } }

/* ---------- footer social icons ---------- */
.site-footer .social { display: flex; justify-content: center; gap: 22px; margin: 26px 0 6px; }
.site-footer .social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--ink-soft); transition: color .2s, border-color .2s, background .2s; }
.site-footer .social a:hover { color: #fff; background: var(--coral); border-color: var(--coral); }
.site-footer .social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- love notes (client raves) ---------- */
.notes-stage {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center;
  padding: 230px var(--gutter) 90px;
}
.notes-wall {
  position: absolute; inset: -4%; z-index: -3;
  background: #4a3c31 url("../img/notes-wall.jpg") center / cover no-repeat;
  animation: drift 30s ease-in-out infinite alternate;
}
@media (max-width: 700px) { .notes-wall { background-image: url("../img/notes-wall-sm.jpg"); } }
/* moving film grain on top of the baked grain */
.notes-stage::before {
  content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .4 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(-2%, 6%); }
}
.notes-stage::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at center, rgba(24,16,10,0) 40%, rgba(24,16,10,.4) 100%),
    linear-gradient(180deg, rgba(24,16,10,.5) 0%, rgba(24,16,10,.05) 32%, rgba(24,16,10,.1) 78%, var(--bg) 100%);
}
@media (prefers-reduced-motion: reduce) { .notes-wall, .notes-stage::before { animation: none; } }

.notes-head .script { display: block; margin-bottom: 8px; color: #ffd9c8; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.notes-head .display { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.notes-head .eyebrow { color: #efe2d4; margin-top: 16px; }

.notes-stage > div { width: 100%; min-width: 0; }
.notes-head .eyebrow { letter-spacing: .3em; }
.note-holder { position: relative; width: min(440px, 100%); margin: 46px auto 0; }
.note-shadow {
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)) drop-shadow(0 3px 4px rgba(0,0,0,.3));
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.note-shadow.out { opacity: 0; transform: translateY(14px) rotate(var(--tilt, 0deg)) scale(.985); }
.note-shadow.in { opacity: 1; transform: rotate(var(--tilt, 0deg)); }

/* hand-made deckled paper, after the farmette card */
.note {
  position: relative; aspect-ratio: 5 / 7; text-align: left; color: #2a2522;
  padding: 15% 11% 9% 13%;
  display: flex; flex-direction: column;
  background-color: #e8e1d3;
  background-image:
    radial-gradient(1.5px 1px at 22% 31%, rgba(90,70,50,.55), transparent),
    radial-gradient(1px 2.5px at 71% 18%, rgba(90,70,50,.45), transparent),
    radial-gradient(2px 1px at 64% 62%, rgba(90,70,50,.4), transparent),
    radial-gradient(1px 1px at 38% 77%, rgba(60,45,30,.6), transparent),
    radial-gradient(1.5px 1px at 84% 84%, rgba(90,70,50,.4), transparent),
    radial-gradient(ellipse at 6% 50%, rgba(160,140,115,.28), transparent 18%),
    radial-gradient(ellipse at 50% 3%, rgba(160,140,115,.22), transparent 22%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .33 0 0 0 .55 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    linear-gradient(170deg, #ece6d9, #e3dbcb);
}
.note .salute { font-family: "Homemade Apple", var(--f-script); font-size: clamp(.95rem, 2.6vw, 1.15rem); color: #3b322c; margin: 0 0 6%; }
.note blockquote {
  margin: 0; flex: 1; display: flex; align-items: center;
  font-family: "Homemade Apple", var(--f-script); color: #2b2420;
  font-size: clamp(.95rem, 2.7vw, 1.22rem); line-height: 2.05; letter-spacing: .01em;
  overflow-wrap: anywhere;
}
.note blockquote.long { font-size: clamp(.82rem, 2.2vw, 1.02rem); line-height: 1.9; }
.note blockquote.xlong { font-size: clamp(.74rem, 1.9vw, .9rem); line-height: 1.8; }
.note .signed { font-family: "Homemade Apple", var(--f-script); font-size: clamp(1rem, 2.8vw, 1.25rem); color: #3b322c; margin: 4% 0 0; text-align: right; }
.note .imprint { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: end; margin-top: 9%; color: #1f1b19; }
.note .imprint .mark { font-family: var(--f-script); font-size: clamp(2.1rem, 6vw, 2.8rem); line-height: .8; transform: rotate(-8deg); padding-bottom: 6px; grid-row: span 2; }
.note .imprint .meta { font-family: Georgia, "Times New Roman", serif; font-size: clamp(.62rem, 1.6vw, .74rem); line-height: 1.35; border-bottom: 1.5px solid #1f1b19; padding-bottom: 5px; }
.note .imprint .meta b { font-variant: small-caps; letter-spacing: .04em; font-weight: 700; }
.note .imprint .meta i { font-style: italic; }
.note .imprint .line2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(.58rem, 1.5vw, .7rem); padding-top: 5px; grid-column: 1 / -1; }

.note-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.note-controls button {
  background: rgba(33,30,28,.5); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 50%;
  width: 44px; height: 44px; cursor: pointer; font-size: 1.1rem; line-height: 1; transition: background .25s, border-color .25s;
}
.note-controls button:hover { background: var(--coral); border-color: var(--coral); }
.note-controls .count { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .3em; color: #efe2d4; min-width: 7.5em; }
