/* ============================================================
   PEACE MEDIATION — styles.css
   Build order: tokens → reset → typography → utilities → layout
   ============================================================ */


/* ── 0. FONT FACES ─────────────────────────────────────────── */

@font-face {
  font-family: "Now";
  src: url("../fonts/now-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Now";
  src: url("../fonts/now-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Now";
  src: url("../fonts/now-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ── 1. TOKENS ─────────────────────────────────────────────── */

:root {
  /* Brand colours */
  --color-teal:       #124A4D;
  --color-sage:       #50736A;
  --color-sage-light: #ADC6B0;
  --color-cream:      #F2EFDC;

  /* Derived neutrals */
  --color-white:      #FFFFFF;
  --color-off-white:  #FAFAF7;
  --color-text:       var(--color-teal);
  --color-text-muted: var(--color-sage);
  --color-bg:         var(--color-white);
  --color-bg-alt:     var(--color-cream);
  --color-border:     rgba(18, 74, 77, 0.12);

  /* Typography */
  --font-sans:        "Now", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --weight-regular:   400;
  --weight-medium:    500;
  --weight-bold:      700;

  --leading-tight:    1.2;
  --leading-snug:     1.4;
  --leading-body:     1.7;
  --leading-loose:    1.85;

  /* Fluid type scale */
  --fs-hero:  clamp(2.5rem,   1.5rem + 4vw,   4.5rem);
  --fs-h2:    clamp(1.875rem, 1.4rem  + 2vw,   2.75rem);
  --fs-h3:    clamp(1.25rem,  1.1rem  + 0.6vw, 1.5rem);
  --fs-lead:  clamp(1.125rem, 1rem    + 0.5vw, 1.375rem);
  --fs-body:  1.0625rem;   /* 17px */
  --fs-small: 0.9375rem;   /* 15px */

  /* Fixed UI heights */
  --topbar-height: 40px;
  --header-nav-height: 82px;

  /* Spacing scale (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Section padding — generous, fluid */
  --section-pad-y: clamp(5rem, 4rem + 6vw, 8rem);
  --section-pad-x: clamp(1.5rem, 1rem + 3vw, 3rem);

  /* Layout */
  --container-max:    1140px;
  --container-narrow: 720px;
  --measure:          65ch;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  /* Shadows — soft, never harsh */
  --shadow-sm: 0 1px 2px  rgba(18, 74, 77, 0.06);
  --shadow-md: 0 6px 24px rgba(18, 74, 77, 0.08);
  --shadow-lg: 0 18px 48px rgba(18, 74, 77, 0.12);

  /* Motion */
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast:    200ms;
  --dur-base:    350ms;
  --dur-reveal:  600ms;
}


/* ── 2. RESET ──────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-nav-height);
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

table {
  border-collapse: collapse;
}


/* ── 3. TYPOGRAPHY BASELINE ────────────────────────────────── */

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p + p { margin-top: var(--space-3); }


/* ── 4. UTILITIES ──────────────────────────────────────────── */

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

/* Skip-to-content link — visible on keyboard focus only */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-2);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--color-teal);
  color: var(--color-cream);
  font-weight: var(--weight-medium);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top var(--dur-fast);
}

.skip-link:focus {
  top: var(--space-2);
}

/* Eyebrow label */
.eyebrow {
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: var(--space-2);
}


/* ── 5. LAYOUT PRIMITIVES ──────────────────────────────────── */

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--section-pad-x);
}

.section {
  padding-block: var(--section-pad-y);
  background-color: var(--color-bg);
}

.section--alt {
  background-color: var(--color-bg-alt);
}



/* ── 6. REVEAL ANIMATION ───────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity   var(--dur-reveal) var(--ease),
    transform var(--dur-reveal) var(--ease);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ── 7. FOCUS STYLES (global) ──────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ════════════════════════════════════════════════════════════
   COMPONENTS
   ════════════════════════════════════════════════════════════ */


