/* === Tokens === */
:root {
  --color-primary: #A04A2E;
  --color-secondary: #F0E0C0;
  --color-accent: #3D5A47;
  --color-neutral-dark: #2A1F18;
  --color-neutral-light: #FBF5E8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max: 1180px;
  --radius: 8px;
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-neutral-dark); }
p { margin: 0 0 1rem; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 1rem;
  font-weight: 600;
}
.lede { font-size: 1.075rem; color: #3f322a; }

/* === Layout === */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section--tall { padding: 6rem 0; }
.section--narrow > .container { max-width: 780px; }
.section--tint { background: var(--color-secondary); }

/* === Header === */
.site-header {
  background: var(--color-neutral-light);
  border-bottom: 1px solid rgba(42, 31, 24, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.logo { display: inline-block; text-decoration: none; line-height: 0; }
.logo img { height: 72px; width: auto; }
.logo--footer img { height: 64px; }

/* === Nav === */
.primary-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.primary-nav a {
  color: var(--color-neutral-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav a.is-current {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary);
}
.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(42, 31, 24, 0.08);
  gap: 0.75rem;
  align-items: flex-start;
}
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  padding: 4px 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-neutral-dark);
}

/* === Hero fullscreen === */
.hero-fullscreen {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-neutral-light);
}
.hero-fullscreen__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-fullscreen__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(42, 31, 24, 0.55), rgba(42, 31, 24, 0.75));
  z-index: 1;
}
.hero-fullscreen__content {
  position: relative;
  z-index: 2;
  padding-block: 5rem;
  max-width: 780px;
}
.hero-fullscreen__content h1 { color: var(--color-neutral-light); max-width: 20ch; }
.hero-fullscreen__content .eyebrow { color: var(--color-secondary); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--color-secondary);
  max-width: 48ch;
  margin-bottom: 2rem;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn--primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn--primary:hover { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.btn--accent { background: var(--color-accent); color: var(--color-neutral-light); }
.btn--accent:hover { background: var(--color-neutral-dark); color: var(--color-neutral-light); }

/* === Section head === */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-sub { color: #4a3b30; font-size: 1.05rem; margin: 0; }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* === Cards === */
.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(42, 31, 24, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card h3 { margin: 0.25rem 0 0.5rem; }
.card p { margin: 0; color: #3f322a; }
.card__icon { color: var(--color-primary); margin-bottom: 0.5rem; }
.card__tag {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.card__more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}
a.card-link { text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease; }
a.card-link:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -18px rgba(42, 31, 24, 0.35); }

/* === Pullquote === */
.pullquote {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(42, 31, 24, 0.15);
  border-bottom: 1px solid rgba(42, 31, 24, 0.15);
}
.pullquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-style: italic;
  color: var(--color-neutral-dark);
  line-height: 1.5;
  margin: 0 0 1rem;
}
.pullquote cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: var(--color-neutral-light);
  padding: 3.5rem 0;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: 0.5rem; }
.cta-band p { margin: 0; color: rgba(251, 245, 232, 0.9); }

/* === Contact band === */
.contact-band {
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.contact-band__line { font-size: 0.95rem; color: #3f322a; }

/* === Contact grid === */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.contact-cell {
  background: var(--color-neutral-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(42, 31, 24, 0.08);
}
.contact-cell h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.contact-cell p { margin: 0; }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(42, 31, 24, 0.2);
  border-radius: var(--radius);
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #3f322a;
}
.form-consent input { margin-top: 3px; }

/* === Article === */
.article {
  max-width: 65ch;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}
.article__header { margin-bottom: 1.5rem; }
.article__header h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article__sub { font-size: 1.2rem; color: #4a3b30; }
.article__hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.article p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-block: 1.25rem;
}
.article__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(42, 31, 24, 0.15); }
.back-link { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* === Thank you === */
.thankyou { text-align: center; max-width: 640px; margin: 0 auto; }
.thankyou h1 { color: var(--color-neutral-dark); }
.thankyou .hero-sub { color: #4a3b30; margin: 0 auto; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer h4 { color: var(--color-secondary); margin-bottom: 1rem; }
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
.footer-tagline { font-size: 0.95rem; color: rgba(251, 245, 232, 0.75); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a, .footer-contact a {
  color: var(--color-neutral-light);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-secondary); }
.footer-contact address { font-style: normal; line-height: 1.7; font-size: 0.95rem; }
.footer-legal { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.88rem; }
.footer-legal a { color: rgba(251, 245, 232, 0.75); }
.site-footer__base {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 245, 232, 0.15);
  color: rgba(251, 245, 232, 0.65);
  font-size: 0.85rem;
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  z-index: 9999;
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.5);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); color: var(--color-neutral-light); }
.cookie-banner button:hover { opacity: 0.9; }
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(251, 245, 232, 0.2);
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-primary);
  color: var(--color-neutral-light);
}

/* === Responsive === */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .contact-band { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  body { font-size: 17px; }
  .section { padding: 5.5rem 0; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .primary-nav.is-open { position: static; flex-direction: row; padding: 0; border: none; background: transparent; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero-fullscreen { min-height: 92vh; }
}

@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
}
