/* ============================================================
   Artisan at Home — artisanathome.nz
   Brand: deep pine green · warm cream · serif italics
   ============================================================ */

:root {
  --pine: #2f4a2f;
  --pine-deep: #1f3320;
  --ink: #22281f;
  --sage: #7e8f6e;
  --cream: #f6f2e8;
  --linen: #fdfbf5;
  --honey: #a8823f;
  --line: rgba(47, 74, 47, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--linen);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--pine); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Floating "Text us" button + popup ---------- */
.textus { position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; }
.textus-fab { background: var(--pine); color: var(--linen); border: none; border-radius: 30px; padding: 0.8rem 1.35rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 24px rgba(31,51,32,0.3); }
.textus-fab:hover { background: var(--pine-deep); }
.textus-pop { display: none; position: relative; background: var(--linen); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 44px rgba(31,51,32,0.22); padding: 1.4rem 1.5rem 1.5rem; width: 250px; }
.textus.open .textus-pop { display: block; animation: textus-in 0.25s ease; }
@keyframes textus-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.textus-x { position: absolute; top: 0.4rem; right: 0.6rem; background: none; border: none; font-size: 1.4rem; line-height: 1; color: rgba(34,40,31,0.5); cursor: pointer; }
.textus-msg { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--pine); margin: 0 0 0.35rem; }
.textus-sub { font-size: 0.92rem; line-height: 1.5; color: rgba(34,40,31,0.78); margin: 0 0 1.1rem; }
.textus-btn { display: inline-block; background: var(--honey); color: #fff; padding: 0.7rem 1.4rem; border-radius: 4px; font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; }
.textus-btn:hover { background: var(--pine); }
@media (max-width: 500px) { .textus { bottom: 1rem; right: 1rem; } .textus-pop { width: min(78vw, 250px); } }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h1 em, h2 em, h3 em { font-style: normal; font-weight: 600; color: var(--pine); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pine);
  font-weight: 400;
  display: block;
  margin-bottom: 1.1rem;
}

.lead { font-size: 1.15rem; max-width: 42rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.95rem 2.2rem;
  border: 1px solid var(--pine);
  color: var(--pine);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--pine); color: var(--linen); }
.btn--solid { background: var(--pine); color: var(--linen); }
.btn--solid:hover { background: var(--pine-deep); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 245, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}
.logo img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4rem 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--pine); border-bottom: 1px solid var(--pine); }

.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 0.7em; }
.sub {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--linen);
  border: 1px solid var(--line);
  min-width: 240px;
  padding: 0.6rem 0;
  display: none;
  flex-direction: column;
  gap: 0;
}
.sub a { display: block; padding: 0.55rem 1.2rem; border-bottom: none !important; }
.sub a:hover { background: var(--cream); }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: flex; }

.book-btn {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--pine);
  color: var(--linen) !important;
  padding: 0.7rem 1.6rem;
  border-bottom: none !important;
}
.book-btn:hover { background: var(--pine-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--pine);
  color: var(--pine);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--linen);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 24px 1.6rem;
    gap: 0.9rem;
  }
  .nav.open { display: flex; }
  .sub { position: static; display: flex; border: none; padding: 0.2rem 0 0 1rem; background: transparent; }
  .has-sub > a::after { content: ""; }
}