/* ── BUTTONS ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--weight-medium);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    background-color var(--dur-fast) var(--ease),
    color            var(--dur-fast) var(--ease),
    transform        var(--dur-fast) var(--ease),
    box-shadow       var(--dur-fast) var(--ease);
}

.btn--primary {
  background-color: var(--color-teal);
  color: var(--color-cream);
}

.btn--primary:hover {
  background-color: var(--color-sage);
  transform: translateY(-1px);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--color-sage-light);
  outline-offset: 2px;
}

.btn--outline {
  background-color: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
}

.btn--outline:hover {
  background-color: color-mix(in srgb, currentColor 8%, transparent);
}

.btn--outline:focus-visible {
  outline: 2px solid var(--color-sage-light);
  outline-offset: 2px;
}


/* ── TOPBAR ─────────────────────────────────────────────────── */

.topbar {
  height: var(--topbar-height);
  background-color: var(--color-teal);
  color: var(--color-cream);
  display: flex;
  align-items: center;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.topbar__link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;   /* 13px — slim topbar text */
  font-weight: var(--weight-medium);
  color: inherit;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity var(--dur-fast);
}

.topbar__link:hover {
  opacity: 1;
}

.topbar__link svg {
  flex-shrink: 0;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Hide email on narrow screens */
@media (max-width: 599px) {
  .topbar__link--email { display: none; }
}

/* ── HEADER ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  color: var(--color-teal);
  box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 50px;
  width: auto;
  transition: height var(--dur-base) var(--ease);
}

.site-header.is-scrolled .site-header__logo img {
  height: 36px;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav__link {
  font-size: var(--fs-body);
  font-weight: var(--weight-medium);
  color: inherit;
  text-decoration: none;
  transition: opacity var(--dur-fast);
}

.site-nav__link:hover {
  opacity: 0.75;
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-1);
  color: inherit;
  border-radius: var(--radius-sm);
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile nav panel */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-inline: var(--section-pad-x);
  background: var(--color-white);
  color: var(--color-teal);
  max-height: 0;
  overflow: hidden;
  transition:
    max-height    var(--dur-base) var(--ease),
    padding-block var(--dur-base) var(--ease);
  border-top: 1px solid var(--color-border);
}

.mobile-nav.is-open {
  max-height: 400px;
  padding-block: var(--space-3);
}

.mobile-nav a {
  font-size: var(--fs-body);
  font-weight: var(--weight-medium);
  color: var(--color-teal);
  text-decoration: none;
  padding-block: var(--space-1);
  transition: color var(--dur-fast);
}

.mobile-nav a:hover {
  color: var(--color-sage);
}

.mobile-nav__cta {
  align-self: flex-start;
  margin-top: var(--space-1);
}

/* Switch to mobile layout below 720px */
@media (max-width: 719px) {
  .site-nav    { display: none; }
  .nav-toggle  { display: flex; }
}


/* ── HERO ───────────────────────────────────────────────────── */

.section--hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-nav-height));
  display: flex;
  align-items: center;
  padding-block-start: var(--space-5);
  padding-block-end: var(--space-7);
  background-color: var(--color-teal);
  color: var(--color-cream);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

.section--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 74, 77, 0.50);
  pointer-events: none;
  z-index: 1;
}

.section--hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.eyebrow--hero {
  color: var(--color-sage-light);
  letter-spacing: 0.12em;
}

.hero__heading {
  font-size: var(--fs-hero);
  line-height: 1.1;
  max-width: 18ch;
  margin-top: var(--space-2);
}

.hero__subhead {
  font-size: var(--fs-lead);
  line-height: var(--leading-snug);
  max-width: 48ch;
  margin-top: var(--space-3);
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

/* Invert primary button on dark hero */
.section--hero .btn--primary {
  background-color: var(--color-cream);
  color: var(--color-teal);
}

.section--hero .btn--primary:hover {
  background-color: var(--color-sage-light);
  transform: translateY(-1px);
}

.hero__secondary-link {
  font-size: var(--fs-body);
  font-weight: var(--weight-medium);
  color: var(--color-cream);
  text-decoration: none;
  transition: opacity var(--dur-fast);
}

.hero__secondary-link:hover {
  opacity: 0.75;
}



/* ── ABOUT ──────────────────────────────────────────────────── */

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: start;
}

@media (max-width: 859px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__visual {
    order: -1;
  }
}

.about__heading {
  margin-bottom: var(--space-5);
}

.about__statement {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: rgba(18, 74, 77, 0.05);
  border-left: 3px solid var(--color-sage);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
  overflow: hidden;
}

