/* MAVE Frame & Film: one stylesheet for every page. */
:root {
  --cream: #f7f2ec;
  --white: #fffdfa;
  --ink: #171513;
  --soft: #6e6760;
  --line: #ddd5cb;
  --accent: #9a7454;
  --accent-light: #d8b998;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Avenir Next", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --gap: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 5.6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 28px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.label { font: 500 12px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.muted { color: var(--soft); }
.italic { font-style: italic; }
.rule { width: 160px; height: 1px; background: var(--ink); border: 0; margin: 28px 0; }
section { padding: clamp(70px, 10vw, 120px) 0; }

/* Buttons */
.btn { display: inline-block; padding: 15px 28px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover, .btn.solid { background: var(--ink); color: var(--cream); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.on-dark { border-color: var(--cream); color: var(--cream); }
.btn.on-dark:hover { background: var(--cream); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--cream); display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 56px); transition: box-shadow .3s, padding .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); padding-block: 12px; }
.wordmark { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark b { font: 600 26px/1 var(--sans); letter-spacing: .14em; }
.wordmark small { font: 500 8.5px/1 var(--sans); letter-spacing: .42em; margin-top: 6px; }
.header-right { display: flex; align-items: center; gap: 22px; }
.check-date { padding: 11px 18px; }
.burger { width: 34px; height: 22px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); }
.burger span:nth-child(1) { top: 6px; }
.burger span:nth-child(2) { top: 14px; }

/* Full-screen menu */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu.open { opacity: 1; visibility: visible; }
.menu a { font: 500 15px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; padding: 14px; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--accent); }
.menu .menu-cta { margin-top: 18px; border: 1px solid var(--ink); padding: 15px 26px; }
.menu-close { position: absolute; top: 18px; right: clamp(16px, 4vw, 56px); background: none; border: 0; font: 300 40px/1 var(--sans); cursor: pointer; color: var(--ink); }
.menu-foot { position: absolute; bottom: 28px; font-size: 14px; color: var(--soft); }
.menu-foot a { font: inherit; letter-spacing: 0; text-transform: none; padding: 0 6px; }