/* ---------- Hero ---------- */
.hero { background: var(--cream); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-grid img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 2px;
  background: var(--sage);
  box-shadow: 16px 16px 0 rgba(126, 143, 110, 0.35);
}
.hero--text { text-align: center; max-width: 56rem; margin: 0 auto; }
.hero--text .lead { margin: 1.4rem auto 0; }
.hero p { margin-top: 1.4rem; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid img { order: -1; aspect-ratio: 4 / 3; border-radius: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--cream { background: var(--cream); }
.section--pine { background: var(--pine-deep); color: var(--cream); }
.section--pine h2, .section--pine h3 { color: var(--cream); }
.section--pine h2 em { color: #cdd9c0; }
.section--pine .eyebrow { color: #b9c7aa; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 1rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--line);
  background: var(--linen);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.card .eyebrow { margin-bottom: 0; }
.card p { flex: 1; }
.card .text-link { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; }
.card .text-link:hover { color: var(--honey); }
@media (max-width: 920px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid, .card-grid--4, .card-grid--2 { grid-template-columns: 1fr; } }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; background: var(--sage); }
.split--flip > img { order: 2; }
.split p + p { margin-top: 1rem; }
.split h2 { margin-bottom: 1.2rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split img, .split--flip > img { order: -1; aspect-ratio: 4 / 3; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.quote .mark { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--honey); }
.quote p { font-family: var(--serif); font-size: 1.18rem; }
.quote footer { margin-top: 1.1rem; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pine); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Menu tabs & lists ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.tab {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 1.4rem;
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--pine); color: var(--linen); border-color: var(--pine); }
.panel[hidden] { display: none; }

.menu-note { font-size: 0.85rem; color: rgba(34, 40, 31, 0.65); margin-top: 1.6rem; font-style: italic; }
.menu-price { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey); margin: 0.2rem 0 1.2rem; }

.dish-list { list-style: none; }
.dish-list li { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
.dish-list li:first-child { border-top: 1px solid var(--line); }
.dish { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.dish-desc { font-size: 0.95rem; color: rgba(34, 40, 31, 0.72); }
.dish-tags { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey); margin-left: 0.4rem; }

.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); }
@media (max-width: 820px) { .menu-cols { grid-template-columns: 1fr; } }
.menu-col h3 { margin-bottom: 0.2rem; }

.course-label {
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--pine);
  display: block;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step .num { font-family: var(--serif); font-size: 2.6rem; color: var(--honey); line-height: 1; }
.step h3 { margin: 0.6rem 0 0.5rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1.3rem 2.4rem 1.3rem 0;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--honey);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 0 1.5rem; max-width: 46rem; }
.faq-a p + p { margin-top: 0.8rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- Forms ---------- */
.form { max-width: 44rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.45rem; color: var(--pine); }
.form input, .form textarea, .form select {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--linen);
  color: var(--ink);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--sage); outline-offset: 0; }
.form .btn { justify-self: start; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact-quick { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 2.2rem 0 3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: var(--cream); padding: 2.6rem 0 1.6rem; margin-top: 0; }
.footer-inner { display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 4.5rem); flex-wrap: wrap; }
.footer-logo img { height: 118px; width: auto; display: block; }
.footer-nav { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 2.5rem; row-gap: 0.5rem; font-size: 0.85rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: #cdd9c0; }
.footer-contact { font-size: 0.85rem; }
.footer-contact p { margin-bottom: 0.3rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 0.6rem; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-base { border-top: 1px solid rgba(246, 242, 232, 0.18); margin-top: 2rem; padding-top: 1.1rem; font-size: 0.78rem; color: rgba(246, 242, 232, 0.7); text-align: center; }
@media (max-width: 640px) { .footer-inner { flex-direction: column; text-align: center; gap: 1.6rem; } }

/* ---------- Misc ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.fine { font-size: 0.85rem; color: rgba(34, 40, 31, 0.65); }
.section--pine .fine { color: rgba(246, 242, 232, 0.65); }

.philosophy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.philosophy-grid .card { text-align: center; align-items: center; }
.philosophy-grid .icon { font-size: 2rem; }
@media (max-width: 920px) { .philosophy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .philosophy-grid { grid-template-columns: 1fr; } }

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--pine);
  color: var(--linen);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Home landing (splash + parallax + tiles) ---------- */
.splash {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--linen);
  padding: 2rem;
  position: relative;
}
.splash img { width: min(46vw, 300px); height: auto; }
.splash .splash-word {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--pine);
  margin-top: 1.3rem;
}
.splash .eyebrow { margin-top: 0.7rem; }
.scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pine);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  animation: bob 2s ease-in-out infinite;
}
.scroll-cue::after { content: "\2193"; font-size: 1.1rem; }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

.full-photo {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
}
.full-photo .fp-inner {
  width: 100%;
  background: linear-gradient(to top, rgba(31,51,32,0.72), rgba(31,51,32,0));
  padding: 4rem 0 3rem;
}
.full-photo h1, .full-photo h2 { color: var(--linen); max-width: 18ch; }
.full-photo .eyebrow { color: #cdd9c0; }
@media (max-width: 820px) { .full-photo { background-attachment: scroll; } }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--sage); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover img { transform: scale(1.06); }
.tile-cap {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(31,51,32,0.42);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  border-radius: 8px;
}
.tile-cap h3 { color: var(--linen); margin-bottom: 0.2rem; font-weight: 700; }
.tile-cap span { font-size: 0.84rem; color: var(--cream); font-weight: 400; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16 / 10; } }