.about__statement::before {
  content: '\201C';
  position: absolute;
  right: var(--space-5);
  top: -1.5rem;
  font-size: 10rem;
  line-height: 1;
  font-weight: var(--weight-bold);
  color: var(--color-sage);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.about__statement p {
  font-size: var(--fs-lead);
  line-height: var(--leading-body);
  color: var(--color-teal);
  margin-top: 0;
  max-width: var(--measure);
}

.about__visual {
  position: relative;
}

.about__visual::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  background: rgba(173, 198, 176, 0.35);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 580px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about__badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
  background: var(--color-teal);
  color: var(--color-cream);
  padding: 1.125rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about__badge-title {
  display: block;
  font-size: var(--fs-body);
  font-weight: var(--weight-bold);
  margin-bottom: 0.2rem;
}

.about__badge span:not(.about__badge-title) {
  display: block;
  font-size: var(--fs-small);
  opacity: 0.8;
}


/* ── STATS STRIP ─────────────────────────────────────────────── */

.section--stats {
  background: var(--color-teal);
  padding-block: var(--space-6);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 719px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
  padding: var(--space-4) var(--space-5);
  text-align: center;
  border-right: 1px solid rgba(242, 239, 220, 0.12);
}

.stat-item:last-child { border-right: none; }

@media (max-width: 719px) {
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(242, 239, 220, 0.12); }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(242, 239, 220, 0.12); }
}

.stat-item__number {
  display: block;
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--color-sage-light);
  margin-bottom: var(--space-2);
}

.stat-item__label {
  display: block;
  font-size: var(--fs-small);
  line-height: var(--leading-snug);
  color: rgba(242, 239, 220, 0.72);
}


/* ── FOUNDER STORY ──────────────────────────────────────────── */

#founder {
  background-color: var(--color-white);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(173, 198, 176, 0.18) 30px,
      rgba(173, 198, 176, 0.18) 31px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 30px,
      rgba(173, 198, 176, 0.18) 30px,
      rgba(173, 198, 176, 0.18) 31px
    );
}

.founder__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.founder__row + .founder__row {
  margin-top: var(--space-7);
}

@media (max-width: 859px) {
  .founder__row { grid-template-columns: 1fr; }
}

.founder__media {
  display: flex;
  flex-direction: column;
}

.founder__portrait-wrap {
  position: relative;
}

.founder__portrait-wrap::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 55%;
  height: 55%;
  background: rgba(173, 198, 176, 0.4);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.founder__portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.founder__family-fig {
  position: relative;
  margin: 0;
}

.founder__family-fig::before {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 50%;
  height: 50%;
  background: rgba(18, 74, 77, 0.08);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.founder__family {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.founder__caption {
  font-style: italic;
  font-size: var(--fs-small);
  color: var(--color-sage);
  line-height: var(--leading-snug);
  max-width: var(--measure);
  margin-top: var(--space-2);
}

.founder__body h2 {
  max-width: 16ch;
  margin-block: var(--space-2) var(--space-4);
}

.founder__body p + p {
  margin-top: var(--space-3);
}

.founder__quote-divider {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-block: var(--space-7);
}

.founder__quote-divider::before,
.founder__quote-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-sage-light);
}

.founder__quote-divider blockquote {
  text-align: center;
  flex-shrink: 0;
  max-width: 44ch;
}

.founder__quote-divider p {
  font-size: var(--fs-lead);
  font-style: italic;
  line-height: var(--leading-snug);
  color: var(--color-teal);
  font-weight: var(--weight-medium);
  margin-top: 0;
}

.founder__quote-divider cite {
  display: block;
  font-size: var(--fs-small);
  font-style: normal;
  font-weight: var(--weight-medium);
  color: var(--color-sage);
  margin-top: var(--space-2);
}


/* ── SERVICES ───────────────────────────────────────────────── */

.services__intro {
  text-align: center;
  max-width: var(--measure);
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.services__intro h2 {
  margin-block: var(--space-2) var(--space-4);
}

.services__lead {
  font-size: var(--fs-lead);
  line-height: var(--leading-snug);
  color: var(--color-text-muted);
}

.services__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (max-width: 719px) {
  .services__cards { grid-template-columns: 1fr; }
}

.service-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-white);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card__header {
  background: var(--color-teal);
  color: var(--color-cream);
  padding: var(--space-4) var(--space-5);
}

