/* =====================================================================
   SIGNATURE COLOR: Royal Blue (chosen October 2026).
   ===================================================================== */

/* Self-hosted fonts (Cormorant Garamond, Jost; SIL Open Font License). Served from this site so visitors never contact Google. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #1F3F8F;          /* buttons and filled shapes          */
  --accent-on-light: #2747A0; /* highlight words on white sections   */
  --accent-on-dark: #7C9BEA;  /* highlight words on black sections   */
}

/* ---------- Palette and type ---------- */
:root {
  --ink: #0E0D0B;
  --paper: #FAF8F4;
  --paper-2: #F2EEE6;
  --white: #FFFFFF;
  --danger: #B3261E;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-theme: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1280px;
  --header-h: 86px;

  /* light theme (default) */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #5C574F;
  --line: #E3DED4;
  --line-strong: #CFC8BA;
  --accent-text: var(--accent-on-light);
}

/* Each section keeps its own color: data-bg="light" (white) or data-bg="dark" (black). */
[data-bg="dark"] {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #B8B2A7;
  --line: #3A362F;
  --line-strong: #5A554C;
  --accent-text: var(--accent-on-dark);
}
[data-bg="light"] {
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #5C574F;
  --line: #E3DED4;
  --line-strong: #CFC8BA;
  --accent-text: var(--accent-on-light);
}
[data-bg] { background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { text-wrap: pretty; margin: 0; }
em { font-style: italic; }

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px; text-decoration: none;
  opacity: 0; pointer-events: none; transform: translateY(-140%);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.skip-link:focus { opacity: 1; pointer-events: auto; transform: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.015em;
}
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 3.5vw, 50px); line-height: 1.08; letter-spacing: -0.01em;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(23px, 1.9vw, 28px); line-height: 1.18; }
.accent { color: var(--accent-text); font-style: italic; }
.lead { font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.75; color: var(--muted); max-width: 34em; }
.small { font-size: 14px; color: var(--muted); }
.label { font-size: 14px; }

/* ---------- Buttons and links ---------- */
.btn, .btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: transform 0.16s var(--ease-out), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, filter 0.3s ease;
}
.btn { background: var(--accent); color: var(--paper); border: 1px solid var(--accent); }
.btn-line { background: transparent; color: var(--fg); border: 1px solid currentColor; }
.btn:active, .btn-line:active { transform: scale(0.97); }
.arrow { display: inline-block; transition: transform 0.45s var(--ease-out); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 0;
  font-size: 16px; font-weight: 500;
  text-decoration: none; color: var(--accent-text); position: relative;
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0.35); transform-origin: left; transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { filter: brightness(1.14); }
  .btn-line:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
  .btn:hover .arrow, .btn-line:hover .arrow, .text-link:hover .arrow { transform: translateX(6px); }
  .text-link:hover::after { transform: scaleX(1); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.6s var(--ease-out), background-color 0.4s ease, border-color 0.4s ease;
}
.site-header.is-hidden { transform: translateY(-101%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { --brand-h: 60px; position: relative; display: grid; height: var(--brand-h); }
.brand img { grid-area: 1 / 1; height: var(--brand-h); width: auto; max-width: none; transition: opacity 0.6s var(--ease-theme); }
.brand .logo-light { opacity: 0; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  position: relative; padding: 12px 0; text-decoration: none;
  font-size: 16px; font-weight: 400;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out);
}
.nav-links a[aria-current="page"]:not(.btn) { color: var(--accent-text); }
.nav-links a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav .btn { min-height: 46px; padding: 0 22px; }
.menu-toggle { display: none; }
.nav-book { display: none; }
main { padding-top: var(--header-h); }

/* Mobile menu */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-book { display: inline-flex; margin-left: auto; min-height: 40px; padding: 0 18px; font-size: 14px; }
  .menu-open .nav-book { opacity: 0; pointer-events: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
    background: none; border: 0; cursor: pointer;
    font-size: 16px;
  }
  .menu-toggle .bars { position: relative; width: 22px; height: 10px; }
  .menu-toggle .bars::before, .menu-toggle .bars::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
    transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
  }
  .menu-toggle .bars::before { top: 0; }
  .menu-toggle .bars::after { top: 9px; }
  .menu-open .menu-toggle .bars::before { top: 5px; transform: rotate(45deg); }
  .menu-open .menu-toggle .bars::after { top: 5px; transform: rotate(-45deg); }
  .brand, .brand img { height: calc(var(--brand-h) * 0.8); }
  :root { --header-h: 72px; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 96px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s linear 0.8s;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.8s var(--ease-in-out), visibility 0s; }
