/* Setuply site kit: the small set of pieces every theme shares. Each theme
   file sets the variables, then builds its own page layouts on top. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--heading-weight, 600);
  line-height: 1.1;
  letter-spacing: var(--heading-spacing, -0.01em);
  text-transform: var(--heading-transform, none);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, var(--h1-max, 4rem)); }
h2 { font-size: clamp(1.8rem, 4vw, var(--h2-max, 2.6rem)); }
h3 { font-size: 1.3rem; }

p, ul, dl, dd, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.centre { text-align: center; margin-inline: auto; }

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text, var(--accent));
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 2px solid var(--primary);
  border-radius: var(--btn-radius, 8px);
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: var(--accent-text, var(--accent));
  text-underline-offset: 4px;
}

/* Demo bar (template previews only) */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  padding: 8px 16px;
  background: #14282c;
  color: #f5efe3;
  font: 500 14px/1.4 system-ui, sans-serif;
  text-align: center;
}
.demo-bar a { color: #f2c14e; font-weight: 700; }

/* Header */
.topbar { font-size: 0.88rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 8px; }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar-phone { margin-left: auto; }
header.site { background: var(--header-bg, var(--bg)); color: var(--header-text, var(--text)); }
.site-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { font-family: var(--font-display); font-weight: var(--heading-weight, 600); font-size: 1.45rem; line-height: 1.1; text-decoration: none; text-transform: var(--heading-transform, none); }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--accent); }
.btn.call { padding: 10px 18px; }

/* Photos and placeholders */
.photo { width: 100%; height: 100%; object-fit: cover; }
.ph {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 200px;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 14px, transparent 14px 28px),
    linear-gradient(140deg, var(--ph-a), var(--ph-b));
  color: var(--ph-text, #fff);
  text-align: center;
}
.ph span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; opacity: 0.9; }
.ph, .photo { border-radius: var(--radius); }
.round { border-radius: 50% !important; aspect-ratio: 1; min-height: 0; }

/* Initials tile for team members without a photo */
.avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--ph-a), var(--ph-b));
  color: var(--ph-text, #fff);
  font-family: var(--font-display);
  font-weight: var(--heading-weight, 600);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.02em;
}

