/* The Holly Bush – Potters Crouch, St Albans
   Colours taken from the building and its photographs: limewashed white walls, the wisteria
   that covers the front every May, dark oak beams and the laurel green of the garden.
   Brass from the hand pumps on the bar. */

:root {
  --ink: #1c1916;
  --ink-2: #272320;
  --beam: #35302a;
  --limewash: #f7f3ea;
  --limewash-2: #efe8db;
  --limewash-3: #e2d9c8;
  --laurel: #3c4f3e;
  --laurel-deep: #2b3a2d;
  --wisteria: #6f5f8a;
  --wisteria-lift: #a898c2;
  --brass: #ad8949;
  --brass-lift: #d4ae69;
  --text: #26221d;
  --muted: #6a6153;
  --muted-light: #b9b0a0;
  --rule: rgba(38, 34, 29, 0.14);
  --rule-light: rgba(247, 243, 234, 0.18);

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7.5vw, 6.5rem);
  --header-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--limewash);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.008em;
  margin: 0 0 0.55em;
}

h2 { font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.65vw, 1.5rem); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--wisteria);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .site-header :focus-visible { outline-color: var(--wisteria-lift); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--limewash);
  padding: 0.75rem 1.15rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- eyebrow label ---------- */

.label {
  font-size: 0.7rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--wisteria);
  margin: 0 0 0.9rem;
}
.on-dark .label, .hero .label { color: var(--wisteria-lift); }
/* Over a photograph the wisteria tint alone is not enough separation. */
.hero .label { color: #d8ccec; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 1px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-solid { background: var(--ink); color: var(--limewash); }
.btn-solid:hover { background: var(--wisteria); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(247, 243, 234, 0.14); }
.on-light .btn-ghost:hover { background: rgba(38, 34, 29, 0.07); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 25, 22, 0.94);
  color: var(--limewash);
  border-bottom: 1px solid var(--rule-light);
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.14rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span {
  display: block;
  font-family: var(--body);
  font-size: 0.56rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-top: 0.1rem;
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 1.9rem); }
.site-nav a {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  color: var(--limewash);
  opacity: 0.86;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { opacity: 1; color: var(--wisteria-lift); }
.site-nav .nav-call {
  opacity: 1;
  color: var(--ink);
  background: var(--limewash);
  padding: 0.5rem 0.95rem;
  font-weight: 600;
}
.site-nav .nav-call:hover { background: var(--wisteria-lift); color: var(--ink); }
@media (max-width: 800px) {
  .site-nav a:not(.nav-call) { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(30rem, 78vh, 44rem);
  display: flex;
  align-items: flex-end;
  color: var(--limewash);
  isolation: isolate;
}
.hero picture, .hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Two scrims. The vertical one seats the header and the strip below; the horizontal one keeps
   a readable backing under the text column, because the sunlit white wall in the photograph
   runs straight through the middle of it. The right of the frame stays open. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(95deg, rgba(20, 18, 15, 0.82) 0%, rgba(20, 18, 15, 0.66) 34%, rgba(20, 18, 15, 0.12) 62%, rgba(20, 18, 15, 0) 78%),
    linear-gradient(178deg, rgba(28, 25, 22, 0.45) 0%, rgba(28, 25, 22, 0.1) 32%, rgba(28, 25, 22, 0.55) 84%, rgba(28, 25, 22, 0.75) 100%);
}
@media (max-width: 700px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(20, 18, 15, 0.55) 0%, rgba(20, 18, 15, 0.44) 34%, rgba(20, 18, 15, 0.78) 74%, rgba(20, 18, 15, 0.9) 100%);
  }
}
.hero .wrap { padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.hero h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.6rem);
  margin: 0 0 0.35em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-lead {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  max-width: 46ch;
  color: rgba(247, 243, 234, 0.9);
  margin-bottom: 1.85rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-actions .btn-solid { background: var(--limewash); color: var(--ink); }
.hero-actions .btn-solid:hover { background: var(--wisteria-lift); }

.hero-strip {
  background: var(--ink);
  color: var(--limewash);
  border-top: 1px solid var(--rule-light);
}
.hero-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem clamp(1.25rem, 4vw, 3rem);
  padding-block: 0.95rem;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.78);
}
.hero-strip b { color: var(--limewash); font-weight: 600; }