/* Home hero — logo dissolves to reveal photo on scroll */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.hero-reveal { position: relative; height: 200vh; background: var(--linen); }
.hr-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--linen); }
.hr-panels { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); opacity: 0.15; will-change: opacity; border-bottom: 2px solid rgba(253,251,245,0.55); }
.hr-panel { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; text-decoration: none; }
.hr-panel + .hr-panel { border-left: 1px solid rgba(253,251,245,0.28); }
.hp-img { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transition: transform 0.7s ease; }
.hr-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(31,51,32,0.20); transition: background 0.4s ease; }
.hr-panel:hover .hp-img { transform: scale(1.07); }
.hr-panel:hover::before { background: rgba(31,51,32,0); }
.hp-label { position: relative; z-index: 2; width: 100%; padding: 0 0.4rem; font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 3.2rem); line-height: 1.02; color: var(--linen); text-align: center; text-transform: uppercase; letter-spacing: 0.01em; text-shadow: 0 2px 22px rgba(31,51,32,0.75), 0 1px 5px rgba(0,0,0,0.45); }
@media (max-width: 820px) {
  .hr-panels { grid-template-columns: repeat(2, 1fr); }
  .hr-panel { border-left: none; }
  .hr-panel:nth-child(even) { border-left: 1px solid rgba(253,251,245,0.28); }
  .hr-panel:nth-child(n+3) { border-top: 1px solid rgba(253,251,245,0.28); }
}
.hr-fade { display: none; }
.hr-logo { position: relative; z-index: 2; pointer-events: none; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 1rem; will-change: opacity; }
.hr-logo img { width: min(74vw, 540px); height: auto; }
.hr-logo .eyebrow { font-size: 0.82rem; }
.hero-reveal .scroll-cue { z-index: 2; }
@media (max-width: 600px) { .hr-logo img { width: 82vw; } }

/* Home welcome letter */
.intro-letter { text-align: center; }
.intro-letter .wrap { max-width: 46rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 42px rgba(31,51,32,0.11); padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.7rem, 5vw, 3.6rem); }
.intro-letter p { font-size: 1.08rem; line-height: 1.85; margin-bottom: 1.1rem; color: var(--ink); }
.intro-letter .signoff { font-family: 'Caveat', cursive; font-weight: 600; font-size: 1.9rem; line-height: 1; letter-spacing: 0.01em; color: var(--pine); margin-top: 1.5rem; }
.intro-hello { display: block; text-align: center; font-family: 'Caveat', cursive; font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--pine); margin-bottom: 0.5rem; }
.signoff-block { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.8rem; }
.signoff-block .signoff { margin-top: 0; }
.signoff-photo { width: 200px; height: 200px; flex: none; border-radius: 50%; overflow: hidden; display: block; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(31,51,32,0.20); }
.signoff-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transform: scale(1.25); }
@media (max-width: 500px) { .signoff-photo { width: 150px; height: 150px; } .signoff-block { gap: 0.9rem; } }