/* Map and star rating */
iframe.map { display: block; width: 100%; height: 280px; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.stars { margin-bottom: 14px; color: var(--star, #e8a917); font-size: 1.25rem; letter-spacing: 0.18em; line-height: 1; }

/* The header stays in view, and sections fade up as they arrive */
header.site { position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0, 0, 0, 0.45); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.photo { transition: filter .3s, transform .5s; }
.gallery li:hover .photo { filter: brightness(1.06) saturate(1.08); }

/* Lists that each theme restyles */
.svc li { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 20px; align-items: baseline; }
.svc p { color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feats h3 { margin-bottom: 8px; }
.feats p { color: var(--muted); }
.feat-n { display: none; }
.quote p { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; }
.quote footer { margin-top: 20px; color: var(--muted); font-size: 1rem; }
.note { margin-top: 28px; color: var(--muted); }

/* Text beside a photo (About page) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--muted); }
.split-text p + p { margin-top: 14px; }
.split-media .ph, .split-media .photo { aspect-ratio: 4 / 3.4; }

/* Inner page heading */
.page-hero { padding: 72px 0 56px; background: var(--surface); }
.page-hero .lead { margin-top: 18px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person .ph, .person .photo { aspect-ratio: 1; min-height: 0; margin-bottom: 16px; }
.person .role { color: var(--accent-text, var(--accent)); font-weight: 600; margin: 2px 0 8px; }
.person p { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .ph, .gallery .photo { aspect-ratio: 1; min-height: 0; }
.gallery figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-details h2, .contact-form h2 { margin-bottom: 20px; }
.contact-details h3 { margin: 28px 0 10px; }
.contact-details dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.contact-details dt { font-weight: 600; }
.contact-details dd { color: var(--muted); }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { color: var(--muted); }
.ph.map { margin-top: 28px; }

.contact-form { padding: 32px; background: var(--card-bg, var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form label { display: block; margin-bottom: 16px; font-size: 0.92rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--field-radius, 8px);
  background: var(--field-bg, var(--bg));
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.form-msg { margin-top: 14px; font-weight: 600; color: var(--accent-text, var(--accent)); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { padding: 56px 0 24px; background: var(--footer-bg, var(--surface)); color: var(--footer-text, var(--text)); font-size: 0.95rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h3 { margin-bottom: 10px; font-size: 1rem; }
.site-footer p { opacity: 0.8; }
.site-footer .brand { opacity: 1; margin-bottom: 8px; }
.site-footer .hours li { border-color: color-mix(in srgb, currentColor 18%, transparent); }
.site-footer .hours li span:last-child { color: inherit; opacity: 0.8; }
.footer-mark { display: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 0.85rem; }

/* Smaller screens */
@media (max-width: 900px) {
  .site-inner { flex-wrap: wrap; padding-block: 14px; gap: 10px 20px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 4px 20px; }
  .btn.call { margin-left: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feats, .team { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner span:nth-child(2), .topbar-inner > a:not(.topbar-phone) { display: none; }
}

/* Phones: a Menu button replaces the row of links, and everything gets
   one column with generous gaps. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 16px;
  border: 1.5px solid currentColor;
  border-radius: var(--btn-radius, 8px);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.nav-toggle::before { content: ""; width: 16px; height: 10px; border-block: 2px solid currentColor; }

@media (max-width: 760px) {
  .site-inner { flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 0; padding-block: 16px; gap: 0 16px; }
  .brand { font-size: 1.35rem; flex: 1 1 0; min-width: 0; }
  .btn.call { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: flex; flex-direction: column; order: 5; width: 100%; margin: 14px 0 0; gap: 0; }
  .site-nav a { padding: 14px 2px; border-bottom: 0; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); font-size: 1.05rem; }
  .site-nav a[aria-current] { color: var(--accent-text, var(--accent)); }
  .topbar-inner { justify-content: space-between; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 22px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 30px; }
  .lead { font-size: 1.08rem; }
  .feats, .team, .footer-grid { grid-template-columns: 1fr; }
  .feats { gap: 32px; }
  .team { gap: 40px; }
  .footer-grid { gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .actions { gap: 12px; margin-top: 28px; }
  .actions .btn { flex: 1 1 100%; }
  .split, .contact-grid { gap: 40px; }
  .contact-form { padding: 24px 20px; }
  .page-hero { padding: 52px 0 40px; }
  .ph { overflow: hidden; }
  .ph span { font-size: 0.68rem; }
  .text-link { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Harvest: centred and photo-led. For cafes, food and hospitality.
   Stacked centred header, three arches, opening-hours ribbon, a real menu. */
:root {
  --bg: #fbf5ea;
  --surface: #f3e7d3;
  --text: #33261c;
  --muted: #6e5d4f;
  --line: #e2d2b8;
  --primary: #b8532f;
  --on-primary: #fff8ee;
  --accent: #b8532f;
  --accent-text: #a04525;
  --radius: 20px;
  --btn-radius: 999px;
  --field-radius: 14px;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --heading-weight: 400;
  --heading-spacing: 0;
  --h1-max: 4.6rem;
  --footer-bg: #33261c;
  --footer-text: #fbf5ea;
  --ph-a: #d9a066;
  --ph-b: #b8532f;
  --card-bg: #fffaf1;
}

/* Header: name centred above the menu */
.site-inner { flex-direction: column; gap: 10px; padding: 26px 24px 16px; }
.brand { font-size: 2.3rem; }
.site-nav { margin: 0; justify-content: center; gap: 6px 32px; }

/* Hero: centred words, then three arched photos */
.hv-hero { padding: 40px 0 0; text-align: center; }
.hv-hero h1 { max-width: 15em; margin-inline: auto; }
.hv-hero .lead { margin: 20px auto 0; }
.hv-hero .actions { justify-content: center; }
.hv-arches { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 24px; align-items: end; margin-top: 56px; }
.hv-arches .ph, .hv-arches .photo { border-radius: 999px 999px 0 0; aspect-ratio: 3 / 3.4; min-height: 0; }
.hv-arches > :nth-child(2) { aspect-ratio: 3 / 3.7; }

/* Opening hours ribbon */
.hv-today { background: #5c6b3f; color: #fbf5ea; }
.hv-today-inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 28px; padding-block: 18px; }
.hv-today strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; font-style: italic; }
.hv-today a { font-weight: 700; }

/* Menu: sticky intro on the left, the list on the right */
.hv-menu { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.hv-menu-intro { position: sticky; top: 32px; }
.hv-menu-intro h2 { margin-bottom: 16px; }
.hv-menu-intro p:not(.eyebrow) { color: var(--muted); }
.svc li { grid-template-columns: 1fr auto; padding: 20px 0; border-bottom: 1px dashed #c9b594; }
.svc li:first-child { border-top: 1px dashed #c9b594; }
.svc-n { display: none; }
.svc h3 { font-size: 1.5rem; margin-bottom: 2px; }
.svc-price { font-family: var(--font-display); font-size: 1.45rem; color: var(--accent-text); white-space: nowrap; }
.services-full .svc { columns: 2; column-gap: 64px; display: block; }
.services-full .svc li { break-inside: avoid; }
.services-full .svc li:first-child { border-top: 0; }

/* Story: round photo beside the words */
.hv-story { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: 72px; align-items: center; }
.hv-story h2 { margin-bottom: 16px; }
.hv-story p:not(.eyebrow) { color: var(--muted); }
.hv-story .round { box-shadow: 18px 18px 0 #5c6b3f; }

/* Three stamps */
.feats.stamps { gap: 36px; justify-items: center; }
.feats.stamps li { display: grid; align-content: center; width: 100%; max-width: 320px; aspect-ratio: 1; padding: 44px; border: 2px dashed var(--accent); border-radius: 50%; text-align: center; background: var(--card-bg); }
.feats.stamps h3 { font-size: 1.4rem; }
.feats.stamps p { font-size: 0.95rem; }

/* Review */
.hv-quote { padding: 40px 0 96px; text-align: center; }
.hv-quote .quote { max-width: 820px; margin-inline: auto; }
.hv-quote .quote::before { content: "\201C"; display: block; height: 70px; font-family: var(--font-display); font-size: 7rem; line-height: 1; color: var(--accent); }
.hv-quote .quote p { font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.3rem); }

/* Photo mosaic with the call to action as one of the tiles */
.hv-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; padding: 0 12px 12px; }
.hv-mosaic .ph, .hv-mosaic .photo { height: 100%; min-height: 0; }
.hv-mosaic > :nth-child(1) { grid-row: span 2; }
.hv-mosaic-card { grid-column: span 2; display: grid; align-content: center; justify-items: start; gap: 10px; padding: 40px; background: var(--accent); color: #fff8ee; border-radius: var(--radius); }
.hv-mosaic-card .btn, .hv-cta .btn { background: #fff8ee; border-color: #fff8ee; color: var(--text); }
.hv-mosaic > :nth-child(3) { grid-column: span 2; }

/* Closing band on inner pages */
.hv-cta { padding: 0 12px 12px; }
.hv-cta-inner { display: grid; justify-items: center; gap: 12px; padding: 64px 24px; background: var(--accent); color: #fff8ee; border-radius: var(--radius); text-align: center; max-width: none; }

/* Inner pages */
.page-hero { background: transparent; text-align: center; padding: 48px 0 24px; }
.page-hero .lead { margin-inline: auto; }
.story .split-media .ph, .story .split-media .photo { border-radius: 999px 999px 20px 20px; aspect-ratio: 4 / 4.6; }
.team { gap: 40px; }
.person { text-align: center; }
.person .ph, .person .photo { border-radius: 999px 999px 0 0; aspect-ratio: 4 / 4.6; }
.gallery li:nth-child(odd) .ph, .gallery li:nth-child(odd) .photo { border-radius: 999px 999px 20px 20px; aspect-ratio: 4 / 5; }
.gallery li:nth-child(even) .ph, .gallery li:nth-child(even) .photo { border-radius: 20px; aspect-ratio: 4 / 5; }
.gallery figcaption { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--text); }
.contact-form { order: -1; }
.site-footer { margin-top: 0; }

@media (max-width: 900px) {
  .hv-menu, .hv-story { grid-template-columns: 1fr; gap: 36px; }
  .hv-menu-intro { position: static; }
  .hv-story .round { max-width: 280px; }
  .hv-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .hv-mosaic > :nth-child(3) { grid-column: span 1; }
  .hv-mosaic > :nth-child(5) { grid-column: span 2; }
  .services-full .svc { columns: 1; }
  .contact-form { order: 0; }
}
@media (max-width: 600px) {
  .hv-arches { gap: 10px; }
  .feats.stamps li { max-width: 300px; padding: 36px; }
  .hv-mosaic-card { padding: 24px; }
}

/* Phones */
@media (max-width: 760px) {
  .site-inner { padding: 18px 22px; }
  .brand { font-size: 1.7rem; text-align: left; }
}
@media (max-width: 600px) {
  .hv-hero { padding-top: 36px; }
  .hv-arches { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
  .hv-arches > :nth-child(2) { grid-column: 1 / -1; order: -1; aspect-ratio: 4 / 3.8; }
  .hv-arches > :nth-child(1), .hv-arches > :nth-child(3) { aspect-ratio: 4 / 4.4; border-radius: 20px; }
  .hv-today-inner { flex-direction: column; gap: 6px; padding-block: 22px; text-align: center; }
  .hv-menu { gap: 28px; }
  .svc li { padding: 22px 0; }
  .hv-story { gap: 44px; }
  .hv-story .round { box-shadow: 12px 12px 0 #5c6b3f; }
  .feats.stamps { gap: 24px; }
  .hv-quote { padding: 24px 0 72px; }
  .hv-mosaic { grid-auto-rows: 150px; gap: 10px; padding: 0 10px 10px; }
  .hv-mosaic-card { grid-column: span 2; grid-row: span 2; padding: 28px 24px; }
  .hv-mosaic > :nth-child(1) { grid-row: span 1; }
  .hv-cta-inner { padding: 48px 22px; }
  .page-hero { padding: 40px 0 16px; }
  .gallery figcaption { font-size: 1rem; }
}

@media (max-width: 760px) { .site-inner { flex-direction: row; gap: 0 16px; } .site-nav { justify-content: flex-start; } }

.person .avatar { border-radius: 999px 999px 0 0; aspect-ratio: 4 / 4.6; }
.hv-arches .photo { border-radius: 999px 999px 0 0; }
