/* ==========================================================
   CARIÑO PHOTO & FILM · design system
   Red #AA0928 · Cream #F0EBDA
   Titles: Block Berthold, stretched 1.5x tall to match the logo (fonts/block-berthold-tall.woff2)
   Body:   Patrick Hand (stand-in for Providence Sans)
   ========================================================== */

@font-face { font-family: "Block Berthold"; src: url("../fonts/block-berthold-tall.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("../fonts/patrick-hand.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --red: #AA0928;
  --red-dark: #870720;
  --cream: #F0EBDA;
  --cream-2: #E8E0C9;
  --ink: #5A0616;
  --display: "Block Berthold", Impact, "Arial Narrow", sans-serif;
  --body: "Patrick Hand", "Comic Neue", "Segoe Print", cursive;
  --wrap: 1180px;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--red);
  font-family: var(--body);
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
  overflow-x: clip;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { font-weight: 400; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: var(--cream); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }

/* ---------- type ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: lowercase;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 0.45em;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
}
.display.big { font-size: clamp(2.6rem, 1.6rem + 5vw, 5.4rem); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.95em; margin-bottom: 0.8em; }
.lead { font-size: 1.18em; }
.script-title { font-family: var(--body); text-transform: uppercase; letter-spacing: 0.12em; font-size: 1.5em; line-height: 1.2; margin: 0 0 0.6em; }
.definition { font-size: 1.3em; margin-bottom: 0.4em; }
.definition em { opacity: 0.75; }
.doodle { width: 64px; height: auto; margin: 0 auto 14px; }
.inline-heart { display: inline-block; height: 0.85em; width: auto; vertical-align: -0.05em; margin-left: 0.1em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  text-transform: lowercase;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  text-decoration: none;
  background: var(--red);
  color: var(--cream);
  border: 2px solid var(--red);
  padding: 0.85em 1.6em;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { background: var(--red); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--red); border-color: var(--cream); }
.btn-cream:hover { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-small { padding: 0.55em 1.2em; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.link-arrow { font-size: 1.05em; text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none; border-bottom: 2px solid currentColor; }
.link-arrow::after { content: " →"; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(240, 235, 218, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: rgba(170, 9, 40, 0.15); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { width: 132px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.site-nav a:not(.btn) { text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.02rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: var(--red); }
.nav-toggle span { display: block; height: 3px; background: currentColor; border-radius: 3px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-row { height: 70px; }
  .brand img { width: 108px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .site-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--red); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .site-nav a:not(.btn) { font-family: var(--display); font-size: 2.6rem; letter-spacing: 0; text-transform: lowercase; }
  .site-nav .nav-cta { background: var(--cream); color: var(--red); border-color: var(--cream); margin-top: 10px; font-size: 1.1rem; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle { color: var(--cream); }
  .nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; place-items: center; text-align: center; padding: 60px 0 80px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 980px; }
.hero-title { font-size: clamp(2.4rem, 1.2rem + 5vw, 5.4rem); line-height: 1.2; margin-bottom: 0.35em; }
.hero-sub { font-size: 1.25em; max-width: 560px; margin: 0 auto 1.6em; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(40, 0, 8, 0.25), rgba(40, 0, 8, 0.55)); }
.hero-media { color: var(--cream); }
.hero-media .btn { background: var(--cream); color: var(--red); border-color: var(--cream); }
.hero-media .btn-ghost { background: transparent; color: var(--cream); }
.hero-media .btn-ghost:hover { background: var(--cream); color: var(--red); }

/* ---------- marquee ---------- */
.marquee { background: var(--red); color: var(--cream); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -2%; width: 104%; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--display); text-transform: lowercase; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); white-space: nowrap; }
.marquee img { height: 30px; width: auto; }
@keyframes marquee { to { transform: translateX(-25%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--cream-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .display { margin: 0; }
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(20px, 3vw, 40px); }
.page-hero .lead { margin-top: 0.4em; }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); margin-top: 36px; }
.service-card h3 { font-family: var(--display); font-weight: 400; text-transform: lowercase; font-size: 2rem; margin: 18px 0 6px; line-height: 1.25; }
.service-card h3 span { font-family: var(--body); font-size: 0.6em; letter-spacing: 0.1em; display: block; margin-top: 6px; }
.service-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--red); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-img.is-empty { display: grid; place-items: center; }
.service-img.is-empty .doodle { width: 30%; height: auto; filter: brightness(0) invert(93%) sepia(8%) saturate(400%) hue-rotate(5deg); margin: 0; }
.service-card:nth-child(2) .service-img.is-empty { background: var(--cream-2); }
.service-card:nth-child(2) .service-img.is-empty .doodle { filter: none; }