/* ---------- sections ---------- */

section { padding-block: var(--section); }
.on-dark { background: var(--laurel-deep); color: var(--limewash); }
.on-dark h2, .on-dark h3 { color: var(--limewash); }
.tint { background: var(--limewash-2); }

.lede {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + 0.85vw, 1.6rem);
  line-height: 1.42;
  max-width: 34ch;
}

.two-col {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1.05fr 1fr; }
  .two-col.flip > :first-child { order: 2; }
}
.two-col .prose { max-width: 52ch; }

figure { margin: 0; }
figure img { border-radius: 2px; }
figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.6rem;
  letter-spacing: 0.01em;
}
.on-dark figcaption { color: var(--muted-light); }

/* ---------- rule ---------- */

.rule {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.6rem;
}
.rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--rule);
}
.on-dark .rule::after { background: var(--rule-light); }

/* ---------- feature list ---------- */

.features {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.features li {
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.94rem;
}
.on-dark .features li { border-color: var(--rule-light); }

/* ---------- menus ---------- */

.menus {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  margin-top: 2.5rem;
}
.menu-card {
  background: var(--limewash);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.on-dark .menu-card {
  background: rgba(247, 243, 234, 0.05);
  border-color: var(--rule-light);
}
.menu-card h3 { margin: 0; }
.menu-card .when {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.on-dark .menu-card .when { color: var(--brass-lift); }
.menu-card p { font-size: 0.94rem; margin: 0; }
.menu-card .menu-link {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  color: inherit;
  transition: color 0.15s ease;
}
.menu-card .menu-link:hover { color: var(--wisteria); }
.on-dark .menu-card .menu-link:hover { color: var(--wisteria-lift); }

.note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 1.9rem;
  max-width: 60ch;
}
.on-dark .note { color: var(--muted-light); }

/* ---------- gallery ---------- */

/* Four equal frames rather than a feature tile: with four photographs a 2x2 feature layout
   leaves one cell empty. */
.gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
  margin: 2.5rem 0 0;
  padding: 0;
}
@media (min-width: 780px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
.gallery li { list-style: none; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

/* ---------- hours table ---------- */

.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.4rem;
  font-size: 0.93rem;
}
.hours caption {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 0.7rem;
}
.on-dark .hours caption { color: var(--muted-light); }
.hours th, .hours td {
  text-align: left;
  padding: 0.6rem 0.7rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.on-dark .hours th, .on-dark .hours td { border-color: var(--rule-light); }
.hours thead th {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.on-dark .hours thead th { color: var(--muted-light); }
.hours tbody th { font-weight: 500; white-space: nowrap; }
.hours td:last-child { padding-right: 0; }
.hours .closed { color: var(--muted); }
.on-dark .hours .closed { color: var(--muted-light); }

/* ---------- find us ---------- */

.contact-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}
@media (min-width: 780px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-grid h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.contact-grid p, .contact-grid address {
  font-style: normal;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}
.contact-grid a { color: inherit; }
.big-link {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-light);
  display: inline-block;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.big-link:hover { color: var(--wisteria-lift); border-color: var(--wisteria-lift); }

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

.site-footer {
  background: var(--ink);
  color: rgba(247, 243, 234, 0.72);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.87rem;
}
.site-footer a { color: rgba(247, 243, 234, 0.9); }
.site-footer .foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--rule-light);
}
.site-footer .wordmark { color: var(--limewash); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.foot-links a { font-size: 0.8rem; letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none; }
.foot-links a:hover { color: var(--wisteria-lift); }
.foot-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.79rem;
  color: rgba(247, 243, 234, 0.55);
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section);
}
.notfound h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); }
.notfound p { max-width: 42ch; margin-inline: auto; color: var(--muted); }
.notfound .btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 1.8rem; }