/* Inner-page sticky header (logo + dropdown menu) */
.site-topbar { position: sticky; top: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; padding: 0.8rem clamp(1.2rem, 4vw, 2.5rem); background: rgba(253,251,245,0.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.tb-logo img { height: 44px; width: auto; display: block; }
.tb-menu { position: relative; }
.tb-menu .menu-fab { font-size: 2rem; width: 40px; height: 40px; }
.tb-menu .menu-panel { top: calc(100% + 10px); }

/* Simple inner-page hero */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; background-color: var(--sage); background-size: cover; background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(31,51,32,0.42) 0%, rgba(31,51,32,0) 26%), linear-gradient(to top, rgba(31,51,32,0.82) 0%, rgba(31,51,32,0.34) 58%, rgba(31,51,32,0.24) 100%); }
.page-hero .wrap { position: relative; padding: 2.6rem 0; }
.page-hero .eyebrow { color: #e6ddc9; }
.page-hero h1 { color: var(--linen); text-shadow: 0 2px 20px rgba(31,51,32,0.45); }
.page-hero .lead { color: rgba(246,242,232,0.95); margin-top: 0.6rem; text-shadow: 0 1px 12px rgba(31,51,32,0.4); }

/* Floating menu button + compact dropdown panel */
.menu-wrap { position: fixed; top: 1.3rem; right: 1.3rem; z-index: 60; display: none; }
.menu-fab { position: relative; background: var(--pine); border: none; border-radius: 50%; cursor: pointer; padding: 0; width: 52px; height: 52px; font-size: 0; box-shadow: 0 4px 14px rgba(31,51,32,0.32); transition: background 0.2s ease; }
.menu-fab:hover { background: var(--pine-deep); }
.menu-fab::before, .menu-fab::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 2.5px; background: var(--linen); border-radius: 2px; transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease; }
.menu-fab::before { transform: translate(-50%, -50%); box-shadow: 0 -7px 0 var(--linen), 0 7px 0 var(--linen); }
.menu-fab::after { transform: translate(-50%, -50%); opacity: 0; }
.menu-fab[aria-expanded="true"]::before { box-shadow: none; transform: translate(-50%, -50%) rotate(45deg); }
.menu-fab[aria-expanded="true"]::after { opacity: 1; transform: translate(-50%, -50%) rotate(-45deg); }
.menu-panel { position: absolute; top: calc(100% + 8px); right: 0; min-width: 230px; background: var(--cream); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(31,51,32,0.18); padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.menu-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel a { display: block; padding: 0.7rem 1.4rem; font-family: var(--sans); font-size: 0.96rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pine); white-space: nowrap; }
.menu-panel a:hover { background: #fff; color: var(--pine-deep); }

/* Desktop top nav across the hero; "+" dropdown takes over on phone/tablet */
.hero-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 0.45rem clamp(1.5rem, 4vw, 3rem); pointer-events: none; }
.hero-nav .hn-group { display: flex; justify-content: space-evenly; gap: clamp(1rem, 2.5vw, 2rem); pointer-events: auto; }
.hero-nav a { font-family: var(--sans); font-size: 0.96rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pine); opacity: 0.82; text-shadow: 0 1px 6px rgba(253,251,245,0.55); transition: opacity 0.2s ease; }
.hero-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.hero-nav .hn-logo { justify-self: center; transition: opacity 0.3s ease; pointer-events: auto; }
.hero-nav .hn-logo img { height: 84px; width: auto; display: block; }
.hero-nav--home .hn-logo { opacity: 0; pointer-events: none; }
.hero-nav--home.scrolled .hn-logo { opacity: 1; pointer-events: auto; }
.hero-nav.is-light a { color: var(--linen); text-shadow: 0 1px 8px rgba(31,51,32,0.45); }
@media (max-width: 820px) { .hero-nav { display: none; } .menu-wrap { display: block; } }

/* Title header (inner pages, white) */
.page-title { text-align: center; padding-top: clamp(5.5rem, 11vw, 8.5rem); }
.page-title .wrap { max-width: 46rem; }