/* Photo layouts */
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.triptych img { aspect-ratio: 2/3; object-fit: cover; }
.triptych.edge { padding-inline: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pair img { aspect-ratio: 4/5; object-fit: cover; }
.single { max-width: 760px; margin-inline: auto; }
.single img { aspect-ratio: 4/5; object-fit: cover; }
.band { height: clamp(360px, 70vh, 720px); position: relative; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.band .band-text { position: absolute; inset: auto 0 0 0; padding: 0 0 clamp(36px, 7vh, 72px); color: #fff; text-align: center; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.6) 100%); padding-top: 140px; }
.band h2 { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.stack > * + * { margin-top: var(--gap); }
.photo-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.photo-text.flip .pt-img { order: 2; }
.pt-img img { aspect-ratio: 4/5; object-fit: cover; }
.caption { font-size: 14px; color: var(--soft); margin-top: 10px; }

/* Split intro (title left, tall photo right) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: end; }
.split .split-img img { aspect-ratio: 3/4; object-fit: cover; }
.split h1 { font-size: clamp(38px, 5vw, 62px); }
.split .lead { max-width: 440px; }

/* Watch the film */
.film-band { background: var(--ink); color: var(--cream); }
.film-band .muted { color: rgba(247,242,236,.7); }
.film-head { max-width: 640px; margin-bottom: 36px; }
.film-head h2 { margin-bottom: 14px; }
.film { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.film img, .film video, .film iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.film img { transition: transform .8s ease, opacity .3s; }
.film:hover img { transform: scale(1.02); opacity: .92; }
.film-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(0,0,0,.25); transition: background .2s; }
.film-play::after { content: ""; position: absolute; left: 34px; top: 27px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.film:hover .film-play, .film:focus-visible .film-play { background: rgba(0,0,0,.5); }
.film-meta { position: absolute; left: 20px; bottom: 18px; color: #fff; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.film.playing { cursor: default; }
.film-cta { margin: 32px 0 0; }
@media (max-width: 820px) { .film-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .film-play::after { left: 26px; top: 20px; border-width: 12px 0 12px 19px; } }

/* Home hero: phones get one full-screen photo with a slow zoom; desktop swaps in the silent film loop (script.js) */
.hero { position: relative; height: calc(100svh - 84px); min-height: 520px; overflow: hidden; background: var(--ink); }
.hero img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: hero-settle 14s cubic-bezier(.2,.6,.3,1) both; }
.hero-text { position: absolute; inset: auto 0 0 0; padding: 160px 16px clamp(48px, 9vh, 96px); text-align: center; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%); }
.hero-text .label { color: rgba(255,255,255,.85); }
.hero-text h1 { font-style: italic; font-size: clamp(32px, 4.6vw, 60px); max-width: 860px; margin: 0 auto 30px; }
@keyframes hero-settle { from { transform: scale(1.1); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero img { animation: none; } }
.hero-video { display: none; animation: none; }
@media (min-width: 821px) {
  /* Desktop: dark panel with the headline on the left, the photo on the right fading into it */
  .hero-photo { display: none; }
  .hero-video { display: block; }
  .hero img, .hero-video { left: auto; width: 60%; object-position: 50% 45%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
  .hero-text { inset: 0 auto 0 0; width: 48%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; padding: 0 0 0 clamp(16px, 6vw, 96px); background: none; }
  .hero-text h1 { font-size: clamp(36px, 3.8vw, 58px); margin: 0 0 34px; }
}

/* Numbered links */
.numbered { list-style: none; padding: 0; margin: 0; }
.numbered li { border-top: 1px solid var(--ink); padding: 18px 0 22px; display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 12px; }
.numbered li:last-child { border-bottom: 1px solid var(--ink); }
.numbered .num { font: 400 22px/1 var(--display); color: var(--accent); }
.numbered h3 { font: 500 14px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.numbered p { grid-column: 2; margin: 6px 0 0; color: var(--soft); font-size: 15.5px; }
.numbered a { text-decoration: none; font-size: 15px; white-space: nowrap; }
.numbered a::after { content: " →"; }

/* Cross-links above the footer */
.crosslinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.crosslinks a { text-decoration: none; display: block; }
.crosslinks img { aspect-ratio: 4/5; object-fit: cover; transition: opacity .2s; }
.crosslinks a:hover img { opacity: .88; }
.crosslinks span { display: block; margin-top: 14px; font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.crosslinks span::after { content: "  →"; }

/* Collections */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.card { position: relative; border: 1px solid var(--line); background: var(--white); padding: 38px 30px 32px; display: flex; flex-direction: column; }
.card h3 { font-size: 32px; }
.card .covers { color: var(--soft); font-size: 15px; margin: 6px 0 22px; min-height: 2.8em; }
.card .price { font: 400 46px/1 var(--display); color: var(--accent); margin: 0 0 22px; }
.card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.card li { border-top: 1px solid var(--line); padding: 10px 0; font-size: 15.5px; }
.card.popular { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.card.popular .covers { color: rgba(247,242,236,.7); }
.card.popular .price { color: var(--accent-light); }
.card.popular li { border-color: rgba(247,242,236,.18); }
.card.popular .btn { border-color: var(--cream); color: var(--cream); }
.card.popular .btn:hover { background: var(--cream); color: var(--ink); }
.card .btn { align-self: flex-start; }
.badge { position: absolute; top: -12px; left: 30px; margin: 0; background: var(--accent-light); color: var(--ink); font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; }
.rows { margin: 0; max-width: 760px; }
.rows div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 14px 0; }
.rows div:last-child { border-bottom: 1px solid var(--line); }
.rows dt { margin: 0; }
.rows dd { margin: 0; color: var(--accent); font-weight: 500; white-space: nowrap; }

/* Steps and principles */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 34px; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 400 36px/1 var(--display); color: var(--accent); margin-bottom: 12px; }
.steps h3 { font: 500 17px/1.35 var(--sans); margin-bottom: 6px; }
.steps p { color: var(--soft); font-size: 15.5px; margin: 0; }

/* FAQ */
.faq > * { max-width: 800px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--soft); margin: 12px 0 0; }

/* Enquiry */
.enquire-band { background: var(--ink); color: var(--cream); }
.enquire-band .label { color: var(--accent-light); }
.enquire-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.enquire-grid .muted { color: rgba(247,242,236,.75); }
.enquire-grid a { color: var(--cream); }
form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 8px; font: 500 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(247,242,236,.72); }
input, select, textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--cream); background: transparent; border: 0; border-bottom: 1px solid rgba(247,242,236,.35); border-radius: 0; padding: 10px 0; letter-spacing: 0; text-transform: none; }
input::placeholder, textarea::placeholder { color: rgba(247,242,236,.4); }
select option { color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--accent-light); }
input[type="date"] { color-scheme: dark; }
textarea { resize: vertical; }
form .btn { justify-self: start; border-color: var(--cream); color: var(--cream); margin-top: 6px; }
form .btn:hover { background: var(--cream); color: var(--ink); }
.form-note { min-height: 1.4em; color: var(--accent-light); font-size: 15px; margin: 0; }

/* Footer */
.site-footer { padding: 80px 0 40px; text-align: center; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 40px; }
.footer-cols a { display: block; text-decoration: none; font: 500 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 9px 0; }
.footer-cols a:hover { color: var(--accent); }
.site-footer .wordmark { align-items: center; margin-bottom: 18px; }
.site-footer small.legal { display: block; color: var(--soft); font-size: 13px; margin-top: 18px; }

/* Lightbox */
[data-zoom] img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(12,11,10,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { width: auto; max-width: min(92vw, 1100px); max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font: 300 46px/1 var(--sans); cursor: pointer; padding: 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* Phones */
@media (max-width: 820px) {
  :root { --gap: 8px; }
  body { font-size: 16px; }
  .check-date { display: none; }
  .mobile-cta { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: 12px; text-align: center; background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
  .split, .photo-text, .enquire-grid, .form-row { grid-template-columns: 1fr; }
  .split .split-img { order: -1; }
  .photo-text.flip .pt-img { order: 0; }
  .cards { grid-template-columns: 1fr; gap: 28px; }
  .card .covers { min-height: 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .numbered li { grid-template-columns: 44px 1fr; }
  .numbered a { grid-column: 2; }
  .triptych.mobile-scroll { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .triptych.mobile-scroll img { scroll-snap-align: start; }
  .crosslinks { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: 1fr; gap: 0; }
  .site-footer { padding-bottom: 96px; }
}
@media (min-width: 821px) { .mobile-cta { display: none; } }
