/* GENERATED by build/home_nav.py from css/site.css. Do not edit: edit site.css and rebuild.
   Header, large menus and toast only, for the hand-made homepage. */

:root {
  --util-h: 34px;
  --main-h: 74px;
  --nav-h: calc(var(--util-h) + var(--main-h));
  --panel: rgba(8, 12, 19, 0.94);
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--champagne); color: var(--ink); padding: 10px 16px; border-radius: 3px;
  font-size: 0.8rem; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.anchor { display: block; height: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* ---------- header ---------- */

.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: transform 0.5s var(--ease-lux), background-color 0.4s;
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.9) 0%, rgba(6, 9, 15, 0.62) 58%, rgba(6, 9, 15, 0) 100%);
  padding-bottom: 26px; margin-bottom: -26px;
}
.site-head.is-solid, .site-head.is-open, .site-head.menu-open {
  background: var(--panel);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.site-head.is-solid, .site-head.is-open, .site-head.menu-open { padding-bottom: 0; }
.site-head.is-solid { border-bottom: 1px solid var(--hairline); }
.site-head.is-compact { transform: translateY(calc(var(--util-h) * -1)); }

.util {
  height: var(--util-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 clamp(18px, 3vw, 42px);
  border-bottom: 1px solid var(--hairline);
  color: var(--muted); font-size: 0.62rem;
}
.util a { transition: color 0.3s; }
.util a:hover { color: var(--champagne); }
.util-left, .util-right, .util-clocks { display: flex; align-items: center; gap: 22px; }
.util-clocks { color: var(--faint); }
.util-clocks b { color: var(--muted); font-weight: 400; margin-left: 4px; }
.util-ops { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); }
.util-ops .dot { width: 6px; height: 6px; border-radius: 50%; background: #6fcf8f; box-shadow: 0 0 0 0 rgba(111, 207, 143, 0.6); animation: ops-pulse 2.6s infinite; }
@keyframes ops-pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 207, 143, 0.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(111, 207, 143, 0); } }

.mainnav {
  height: var(--main-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(18px, 3vw, 42px);
}
.menu { flex: 1; display: flex; justify-content: center; }
.menu-list { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 34px); }
.menu-top {
  display: inline-block; padding: 26px 0; position: relative;
  font-size: 0.78rem; letter-spacing: 0.06em; color: var(--porcelain); opacity: 0.86;
  transition: opacity 0.3s, color 0.3s; white-space: nowrap;
}
.menu-top::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 19px; height: 1px;
  background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-lux);
}
.menu-item.is-open .menu-top, .menu-top:hover, .menu-top[aria-current="page"] { opacity: 1; color: var(--champagne); }
.menu-item.is-open .menu-top::after, .menu-top[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-cta .btn-pill { padding: 0.72em 1.4em; font-size: 0.66rem; }
.btn-pill--ghost { background: rgba(6, 9, 15, 0.25); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--panel);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.4s var(--ease-lux), visibility 0s 0.3s;
}
.menu-item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 280px);
  gap: clamp(24px, 3vw, 56px);
  padding: 38px clamp(18px, 3vw, 42px) 44px; max-width: 1500px; margin: 0 auto;
}
.mega-col--wide { grid-column: span 2; }
.mega-col h3 { color: var(--champagne); margin: 0 0 14px; font-weight: 400; }
.mega-col h3:not(:first-child) { margin-top: 28px; }
.mega-links { display: grid; gap: 9px; }
.mega-links--2 { grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 56px); }
.mega-links a { font-size: 0.92rem; color: var(--porcelain); opacity: 0.8; transition: opacity 0.25s, color 0.25s, padding 0.35s var(--ease-lux); }
.mega-links a:hover { opacity: 1; color: var(--champagne); padding-left: 6px; }
.mega-feature { display: block; grid-column: 4; }
.mega-feature figure { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; border: 1px solid var(--hairline); margin-bottom: 12px; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-lux); }
.mega-feature:hover img { transform: scale(1.06); }
.mega-feature .mono { color: var(--champagne); display: block; margin-bottom: 4px; }
.mega-feature strong { font-family: 'Fraunces', serif; font-weight: 450; font-size: 1.15rem; }

[data-soon] { cursor: default; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--champagne-dim); border-radius: 50%; position: relative; cursor: pointer; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--porcelain); transition: transform 0.4s var(--ease-lux), top 0.4s var(--ease-lux); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.site-head.is-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.site-head.is-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- footer ---------- */

