/* =====================================================================
   Contact · the style
   The photographer: Gilda Display for headlines, Karla for reading and
   Overpass Mono for frame numbers, times and labels, on proof-paper white
   with ink black and one yellow china marker.
   Signature pieces: the contact sheet (.sheet: strips of film frames that
   develop from negative to positive, open in the loupe, circle the keepers
   with the marker), the coverage planner (.coverage: a day on a timeline
   and a bracket you slide and stretch), and the calendar (.calendar: free,
   held and booked dates, and "is my date free?").
   Motion: html.calm stills everything (footer switch, remembered as
   "site-motion"; default from prefers-reduced-motion).
   ===================================================================== */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
html.calm:focus-within { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--marker); color: var(--on-marker); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; transition: top var(--d) var(--ease); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 400; color: var(--ink); text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.015em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
/* the promise, swiped with the yellow china marker */
@property --sw { syntax: "<number>"; inherits: true; initial-value: 1; }
.h1 em, .h2 em { font-style: normal; color: var(--on-marker); background: linear-gradient(177deg, transparent 0 16%, var(--marker) 18% 92%, transparent 94%) no-repeat 0 0 / calc(var(--sw) * 100%) 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 0.06em; }
:root[data-theme="dark"] .h1 em, :root[data-theme="dark"] .h2 em { color: var(--marker); background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 92% / calc(var(--sw) * 100%) 0.06em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .h1 em, :root:not([data-theme="light"]) .h2 em { color: var(--marker); background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 92% / calc(var(--sw) * 100%) 0.06em; } }
.h1 em { animation: ct-swipe 1000ms var(--ease) 350ms both; }
@keyframes ct-swipe { from { --sw: 0; } }
html.calm .h1 em { animation: none; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.tag { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--fs-label)/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tag::before { content: ""; flex: none; width: 16px; height: 11px; border: 2px solid currentColor; border-radius: 2px; box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 6px currentColor; opacity: 0.8; }
.tag b { font-weight: 700; color: var(--on-marker); background: var(--marker); padding: 2px 6px; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.prose p + p { margin-top: 1em; }
.prose a, .link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marker); text-underline-offset: 4px; text-decoration-thickness: 3px; font-weight: 700; }
.prose a:hover, .link:hover { background: var(--marker); color: var(--on-marker); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: var(--r-s); border: 1.5px solid var(--ink); font: 500 13px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--d-fast), color var(--d-fast), box-shadow var(--d-fast); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--d) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--paper); color: var(--ink); box-shadow: inset 0 -6px 0 var(--marker); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--marker); color: var(--on-marker); border-color: var(--on-marker); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- top line ---------- */
.topline { background: var(--ink); color: var(--paper); }
.topline .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; padding-block: 8px; text-align: center; font: 400 14px/1.4 var(--body); }
.topline b { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-marker); background: var(--marker); padding: 3px 7px; }
@media (max-width: 560px) { .topline b { display: none; } }

