/* Self-hosted variable webfonts (SIL Open Font License 1.1). See assets/fonts/README.md */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-variable-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/work-sans-variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/work-sans-variable-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Waterworths: design tokens & base
   ========================================================================== */

:root {
  --olive: #716A50;
  --olive-dark: #5A5440;
  --olive-darker: #46412F;
  --gold: #B29164;          /* decorative only: ornaments, accents on olive */
  --gold-light: #C9AC85;
  --gold-text: #816640;     /* gold for text, buttons and indicators on light backgrounds (passes 4.5:1) */
  --gold-text-hover: #6D5636;
  --cream: #FAF7F2;
  --cream-dim: #F2ECE2;
  --ink: #2E2A20;
  --ink-soft: #5C5648;
  --white: #FFFFFF;
  --line: #E4DCCC;          /* hairlines and card borders */
  --line-strong: #958C6A;   /* form field borders (3:1 against the field) */

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 2px;
  --shadow: 0 20px 50px -25px rgba(46, 42, 32, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px; /* keep focused/anchored elements clear of the sticky header */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .btn:hover, .pillar:hover { transform: none; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; }
a { color: inherit; }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 700px) {
  section { padding: 56px 0; }
}

.section--tight { padding: 56px 0; }
.section--dim { background: var(--cream-dim); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
}
.site-header a:focus-visible, .site-header button:focus-visible,
.hero a:focus-visible, .cta-banner a:focus-visible, .site-footer a:focus-visible {
  outline-color: var(--cream);
}

/* Ornament divider, recreated in brand gold from the Waterworths mark */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 1.6em 0;
  color: var(--gold);
}
.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  width: 64px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); }
.ornament svg { width: 16px; height: 16px; flex: none; }
.center .ornament { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold-text);
  color: var(--white);
}
.btn--gold:hover { background: var(--gold-text-hover); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--olive);
  color: var(--olive);
}
.btn--outline-dark:hover { background: var(--olive); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--olive);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.nav__mark {
  height: 48px;
  width: auto;
  flex: none;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 22px; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 26px;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle span { top: 12px; }
.nav__toggle span::before { top: -8px; }
.nav__toggle span::after { top: 8px; }

.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--olive-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav__links.is-open { max-height: 400px; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 16px 24px;
    width: 100%;
  }
  .nav__links a::after { display: none; }
  .nav__cta .btn { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--olive);
  color: var(--white);
  position: relative;
  padding: 120px 0 110px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(178,145,100,0.22), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(178,145,100,0.14), transparent 45%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.9); font-size: 1.2rem; }
.hero .ornament { justify-content: flex-start; }
.hero .ornament::before { display: none; }

.hero--page {
  padding: 72px 0 64px;
}
.hero--page .lede { max-width: 65ch; }

/* ==========================================================================
   Pillars / service cards
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
}

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 34px;
  border-radius: var(--radius);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.pillar__index {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-text);
  margin-bottom: 0.2em;
}

.pillar h3 { margin-bottom: 0.5em; }
.pillar h3 a { text-decoration: none; }
.pillar h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold-text); }
.pillar p { color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   Two-column layout
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

.split--reverse .split__media { order: 2; }
.split--reverse .split__text { order: 1; }
@media (max-width: 860px) {
  .split--reverse .split__media,
  .split--reverse .split__text { order: initial; }
}

.split__media img {
  border-radius: var(--radius);
  width: 100%;
}

.media-frame {
  background: var(--olive);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame img { max-width: 240px; }

/* ==========================================================================
   Values / feature list
   ========================================================================== */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
}
@media (max-width: 700px) {
  .feature-list { grid-template-columns: 1fr; }
}
.feature {
  display: flex;
  gap: 18px;
}
.feature__mark {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.feature h3 { margin-bottom: 0.3em; font-family: var(--font-display); font-size: 1.2rem; }
.feature p { color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   Areas + FAQ
   ========================================================================== */

.town-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
}
@media (max-width: 860px) { .town-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .town-list { grid-template-columns: repeat(2, 1fr); } }
.town-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--ink-soft);
}
.town-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--gold-text);
  transform: rotate(45deg);
}

.faq-list { max-width: 72ch; }
.faq-item { padding: 28px 0; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: none; padding-top: 0; }
.faq-item h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 0.4em; }
.faq-item p { color: var(--ink-soft); margin: 0; }
.faq-item a, .town-list + p a { text-decoration: underline; text-decoration-color: var(--gold-text); }

/* ==========================================================================
   Services page
   ========================================================================== */

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 28px; }
}

.service-block__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-text);
  letter-spacing: 0.1em;
}

.checklist { list-style: none; margin: 1.4em 0 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.checklist li:first-child { border-top: none; }
.checklist li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--gold-text);
  transform: rotate(45deg);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius);
}
.testimonial-card__stars { color: var(--gold-text); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-card blockquote {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.testimonial-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.empty-state {
  border: 1px dashed var(--line);
  background: var(--white);
  padding: 56px 40px;
  text-align: center;
  border-radius: var(--radius);
}
.empty-state h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
.empty-state p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: var(--olive-darker);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner .lede { color: rgba(255,255,255,0.8); margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
}
@media (max-width: 600px) {
  .form-card { padding: 28px 22px; }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-grid .field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--olive);
  outline-offset: 1px;
  border-color: var(--olive);
  background: var(--white);
}
.field label .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.field textarea { resize: vertical; min-height: 120px; }

.field--honey { position: absolute; left: -9999px; top: -9999px; }

.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 18px; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #EEF3E8; color: #3E5A2A; border: 1px solid #CBDDBC; }
.form-status.is-error { background: #F7E9E4; color: #8A3B24; border: 1px solid #ECC7B8; }

/* ==========================================================================
   Contact info cards
   ========================================================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
}
.info-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
}
.info-card h2 {
  color: var(--olive);
  margin-bottom: 0.6em;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.info-card p { margin: 0; color: var(--ink-soft); }
.info-card a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--olive-darker);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-grid h2 {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}

.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.7); max-width: 34ch; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.82); }
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal { display: flex; gap: 20px; }

/* ==========================================================================
   Long-form text pages (privacy, terms)
   ========================================================================== */

.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-top: 2em;
}
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); }
.prose .updated { font-size: 0.85rem; margin-bottom: 2.5em; }

/* ==========================================================================
   Mobile quote bar (small screens only; not on the contact page)
   ========================================================================== */

.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--olive-darker);
    border-top: 1px solid rgba(255,255,255,0.14);
  }
  .mobile-cta .btn { width: 100%; justify-content: center; }
  body.has-mobile-cta { padding-bottom: 84px; }
  html { scroll-padding-bottom: 88px; } /* keep focused elements clear of the bar */
}

/* ==========================================================================
   Utility
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