/* recent */
.recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.recent-item { aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.recent-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.recent-item:hover img { transform: scale(1.05); }

/* polaroid + us */
.us-grid { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.polaroid { margin: 0; max-width: 420px; justify-self: center; filter: drop-shadow(0 18px 30px rgba(90, 6, 22, 0.18)); }
.tilt-left img { transform: rotate(-3deg); }
.prose p { max-width: 62ch; }

/* languages */
.hello-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 30px auto 34px; }
.hello { background: var(--cream); border: 2px solid var(--red); border-radius: var(--radius); padding: 26px 12px; display: flex; flex-direction: column; gap: 4px; }
.hello:nth-child(2) { background: var(--red); color: var(--cream); transform: rotate(1.5deg); }
.hello-word { font-family: var(--display); text-transform: lowercase; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1.25; }

/* cta band */
.cta-band { background: var(--red); color: var(--cream); padding: clamp(70px, 10vw, 130px) 0; }
.cta-band .lead { margin-bottom: 1.5em; }

/* films: thumbnail cards */
.film-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.film-card { cursor: pointer; outline: none; }
.film-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--red); }
.film-thumb img, .film-thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; pointer-events: none; }
.film-card:hover .film-thumb img, .film-card:hover .film-thumb video, .film-card:focus-visible .film-thumb img { transform: scale(1.04); }
.film-play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--cream); color: var(--red); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(40, 0, 8, 0.35); transition: transform .3s ease; }
.film-play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.film-card:hover .film-play { transform: scale(1.08) rotate(-4deg); }
.film-card:focus-visible .film-thumb { outline: 3px dashed var(--red); outline-offset: 4px; }
.film-title { font-family: var(--display); font-weight: 400; text-transform: lowercase; font-size: 1.7rem; line-height: 1.25; margin: 14px 0 0; }

/* ---------- custom video player (popup) ---------- */
.video-modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 70px 16px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(36, 2, 9, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.video-modal-inner { position: relative; z-index: 1; width: min(1100px, 100%); margin: auto; transform: scale(0.94) translateY(18px); transition: transform .5s ease; }
.video-modal.is-open .video-modal-inner { transform: none; }
.video-modal-title { position: absolute; bottom: 100%; left: 0; margin: 0 0 14px; font-family: var(--display); text-transform: lowercase; font-size: 1.6rem; line-height: 1.2; color: var(--cream); max-width: 80%; }
.video-modal-close { position: absolute; bottom: 100%; right: 0; margin-bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--cream); border-radius: 50%; color: var(--cream); background: transparent; cursor: pointer; transition: background .3s, color .3s, transform .4s; }
.video-modal-close:hover { background: var(--cream); color: var(--red); transform: rotate(90deg); }
.video-modal-close svg { width: 18px; height: 18px; fill: currentColor; }