/* Feature blocks: photo with an overlapping coloured box */
.feat { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) 24px; }
.feat-photo { width: 58%; aspect-ratio: 3 / 3.5; background-color: var(--sage); background-size: cover; background-position: center; box-shadow: 0 22px 55px rgba(31,51,32,0.16); }
.feat--flip .feat-photo { margin-left: auto; }
.feat-box { position: absolute; top: 50%; transform: translateY(-50%); width: 47%; right: 24px; padding: clamp(1.9rem, 3.4vw, 3rem); }
.feat--flip .feat-box { right: auto; left: 24px; }
.feat-box .eyebrow { margin-bottom: 0.7rem; }
.feat-box h2 { margin-bottom: 1rem; }
.feat-box p + p { margin-top: 1rem; }
.feat-box--cream { background: var(--cream); color: var(--ink); }
.feat-box--cream .eyebrow { color: var(--honey); }
.feat-box--green { background: var(--pine); color: var(--cream); }
.feat-box--green .eyebrow { color: #b9c7aa; }
.feat-box--green h2 { color: var(--cream); }
.feat-box--ochre { background: var(--honey); color: var(--linen); }
.feat-box--ochre .eyebrow { color: #f7ead2; }
.feat-box--ochre h2 { color: var(--linen); }
@media (max-width: 820px) {
  .feat { padding: 1.4rem 20px; }
  .feat-photo, .feat--flip .feat-photo { width: 100%; aspect-ratio: 4 / 3; margin: 0; box-shadow: none; }
  .feat-box, .feat--flip .feat-box { position: static; transform: none; width: 90%; margin: -2.2rem auto 0; right: auto; left: auto; }
}

/* Nav solidifies on scroll so links stay legible over any background */
.hero-nav { transition: background 0.25s ease, box-shadow 0.25s ease; }
.hero-nav.scrolled { background: rgba(253,251,245,0.97); box-shadow: 0 2px 16px rgba(31,51,32,0.08); }
.hero-nav.scrolled a { color: var(--pine); opacity: 0.9; text-shadow: none; }

/* Pure-white page background with a faint logo watermark */
.page-white { background: #fff url('/images/wed-watermark.png') repeat; background-size: 300px auto; }
.page-white .section, .page-white .page-title { background: transparent; }

/* Solid sticky header bar (inner pages with a photo band) */
.hero-nav--bar { position: sticky; background: rgba(253,251,245,0.97); box-shadow: 0 2px 16px rgba(31,51,32,0.08); }
.hero-nav--bar a { color: var(--pine); opacity: 0.9; text-shadow: none; }
.hero-nav--bar .hn-logo { opacity: 1; }
.page-hero--slim { min-height: 42vh; }

/* Centred-title page banner (no photo) */
.page-banner { position: relative; background: var(--cream) url('/images/banner-logos.png') center / cover no-repeat; text-align: center; padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(2.4rem, 5vw, 3.4rem); }
.page-banner .wrap { position: relative; max-width: 46rem; }

/* Nav item dropdown (e.g. Order Now under Corporate Catering) */
.hn-has-sub { position: relative; display: inline-flex; }
.hn-sub { position: absolute; top: 100%; left: 0; margin-top: 0; background: var(--linen); border: 1px solid var(--line); border-top: none; padding: 0.2rem 0; min-width: 100%; width: max-content; opacity: 0; visibility: hidden; transition: opacity 0.18s ease; z-index: 3; }
.hn-has-sub::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.hn-has-sub:hover .hn-sub, .hn-has-sub:focus-within .hn-sub { opacity: 1; visibility: visible; }
.hn-sub a { display: block; text-align: left; padding: 0.5rem 0.9rem; font-size: 0.96rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pine) !important; opacity: 0.9 !important; text-shadow: none !important; white-space: nowrap; }
.hn-sub a:hover { background: #fff; color: var(--honey) !important; opacity: 1 !important; }

/* Photo with a semi-transparent readable panel over it */
.overlay-feature { position: relative; min-height: 60vh; background-color: var(--sage); background-size: cover; background-position: center; display: flex; align-items: center; }
.overlay-feature::before { content: ""; position: absolute; inset: 0; background: rgba(31,51,32,0.28); }
.of-panel { position: relative; width: min(90%, 500px); margin-left: clamp(1.2rem, 8vw, 6rem); background: rgba(31,51,32,0.62); color: var(--cream); padding: clamp(2rem, 4vw, 3.2rem); }
.of-panel .eyebrow { color: #cdd9c0; margin-bottom: 0.6rem; }
.of-panel h2 { color: var(--cream); margin-bottom: 1rem; }
.of-panel p + p { margin-top: 0.9rem; }
@media (max-width: 640px) { .of-panel { margin: 0 auto; width: 92%; } }

/* Dropdown "+" indicator on nav items with a submenu */
.hero-nav .hn-has-sub > a::after { content: "+"; font-size: 0.7em; margin-left: 0.4em; opacity: 0.75; font-weight: 400; vertical-align: 1px; }

/* Footer link grid — 3 columns of 4 (fills down each column) */
.footer-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); justify-content: center; column-gap: 3.5rem; row-gap: 0.75rem; width: fit-content; margin: 1.8rem auto 0; text-align: left; }
.footer-grid a { color: var(--cream); font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.footer-grid a:hover { opacity: 1; color: #fff; }
@media (max-width: 620px) { .footer-grid { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(2, auto); column-gap: 2rem; } }

/* Keep cream sections cream on watermark (page-white) pages — restores alternating backgrounds */
.page-white .section--cream { background: var(--cream); }
/* Centre the footer logo above the link grid */
.site-footer .footer-logo { display: block; }
.site-footer .footer-logo img { height: 96px; margin: 0 auto 1.3rem; }

/* Footer: logo sits to the LEFT of the link grid (aligned, not centred on top) */
.site-footer .wrap { display: flex; align-items: center; justify-content: center; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; text-align: left; }
.site-footer .footer-logo { display: block; margin: 0; }
.site-footer .footer-logo img { height: 118px; margin: 0; }
.footer-grid { margin: 0; }
@media (max-width: 640px) { .site-footer .wrap { flex-direction: column; gap: 1.6rem; } }

/* Nested "Order Now" under Corporate Catering in the Services dropdown */
.hn-sub .hn-sub-child { padding-left: 1.9rem; font-size: 0.8rem !important; opacity: 0.72 !important; }
.menu-panel .mob-child a { padding-left: 2.3rem; opacity: 0.8; }

/* Dash marker to show "Order Now" belongs under Corporate Catering */
.hn-sub .hn-sub-child::before { content: "\2013\00a0"; opacity: 0.7; }
.menu-panel .mob-child a::before { content: "\2013\00a0"; opacity: 0.7; }
