/* ============================================================
   The Troyeville — shared site theme + navigation
   Single source of truth for fonts, palette and the top nav.
   Include on every public page:
     <link rel="stylesheet" href="/assets/troyeville-site.css">
     ... <div id="site-nav"></div> ...
     <script src="/assets/troyeville-nav.js" defer></script>
   Extracted from the home page (index.html) so every page matches.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@200;300;400;500;600;700&display=swap');

:root {
  --ink: #000;
  --ink-soft: #0a0a0a;
  --ink-rise: #131313;
  --ink-card: #1a1a1a;
  --ink-card-hover: #222;
  --paper: #e8e0d0;
  --paper-mute: #999088;
  --paper-faint: #5a544c;
  --paper-ghost: rgba(232,224,208,0.12);
  --paper-rule: rgba(232,224,208,0.18);
  --rule: rgba(232,224,208,0.16);
  --gold: #e8e0d0;
  --gold-bright: #f0ece2;
  --gold-deep: #5a544c;
  --gold-glow: rgba(232,224,208,0.32);
  --gold-faint: rgba(232,224,208,0.14);
  --gold-soft: rgba(232,224,208,0.18);
  --orange:#ffffff;
  --orange-deep:#2a2a2a;
  --orange-glow:rgba(255,255,255,0.12);
  --live:#ffffff;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-mono: 'Outfit', sans-serif;
}

/* ── NAVBAR (minimal, fades on scroll) — matches home page ───────── */
nav.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 100%);
  border-bottom: 1px solid var(--paper-ghost);
  padding: 7px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(8px);
}
nav.topnav .brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  color: var(--paper);
  flex-shrink: 0;
}
nav.topnav .brand img {
  height: 40px;
  filter: invert(1) drop-shadow(0 2px 12px rgba(255,255,255,0.25));
}
nav.topnav .brand .est {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: #fff;
  margin-left: 10px;
}
nav.topnav .brand .tagline {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-left: 14px;
  opacity: 0.92;
}
@media (max-width: 1280px) { nav.topnav .brand .tagline { display: none; } }

nav.topnav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex;
  gap: clamp(6px, 0.7vw, 10px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav.topnav ul a {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(0.84rem, 1vw, 1rem);
  letter-spacing: 0.01em;
  text-transform: none;
  color: #000;
  background: #fff;
  padding: 6px 13px;
  border: 1px solid #fff;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
  box-shadow: 0 2px 0 rgba(0,0,0,0.5), 0 6px 14px -8px rgba(0,0,0,0.7);
}
nav.topnav ul a:hover {
  background: #000; border-color: #fff; color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 rgba(255,255,255,0.18), 0 10px 18px -8px rgba(0,0,0,0.9);
}
/* active page chip — white pill, black outline (B&W; no cream) */
nav.topnav ul a[aria-current="page"] {
  background: #fff; border-color: #000; color: #000; font-weight: 700;
}
/* Book pill removed from nav (Mic↔Raul 1 Jul — Contact is enough) */
/* LIVE chip — peri-red, pulsing dot */
nav.topnav .nav-live {
  background: transparent !important; color: var(--paper) !important; border: 1px solid rgba(232,224,208,0.32) !important;
  font-weight: 700; display: inline-flex !important; align-items: center; gap: 8px;
  box-shadow: none;
}
nav.topnav .nav-live .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  animation: navLivePulse 1.2s infinite; flex-shrink: 0;
}
nav.topnav .nav-live:hover {
  background: rgba(232,224,208,0.08) !important; border-color: var(--paper) !important; color: #fff !important;
  box-shadow: none;
}
nav.topnav .nav-live:hover .live-dot { background: var(--live); }
@keyframes navLivePulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.35;transform:scale(0.65);} }

/* Mobile toggle — ONE legible rule for every page.
   HARD-CODED colours (not var(--paper)/var(--ink)) so per-page :root theme
   overrides can never collapse the contrast to 0. The nav bar is always a
   dark gradient, so a dark pill with white text + light border reads on all
   pages (matches the /group-bookings treatment). */
.nav-toggle {
  display: none;
  background: #0a0a0a; color: #ffffff; border: 1px solid rgba(255,255,255,0.55);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 9px 14px; cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,0.35), 0 6px 14px -8px rgba(0,0,0,0.7);
}
@media (max-width: 820px) {
  nav.topnav .brand .est { display: none; }
  .nav-toggle { display: inline-block; }
  nav.topnav ul {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(0,0,0,0.96); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--paper-ghost);
    padding: 14px clamp(14px, 4vw, 24px) 18px;
    display: none; grid-template-columns: repeat(2, 1fr); gap: 8px;
  }
  nav.topnav ul.open { display: grid; }
  nav.topnav ul a { padding: 14px 12px; text-align: center; font-size: 0.74rem; letter-spacing: 0.16em; width: 100%; }
}
/* offset so fixed nav doesn't cover page tops */
body.has-topnav { padding-top: 88px; }

