/* The Plough, Great Harwood
   Palette sampled from the pub's own material: the teal that carries their current site,
   the deep green of its hero panel, the near-white of the buffet menu artwork, and the red
   of a parasol standing in their own garden photograph. */

:root {
  --deep:   #144A46;
  --deeper: #0C2422;
  --ink:    #14201F;
  --teal:   #4C808E;
  --teal-d: #33636F;
  --paper:  #FAFAF8;
  --paper-2:#F0EEE8;
  --ember:  #D93B28;
  --ember-d:#B32C1C;
  --grass:  #A9CE5E;
  --sand:   #E4DFD2;

  --display: 'Big Shoulders Display', 'Haettenschweiler', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --body: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* deliberately uneven: the board strip is tight, the garden is airy */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 64ch;
  --edge: 3px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 0.98rem + 0.42vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.62;
  overflow-x: hidden;
}

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

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: var(--edge) solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .board :focus-visible { outline-color: var(--grass); }

.wrap {
  width: min(100% - (var(--gut) * 2), 1180px);
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - (var(--gut) * 2), 900px); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ember); color: #fff;
  padding: 0.75rem 1.25rem; z-index: 100;
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em;
}
.skip:focus { left: 0; }

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

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--deeper);
  color: var(--paper);
  border-bottom: 1px solid rgba(250, 250, 248, 0.14);
}
.site-head__in {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: 62px;
  padding-block: 0.55rem;
}

.wordmark {
  display: flex; align-items: baseline; gap: 0.45rem;
  text-decoration: none; margin-right: auto;
  font-family: var(--display); text-transform: uppercase;
  line-height: 1;
}
.wordmark b { font-size: 1.65rem; font-weight: 800; letter-spacing: 0.02em; }
.wordmark span {
  font-family: var(--body); font-style: italic; text-transform: none;
  font-size: 0.9rem; font-weight: 400; color: var(--grass); letter-spacing: 0;
}

.nav { display: none; gap: 1.5rem; }
.nav a {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.05em;
  text-decoration: none; padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.nav a:hover { border-bottom-color: var(--grass); }

.call-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0.5rem 1.05rem;
  background: var(--ember); color: #fff; text-decoration: none;
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.0625rem; font-weight: 800; letter-spacing: 0.045em;
  border-radius: 2px;
  transition: background-color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}
.call-btn:hover { background: var(--ember-d); transform: translateY(-1px); }
.call-btn svg { width: 17px; height: 17px; flex: none; }
.call-btn .label-long { display: none; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .call-btn .label-long { display: inline; }
  .call-btn .label-short { display: none; }
}

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

.hero {
  position: relative;
  min-height: min(86svh, 720px);
  display: grid; align-items: end;
  background: var(--deeper);
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 62%;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  /* The garden photo is lit purple and goes bright exactly where the eyebrow and headline sit,
     so the scrim stays heavy through the middle rather than clearing at 72%. */
  background:
    linear-gradient(to top, rgba(12, 36, 34, 0.95) 0%, rgba(12, 36, 34, 0.86) 42%, rgba(12, 36, 34, 0.66) 74%, rgba(12, 36, 34, 0.5) 100%);
}
.hero__in { position: relative; z-index: 2; color: var(--paper); padding-block: clamp(3rem, 9vw, 5.5rem); }

.hero__eyebrow {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(0.9rem, 0.84rem + 0.3vw, 1.05rem);
  font-weight: 600; letter-spacing: 0.22em;
  color: var(--grass);
  margin: 0 0 0.9rem;
}
.hero h1 {
  font-size: clamp(3.6rem, 1.9rem + 8.6vw, 8.5rem);
  letter-spacing: 0.005em;
}
.hero h1 em {
  display: block;
  font-family: var(--body); font-style: italic; font-weight: 300;
  text-transform: none; letter-spacing: 0;
  font-size: clamp(1.15rem, 0.9rem + 1.15vw, 1.9rem);
  line-height: 1.2;
  margin-top: 0.5rem;
  color: var(--sand);
}
.hero__lead {
  margin: 1.5rem 0 2rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  max-width: 34ch;
  color: #EEEDE7;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.5rem;
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.15rem; font-weight: 800; letter-spacing: 0.05em;
  text-decoration: none; border-radius: 2px; border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 170ms ease, color 170ms ease, border-color 170ms ease, transform 170ms ease;
}
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-d); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(250, 250, 248, 0.55); color: var(--paper); }
.btn--ghost:hover { border-color: var(--grass); color: var(--grass); }
.btn--solid-dark { background: var(--deep); color: var(--paper); }
.btn--solid-dark:hover { background: var(--deeper); transform: translateY(-1px); }