.menu-open .site-header { background: var(--ink); color: var(--paper); border-color: #3A362F; }
.menu-open .brand .logo-dark { opacity: 0; }
.menu-open .brand .logo-light { opacity: 1; }
.mobile-menu > a {
  font-family: var(--serif); font-size: clamp(34px, 9vw, 46px); line-height: 1.15; text-decoration: none;
  opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.8s var(--ease-out);
}
.mobile-menu > a.mm-cta { color: var(--accent-on-dark); }
.menu-open .mobile-menu > a { opacity: 1; transform: none; }
.menu-open .mobile-menu > a:nth-child(2) { transition-delay: 0.06s; }
.menu-open .mobile-menu > a:nth-child(3) { transition-delay: 0.12s; }
.menu-open .mobile-menu > a:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu .mm-foot { margin-top: 32px; font-size: 14px; line-height: 1.9; color: #B8B2A7; overflow-wrap: anywhere; }

/* ---------- Reveal starting states (only when motion is running) ---------- */
html.motion [data-reveal="fade"] { opacity: 0; transform: translateY(28px); }
html.motion [data-reveal="image"], html.motion [data-reveal="frame"] { clip-path: inset(100% 0 0 0); }
html.motion [data-reveal="image"] img { transform: scale(1.15); }
html.motion [data-split] { visibility: hidden; }

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; background: #1A1916; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .plx { position: absolute; inset: -9% 0; }
.frame .plx img { height: 100%; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 9.5vw, 136px); }
.section-tight { padding-block: clamp(64px, 7.5vw, 104px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 56px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { max-width: 26em; }
.section-head.is-stacked { flex-direction: column; align-items: flex-start; gap: 14px; }
.section-head.is-stacked .lead { max-width: none; }
.rule { border-top: 1px solid var(--line); }

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(80px, 9vw, 128px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr); gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-copy .display { font-size: clamp(38px, 3.9vw, 56px); text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
/* the three promises: one tidy line each */
.trust { display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.trust svg { flex: 0 0 auto; margin-top: 2px; color: var(--accent-text); }

.hero-media { position: relative; }
.slides { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #1A1916; }
.slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1);
  transition: opacity 1.6s var(--ease-out), transform 8s var(--ease-out);
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide-caption { margin: 0 auto 0 0; font-family: var(--serif); font-size: 21px; color: var(--fg); }
.slide-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px; }
.slide-controls .round-btn { width: 44px; height: 44px; flex: 0 0 auto; }
.ticks { display: flex; flex: 0 1 300px; gap: 5px; min-width: 0; }
.tick { flex: 1 1 0; min-width: 0; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.tick span { position: relative; display: block; width: 100%; height: 2px; background: var(--line-strong); overflow: hidden; }
.tick span::after { content: ""; position: absolute; inset: 0; background: var(--accent-text); transform: scaleX(0); transform-origin: left; }
.tick.is-active span::after { animation: tick-fill var(--slide-ms, 6000ms) linear forwards; }
.slides-paused .tick.is-active span::after { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .tick:hover span { background: var(--muted); } }
@keyframes tick-fill { to { transform: scaleX(1); } }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.16s var(--ease-out);
}
.round-btn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .round-btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); } }
.round-btn .i-play { display: none; }
.slides-paused .round-btn .i-play { display: block; }
.slides-paused .round-btn .i-pause { display: none; }

/* ---------- Home: occasions ---------- */
.occasions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.occ-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.occ-item { border-bottom: 1px solid var(--line); }
.occ-btn {
  width: 100%; display: flex; align-items: center; gap: 18px; padding: 20px 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--serif); font-size: clamp(23px, 2vw, 29px); line-height: 1.15; color: var(--muted);
  transition: color 0.4s ease;
}
.occ-btn .dash { width: 28px; height: 1px; background: var(--line-strong); flex: 0 0 auto; transform-origin: left; transition: transform 0.6s var(--ease-out), background-color 0.4s ease; }
.occ-item.is-active .occ-btn { color: var(--fg); }
.occ-item.is-active .occ-btn .dash { background: var(--accent-text); transform: scaleX(1.6); }
@media (hover: hover) and (pointer: fine) { .occ-btn:hover { color: var(--fg); } }
.occ-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--ease-out); }
.occ-item.is-active .occ-body { grid-template-rows: 1fr; }
.occ-body > div { overflow: hidden; }
.occ-body p { padding: 0 0 6px 46px; color: var(--muted); max-width: 32em; }
.occ-body .text-link { margin: 4px 0 22px 46px; }
.occ-media { position: relative; min-height: 540px; overflow: hidden; background: #1A1916; }
.occ-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 0.9s var(--ease-out), transform 1.8s var(--ease-out);
}
.occ-media img.is-active { opacity: 1; transform: scale(1); }

