/* =====================================================================
   Homepage (v2, Nov 2026). Loaded only on index.html, after styles.css.
   Everything is scoped to body.home-v2 or h-* classes so the other pages
   keep their current look until they are moved over.
   ===================================================================== */
body.home-v2 {
  --paper:   #f6f2e7;   /* approved brand cream */
  --stone:   #ebe3d1;   /* alternate band */
  --navy:    #1f2b45;   /* logo navy, deepened for text and dark bands */
  --navy-2:  #2b3a5c;
  --gold:    #b1894f;   /* antique gold */
  --gold-lt: #d9bd8a;   /* gold on navy */
  --ink:     #22252b;
  --muted:   #5f5a52;
  --seam:    rgba(217, 189, 138, 0.85);

  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
.home-v2 h1, .home-v2 h2, .home-v2 h3 { color: var(--navy); letter-spacing: 0; }
.home-v2 :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.h-skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: .6rem 1rem; }
.h-skip:focus { left: 1rem; top: 1rem; }

.h-wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.h-narrow { max-width: 760px; }
.h-center { text-align: center; }

.h-h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; margin: 0 0 1.2rem; }
.h-h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin: 2rem 0 .6rem; }
.h-h3:first-child { margin-top: 0; }
.h-lede { color: var(--muted); max-width: 52ch; margin: 0 auto 2.2rem; }
.h-small { color: var(--muted); font-size: .92rem; margin-top: 1.2rem; max-width: 46ch; }

/* ---------- Buttons ---------- */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.6rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  border-radius: 2px; border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer;
}
.h-btn-gold  { background: #c9a46a; color: var(--navy); font-weight: 600; }
.h-btn-gold:hover  { background: #d8b67e; }
.h-btn-navy  { background: var(--navy); color: #fff; }
.h-btn-navy:hover  { background: var(--navy-2); }
.h-btn-line  { border-color: currentColor; color: inherit; background: transparent; }
.h-btn-line:hover  { background: rgba(255,255,255,.08); }
.h-btn-ghost { border-color: var(--navy); color: var(--navy); }
.h-btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.h-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 231, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(31, 43, 69, .1);
}
.h-header-inner { width: min(1280px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.h-brand img { height: 60px; width: auto; }
.h-nav { display: flex; gap: 1.8rem; margin-left: auto; align-items: center; }
.h-nav a { font-size: .95rem; color: var(--navy); padding: .3rem 0; border-bottom: 1px solid transparent; }
.h-nav a:hover { border-bottom-color: var(--gold); }
.h-nav .h-nav-room { display: none; }
.h-header-book { min-height: 44px; padding: 0 1.2rem; }
.h-toggle { display: none; }

/* ---------- Hero ---------- */
.h-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 76px); max-height: 900px;
  background: var(--navy); color: #f3ede0;
}
.h-hero-text { align-self: center; padding: 3rem clamp(1.5rem, 6vw, 6rem); }
.h-hero-title { margin: 0 0 1.6rem; color: #fff; }
.h-hero-lead {
  display: block;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 6.4vw, 5.8rem); line-height: .98;
  color: #fff;
}
.h-hero-place {
  display: block; margin-top: 1.2rem;
  font-family: var(--sans); font-weight: 400; font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--gold-lt); letter-spacing: .01em; line-height: 1.4;
}
.h-hero-sub { max-width: 44ch; font-size: 1.08rem; color: rgba(243, 237, 224, .88); margin: 0 0 2rem; }
.h-hero-buttons { display: flex; flex-wrap: wrap; gap: .8rem; }
.h-hero-note { margin: 1.4rem 0 0; font-size: .9rem; color: rgba(243, 237, 224, .65); }

.h-hero-media { position: relative; overflow: hidden; }
.h-hero-media picture, .h-hero-media img { width: 100%; height: 100%; }
.h-hero-media img { object-fit: cover; object-position: 50% 62%; }
/* The seam: a tailor's running stitch inset around the photo */
.h-seam { position: absolute; inset: 0; }
.h-seam::after {
  content: ""; position: absolute; inset: 16px; pointer-events: none;
  border: 1.5px dashed var(--seam);
}

/* ---------- Proof strip ---------- */
.h-proof { background: var(--stone); border-bottom: 1px solid rgba(31,43,69,.08); }
.h-proof-list {
  list-style: none; margin: 0 auto; padding: 1.3rem 16px;
  width: min(1180px, 100%);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 3rem;
  font-size: .95rem; color: var(--muted); text-align: center;
}
.h-proof-list strong { color: var(--navy); font-weight: 600; margin-right: .25rem; }

/* ---------- Eat / Stay / Gather ---------- */
.h-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--paper); padding: 4px; }
.h-panel { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; }
.h-panel picture, .h-panel img { width: 100%; height: 100%; }
.h-panel img { object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.h-panel:hover img { transform: scale(1.04); }
.h-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,24,38,.88) 0%, rgba(18,24,38,.35) 45%, rgba(18,24,38,0) 70%); }
.h-panel-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.8rem; display: flex; flex-direction: column; gap: .45rem; }
.h-panel-title { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; }
.h-panel-line { font-size: .98rem; color: rgba(255,255,255,.88); max-width: 34ch; }
.h-panel-link { font-size: .9rem; color: var(--gold-lt); border-bottom: 1px solid currentColor; align-self: flex-start; margin-top: .4rem; }