/* ---------- board strip: the three real actions, tight ---------- */

.board { background: var(--deep); color: var(--paper); }
.board__in {
  display: grid; gap: 1px;
  background: rgba(250, 250, 248, 0.18);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .board__in { grid-template-columns: repeat(3, 1fr); } }

.board__item {
  background: var(--deep);
  padding: 1.35rem var(--gut) 1.5rem;
  display: flex; flex-direction: column; gap: 0.35rem;
  text-decoration: none;
  transition: background-color 170ms ease;
}
.board__item:hover { background: #10403C; }
.board__item h2 {
  font-size: 1.6rem; font-weight: 800; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 0.5rem;
}
.board__item h2::after {
  content: '→'; font-family: var(--body); font-size: 1.05rem; font-weight: 400;
  color: var(--grass);
  transition: transform 170ms ease;
}
.board__item:hover h2::after { transform: translateX(4px); }
.board__item p { font-size: 0.99rem; color: #D6DEDC; margin: 0; }

/* ---------- generic section rhythm (each one is set separately) ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--paper { background: var(--paper); }
.section--tint { background: var(--paper-2); }
.section--deep { background: var(--deep); color: var(--paper); }
.section--dark { background: var(--deeper); color: var(--paper); }

.kicker {
  font-family: var(--display); text-transform: uppercase;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.24em;
  color: var(--teal-d);
  margin: 0 0 0.85rem;
}
.section--deep .kicker, .section--dark .kicker { color: var(--grass); }

.section h2 {
  font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.6rem);
  margin-bottom: 0.65rem;
}
.lede {
  font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.28rem);
  max-width: 52ch;
}
.section--deep .lede, .section--dark .lede { color: #E3E9E7; }

/* ---------- the garden: airy, photo-led ---------- */

.garden__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .garden__grid { grid-template-columns: 1fr 0.85fr; gap: clamp(3rem, 6vw, 5rem); }
}
.garden__photo { position: relative; }
.garden__photo img {
  width: 100%; border-radius: 3px;
  box-shadow: 0 24px 48px -28px rgba(12, 36, 34, 0.55);
}
.garden__caption {
  margin-top: 0.8rem; font-size: 0.94rem; font-style: italic; color: #4B5B59;
}

.facts {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 0; border-top: 1px solid var(--sand);
}
.facts li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--sand);
}
.facts b {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.25rem; font-weight: 800; letter-spacing: 0.03em;
  color: var(--deep);
  flex: none; min-width: 5.5ch;
}
.facts span { font-size: 1rem; }

/* ---------- what's on: list rhythm on deep green ---------- */

.on-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; }
.on-list li {
  display: grid; gap: 0.3rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(250, 250, 248, 0.22);
}
.on-list li:last-child { border-bottom: 1px solid rgba(250, 250, 248, 0.22); }
@media (min-width: 780px) {
  .on-list li { grid-template-columns: 15rem 1fr; gap: 2rem; align-items: baseline; }
}
.on-list h3 { font-size: 1.75rem; letter-spacing: 0.035em; }
.on-list p { color: #DCE4E2; margin: 0; }

.on-note {
  margin-top: 2.25rem; padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--grass);
  background: rgba(250, 250, 248, 0.07);
  font-style: italic; font-size: 1rem; color: #E3E9E7;
}

/* ---------- the signature element: a menu you can actually read ---------- */