/* ---------- header and phone menu ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink); }
.nav-in { position: relative; display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* the mark: one frame of film with a sprocket edge */
.brand-mark { position: relative; flex: none; width: 34px; height: 30px; background: radial-gradient(circle at 50% 50%, var(--marker) 0 26%, transparent 27%), linear-gradient(var(--paper), var(--paper)) center / 24px 16px no-repeat, var(--ink); border-radius: 2px; -webkit-mask: radial-gradient(circle, transparent 1.4px, #000 1.6px) 0 -1.5px / 6.8px 30px repeat-x, linear-gradient(#000 0 0) center / 100% 20px no-repeat; mask: radial-gradient(circle, transparent 1.4px, #000 1.6px) 0 -1.5px / 6.8px 30px repeat-x, linear-gradient(#000 0 0) center / 100% 20px no-repeat; }
.brand-word { font: 400 28px/1 var(--display); letter-spacing: -0.01em; }
.brand-sub { display: block; font: 500 10px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { position: relative; padding: 10px 12px; text-decoration: none; font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); transition: color var(--d-fast), background var(--d-fast); }
.nav-links a:hover { color: var(--on-marker); background: var(--marker); }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--marker); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--ink); background: transparent; cursor: pointer; place-items: center; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform var(--d) var(--ease), background var(--d-fast); }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 14px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: var(--shadow-lift); animation: ct-open var(--d) var(--ease) both; }
.site-menu a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 34px/1.1 var(--display); color: var(--ink); }
.site-menu a::after { content: attr(data-no); font: 500 11px/1 var(--mono); color: var(--muted); }
.site-menu a[aria-current="page"] em, .site-menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.site-menu .btn { display: flex; justify-content: center; margin-top: 18px; border-bottom: 1.5px solid var(--ink); font: 500 13px/1 var(--mono); color: var(--paper); text-decoration: none; }
.site-menu .btn::after { display: none; }
@keyframes ct-open { from { opacity: 0; transform: translateY(-8px); } }
html.calm .site-menu { animation: none; }
@media (max-width: 1040px) { .nav-links { display: none; } .menu-btn { display: grid; } }
@media (max-width: 560px) { .nav .nav-cta { display: none; } }
@media (min-width: 1041px) { .site-menu { display: none !important; } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section.alt { background: var(--well); }
.section.ink { --ink: #efe7df; --ink-2: #d2c7bc; --muted: #a89d93; --line: #33291f; --card: #181311; --paper: #0e0b0a; background: #0e0b0a; color: #efe7df; }
.section.ink .h2 em { color: #141414; background: linear-gradient(177deg, transparent 0 16%, var(--marker) 18% 92%, transparent 94%) no-repeat 0 0 / 100% 100%; }
.section.ink .h2 { color: #efe7df; }
.section.ink .lead { color: #d2c7bc; }
.section.ink .tag { color: #a89d93; }
.section-head { display: grid; gap: 14px; justify-items: start; max-width: 780px; margin-bottom: clamp(30px, 4.5vw, 56px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.grid-2.lean { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .grid-2.lean { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(30px, 5vw, 76px) clamp(56px, 8vw, 104px); overflow: clip; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero-facts { display: grid; gap: 6px; font: 400 13.5px/1.4 var(--mono); color: var(--ink-2); }
.hero-facts li { display: flex; gap: 10px; align-items: center; }
.hero-facts li::before { content: ""; flex: none; width: 10px; height: 10px; border: 2px solid var(--marker); border-radius: 50%; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- the contact sheet (signature) ---------- */
.sheet { position: relative; display: grid; gap: 14px; padding: clamp(12px, 2vw, 22px); background: #fbfaf7; color: #141414; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), var(--shadow-lift); min-width: 0; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #5d5c58; }
.sheet-head b { color: #141414; font-weight: 700; }
.sheet-head [data-sheet-count] { padding: 2px 7px; background: var(--marker); color: #141414; }
.strip { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 6px; padding: 16px 6px; background: radial-gradient(circle, transparent 2.4px, var(--film) 2.8px) 0 2px / 11px 10px repeat-x, radial-gradient(circle, transparent 2.4px, var(--film) 2.8px) 0 calc(100% - 2px) / 11px 10px repeat-x, var(--film); background-color: var(--film); }
.strip::before { position: absolute; left: 10px; right: 10px; display: flex; justify-content: space-between; font: 700 7.5px/1 var(--mono); letter-spacing: 0.14em; color: var(--edge); pointer-events: none; opacity: 0.9; }
.strip::before { content: attr(data-edge); top: 3px; }
.frame { position: relative; display: block; aspect-ratio: 3 / 2; padding: 0; border: 0; background: var(--tone-6); cursor: zoom-in; overflow: visible; }
.frame svg { width: 100%; height: 100%; display: block; }
.frame .no { position: absolute; left: 3px; bottom: -14px; font: 700 7.5px/1 var(--mono); letter-spacing: 0.1em; color: var(--edge); }
.frame:hover svg { outline: 2px solid var(--marker); outline-offset: -2px; }
.frame:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
/* the marker circle around a keeper */
.frame::after { content: ""; position: absolute; inset: -9% -7%; border: 3px solid var(--marker); border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%; transform: rotate(-4deg) scale(0.7); opacity: 0; transition: opacity var(--d) var(--ease), transform 420ms var(--snap); pointer-events: none; }
.frame[aria-pressed="true"]::after { opacity: 1; transform: rotate(-4deg) scale(1); }
.frame[aria-pressed="true"]::before { content: "\2713"; position: absolute; z-index: 2; right: -6px; top: -8px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--marker); color: #141414; font: 700 12px/1 var(--body); }
/* developing: negatives turn into prints */
.frame svg { transition: filter var(--d-slow) ease-out; transition-delay: calc(var(--k, 0) * 90ms); }
.js .sheet:not(.developed) .frame svg { filter: invert(1) sepia(0.35) hue-rotate(160deg) contrast(1.1); }
html.calm .sheet .frame svg { filter: none !important; transition: none; }
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; font: 400 12.5px/1.4 var(--mono); color: #5d5c58; }
@media (max-width: 560px) { .strip { --n: 2 !important; row-gap: 22px; } }
/* scenes are printed in the tones */
.scene .t1 { fill: var(--tone-1); } .scene .t2 { fill: var(--tone-2); } .scene .t3 { fill: var(--tone-3); }
.scene .t4 { fill: var(--tone-4); } .scene .t5 { fill: var(--tone-5); } .scene .t6 { fill: var(--tone-6); }
.scene .s1 { fill: none; stroke: var(--tone-1); } .scene .s2 { fill: none; stroke: var(--tone-2); } .scene .s6 { fill: none; stroke: var(--tone-6); }
.scene .grain { fill: url(#ct-grain); opacity: 0.35; mix-blend-mode: multiply; }

/* ---------- the loupe ---------- */
.loupe { width: min(1100px, 100% - 32px); max-height: calc(100% - 32px); padding: 0; border: 0; background: #0e0b0a; color: #efe7df; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8); overflow: auto; }
.loupe::backdrop { background: rgba(10, 8, 7, 0.82); backdrop-filter: blur(4px); }
.loupe[open] { animation: ct-loupe 360ms var(--ease) both; }
@keyframes ct-loupe { from { opacity: 0; transform: scale(0.96); } }
html.calm .loupe[open] { animation: none; }
.loupe-in { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.loupe-view { position: relative; background: #000; display: grid; place-items: center; padding: clamp(12px, 2vw, 24px); }
.loupe-view svg { width: 100%; height: auto; aspect-ratio: 3 / 2; }
.loupe-side { display: grid; gap: 14px; align-content: start; padding: 24px; border-left: 1px solid #33291f; }
.loupe-side .k { font: 500 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #a89d93; }
.loupe-side h3 { font: 400 32px/1.05 var(--display); }
.loupe-side p { color: #d2c7bc; font-size: 15.5px; }
.loupe-side .btn { border-color: #efe7df; color: #efe7df; }
.loupe-side .btn-ink { background: #efe7df; color: #141414; }
.loupe-side .btn[aria-pressed="true"] { background: #ffcf33; border-color: #ffcf33; color: #141414; }
.loupe-nav { display: flex; gap: 8px; }
.loupe-close { position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.5); color: #fff; font: 400 24px/1 var(--body); cursor: pointer; }
@media (max-width: 760px) { .loupe-in { grid-template-columns: 1fr; } .loupe-side { border-left: 0; border-top: 1px solid #33291f; } }

/* ---------- the coverage planner ---------- */
.coverage { display: grid; gap: 22px; padding: clamp(20px, 3vw, 34px); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.cov-controls { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: end; }
.cov-controls .field { flex: 1 1 240px; }
.cov-controls h3 { font: 500 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.timeline { position: relative; height: 136px; margin-inline: 4px; }
.timeline .axis { position: absolute; left: 0; right: 0; top: 104px; height: 1px; background: var(--ink); }
.timeline .tick { position: absolute; top: 112px; transform: translateX(-50%); font: 400 11px/1 var(--mono); color: var(--muted); }
.timeline .tick::before { content: ""; position: absolute; left: 50%; top: -10px; width: 1px; height: 6px; background: var(--ink); }
.timeline .ev { position: absolute; top: 0; width: 2px; height: 80px; transform: translateX(-1px); background: var(--line); transition: background var(--d); }
.timeline .ev span { position: absolute; left: 6px; top: calc(var(--row, 0) * 25px); white-space: nowrap; font: 600 13px/1.2 var(--body); color: var(--muted); transition: color var(--d); }
.timeline .ev span b { display: block; font: 400 10.5px/1.2 var(--mono); }
.timeline .ev.in { background: var(--ink); }
.timeline .ev.in span { color: var(--ink); }
.timeline .ev.last span { left: auto; right: 6px; text-align: right; }
.bracket { position: absolute; top: 80px; height: 24px; left: calc(var(--a) * 100%); width: calc(var(--w) * 100%); border: 2px solid var(--ink); border-top: 0; background: color-mix(in srgb, var(--marker) 55%, transparent); transition: left 420ms var(--ease), width 420ms var(--ease); }
html.calm .bracket { transition: none; }
.bracket::before, .bracket::after { position: absolute; top: 6px; font: 700 11px/1 var(--mono); color: #141414; white-space: nowrap; }
.bracket::before { content: attr(data-from); left: 6px; }
.bracket::after { content: attr(data-to); right: 6px; }
.cov-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--ink); }
.cov-out > div { display: grid; gap: 4px; padding: 14px 12px 14px 0; min-width: 0; }
.cov-out > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.cov-out span { font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cov-out b { font: 400 30px/1.05 var(--display); }
.cov-out p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 760px) {
  .timeline { height: auto; display: grid; gap: 6px; }
  .timeline .axis, .timeline .tick, .bracket { display: none; }
  .timeline .ev { position: static; width: auto; height: auto; transform: none; padding: 8px 12px; border-left: 3px solid var(--line); background: transparent; }
  .timeline .ev span { position: static; display: flex; justify-content: space-between; gap: 10px; }
  .timeline .ev span b { display: inline; }
  .timeline .ev.in { border-left-color: var(--marker); background: color-mix(in srgb, var(--marker) 18%, transparent); }
  .timeline .ev.last span { text-align: left; }
  .cov-out { grid-template-columns: 1fr; } .cov-out > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- the calendar ---------- */
.calendar { display: grid; gap: 18px; }
.cal-check { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.cal-check .field { flex: 0 1 260px; }
.cal-check output { flex: 1 1 260px; min-height: 50px; display: flex; align-items: center; padding: 10px 16px; background: var(--well); font: 600 15.5px/1.4 var(--body); color: var(--ink-2); }
.cal-check output.free { background: color-mix(in srgb, var(--marker) 40%, var(--card)); color: var(--on-marker); }
:root[data-theme="dark"] .cal-check output.free { color: #141414; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cal-check output.free { color: #141414; } }
.cal-months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cal-month h3 { font: 400 26px/1.1 var(--display); margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-grid .dow { font: 500 10px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.cal-grid .d { position: relative; display: grid; place-items: center; aspect-ratio: 1; font: 500 12.5px/1 var(--mono); color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cal-grid .d.past { color: var(--muted); background: transparent; box-shadow: none; opacity: 0.6; }
.cal-grid .d.booked { background: var(--ink); color: var(--paper); box-shadow: none; text-decoration: line-through; }
.cal-grid .d.held { background: repeating-linear-gradient(135deg, var(--card) 0 4px, var(--line) 4px 6px); }
.cal-grid .d.pick { box-shadow: inset 0 0 0 2px var(--ink); }
.cal-grid .d.pick::after { content: ""; position: absolute; inset: -4px; border: 2.5px solid var(--marker); border-radius: 50%; }
.cal-key { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 400 12.5px/1.2 var(--mono); color: var(--muted); }
.cal-key span { display: inline-flex; align-items: center; gap: 7px; }
.cal-key i { width: 14px; height: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.cal-key i.booked { background: var(--ink); box-shadow: none; }
.cal-key i.held { background: repeating-linear-gradient(135deg, var(--card) 0 3px, var(--line) 3px 5px); }
@media (max-width: 900px) { .cal-months { grid-template-columns: 1fr 1fr; } .cal-months .cal-month:nth-child(3) { display: none; } }
@media (max-width: 560px) { .cal-months { grid-template-columns: 1fr; } .cal-months .cal-month:nth-child(2) { display: none; } }

/* ---------- packages, cards, facts, notices ---------- */
.pkg { display: grid; gap: 12px; align-content: start; padding: 26px; background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.pkg .k { font: 500 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pkg h3 { font: 400 34px/1 var(--display); }
.pkg .amt { font: 400 26px/1 var(--display); }
.pkg .amt small { font: 400 12px/1 var(--mono); color: var(--muted); margin-left: 6px; }
.pkg ul { display: grid; gap: 6px; margin-top: 4px; }
.pkg li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.pkg li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border: 2px solid var(--marker); border-radius: 50%; }
.pkg.feature { box-shadow: var(--shadow-card), 0 0 0 2px var(--ink); }
.card { display: grid; gap: 10px; align-content: start; padding: 26px; background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.card .k { font: 500 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card h3 { font: 400 28px/1.05 var(--display); }
.card p { color: var(--ink-2); font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--ink); }
.facts > div { display: grid; gap: 6px; align-content: start; padding: 22px 18px 22px 0; min-width: 0; }
.facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts .k { font: 500 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts b { font: 400 28px/1.05 var(--display); }
.facts p { font-size: 15.5px; color: var(--ink-2); }
.facts.stack { grid-template-columns: 1fr; }
.facts.stack > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .facts:not(.stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 18px 20px; background: color-mix(in srgb, var(--marker) 22%, var(--card)); box-shadow: inset 3px 0 0 var(--marker); font-size: 16px; color: var(--ink-2); }
.notice svg { width: 20px; height: 20px; color: var(--ink); margin-top: 3px; }
.notice b { color: var(--ink); }

/* ---------- closing ---------- */
.close { padding-block: clamp(56px, 8vw, 100px); }
.close-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 30px; align-items: end; padding: clamp(30px, 5vw, 64px); background: radial-gradient(70% 90% at 85% 10%, rgba(255, 106, 77, 0.22), transparent 70%), #0e0b0a; color: #efe7df; overflow: hidden; isolation: isolate; }
html:not(.calm) .close-card { animation: ct-safelight 6s ease-in-out infinite alternate; }
@keyframes ct-safelight { to { background-position: 0 0; background-size: 120% 120%; } }
.close-card .h2 { color: #fff; }
.close-card .h2 em { color: #141414; background: linear-gradient(177deg, transparent 0 16%, var(--close-em, #ffcf33) 18% 92%, transparent 94%); }
.close-card p { color: #d2c7bc; max-width: 52ch; margin-top: 14px; }
.close-card .tag { color: #a89d93; }
.close-card .btn-ink { background: #efe7df; color: #141414; border-color: #efe7df; }
.close-card .btn-ink:hover { background: #ffcf33; border-color: #ffcf33; box-shadow: none; }
.close-card :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .close-card { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 22px; font: 700 18px/1.35 var(--body); border-radius: var(--r-m); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 10px no-repeat; transition: transform var(--d) var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); max-width: 72ch; }

/* ---------- footer ---------- */
.foot { padding-block: 56px 30px; border-top: 1px solid var(--line); background: var(--well); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font: 500 var(--fs-label)/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { display: grid; gap: 9px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
.licence { margin-top: 28px; padding: 14px 16px; border-radius: var(--r-s); background: var(--card); box-shadow: 0 0 0 1px var(--line); font: 400 12px/1.7 var(--mono); color: var(--muted); }
.licence b { color: var(--ink); font-weight: 500; }
.foot-base { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.foot-switches { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- switch ---------- */
.switch { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); cursor: pointer; font: 500 14.5px/1 var(--body); color: var(--ink-2); }
.switch .sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: var(--r-pill); background: var(--well); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--d-fast); }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform var(--d) var(--ease); }
.switch[aria-checked="true"] .sw { background: var(--ink); box-shadow: none; }
.switch[aria-checked="true"] .sw::after { transform: translateX(16px); background: #fff; }

/* =====================================================================
   Multi-page kit
   ===================================================================== */
.page-head { position: relative; padding-block: clamp(30px, 4.5vw, 64px) clamp(34px, 4.5vw, 60px); border-bottom: 1px solid var(--line); overflow: clip; }

.page-head .wrap { position: relative; }
.page-head .h1 { font-size: clamp(38px, 5vw, 68px); margin-top: 16px; }
.page-head .lead { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: 0.6; }

.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field > span, .field-set > legend { font: 600 15.5px/1.25 var(--body); color: var(--ink); }
.field small, .field-set > legend small { color: var(--muted); font: 400 14px/1.35 var(--body); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: var(--r-s); border: 1px solid color-mix(in srgb, var(--ink) 25%, var(--line)); background: var(--card); color: var(--ink); transition: box-shadow var(--d-fast), border-color var(--d-fast); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.field [aria-invalid="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 20%, transparent); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-size: 6px 6px; background-position: right 22px center, right 16px center; background-repeat: no-repeat; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
fieldset.field-set { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
fieldset.field-set > legend { padding: 0; margin-bottom: 10px; }
fieldset.field-set > .seg { justify-self: start; }
.form-card { display: grid; gap: 22px; padding: clamp(22px, 3.5vw, 38px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.form-done { padding: 16px 18px; border-radius: var(--r-m); background: var(--well); color: var(--ink); font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; min-width: 0; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: grid; gap: 3px; height: 100%; padding: 15px 17px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--card); transition: border-color var(--d-fast), background var(--d-fast), box-shadow var(--d-fast); }
.choice > span b { font: 700 17px/1.2 var(--body); }
.choice > span small { color: var(--muted); font-size: 14.5px; }
.choice:hover > span { border-color: color-mix(in srgb, var(--ink) 40%, var(--line)); }
.choice input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: color-mix(in srgb, var(--well) 45%, var(--card)); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); }
.seg button, .seg label { position: relative; padding: 9px 15px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer; font: 500 14.5px/1 var(--body); color: var(--ink-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg button:hover, .seg label:hover { background: var(--well); }
.seg button[aria-pressed="true"], .seg label:has(input:checked) { background: var(--ink); color: var(--paper); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

input.range { --p: 50%; appearance: none; -webkit-appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 0 var(--p), var(--line) var(--p) 100%); cursor: pointer; }
input.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: var(--shadow-card); }
input.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); }

.table { overflow-x: auto; border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table caption { caption-side: bottom; text-align: left; padding: 12px 18px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child > * { border-bottom: 0; }
.table thead th { font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--well); border-bottom: 1px solid var(--line); }
.table tbody th { font: 700 16.5px/1.35 var(--body); }
.table td { color: var(--ink-2); }
.table .r { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 680px) {
  .table.stack table, .table.stack tbody, .table.stack tr, .table.stack td, .table.stack th { display: block; }
  .table.stack table { display: flex; flex-direction: column; }
  .table.stack caption { display: block; order: 1; }
  .table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table.stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table.stack td, .table.stack th { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; border: 0; padding: 4px 0; text-align: left !important; }
  .table.stack th[scope="row"] { display: block; }
  .table.stack td::before { content: attr(data-label); font: 500 10.5px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
}

.field input.range { min-height: 0; height: 6px; padding: 0; border: 0; margin: 14px 0 8px; box-shadow: none; background: linear-gradient(90deg, var(--ink) 0 var(--p), var(--line) var(--p) 100%); }

.field input.range { min-height: 0; height: 6px; padding: 0; border: 0; margin: 14px 0 8px; box-shadow: none; background: linear-gradient(90deg, var(--ink) 0 var(--p), var(--line) var(--p) 100%); }

/* ---------- reveal on scroll ---------- */
.js [data-enter] { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-enter].entered { opacity: 1; transform: none; }
html.calm [data-enter] { opacity: 1 !important; transform: none !important; transition: none !important; }

@media print { .nav, .foot-switches, .menu-btn, .site-menu { display: none !important; } body { background: #fff; } }
