/* ==========================================================================
   Public site styles
   Colours and type live in the :root tokens below; change them there.
   ========================================================================== */

@font-face {
  font-family: "Young Serif";
  src: url("/fonts/young-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --ink: #1d2a23;        /* text: a green-black, like strong tea */
  --paper: #f4f5f0;      /* page background: pale sage-white */
  --leaf: #2f5d46;       /* brand green: shopfront paint */
  --leaf-deep: #224634;
  --crema: #d2ab72;      /* golden accent, the colour of espresso crema */
  --sage: #dfe5da;       /* soft panel */

  /* Type */
  --display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  /* Layout */
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --wide: 76rem;
  --section: clamp(3.5rem, 9vw, 7rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }

p { margin: 0 0 1rem; max-width: 38rem; }

a { color: var(--leaf); text-underline-offset: 0.18em; }
a:hover { color: var(--leaf-deep); }
:focus-visible { outline: 3px solid var(--crema); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { top: 1rem; }

/* Buttons ---------------------------------------------------------------- */

.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--leaf);
}
.button:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); color: var(--paper); }

.button--quiet { background: transparent; color: var(--leaf); }
.button--quiet:hover { background: var(--leaf); color: var(--paper); }

/* Header ----------------------------------------------------------------- */

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.1rem var(--gutter);
  max-width: var(--wide);
  margin: 0 auto;
}
.top__name {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
}
.top__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.top__nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.top__nav a:hover { text-decoration: underline; }

/* Hero: the photo, with the name set like a sign plate over its lower edge */

.hero__photo {
  width: 100%;
  height: clamp(20rem, 68vh, 44rem);
  object-fit: cover;
  background: var(--sage);
}
.hero__text {
  position: relative;
  max-width: var(--wide);
  margin: clamp(-9rem, -14vw, -4rem) auto 0;
  padding: 0 var(--gutter);
}
.hero__text > * { position: relative; }
.hero__text::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 var(--gutter);
  width: min(46rem, calc(100% - 2 * var(--gutter)));
  background: var(--paper);
}
.hero__title {
  font-size: clamp(3.25rem, 11vw, 8.5rem);
  color: var(--leaf);
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(1rem, 2.5vw, 1.75rem) 0;
  margin: 0;
  max-width: 46rem;
}
.hero__tagline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  padding: 1rem clamp(1rem, 2.5vw, 1.75rem) 0;
  margin: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem clamp(1rem, 2.5vw, 1.75rem) 0;
  margin: 0;
}

/* Sections --------------------------------------------------------------- */

.menu, .photos, .bookings, .visit {
  padding: var(--section) var(--gutter) 0;
  max-width: var(--wide);
  margin: 0 auto;
}

/* Menu: a green band, like a painted shopfront */
.menu {
  max-width: none;
  margin-top: var(--section);
  padding: var(--section) 0;
  background: var(--leaf);
  color: var(--paper);
}
.menu__inner { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.menu .button { background: var(--crema); border-color: var(--crema); color: var(--ink); }
.menu .button:hover { background: var(--paper); border-color: var(--paper); }

/* Photos: one large photo and five smaller ones */
.photos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
}
.photos__grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sage);
}
.photos__grid img:first-child,
.photos__grid img:last-child {
  grid-column: span 2;    /* phones: wide, pair, pair, wide */
}
@media (min-width: 48rem) {
  .photos__grid { grid-template-columns: repeat(3, 1fr); }
  .photos__grid img:first-child {
    grid-row: span 2;
    aspect-ratio: auto;
  }
  .photos__grid img:last-child { grid-column: auto; }
}

/* Bookings */
.bookings__grid, .visit__grid {
  display: grid;
  gap: 2rem clamp(2rem, 6vw, 5rem);
}
@media (min-width: 48rem) {
  .bookings__grid, .visit__grid { grid-template-columns: 1fr 1fr; }
}
.bookings__phone {
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
}
.bookings__phone a { color: var(--ink); text-decoration-color: var(--crema); text-decoration-thickness: 0.08em; }
.bookings__email { font-size: 1.25rem; font-weight: 600; word-break: break-word; }

/* Find us */
address { font-style: normal; font-size: 1.2rem; line-height: 1.7; }
.hours { margin: 0; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--sage);
}
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; }

/* Footer */
.foot {
  max-width: var(--wide);
  margin: var(--section) auto 0;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--sage);
  font-size: 0.95rem;
}
.foot p { margin: 0; }