.menu-head { max-width: 58ch; }
.menu-grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 860px) { .menu-grid { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 3px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.card--wide { grid-column: 1 / -1; }

.card h3 {
  font-size: 1.9rem; letter-spacing: 0.035em;
  color: var(--deep);
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--deep);
  margin-bottom: 0.35rem;
}
.card__note {
  font-style: italic; font-size: 0.97rem; color: #4B5B59;
  margin: 0.7rem 0 1.15rem;
}

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 1.03rem;
}
.price-list li + li { border-top: 1px dotted #D6D2C6; }
.price-list .dish { flex: 1 1 auto; }
.price-list .dots {
  flex: 0 1 auto; min-width: 1.5rem;
  border-bottom: 1px dotted #BDB8A9;
  transform: translateY(-0.28em);
}
.price-list .price {
  flex: none;
  font-family: var(--display); font-weight: 800; font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--ember-d);
  font-variant-numeric: tabular-nums;
}

.spread { columns: 2; column-gap: 2rem; }
.spread li { break-inside: avoid; }
@media (max-width: 560px) { .spread { columns: 1; } }

.card__foot {
  margin-top: 1.35rem; padding-top: 1rem;
  border-top: 1px solid var(--sand);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem;
}
.card__per {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.75rem; font-weight: 800; letter-spacing: 0.03em;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}
.card__per small {
  font-family: var(--body); text-transform: none; font-size: 0.95rem;
  font-weight: 400; letter-spacing: 0; color: #4B5B59;
}

.menu-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.35rem, 3vw, 2rem);
  background: var(--deeper); color: var(--paper);
  border-radius: 3px;
}
.menu-cta p { margin: 0; flex: 1 1 22ch; color: #E3E9E7; }
.menu-cta .btn--primary { flex: none; }

/* ---------- pizza: compact ---------- */

.pizza__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 880px) { .pizza__grid { grid-template-columns: 1fr 1fr; } }

.snack-note {
  margin-top: 1.1rem; font-size: 0.97rem; font-style: italic; color: #4B5B59;
}

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

.find__grid { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .find__grid { grid-template-columns: 1fr 1fr; } }

.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-list dt, .contact-list b {
  display: block;
  font-family: var(--display); text-transform: uppercase;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.2em;
  color: var(--grass);
  margin-bottom: 0.35rem;
}
.contact-list a {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 206, 94, 0.5);
  transition: border-color 160ms ease, color 160ms ease;
  word-break: break-word;
}
.contact-list a:hover { color: var(--grass); border-bottom-color: var(--grass); }
.contact-list address { font-style: normal; font-size: 1.15rem; line-height: 1.5; }

.form { display: grid; gap: 1.05rem; }
.form label {
  display: block;
  font-family: var(--display); text-transform: uppercase;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
}
.form input, .form textarea, .form select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font-family: var(--body); font-size: 1.02rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(250, 250, 248, 0.3);
  border-radius: 2px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible {
  outline: var(--edge) solid var(--grass); outline-offset: 2px;
}
.form__hint { font-size: 0.94rem; color: #C9D4D2; margin: 0; }
.form__status {
  margin: 0; padding: 0.85rem 1rem;
  background: rgba(169, 206, 94, 0.16);
  border-left: 3px solid var(--grass);
  font-style: italic;
}
.form__status[hidden] { display: none; }

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

.site-foot {
  background: #081C1A; color: #B9C6C4;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.97rem;
}
.site-foot__in { display: grid; gap: 1.75rem; }
@media (min-width: 780px) {
  .site-foot__in { grid-template-columns: 1.2fr 1fr; align-items: start; }
}
.site-foot a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.site-foot a:hover { color: var(--grass); }
.site-foot .wordmark { margin-bottom: 0.9rem; color: var(--paper); }
.site-foot__legal { font-size: 0.9rem; color: #7E908E; margin-top: 0.5rem; }

/* ---------- reveal, kept subtle ---------- */

/* Scoped to .js so a visitor with scripting off gets the content, not a blank section:
   nothing is hidden until the script that reveals it is known to be running. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

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

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

.oops {
  min-height: 100svh;
  display: grid; align-content: center;
  background: var(--deeper); color: var(--paper);
  padding-block: 4rem;
  text-align: left;
}
.oops h1 { font-size: clamp(4rem, 2rem + 12vw, 10rem); color: var(--grass); }
.oops h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); margin-top: 0.5rem; }
.oops p { margin-top: 1.25rem; color: #DCE4E2; }
.oops .hero__cta { margin-top: 2rem; }