/* ---------- Home: intro, steps, quotes, closing ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.portrait { border-radius: 50%; aspect-ratio: 1 / 1; padding: 12px; border: 1px solid var(--accent-text); }
.portrait .frame { border-radius: 50%; width: 100%; height: 100%; }
.stack { display: flex; flex-direction: column; gap: 24px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.steps li { border-top: 1px solid var(--line); padding-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); color: var(--accent-text); }
.steps p { color: var(--muted); }

.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.quote { margin: 0; border-top: 2px solid var(--accent-text); padding-top: 36px; display: flex; flex-direction: column; gap: 26px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(20px, 1.65vw, 24px); line-height: 1.45; }
.quote figcaption { font-size: 15px; color: var(--muted); }

.closing { position: relative; overflow: hidden; isolation: isolate; }
.closing .bg { position: absolute; inset: -12% 0; z-index: -1; }
.closing .bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0.32; }
.closing-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; padding-block: clamp(104px, 12vw, 168px); }
.closing-inner .lead { margin-inline: auto; text-align: center; color: var(--fg); opacity: 0.85; }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.values > div { border-top: 1px solid var(--line); padding-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.values p { color: var(--muted); }
.bts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.bts .frame { aspect-ratio: 4 / 5; height: auto; }
.bts .frame img { width: 100%; height: 100%; object-fit: cover; }

.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 56px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(40px, 6vw, 88px); }

/* ---------- Book ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.book-aside { display: flex; flex-direction: column; gap: 32px; position: sticky; top: calc(var(--header-h) + 32px); }
.step-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.step-list li { border-bottom: 1px solid var(--line); }
.step-list button {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 0;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--muted);
  font-family: var(--serif); font-size: 20px; transition: color 0.3s ease;
}
.step-list .num {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-family: var(--sans); font-size: 14px; font-variant-numeric: tabular-nums;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.step-list li.is-current button { color: var(--fg); }
.step-list li.is-current .num { background: var(--accent); border-color: var(--accent); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .step-list button:hover { color: var(--fg); } }
.contact-alt { display: flex; flex-direction: column; gap: 4px; }
.contact-alt a { text-decoration: none; padding: 7px 0; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .contact-alt a:hover { color: var(--accent-text); } }

.form-card { background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(14,13,11,0.07); color: var(--ink); }
.form-bar { height: 3px; background: var(--paper-2); overflow: hidden; }
.form-bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0.25); transition: transform 0.8s var(--ease-in-out); }
.form-body { padding: clamp(24px, 4vw, 52px); }
.form-step { display: flex; flex-direction: column; gap: 26px; border: 0; margin: 0 0 40px; padding: 0; min-width: 0; }
html.js .form-step { display: none; margin: 0; }
html.js .form-step.is-current { display: flex; animation: step-in 0.6s var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.step-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.step-head .h3 { font-size: clamp(26px, 2.2vw, 32px); }
.req { color: var(--danger); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: #3B3833; }
.field .hint { font-size: 14px; color: #5C574F; }
.input, .select, .textarea {
  font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 0; padding: 13px 14px; min-height: 52px; width: 100%;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C574F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: #6F6A61; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(14,13,11,0.08); }
.is-missing { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(179,38,30,0.12) !important; }
.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group legend { padding: 0 0 12px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 54px; padding: 10px 14px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.3; color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.16s var(--ease-out);
}
.choice input:checked + span { border-color: var(--accent); background: #EEF2FB; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 500; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice span:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .choice input:not(:checked) + span:hover { border-color: var(--ink); background: var(--white); } }
.review { margin: 0; border-top: 1px solid var(--ink); }
.review > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid #E3DED4; }
.review dt { flex: 0 0 170px; font-size: 14px; color: #5C574F; }
.review dd { margin: 0; flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; white-space: pre-line; }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid #E3DED4; }
.form-nav .btn-line { color: var(--ink); }
.form-note { font-size: 14px; color: #5C574F; }
.form-done { display: none; flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 24px; }
.form-done.is-shown { display: flex; animation: step-in 0.8s var(--ease-out) both; }
.form-done img { width: 220px; height: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ---------- Footer (always light) ---------- */
.site-footer {
  --bg: var(--paper); --fg: var(--ink); --muted: #5C574F; --line: #E3DED4; --line-strong: #CFC8BA;
  background: var(--bg); color: var(--fg); border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.7fr) minmax(0, 1.1fr) minmax(0, 1.35fr); gap: 40px clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 88px) 48px; font-size: 14.5px; color: var(--muted); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 22em; }