/* ── shared footer ──────────────────────────────────────────────── */
.site-foot {
  background: var(--ink); color: var(--paper-mute);
  border-top: 1px solid var(--paper-rule);
  padding: 48px clamp(20px,5vw,60px); text-align: center;
  font-family: var(--font-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.site-foot a { color: var(--gold); text-decoration: none; }
.site-foot a:hover { color: var(--gold-bright); }
.site-foot .est { font-family: 'Outfit', sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3em; color: var(--paper); display:block; margin-bottom: 10px; }

/* ============================================================
   Photography is FULL COLOUR (Mic, 12 Jun 2026). The earlier
   site-wide grayscale filter was removed — nobody wants B&W
   photos. The deco wordmark + typographic B&W identity stays;
   only the photo desaturation is gone. For any image that is
   *meant* to be black-and-white, add class="greyscale" to it.
   ============================================================ */
.greyscale, img.greyscale { filter: grayscale(1) contrast(1.02) !important; }

/* ============================================================
   PAGE HEADER — ONE standard for every inner page (26 Oct 2026)
   Hulda flagged 3–4 different header systems across the site.
   Every inner page now uses this block, nothing per-page:
     <header class="page-head">
       <div class="ph-eyebrow">Small caps line</div>
       <h1 class="ph-title">Page <em>Name</em>.</h1>
       <p class="ph-lede">One or two plain sentences.</p>
       <div class="ph-actions"> tags / Coming Soon / one button </div>  (optional)
     </header>
   Order is always eyebrow → H1 → lede → actions row.
   No eyebrow icons (★ ✦ ▶), no breadcrumbs, no rule underneath.
   Fonts: Outfit + DM Serif Display only. Black on white.
   To put a ★ back on every eyebrow at once, set the
   .page-head .ph-eyebrow::before content below.
   ============================================================ */
/* Two fonts only (26 Oct 2026): form controls and code inherit Outfit instead of the browser's Arial / monospace. */
button, input, select, textarea, code, kbd, samp, pre { font-family: inherit; }

.page-head{ padding:clamp(44px,8vh,88px) 0 clamp(24px,4vh,40px); margin:0; border:0; text-align:left; background:transparent; }
.page-head .ph-eyebrow{ display:block; font-family:'Outfit',system-ui,sans-serif; font-weight:500; font-style:normal; font-size:0.72rem; line-height:1.5; letter-spacing:0.32em; text-transform:uppercase; color:#0a0a0a; margin:0 0 16px; }
.page-head .ph-eyebrow::before{ content:none; }
.page-head h1.ph-title{ font-family:'DM Serif Display',Georgia,serif; font-weight:400; font-style:normal; font-size:clamp(2.4rem,7vw,4.4rem); line-height:1.02; letter-spacing:normal; text-transform:none; color:#0a0a0a; margin:0; max-width:none; text-align:left; }
.page-head h1.ph-title em{ font-family:inherit; font-style:italic; font-weight:400; color:inherit; }
.page-head .ph-lede{ font-family:'Outfit',system-ui,sans-serif; font-weight:300; font-style:normal; font-size:clamp(1.02rem,1.6vw,1.2rem); line-height:1.6; letter-spacing:normal; text-transform:none; color:#1a1a1a; max-width:60ch; margin:20px 0 0; text-align:left; }
.page-head .ph-lede strong{ font-weight:600; }
.page-head .ph-lede a{ color:inherit; text-decoration:underline; text-underline-offset:2px; }
.page-head .ph-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; margin:22px 0 0; }
.page-head .ph-note{ font-family:'Outfit',system-ui,sans-serif; font-weight:400; font-size:0.9rem; line-height:1.6; color:#1a1a1a; margin:0; }
.page-head .ph-tag{ display:inline-block; font-family:'Outfit',system-ui,sans-serif; font-weight:600; font-size:0.62rem; line-height:1.4; letter-spacing:0.16em; text-transform:uppercase; color:#0a0a0a; background:#fff; border:1px solid #0a0a0a; padding:5px 10px; margin:0; }
.page-head .ph-tag.solid{ background:#0a0a0a; color:#fff; }
.page-head .ph-cta{ display:inline-block; font-family:'Outfit',system-ui,sans-serif; font-weight:700; font-size:0.74rem; line-height:1.4; letter-spacing:0.22em; text-transform:uppercase; text-decoration:none; color:#fff; background:#0a0a0a; border:2px solid #0a0a0a; padding:13px 22px; transition:background .2s, color .2s; }
.page-head .ph-cta:hover{ background:#fff; color:#0a0a0a; }
.page-head .ph-cta.ghost{ background:transparent; color:#0a0a0a; }
.page-head .ph-cta.ghost:hover{ background:#0a0a0a; color:#fff; }
/* the two pages that are still black pages (calendar, privacy) — same type, white ink */
.page-head.on-dark .ph-eyebrow, .page-head.on-dark h1.ph-title{ color:#fff; }
.page-head.on-dark .ph-lede, .page-head.on-dark .ph-note{ color:#d6d6d6; }
.page-head.on-dark .ph-tag{ background:transparent; color:#fff; border-color:#fff; }