.video-player { position: relative; background: #000; border-radius: 14px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55); aspect-ratio: 16 / 9; overflow: hidden; }
.video-player video { width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
.video-player-big-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; background: rgba(0, 0, 0, 0.2); transition: opacity .3s ease; }
.video-player.is-paused .video-player-big-play { opacity: 1; pointer-events: auto; }
.video-player-big-play button { width: 82px; height: 82px; border-radius: 50%; border: 0; background: var(--cream); color: var(--red); display: grid; place-items: center; cursor: pointer; transition: transform .35s ease; }
.video-player-big-play button:hover { transform: scale(1.08) rotate(-4deg); }
.video-player-big-play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.video-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.3rem; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.92) 100%); opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.video-player:hover .video-controls, .video-player.is-paused .video-controls, .video-player:focus-within .video-controls { opacity: 1; transform: none; }
.vp-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--cream); flex-shrink: 0; cursor: pointer; transition: color .25s ease; }
.vp-btn:hover { color: #ff6b84; }
.vp-btn svg { width: 20px; height: 20px; fill: currentColor; }
.vp-icon-pause { display: none; }
.video-player.is-paused .vp-icon-play { display: block; }
.video-player.is-paused .vp-icon-pause { display: none; }
.video-player:not(.is-paused) .vp-icon-play { display: none; }
.video-player:not(.is-paused) .vp-icon-pause { display: block; }
.vp-icon-unmuted { display: block; }
.vp-icon-muted { display: none; }
.video-player.is-muted .vp-icon-unmuted { display: none; }
.video-player.is-muted .vp-icon-muted { display: block; }
.vp-time { font-size: 0.85rem; color: rgba(240, 235, 218, 0.8); min-width: 40px; text-align: center; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.vp-progress { position: relative; flex: 1; height: 5px; border-radius: 3px; background: rgba(240, 235, 218, 0.2); cursor: pointer; }
.vp-progress-buffered, .vp-progress-played { position: absolute; left: 0; top: 0; height: 100%; width: 0%; border-radius: 3px; }
.vp-progress-buffered { background: rgba(240, 235, 218, 0.32); }
.vp-progress-played { background: var(--red); }
.vp-progress-played::after { content: ""; position: absolute; right: -6px; top: 50%; width: 13px; height: 13px; background: var(--cream); border: 2px solid var(--red); border-radius: 50%; transform: translateY(-50%) scale(0); transition: transform .2s ease; }
.video-player:hover .vp-progress-played::after, .video-player:focus-within .vp-progress-played::after { transform: translateY(-50%) scale(1); }
.vp-volume { display: flex; align-items: center; flex-shrink: 0; }
.vp-volume-slider { -webkit-appearance: none; appearance: none; width: 0; height: 3px; margin-left: 0; opacity: 0; overflow: hidden; background: rgba(240, 235, 218, 0.28); border-radius: 2px; cursor: pointer; accent-color: var(--red); transition: width .25s ease, opacity .2s ease, margin-left .25s ease; }
.vp-volume:hover .vp-volume-slider, .vp-volume:focus-within .vp-volume-slider { width: 70px; opacity: 1; margin-left: 8px; }
.vp-volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); cursor: pointer; }
.vp-volume-slider::-moz-range-thumb { width: 12px; height: 12px; border: none; border-radius: 50%; background: var(--cream); cursor: pointer; }
@media (max-width: 900px) { .vp-volume-slider { display: none; } }
@media (max-width: 640px) {
  .video-controls { padding: 0.7rem 0.8rem; gap: 0.6rem; }
  .vp-time { display: none; }
  .video-modal-title { max-width: 70%; font-size: 1.25rem; }
}