.footer-brand img { width: auto; height: 70px; align-self: flex-start; margin-bottom: 4px; }
.footer-brand p { margin: 0; line-height: 1.7; }
.footer-title { margin: 0 0 18px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a:not(.btn) { color: inherit; text-decoration: none; transition: color 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .footer-col a:not(.btn):hover { color: var(--accent-text); } }
.footer-contact ul { gap: 16px; }
.footer-contact li { display: flex; flex-direction: column; gap: 2px; }
.footer-label { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); opacity: 0.8; }
.footer-contact a:not(.btn) { color: var(--fg); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); color: var(--fg); text-decoration: none; font-size: 14px; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
@media (hover: hover) and (pointer: fine) { .footer-social a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); } }
.footer-cta { margin-top: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .sep { margin-inline: 10px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; } .footer-brand, .footer-contact { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .occasions, .intro, .about-hero, .book-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .occ-media { min-height: 440px; order: -1; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .values { grid-template-columns: minmax(0, 1fr); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .bts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-aside { position: static; }
  .portrait { max-width: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .bts { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .bts::-webkit-scrollbar { display: none; }
  .bts .frame { flex: 0 0 64%; scroll-snap-align: start; }
  .slide-caption { font-size: 18px; flex: 1 0 100%; }
  .ticks { flex: 1 1 auto; }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .review dt { flex-basis: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .slide, .occ-media img { transition: opacity 0.4s ease !important; transform: none !important; }
  .mobile-menu, .mobile-menu > a { transition-duration: 0.2s !important; }
}

/* ---------- Tagline, footer and menu links ---------- */
.tagline { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(19px, 1.5vw, 22px); color: var(--accent-text); margin: 0 0 -10px; }
.tagline-sm { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--fg); }
.mobile-menu .mm-foot a { color: var(--paper); text-decoration: none; }
.legal { max-width: 46em; display: flex; flex-direction: column; gap: 18px; padding-top: 24px; }
.legal .display { font-size: clamp(40px, 4.4vw, 60px); margin-bottom: 8px; }
.legal h2 { margin-top: 22px; }
.legal p { line-height: 1.75; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* Headline line masks: leave room for letters that drop below the line (g, y, p) */
.split-line-mask { padding-bottom: 0.16em; margin-bottom: -0.16em; }

/* ---------- Booking form: date picker and time ---------- */
.fields-time { gap: 14px; }
.dp { position: relative; }
.dp-input { cursor: pointer; padding-right: 46px; caret-color: transparent; }
.dp-icon { position: absolute; right: 15px; top: 17px; color: var(--muted); pointer-events: none; }
.dp-pop {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: 320px; max-width: calc(100vw - 40px);
  background: var(--white); border-radius: 16px; padding: 16px 16px 12px;
  box-shadow: 0 1px 2px rgba(14,13,11,0.06), 0 18px 48px rgba(14,13,11,0.18); border: 1px solid rgba(14,13,11,0.06);
  animation: dp-in 0.22s var(--ease-out) both;
}
@keyframes dp-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-month { margin: 0; font-weight: 500; font-size: 16px; color: var(--ink); }
.dp-nav { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--accent); display: grid; place-items: center; cursor: pointer; }
.dp-nav:hover { background: #EEF2FB; }
.dp-nav:disabled { color: var(--line-strong); cursor: default; background: transparent; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.dp-dow { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); padding: 6px 0; }
.dp-day { aspect-ratio: 1; width: 100%; max-width: 40px; margin: 0 auto; border-radius: 50%; border: 0; background: transparent; font: 400 15px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.dp-day:hover:not(:disabled) { background: #EEF2FB; }
.dp-day.is-today { color: var(--accent); font-weight: 500; box-shadow: inset 0 0 0 1px var(--accent); }
.dp-day.is-picked { background: var(--accent); color: var(--white); font-weight: 500; box-shadow: none; }
.dp-day:disabled { color: #C9C3B8; cursor: default; }
.dp-day:focus-visible, .dp-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Book: questions and answers ---------- */
.faq { display: block; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.faq-icon { position: relative; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform 0.4s var(--ease-out), border-color 0.3s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { border-color: var(--accent-text); color: var(--accent-text); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover .faq-icon { border-color: currentColor; } }
.faq-answer p { margin: 0; padding: 0 56px 26px 0; color: var(--muted); max-width: 38em; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: hidden; transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

/* Home slideshow: very small arrows (no pause button) */
.slide-arrows { display: flex; gap: 2px; flex: 0 0 auto; }
.slide-arrow { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; transition: color 0.25s ease, transform 0.25s var(--ease-out); }
.slide-arrow:hover { color: var(--fg); }
[data-slide-prev]:hover { transform: translateX(-2px); }
[data-slide-next]:hover { transform: translateX(2px); }
.slide-arrow:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 1px; }
.slides-paused .tick.is-active span::after { animation-play-state: paused; }
.quote blockquote p { margin: 0; }
.quote blockquote p + p { margin-top: 1em; }

/* ---------- Portfolio: Showcase ---------- */
.page-hero.is-stacked { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 18px; }
.page-hero.is-centered { align-items: center; text-align: center; }
.page-hero.is-centered .lead { margin-inline: auto; }
.sc { background: var(--ink); color: var(--paper); padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
/* every collection name stays visible: the tabs wrap onto a second line instead of scrolling out of view */
.sc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(18px, 2.4vw, 32px); width: min(100%, 1100px); margin: 0 auto 26px; border-bottom: 1px solid #2E2B26; }
.sc-tab { flex: 0 0 auto; position: relative; padding: 14px 0 16px; border: 0; border-radius: 0; background: transparent; color: #A39D92; font: 400 14.5px/1.2 var(--sans); letter-spacing: 0.02em; cursor: pointer; white-space: nowrap; transition: color 0.25s ease; }
.sc-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--paper); transform: scaleX(0); transition: transform 0.4s var(--ease-out); }
.sc-tab[aria-pressed="true"] { color: var(--paper); }
.sc-tab[aria-pressed="true"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .sc-tab:not([aria-pressed="true"]):hover { color: #fff; } }
.sc-tab:focus-visible { outline: 2px solid #9FB4EE; outline-offset: 2px; }
.sc-stage { position: relative; aspect-ratio: 3 / 2; max-height: 76vh; margin-inline: auto; width: min(100%, calc(76vh * 1.5)); background: #050505; overflow: hidden; touch-action: pan-y; }
.sc-stage:focus-visible { outline: 2px solid #9FB4EE; outline-offset: 4px; }
.sc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.02); transition: opacity 0.7s ease, transform 1.2s var(--ease-out); }
.sc-img.is-shown { opacity: 1; transform: none; }
.sc-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; border-color: rgba(255,255,255,0.35); color: #fff; background: rgba(14,13,11,0.35); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s ease, background-color 0.3s ease; }
.sc .round-btn { border-radius: 0; }
.sc-prev { left: 16px; }
.sc-next { right: 16px; }
.sc-stage:hover .sc-arrow, .sc-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .sc-arrow { opacity: 1; width: 40px; height: 40px; } }
.sc-arrow:hover { background: rgba(14,13,11,0.6); }
.sc-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px auto 0; width: min(100%, calc(76vh * 1.5)); }
.sc-caption { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sc-cat { font-family: var(--serif); font-size: 22px; }
.sc-alt { font-size: 14px; color: #B8B2A7; }
.sc-tools { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.sc-count { margin: 0; font-size: 13px; letter-spacing: 0.12em; color: #B8B2A7; font-variant-numeric: tabular-nums; }
.sc-tools .round-btn { border-color: #3A362F; color: var(--paper); }
.sc-tools .round-btn .i-play { display: block; }
.sc-tools .round-btn .i-pause { display: none; }
.sc-tools .round-btn.is-playing .i-play { display: none; }
.sc-tools .round-btn.is-playing .i-pause { display: block; }
.sc-thumbs { display: flex; justify-content: safe center; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 20px auto 0; width: min(100%, calc(76vh * 1.5)); padding-bottom: 4px; }
.sc-thumbs::-webkit-scrollbar { display: none; }
.sc-thumb { flex: 0 0 auto; width: 108px; aspect-ratio: 3 / 2; padding: 0; border: 0; background: #1A1916; cursor: pointer; opacity: 0.45; transition: opacity 0.3s ease, outline-color 0.3s ease; outline: 2px solid transparent; outline-offset: 2px; }
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-thumb.is-current { opacity: 1; outline-color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .sc-thumb:hover { opacity: 0.85; } }
.sc-thumb:focus-visible { opacity: 1; outline-color: #9FB4EE; }
@media (max-width: 600px) { .sc-thumb { width: 78px; } .sc-cat { font-size: 19px; } .sc-alt { font-size: 13px; } }
@media (max-width: 760px) {
  /* phones: the six collections as a tidy two-column grid of buttons, all names visible */
  .sc-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-bottom: 0; }
  .sc-tab { padding: 12px 10px; border: 1px solid #3A362F; white-space: normal; text-align: center; font-size: 14px; line-height: 1.3; }
  .sc-tab::after { display: none; }
  .sc-tab[aria-pressed="true"] { border-color: var(--paper); background: rgba(255,255,255,0.06); }
}

/* ---------- Phones and tablets: easier first screen and booking ---------- */
@media (max-width: 980px) {
  /* Home: tagline and headline, then the photo, then the text and buttons */
  .hero-grid { row-gap: 22px; }
  .hero-copy { display: contents; }
  .hero-copy .tagline { order: 1; margin: 0; }
  .hero-copy .display { order: 2; }
  .hero-media { order: 3; }
  .hero-copy .lead { order: 4; }
  .hero-actions { order: 5; }
  .trust { order: 6; }
  .slide-arrow { width: 44px; height: 44px; }
  .occ-media { min-height: 0; aspect-ratio: 4 / 3; }
  /* Book: the form right after the intro; contact options below it */
  .book-grid { row-gap: 28px; }
  .book-aside { display: contents; }
  .book-aside > .display { order: 1; }
  .book-aside > .lead { order: 2; }
  .form-card { order: 3; }
  .contact-alt { order: 4; }
  .step-list { display: none; }
}
@media (max-width: 600px) {
  .hero-actions > .btn, .hero-actions > .btn-line { flex: 1 1 100%; justify-content: center; }
  .portrait { max-width: 260px; margin-inline: auto; }
  .fields.fields-pair, .fields-time { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (hover: none) and (max-width: 980px) {
  /* touch screens: the dashes show progress; swiping and the arrows move the slideshow */
  .ticks { pointer-events: none; }
}

/* ---------- Footer refinements ---------- */
.footer-social { flex-wrap: nowrap; }
.footer-social a { flex: 1 1 0; justify-content: center; max-width: 160px; }
@media (max-width: 600px) {
  .footer-brand > p:not(.tagline-sm) { display: none; }
  .footer-social a { max-width: none; }
  .footer-cta { width: 100%; justify-content: center; }
  .footer-bottom { gap: 6px; text-align: left; }
  .footer-bottom p { line-height: 1.7; }
}

/* Very small phones (320-360 px): keep the header on one line */
@media (max-width: 360px) {
  .brand, .brand img { height: 40px; }
  .nav { gap: 12px; }
  .nav-book { padding: 0 14px; min-height: 38px; }
  .menu-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Small phones: the calendar takes the width of the date field so it never runs off screen. */
@media (max-width: 420px) {
  .dp-pop { left: 0; right: 0; width: auto; max-width: none; padding: 14px 10px 10px; }
}

/* Service pages (e.g. church-baptism-photography.html): a tall photo beside the intro. */
.service-photo .frame { aspect-ratio: 4 / 5; }
.service-more { margin-top: clamp(24px, 3vw, 36px); }
@media (max-width: 980px) {
  .service-photo .frame { aspect-ratio: 3 / 2; }
}
/* Service page photos: enlarge slightly from the top-right corner so the watermark
   at the bottom-left edge falls outside the frame. */
.svc-crop img { position: absolute; top: 0; right: 0; width: 114%; height: 114%; max-width: none; object-fit: cover; }
.bts .svc-crop img { width: 124%; height: 124%; }

/* Portfolio: a link under one collection's thumbnails (e.g. the church page). */
.sc-more { text-align: center; margin: 22px 0 0; }
.sc-more[hidden] { display: none; }
.sc .sc-more .text-link { color: var(--accent-on-dark); }

/* Portfolio: show only the collection name and count under the photo (the description stays on the image for screen readers). */
.sc-alt { display: none; }

/* Watermark crop: Youssef's watermark sits along the bottom edge of the photos (left or right).
   Each photo is drawn 12% larger from the top so that bottom strip falls outside its frame. */
.sc-img, .slide, .occ-media img { inset: auto; top: 0; left: -6%; width: 112%; height: 112%; max-width: none; object-fit: cover; }
.sc-thumb { overflow: hidden; position: relative; }
.sc-thumb img { position: absolute; top: 0; left: -6%; width: 112%; height: 112%; max-width: none; }

/* ==========================================================================
   Launch polish: motion, readability and the phone first screen
   ========================================================================== */

/* Readability: body text one step larger on computers, and a slightly darker gray. */
:root, [data-bg="light"], [data-bg="paper"] { --muted: #4A463F; }
[data-bg="dark"] { --muted: #C4BEB2; }
@media (min-width: 981px) {
  body { font-size: 17px; }
  .lead { font-size: clamp(17px, 1.25vw, 19px); }
  .trust, .small { font-size: 15px; }
}

/* Phones: the buttons come right after the photo so "Start Your Inquiry" is on the first screen;
   the paragraph follows them. */
@media (max-width: 980px) {
  .hero { padding-top: 28px; }
  .hero-actions { order: 4; padding-top: 0; }
  .hero-copy .lead { order: 5; }
}

/* Hero slideshow: a slow, steady push-in while each photo is on screen. The photo that is
   leaving holds its framing while it fades, then resets out of sight. */
.slide { transform: scale(1); transition: opacity 1.6s var(--ease-out), transform 0s linear 1.6s; }
.slide.is-active { transform: scale(1.07); transition: opacity 1.6s var(--ease-out), transform 9s cubic-bezier(0.25, 0.1, 0.25, 1); }

/* Depth: large photos drift a few percent against the scroll (driven by --depth, set by main.js
   on computers only). Each photo has a little spare image above and below for this, while the
   watermark strip along the bottom edge stays out of frame. */
.slide, .occ-media img { top: -3%; height: 115%; }
.svc-crop img { top: -3%; height: 117%; }
.bts .svc-crop img { height: 127%; }
[data-depth] img { translate: 0 calc(var(--depth, 0) * 2.5%); }

/* Portfolio: slower, softer crossfade between photos. */
.sc-img { transition: opacity 1.1s cubic-bezier(0.33, 0, 0.2, 1), transform 1.6s var(--ease-out); }

/* Gentle fade between pages (browsers that support cross-page view transitions; others simply
   load the next page as before). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(0.33, 0, 0.2, 1); }
}

@media (prefers-reduced-motion: reduce) {
  [data-depth] img { translate: none; }
  .slide.is-active, .slide { transform: none; }
}
.site-footer { --muted: #4A463F; }

/* Home: breathing room between the occasion list and the "Planning something else?" line. */
.occ-note { margin-top: 22px; }

/* ---------- Loading screen ----------
   Shown only when a page takes longer than half a second to load (a slow phone connection, a first
   visit): the logo on a plain background with a thin moving line. Fast loads never see it.
   main.js adds "loaded" when the page has finished loading (or after 3 seconds at most), which fades it out.
   If anything goes wrong it removes itself after 6 seconds, so it can never block the site. */
html.js body::before, html.js body::after { content: ""; position: fixed; z-index: 9999; pointer-events: none; opacity: 0; animation: yg-load-in 0.35s ease 0.5s forwards, yg-load-out 0.4s ease 6s forwards; transition: filter 0.5s ease, visibility 0s linear 0.5s; }
html.js body::before { inset: 0; background: var(--paper) url("../img/brand/logo.svg") center calc(50% - 14px) / min(240px, 58vw) auto no-repeat; }
html.js body::after { left: 50%; top: calc(50% + 40px); width: 120px; height: 2px; margin-left: -60px; background: linear-gradient(90deg, transparent 0, var(--accent) 50%, transparent 100%) 0 0 / 50% 100% no-repeat, var(--line); animation: yg-load-in 0.35s ease 0.5s forwards, yg-load-bar 1.2s ease-in-out 0.5s infinite, yg-load-out 0.4s ease 6s forwards; }
html.js.loaded body::before, html.js.loaded body::after { filter: opacity(0); visibility: hidden; }
@keyframes yg-load-in { to { opacity: 1; } }
@keyframes yg-load-out { to { opacity: 0; visibility: hidden; } }
@keyframes yg-load-bar { from { background-position: -100% 0, 0 0; } to { background-position: 200% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { html.js body::after { display: none; } }