.sitefoot { border-top: 1px solid var(--hairline); padding: var(--sec-y) var(--pad-x) calc(var(--sec-y) * 0.5 + 70px); }
.sitefoot-top { display: grid; grid-template-columns: minmax(240px, 0.9fr) 2fr; gap: clamp(32px, 6vw, 120px); }
.sitefoot-brand p { color: var(--muted); max-width: 36ch; margin-top: 14px; font-size: 0.95rem; }
.sitefoot-brand .mono { color: var(--faint); }
.sitefoot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sitefoot-cols h3 { color: var(--champagne); font-weight: 400; margin-bottom: 16px; }
.sitefoot-cols a { display: block; color: var(--muted); font-size: 0.92rem; padding: 5px 0; transition: color 0.3s; }
.sitefoot-cols a:hover { color: var(--champagne); }
.sitefoot-base { margin-top: calc(var(--sec-y) * 0.75); padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--faint); }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 120; transform: translate(-50%, 20px);
  background: var(--porcelain); color: var(--ink); padding: 12px 20px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity 0.35s, transform 0.45s var(--ease-lux);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  :root { --main-h: 66px; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--nav-h)); display: block; overflow-y: auto; background: #080c13; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 10px clamp(18px, 3vw, 42px) 140px; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; overscroll-behavior: contain; }
  .site-head.is-open .menu { opacity: 1; visibility: visible; transition-delay: 0s; }
  .site-head.is-open { transform: none; }
  .menu-list { display: block; }
  .menu-item { border-bottom: 1px solid var(--hairline); }
  .menu-top { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 22px 0; font-family: 'Fraunces', serif; font-size: 1.5rem; letter-spacing: 0; opacity: 1; }
  .menu-top::after { content: '+'; position: static; background: none; transform: none; height: auto; color: var(--champagne); font-family: 'Archivo', sans-serif; font-weight: 300; transition: transform 0.4s var(--ease-lux); }
  .menu-item.is-open .menu-top::after { transform: rotate(45deg); }
  .mega { position: static; background: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-item.is-open .mega { display: block; }
  .mega-inner { display: block; padding: 0 0 26px; }
  .mega-col h3:not(:first-child), .mega-col + .mega-col h3:first-child { margin-top: 24px; }
  .mega-links--2 { grid-template-columns: 1fr; }
  .mega-links a { font-size: 1rem; padding: 3px 0; }
  .mega-feature { display: block; margin-top: 22px; }
  .mega-feature figure, .mega-feature .mono { display: none; }
  .mega-feature strong { font-family: 'Archivo', sans-serif; font-weight: 400; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--champagne); }
  .mega-feature strong::after { content: '\2192'; margin-left: 10px; }
  .burger { display: block; }
  .nav-cta .btn-pill--ghost { display: none; }
}

@media (max-width: 820px) {
  :root { --util-h: 32px; --main-h: 60px; }
  .util-clocks, .util-ops, .util-right a { display: none; }
  .util { justify-content: center; }
  .util-left { gap: 26px; }
  .nav-word { display: block; font-size: 0.82rem; }
  .nav-mark { width: 34px; height: 34px; }
  .nav-cta .btn-pill { padding: 0.66em 1.1em; font-size: 0.6rem; }
  .sitefoot-top { grid-template-columns: 1fr; }
  .sitefoot-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .toast { bottom: 84px; white-space: nowrap; }
}


/* from css/sweep.css (homepage section) */
.sitefoot-base a { color: inherit; border-bottom: 1px solid rgba(201, 169, 110, 0.35); transition: color 0.3s, border-color 0.3s; }
.sitefoot-base a:hover, .sitefoot-base a:focus-visible { color: var(--champagne); border-color: var(--champagne); }
.sitefoot .footer-brand { font-family: 'Fraunces', serif; font-size: 1.05rem; }
/* the place-name banner loops for ever, and holds still under the pointer. index.html now carries eight copies of the
   line (each about 690 px), so half the track is wider than any screen up to 2560 px and the loop never shows its end;
   the duration keeps the old speed (46 s for one copy, so 184 s for the four in each half) */
.marquee-track { animation-duration: 184s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* the film's mini tiles are links to their pages (the chapter itself ignores the pointer) */
.offer-card a.offer-link { display: block; pointer-events: auto; color: inherit; }
.offer-card a.offer-link figure img { transition: transform 0.9s var(--ease-lux, ease); }
.offer-card a.offer-link:hover figure img, .offer-card a.offer-link:focus-visible figure img { transform: scale(1.06); }
.offer-card a.offer-link:hover p, .offer-card a.offer-link:focus-visible p { color: var(--porcelain); }

/* tablets: the kinds of charter as a sideways strip too, two cards wide (owner, 11 Oct 2026) */
@media (min-width: 601px) and (max-width: 1180px) {
  .mk-kindcards { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: 46%;
    overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--pad-x) * -1); padding-right: var(--pad-x); scrollbar-width: none; }
  .mk-kindcards::-webkit-scrollbar { display: none; }
  .mk-kindcards li { scroll-snap-align: start; }
  .mk-kindcards li a { height: 100%; }
}


/* homepage only */
.site-head { z-index: 120; }
body.is-loading .site-head { opacity: 0; pointer-events: none; }
.site-head { transition: opacity 0.8s ease, transform 0.5s ease, background 0.4s ease; }