/* photos (masonry) */
.photo-grid { columns: 3 280px; column-gap: 12px; }
.photo { display: block; margin-bottom: 12px; border-radius: 10px; overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.photo img { width: 100%; height: auto; transition: transform .5s, opacity .3s; }
.photo:hover img { transform: scale(1.03); }
.empty-note { text-align: center; border: 2px dashed rgba(170, 9, 40, 0.4); border-radius: var(--radius); padding: 48px 20px; max-width: 640px; margin: 0 auto; }

/* tabs */
.tabs { display: inline-flex; gap: 8px; margin-top: 10px; border: 2px solid var(--red); border-radius: 999px; padding: 5px; }
.tab { text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; padding: 8px 22px; border-radius: 999px; }
.tab:hover { background: var(--red); color: var(--cream); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(36, 2, 9, 0.94); display: grid; place-items: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: min(92vw, 1400px); max-height: 84vh; width: auto; height: auto; border-radius: 6px; touch-action: pan-y; }
.lightbox button { position: absolute; background: rgba(240, 235, 218, 0.12); color: var(--cream); border: 0; border-radius: 999px; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-cards .btn { justify-self: start; margin-top: 8px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; border: 2px solid var(--red); border-radius: var(--radius); padding: 18px 22px; transition: background .2s, color .2s, transform .2s; }
.contact-card .label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.85em; opacity: 0.85; }
.contact-card .value { font-family: var(--display); text-transform: lowercase; font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem); line-height: 1.3; overflow-wrap: anywhere; }
a.contact-card:hover { background: var(--red); color: var(--cream); transform: rotate(-0.6deg); }
.checklist { background: var(--red); color: var(--cream); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); transform: rotate(1deg); }
.checklist .doodle { margin: 0 0 10px; filter: brightness(0) invert(93%) sepia(8%) saturate(400%) hue-rotate(5deg); width: 34px; }
.checklist ul { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 9px 0 9px 30px; border-bottom: 1px dashed rgba(240, 235, 218, 0.35); position: relative; }
.checklist li::before { content: "♡"; position: absolute; left: 0; }
.checklist li:last-child { border-bottom: 0; }

.wide-photo { width: 100%; border-radius: var(--radius); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 36px; align-items: start; }
.footer-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-links a, .footer-contact a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact .langs { margin-top: 6px; opacity: 0.8; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(240, 235, 218, 0.2); margin-top: 44px; padding-top: 20px; font-size: 0.9em; opacity: 0.85; }
.footer-base p { margin: 0; }
.footer-heart { height: 30px; width: auto; }

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

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .us-grid, .contact-grid { grid-template-columns: 1fr; }
  .polaroid { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .recent-grid { grid-template-columns: repeat(2, 1fr); }
  .film-grid { grid-template-columns: 1fr; }
  .hello-grid { grid-template-columns: 1fr; max-width: 300px; }
  .hero { min-height: 72vh; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; text-align: center; }
  .lightbox button { width: 44px; height: 44px; font-size: 1.6rem; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* static version helpers */
.contact-cards-list { display: grid; gap: 14px; }
.footer-contact-links { display: flex; flex-direction: column; gap: 8px; }
.empty-note[hidden], [hidden] { display: none !important; }

.hero-title { margin-top: 0.3em; margin-bottom: 0.5em; }

/* about page: bigger polaroid */
.polaroid.polaroid-big { max-width: 440px; width: 100%; }
@media (min-width: 901px) {
  .page-about .us-grid { grid-template-columns: 1fr 1.05fr; }
  .polaroid.polaroid-big { max-width: 560px; }
}

/* ---------- contact form ---------- */
.contact-grid { grid-template-columns: 0.8fr 1.2fr; }
.contact-form { background: var(--red); color: var(--cream); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; }
.contact-form .doodle { margin: 0; width: 30px; }
.form-title { font-family: var(--display); text-transform: lowercase; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); line-height: 1.2; margin: 0 0 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; }
.field > span, .field legend { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82em; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--cream);
  border: 2px solid var(--cream); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(90, 6, 22, 0.45); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240, 235, 218, 0.45); }
.contact-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.pills { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { margin-bottom: 8px; padding: 0; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-block; font-family: var(--display); text-transform: lowercase; font-size: 1.25rem; padding: 6px 20px; border: 2px solid var(--cream); border-radius: 999px; transition: background .2s, color .2s; }
.pills input:checked + span { background: var(--cream); color: var(--red); }
.pills input:focus-visible + span { outline: 3px dashed var(--cream); outline-offset: 3px; }
.contact-form .btn { justify-self: start; margin-top: 4px; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.is-ok { font-size: 1.15em; }
.form-status.is-error { color: #ffd7de; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