.service-card__num {
  display: block;
  font-size: 4rem;
  font-weight: var(--weight-bold);
  line-height: 1;
  color: rgba(242, 239, 220, 0.10);
  margin-bottom: calc(-1 * var(--space-1));
  user-select: none;
}

.service-card__header h3 {
  color: var(--color-cream);
  margin-bottom: 0;
}

.service-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
  background: rgba(173, 198, 176, 0.10);
}

.service-card__body p {
  margin-bottom: var(--space-3);
  line-height: var(--leading-body);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.service-card__list li {
  position: relative;
  padding-left: var(--space-3);
  line-height: var(--leading-snug);
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-sage);
  flex-shrink: 0;
}

.service-card__cta {
  align-self: flex-start;
  margin-top: auto;
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.services__where {
  text-align: center;
  max-width: var(--measure);
  margin-inline: auto;
  margin-top: var(--space-6);
}

.services__where .eyebrow {
  margin-bottom: var(--space-3);
}

.services__where p {
  font-size: var(--fs-lead);
  line-height: var(--leading-body);
}


/* ── CONTACT ────────────────────────────────────────────────── */

#contact {
  background-color: var(--color-white);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(173, 198, 176, 0.18) 30px,
      rgba(173, 198, 176, 0.18) 31px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 30px,
      rgba(173, 198, 176, 0.18) 30px,
      rgba(173, 198, 176, 0.18) 31px
    );
}

.contact__form-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--color-teal);
}

.contact__intro {
  margin-bottom: var(--space-5);
}

.contact__intro h2 {
  margin-block: var(--space-2) var(--space-3);
}

.contact__lead {
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  max-width: var(--measure);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

@media (max-width: 859px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.field label {
  font-size: var(--fs-small);
  font-weight: var(--weight-medium);
  color: var(--color-teal);
}

.field input,
.field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  font-size: var(--fs-body);
  line-height: var(--leading-body);
  width: 100%;
  transition: border-color var(--dur-fast), outline-color var(--dur-fast);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--color-sage);
  outline-offset: 2px;
  border-color: var(--color-sage);
}

.field input.has-error,
.field textarea.has-error {
  border-color: #B0413E;
}

.field input.has-error:focus,
.field textarea.has-error:focus {
  outline-color: #B0413E;
}

.field-error {
  font-size: var(--fs-small);
  color: #B0413E;
  margin-top: 0.25rem;
}

.contact-form .btn {
  align-self: flex-start;
}

.contact-form__status {
  font-size: var(--fs-small);
  color: var(--color-sage);
  min-height: 1.4em;
}

.contact-form__success {
  padding: var(--space-5);
  background: rgba(173, 198, 176, 0.2);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.contact-form__success h3 {
  font-size: var(--fs-h3);
  margin-block: var(--space-2) var(--space-3);
}

/* Contact details column */
.contact__details {
  background: var(--color-teal);
  color: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-info-block__icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-sage-light);
}

.contact-info-block__label {
  font-size: 0.75rem;
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-sage-light);
  margin-bottom: 0.375rem;
}

.contact-info-block__value {
  display: block;
  font-size: var(--fs-lead);
  font-weight: var(--weight-medium);
  color: var(--color-cream);
  text-decoration: none;
  transition: opacity var(--dur-fast);
}

.contact-info-block__value:hover { opacity: 0.75; }

.contact-info-block__value--email {
  font-size: var(--fs-body);
  word-break: break-all;
}

.contact-info-block--hours { align-items: flex-start; }

.contact-hours { flex: 1; }

/* Hours table */
.hours-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-2);
}

.hours-list__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--fs-small);
  line-height: var(--leading-snug);
  padding-block: 0.4rem;
  border-bottom: 1px solid rgba(242, 239, 220, 0.08);
}

.hours-list__row:last-child { border-bottom: none; }

.hours-list__row dt {
  font-weight: var(--weight-medium);
  min-width: 90px;
  color: var(--color-cream);
}

.hours-list__row dd { color: rgba(242, 239, 220, 0.75); }

.hours-list__row--closed dt,
.hours-list__row--closed dd {
  opacity: 0.35;
}

/* Serving tags */
.contact-serving__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.375rem;
}

.contact-serving__tags span {
  font-size: var(--fs-small);
  background: rgba(242, 239, 220, 0.1);
  border: 1px solid rgba(242, 239, 220, 0.2);
  color: var(--color-cream);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  line-height: 1.6;
}