/* ---------- Kitchen ---------- */
.h-kitchen {
  width: min(1180px, 100% - 32px); margin: 0 auto;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.h-kitchen-text p { max-width: 46ch; }
.h-kitchen-text p:first-of-type { font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: var(--navy); }
.h-kitchen-links { display: flex; gap: 1.6rem; margin-top: 1.6rem; }
.h-kitchen-links a { color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.h-mosaic { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 8px; height: clamp(420px, 52vw, 640px); }
.h-mosaic .gallery-item { all: unset; cursor: zoom-in; overflow: hidden; display: block; }
.h-mosaic .gallery-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.h-mosaic picture, .h-mosaic img { width: 100%; height: 100%; }
.h-mosaic img { object-fit: cover; }
.h-mosaic .h-m1 { grid-row: 1 / 4; }
.home-v2 .reveal { opacity: 1; transform: none; }

/* ---------- Menus ---------- */
.h-menus { background: #fffdf8; padding: clamp(4rem, 8vw, 6.5rem) 0; border-top: 1px solid rgba(31,43,69,.08); border-bottom: 1px solid rgba(31,43,69,.08); }
.home-v2 .menu-tabs { gap: .5rem; margin-bottom: 2.4rem; }
.home-v2 .menu-tab {
  font-family: var(--sans); font-size: .92rem; letter-spacing: .01em; text-transform: none;
  border: 1px solid rgba(31,43,69,.22); background: transparent; color: var(--navy);
  border-radius: 999px; padding: .55rem 1.15rem;
}
.home-v2 .menu-tab:hover { border-color: var(--navy); color: var(--navy); }
.home-v2 .menu-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.home-v2 .menu-panel { max-width: 820px; margin: 0 auto; background: none; box-shadow: none; padding: 0; max-height: 620px; overflow: hidden; position: relative; }
.home-v2 .menu-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, rgba(255,253,248,0), #fffdf8 85%); pointer-events: none; }
.home-v2 .menu-item-price, .home-v2 .menu-tagline { color: var(--gold); }
.h-menus-more { margin-top: 2rem; }


/* ---------- Stay ---------- */
.h-stay { display: grid; grid-template-columns: 11fr 9fr; background: var(--navy); color: #f3ede0; }
.h-stay-media { min-height: 520px; }
.h-stay-media picture, .h-stay-media img { width: 100%; height: 100%; }
.h-stay-media img { object-fit: cover; }
.h-stay-text { padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem); align-self: center; }
.h-stay-text .h-h2 { color: #fff; }
.h-stay-text p { color: rgba(243,237,224,.88); max-width: 44ch; }
.h-facts { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; gap: .55rem; }
.h-facts li { padding-left: 1.4rem; position: relative; }
.h-facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7rem; border-top: 1.5px dashed var(--gold-lt); }
.h-stay .h-btn-navy { background: #c9a46a; color: var(--navy); font-weight: 600; }
.h-stay .h-btn-navy:hover { background: #d8b67e; }
.h-stay .h-btn-ghost { border-color: rgba(243,237,224,.6); color: #f3ede0; }
.h-stay .h-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Also on Main Street ---------- */
.h-also { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.h-also-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(31,43,69,.15); }
.h-also-item { display: flex; flex-direction: column; gap: .35rem; padding: 1.6rem 1.6rem 1.6rem 0; color: var(--muted); font-size: .98rem; }
.h-also-item + .h-also-item { padding-left: 1.6rem; border-left: 1px solid rgba(31,43,69,.15); }
.h-also-title { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); }
.h-also-item:hover .h-also-title { color: var(--gold); }

/* ---------- FAQ ---------- */
.h-faq { background: var(--stone); padding: clamp(4rem, 8vw, 6rem) 0; }
.h-faq .faq-list { margin-top: 1rem; }
.h-faq .faq-item { border-bottom: 1px solid rgba(31,43,69,.15); padding: 0; background: none; box-shadow: none; }
.h-faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.2rem 1.2rem 0; position: relative; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold); font-family: var(--sans); font-weight: 300; }
.h-faq details[open] summary::after { content: "\2013"; }
.h-faq summary h3 { display: inline; margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.h-faq details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 62ch; }
.h-faq .text-link { color: var(--navy); border-bottom: 1px solid var(--gold); }

/* ---------- Find us ---------- */
.h-visit { padding: clamp(4rem, 8vw, 6rem) 0; }
.h-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.h-address { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--navy); margin: 0 0 1rem; }
.h-contact { margin: 0 0 1.8rem; }
.h-contact a { color: var(--navy); border-bottom: 1px solid rgba(177,137,79,.5); }
.h-visit .h-btn-line { color: var(--navy); }
.h-visit .h-btn-line:hover { background: var(--navy); color: #fff; }
.h-hours { list-style: none; padding: 0; margin: 0; }
.h-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(31,43,69,.2); }
.h-hours li span:last-child { color: var(--navy); text-align: right; }

/* ---------- Footer ---------- */
.h-footer { background: var(--navy); color: rgba(243,237,224,.78); padding: 4rem 0 2rem; font-size: .95rem; }
.h-footer a { color: rgba(243,237,224,.78); }
.h-footer a:hover { color: var(--gold-lt); }
.h-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.h-footer-brand img { width: 190px; height: auto; margin-bottom: 1rem; }
.h-footer-col { display: flex; flex-direction: column; gap: .5rem; }
.h-footer-head { font-family: var(--serif); font-size: 1.25rem; color: #fff; margin: 0 0 .4rem; }
.h-social { display: flex; gap: .8rem; margin-top: 1rem; }
.h-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(243,237,224,.3); border-radius: 50%; }
.h-social svg { width: 18px; height: 18px; }
.h-footer-nl { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(243,237,224,.15); }
.h-footer .nl-block { max-width: 760px; margin: 0; }
.h-footer .nl-title { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin: 0 0 1rem; text-align: left; }
.h-footer .nl-label { color: rgba(243,237,224,.7); }
.h-footer .nl-field input { background: rgba(255,255,255,.06); border: 1px solid rgba(243,237,224,.25); color: #fff; }
.h-footer .nl-thanks h3 { color: #fff; }
.h-footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(243,237,224,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* ---------- Sticky booking bar (phones) ---------- */
.home-v2 .h-mobile-bar { background: var(--paper); gap: 8px; padding: 8px; border-top: 1px solid rgba(31,43,69,.12); }
.home-v2 .h-mobile-bar .h-btn { flex: 1; min-height: 48px; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1080px) {
  .h-nav { gap: 1.2rem; }
  .h-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .h-header-inner { height: 64px; gap: .8rem; }
  .h-brand img { height: 42px; }
  .h-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    margin-left: auto; background: none; border: 0; cursor: pointer;
  }
  .h-toggle span { display: block; width: 24px; height: 1.5px; background: var(--navy); transition: transform .25s; }
  .h-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .h-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }
  .h-header-book { display: none; }
  .h-nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid rgba(31,43,69,.12);
    padding: .5rem 16px 1.2rem; display: none;
  }
  .h-nav.open { display: flex; }
  .h-nav a { font-family: var(--serif); font-size: 1.5rem; padding: .7rem 0; border-bottom: 1px solid rgba(31,43,69,.08); }
  .h-nav .h-nav-room { display: block; }

  .h-hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .h-hero-media { order: -1; aspect-ratio: 4 / 3.5; }
  .h-seam::after { inset: 10px; }
  .h-hero-text { padding: 2.4rem 20px 2.8rem; }
  .h-hero-lead { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .h-hero-buttons .h-btn { flex: 1 1 140px; }

  .h-three { grid-template-columns: 1fr; }
  .h-panel { aspect-ratio: 4 / 3; }

  .h-kitchen { grid-template-columns: 1fr; }
  .h-mosaic { height: 120vw; max-height: 620px; }

  .h-stay { grid-template-columns: 1fr; }
  .h-stay-media { min-height: 0; aspect-ratio: 3 / 2; }

  .h-also-grid { grid-template-columns: 1fr; }
  .h-also-item, .h-also-item + .h-also-item { padding: 1.3rem 0; border-left: 0; border-bottom: 1px solid rgba(31,43,69,.15); }

  .h-visit-grid { grid-template-columns: 1fr; }
  .h-footer-grid { grid-template-columns: 1fr 1fr; }
  .h-footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .h-panel img, .h-btn, .h-toggle span { transition: none; }
  .h-panel:hover img { transform: none; }
}

/* =====================================================================
   v2.1 — navy header + centred hero with a photo triptych
   (existing site photos only)
   ===================================================================== */
.home-v2 .h-brand img { height: 60px; }

.h-hero2 { background: var(--navy); color: #f3ede0; padding: clamp(2.5rem, 5vw, 4rem) 0 0; overflow: hidden; }
.h-hero2-text { width: min(860px, 100% - 40px); margin: 0 auto clamp(2.4rem, 4vw, 3.2rem); text-align: center; }
.h-hero2 .h-hero-lead { font-size: clamp(3.2rem, 6.4vw, 5.6rem); line-height: .95; font-weight: 400; }
.h-hero2 .h-hero-place { margin-top: 1.4rem; }
.h-hero2 .h-hero-sub { margin: 0 auto 1.8rem; max-width: 56ch; }
.h-hero2 .h-hero-place { margin-top: 1rem; }
.h-hero2 .h-hero-buttons { justify-content: center; }

.h-tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 3px; }
.h-tri .h-panel { aspect-ratio: auto; height: clamp(420px, 62vh, 640px); }
.h-tri .h-panel::before {   /* the running stitch, shown on hover/focus */
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  border: 1.5px dashed var(--seam); opacity: 0; transition: opacity .35s;
}
.h-tri .h-panel:hover::before, .h-tri .h-panel:focus-visible::before { opacity: 1; }

@media (max-width: 900px) {
  .home-v2 .h-brand img { height: 48px; }
  .h-hero2 { padding-top: 2.6rem; }
  .h-hero2-text { margin-bottom: 2.4rem; }
  .h-hero2 .h-hero-lead { font-size: clamp(2.9rem, 13vw, 3.8rem); }
  /* swipeable photo row on phones */
  .h-tri {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    gap: 8px; padding: 0 16px 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .h-tri::-webkit-scrollbar { display: none; }
  .h-tri .h-panel { height: 440px; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) { .h-tri .h-panel::before { transition: none; } }
