/* ==========================================================================
   Broadleaf Gift — broadleafgift.com
   Rebuilt from the Squarespace 7.1 design. Static HTML/CSS, no dependencies.
   ========================================================================== */

/* ---------- Fonts ---------------------------------------------------------
   Original site used Acumin Pro (Adobe Fonts / Typekit), which requires an
   Adobe subscription to serve off Squarespace. Archivo is a free, open-licence
   neo-grotesque with near-identical proportions and is self-hosted here.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
  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;
}

/* ---------- Tokens (carried over from the Squarespace site styles) -------- */
:root {
  --black: #000000;
  --white: #ffffff;
  --accent: #c3d0cb;        /* sage       hsl(156.9 12.1% 79.0%) */
  --light-accent: #eaf6f2;  /* pale mint  hsl(160 40% 94.1%)     */
  --dark-accent: #17362b;   /* forest     hsl(158.7 40.3% 15.1%) */

  --base: 14px;
  --h1: 56px;   /* 4.0  x base */
  --h2: 39px;   /* 2.8  x base */
  --h3: 31px;   /* 2.2  x base */
  --h4: 22px;   /* 1.6  x base */
  --large: 21px;/* 1.5  x base */
  --small: 13px;/* 0.9  x base */

  --heading-lh: 1.4;
  --body-lh: 1.8;

  --content: 1196px;
  --gutter: 28px;
  --section-pad: 95px;
}

/* ---------- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: var(--base);
  line-height: var(--body-lh);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-weight: 500;
  line-height: var(--heading-lh);
  margin: 0 0 0.4em;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { margin: 0 0 1.5em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--black); color: var(--white);
  padding: 12px 20px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* ---------- Layout -------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-pad) 0; }
.section--tight { padding: 60px 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  padding: 44px 0 40px;
  text-align: center;
}
.site-header__logo { display: inline-block; width: 345px; max-width: 80vw; }
.site-header__logo img { width: 100%; height: auto; margin: 0 auto; }

.nav { margin-top: 46px; }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
}
.nav a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-size: var(--base);
  letter-spacing: 0.01em;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, opacity 0.18s ease;
}
.nav a:hover { border-bottom-color: rgba(0, 0, 0, 0.35); }
.nav a[aria-current="page"] { border-bottom-color: var(--black); }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: var(--base);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 19px 30px;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn--form { text-transform: none; font-weight: 400; letter-spacing: 0; padding: 15px 28px; }

/* ---------- Notice band (home) ------------------------------------------- */
.notice {
  background: var(--light-accent);
  text-align: center;
  padding: 78px 30px;
}
.notice h2 { margin-bottom: 0.6em; }
.notice p { font-size: var(--large); line-height: 1.7; margin-bottom: 0; }
.notice a { color: inherit; }
.notice .notice__links { margin: 0.35em 0; }

/* ---------- Masonry gallery ---------------------------------------------- */
.gallery {
  columns: 3;
  column-gap: 26px;
}
.gallery figure { margin: 0 0 26px; break-inside: avoid; }
.gallery img { width: 100%; }

/* ---------- Full-bleed banner -------------------------------------------- */
.banner {
  width: 100%;
  height: 62vh;
  min-height: 380px;
  max-height: 620px;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Centred statement -------------------------------------------- */
.statement {
  text-align: center;
  padding: 130px 0;
}
.statement h3 { margin: 0 0 18px; font-weight: 400; }
.statement h3:last-child { margin-bottom: 0; }

/* ---------- About page ---------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 486fr 514fr;
  gap: 140px;
  align-items: center;
}
.split__lead { font-size: var(--large); line-height: 1.7; }

/* ---------- Local makers overlap ----------------------------------------- */
.overlap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}
.overlap__media { grid-column: 1 / span 7; grid-row: 1; }
.overlap__card {
  grid-column: 6 / span 7;
  grid-row: 1;
  background: var(--light-accent);
  padding: 62px 56px;
  z-index: 1;
}
.overlap__card h3 { text-transform: uppercase; margin-bottom: 0.7em; }
.overlap__card p { margin-bottom: 2em; }

/* ---------- Contact page -------------------------------------------------- */
.info-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.info-cols h4,
.info-block__label {
  font-size: var(--base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.2em;
  line-height: var(--body-lh);
}
.info-cols p { margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  align-items: start;
}
.contact-grid__form { grid-column: 3; }
.contact-grid__media { grid-column: 1; }
.contact-grid__social { grid-column: 2; align-self: end; }

/* ---------- Forms --------------------------------------------------------- */
.field { margin-bottom: 22px; }
.field > legend,
.field > label {
  display: block;
  font-size: var(--base);
  margin-bottom: 6px;
}
.field .req { color: #7a7a7a; font-size: var(--small); }
fieldset.field { border: 0; margin-inline: 0; padding: 0; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field__row label { font-size: var(--small); }
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  font-size: var(--base);
  color: var(--black);
  background: #fbfbfb;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  padding: 12px 14px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--dark-accent); outline: none; }
.form-status { margin-top: 16px; font-size: var(--base); }
.form-status[data-state="error"] { color: #a3242b; }

/* ---------- Social icons -------------------------------------------------- */
.social { display: flex; gap: 16px; align-items: center; }
.social a { display: inline-flex; color: var(--black); }
.social svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer {
  padding: 90px 0 80px;
  font-size: var(--base);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 30px;
  align-items: start;
}
.site-footer__brand {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 1.6em;
}
.site-footer__tagline { margin: 0; }
.site-footer__label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.5em; }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; --h2: 34px; --h3: 27px; }
  .gallery { columns: 2; }
  .split { gap: 60px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .site-footer__social { grid-column: 1 / -1; }
  .overlap__card { padding: 46px 38px; }
}

@media (max-width: 760px) {
  :root { --section-pad: 60px; --h1: 40px; --h2: 29px; --h3: 24px; --large: 18px; --gutter: 22px; }
  .site-header { padding: 32px 0 28px; }
  .nav { margin-top: 30px; }
  .nav ul { gap: 6px 18px; }
  .gallery { columns: 1; column-gap: 0; }
  .gallery figure { margin-bottom: 18px; }
  .banner { height: 48vh; min-height: 260px; }
  .statement { padding: 70px 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .site-header__logo { width: 280px; }
  .notice { padding: 52px 24px; }
  .overlap { display: block; }
  .overlap__card { margin: -40px 0 0; padding: 38px 26px; }
  .info-cols { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid__form,
  .contact-grid__media,
  .contact-grid__social { grid-column: 1; }
  .field__row { grid-template-columns: 1fr; }
  .site-footer { padding: 60px 0 50px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