/* ── FOOTER ─────────────────────────────────────────────────── */

.site-footer {
  background-color: var(--color-teal);
  color: var(--color-cream);
}

/* Brand row */
.site-footer__top {
  border-bottom: 1px solid rgba(242, 239, 220, 0.15);
  padding-block: var(--space-4);
}

.site-footer__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
  min-width: 0;
}

.site-footer__logo-link {
  display: inline-flex;
  flex-shrink: 0;
}

.site-footer__logo-img {
  height: 44px;
  width: auto;
}

.site-footer__divider {
  display: block;
  width: 1px;
  height: 44px;
  background: rgba(242, 239, 220, 0.25);
  flex-shrink: 0;
}

.site-footer__tagline {
  font-size: var(--fs-small);
  line-height: var(--leading-snug);
  opacity: 0.85;
}

/* Circular social icons */
.site-footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 239, 220, 0.35);
  color: var(--color-cream);
  text-decoration: none;
  transition:
    border-color var(--dur-fast),
    background-color var(--dur-fast),
    color var(--dur-fast);
}

.social-circle:hover {
  border-color: var(--color-sage-light);
  background: rgba(173, 198, 176, 0.15);
  color: var(--color-sage-light);
}

/* Flat icon used in topbar */
.social-icon {
  display: flex;
  color: inherit;
  transition: color var(--dur-fast), opacity var(--dur-fast);
}
.social-icon:hover { opacity: 0.75; }

/* Four-column grid */
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.6fr;
  gap: var(--space-6);
  padding-block: var(--space-6);
}

@media (max-width: 860px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 479px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* Column headings */
.footer-col__heading {
  font-size: var(--fs-body);
  font-weight: var(--weight-medium);
  color: var(--color-cream);
  margin-bottom: var(--space-4);
}

.footer-col__heading--lg {
  font-size: var(--fs-h3);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  max-width: 16ch;
}

/* Column links */
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  font-size: var(--fs-body);
  color: rgba(242, 239, 220, 0.78);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.footer-col a:hover {
  color: var(--color-cream);
}

.footer-col__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col__contact-list li {
  font-size: var(--fs-body);
  color: rgba(242, 239, 220, 0.78);
  line-height: var(--leading-snug);
}

/* Newsletter form */
.newsletter-form {
  margin-top: var(--space-4);
}

.newsletter-form__row {
  position: relative;
  display: flex;
  align-items: center;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(242, 239, 220, 0.35);
  padding: 0.75rem 3.5rem 0.75rem 0;
  color: var(--color-cream);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  outline: none;
  transition: border-color var(--dur-fast);
}

.newsletter-form input::placeholder {
  color: rgba(242, 239, 220, 0.45);
}

.newsletter-form input:focus {
  border-bottom-color: var(--color-sage-light);
}

.newsletter-form__btn {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(242, 239, 220, 0.12);
  border: 1.5px solid rgba(242, 239, 220, 0.35);
  color: var(--color-cream);
  cursor: pointer;
  font-family: var(--font-sans);
  transition:
    background-color var(--dur-fast),
    border-color var(--dur-fast);
}

.newsletter-form__btn:hover {
  background: var(--color-sage);
  border-color: var(--color-sage);
}

.newsletter-form__btn:focus-visible {
  outline: 2px solid var(--color-sage-light);
  outline-offset: 2px;
}

.newsletter-form__thanks {
  font-size: var(--fs-small);
  color: var(--color-sage-light);
  padding-block: var(--space-2);
  line-height: var(--leading-snug);
}

/* Bottom bar */
.site-footer__bottom {
  border-top: 1px solid rgba(242, 239, 220, 0.15);
  padding-block: var(--space-3);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.site-footer__bottom p {
  font-size: var(--fs-small);
  opacity: 0.7;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.site-footer__legal a {
  font-size: var(--fs-small);
  color: var(--color-cream);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity var(--dur-fast);
}

.site-footer__legal a:hover { opacity: 1; }

.site-footer__legal span {
  font-size: var(--fs-small);
  opacity: 0.4;
}

/* Responsive: collapse brand row on small screens */
@media (max-width: 599px) {
  .site-footer__divider,
  .site-footer__tagline { display: none; }
}
