/* ==========================================================================
   Crossroads Church of Apopka — stylesheet
   Design intent: a warm, unhurried "front porch of a small Florida church"
   feel — cream + forest green + gold, a friendly serif voice for headlines,
   soft rounded cards, generous air between sections. Never a stock-template
   blue-link look; every color and space below is a deliberate token.
   ========================================================================== */

/* ---- 1. Self-hosted fonts ------------------------------------------------ */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- 2. Design tokens ----------------------------------------------------- */

:root {
  /* Palette — warm & inviting */
  --cream: #faf6ef;
  --cream-deep: #f2ead9;
  --cream-card: #fffdf8;
  --forest: #1e3a2b;
  --forest-deep: #142a1e;
  --forest-soft: #2e4f3b;
  --forest-mist: #26443320;
  --gold: #c9a227;
  --gold-light: #e4c55c;
  --gold-deep: #8a6710;
  --gold-ink: #7a5c14; /* for AA text-on-cream use */
  --ink: #372c1f; /* warm near-black for body text */
  --ink-soft: #6b5d4c; /* muted warm gray */
  --ink-on-dark: #f3ecdd;
  --ink-on-dark-soft: #cdc4ae;
  --border-soft: #e6d9bd;
  --border-on-dark: #3e5c49;
  --white: #ffffff;

  /* Semantic */
  --bg-page: var(--cream);
  --bg-alt: var(--cream-deep);
  --bg-card: var(--cream-card);
  --bg-dark: var(--forest);
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --link: var(--forest);
  --link-hover: var(--gold-deep);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.65rem, 1.4rem + 1.1vw, 2.15rem);
  --text-3xl: clamp(2.1rem, 1.65rem + 2vw, 3rem);
  --text-4xl: clamp(2.6rem, 1.85rem + 3.4vw, 4.4rem);
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.55;
  --leading-relaxed: 1.6;

  /* Space — tightened vertical rhythm (2026-07 revision): sections read
     fuller with less air between them, larger type carries the density. */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 1.5rem;
  --space-xl: 2.1rem;
  --space-2xl: 2.75rem;
  --space-3xl: 4.25rem;

  /* Shape */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadow — warm, never pure black */
  --shadow-sm: 0 2px 10px rgba(60, 45, 20, 0.08);
  --shadow-md: 0 12px 32px rgba(30, 58, 43, 0.14);
  --shadow-lg: 0 24px 56px rgba(30, 58, 43, 0.2);
  --shadow-gold: 0 10px 26px rgba(201, 162, 39, 0.35);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 180ms;
  --duration-base: 320ms;
  --duration-reveal: 600ms;

  --container-w: 1180px;
  --header-h: 84px;
}

/* ---- 3. Reset & base ------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-4xl);
}
h2 {
  font-size: var(--text-3xl);
}
h3 {
  font-size: var(--text-2xl);
}
h4 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-sm);
  color: var(--text);
}

.section-lede,
.lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

a {
  color: var(--link);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover {
  color: var(--link-hover);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

ul,
ol {
  padding-left: 1.2em;
}

button {
  font-family: inherit;
}

/* ---- 4. Layout primitives -------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
}
.section--tight {
  padding-block: var(--space-xl);
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--forest);
  color: var(--ink-on-dark);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--ink-on-dark);
}
.section--dark p {
  color: var(--ink-on-dark-soft);
}
.section--dark a:not(.btn) {
  color: var(--gold-light);
}

.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-lg);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: var(--space-xs);
}
.section--dark .eyebrow {
  color: var(--gold-light);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 860px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.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-link {
  position: absolute;
  top: -60px;
  left: var(--space-sm);
  background: var(--forest);
  color: var(--ink-on-dark);
  padding: 0.75em 1.25em;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top var(--duration-fast) var(--ease-out);
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-sm);
}

/* ---- 5. Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  border-radius: var(--radius-pill);
  padding: 0.85em 1.9em;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--forest-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(180deg, var(--gold-light), #d9b23b);
  color: var(--forest-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--ink-on-dark);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(243, 236, 221, 0.55);
  color: var(--ink-on-dark);
}
.btn-outline-light:hover {
  background: rgba(243, 236, 221, 0.12);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  padding-inline: 0.4em;
}
.btn-ghost:hover {
  color: var(--gold-deep);
  transform: none;
}

/* ---- 6. Header / nav -------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid, not translucent: backdrop-filter here would create a new CSS
     containing block for descendant position:fixed elements (Safari/Chrome
     both do this), which traps the mobile nav's fullscreen fixed panel
     inside the header's own ~76px box instead of the viewport. */
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}
.site-header.is-scrolled {
  border-color: var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-xs);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover {
  color: var(--forest);
}
.brand__mark {
  width: 30px;
  height: 50px;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--forest);
}
.brand__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 600;
}

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

.nav__list {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--forest);
  text-decoration: none;
  padding-block: 0.4em;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--forest);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle:hover {
  background: var(--cream-deep);
}
.nav-toggle__bars {
  position: relative;
  width: 22px;
  height: 16px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out),
    opacity var(--duration-base) var(--ease-out), top var(--duration-base) var(--ease-out);
}
.nav-toggle__bars span:nth-child(1) {
  top: 0;
}
.nav-toggle__bars span:nth-child(2) {
  top: 7px;
}
.nav-toggle__bars span:nth-child(3) {
  top: 14px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-out),
      transform var(--duration-base) var(--ease-out), visibility var(--duration-base);
    overflow-y: auto;
  }
  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav__list a {
    display: block;
    padding: 0.95em 0.2em;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ---- 7. Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(70vh, 600px);
  display: flex;
  align-items: flex-end;
  color: var(--ink-on-dark);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 74%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 42, 30, 0.55) 0%,
    rgba(20, 42, 30, 0.62) 45%,
    rgba(15, 32, 22, 0.92) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-2xl) var(--space-2xl);
  width: 100%;
}
.hero__eyebrow {
  color: var(--gold-light);
}
.hero h1 {
  color: var(--white);
  max-width: 16ch;
  margin-bottom: var(--space-sm);
}
.hero__lede {
  font-size: var(--text-lg);
  color: var(--ink-on-dark-soft);
  max-width: 48ch;
  margin-bottom: var(--space-lg);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.page-hero {
  background: var(--forest);
  color: var(--ink-on-dark);
  padding-block: calc(var(--space-2xl) + 1rem) var(--space-xl);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 70%);
}
.page-hero .eyebrow {
  color: var(--gold-light);
}
.page-hero h1 {
  color: var(--white);
  max-width: 22ch;
}
.page-hero__lede {
  max-width: 60ch;
  font-size: var(--text-lg);
  color: var(--ink-on-dark-soft);
  margin-bottom: 0;
}

/* ---- 8. Cards ---------------------------------------------------------------- */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card {
  text-align: left;
  position: relative;
}
.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.service-card__icon svg {
  width: 21px;
  height: 21px;
}
.service-card__day {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.3em;
}
.service-card__time {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--forest);
  margin-bottom: 0.35em;
}
.service-card p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.photo-card:hover img {
  transform: scale(1.04);
}

/* Leadership monogram cards — deliberately no photography, per client fact set */
.leader-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.leader-card__top {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.monogram {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(155deg, var(--forest-soft), var(--forest));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  position: relative;
  box-shadow: inset 0 0 0 3px rgba(201, 162, 39, 0.35);
}
.monogram::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
}
.leader-card__name {
  margin-bottom: 0.15em;
}
.leader-card__role {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.leader-card__bio p:last-child {
  margin-bottom: 0;
}

/* Devotional / newsletter card */
.devotional-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  position: relative;
}
.devotional-card::before {
  content: "\201C";
  position: absolute;
  top: 0.35em;
  left: var(--space-md);
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
}
.devotional-card__date {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 0.5em;
}
.devotional-card__title {
  font-style: italic;
  margin-bottom: var(--space-sm);
}
.devotional-card__body {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text);
  line-height: var(--leading-relaxed);
  white-space: pre-line;
}
.devotional-card__body p {
  margin: 0 0 0.6em;
}

/* Event / weekly-rhythm card */
.event-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.event-card__media {
  height: 160px;
}
.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-card__body {
  padding: var(--space-lg);
}
.event-card__when {
  color: var(--gold-ink);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4em;
}

/* ---- 9. Empty / loading / error states -------------------------------------- */

.state-panel {
  border: 1.5px dashed var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: var(--bg-card);
}
.state-panel__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.state-panel h3 {
  margin-bottom: 0.4em;
}
.state-panel p {
  color: var(--text-muted);
  max-width: 46ch;
  margin-inline: auto;
}
.state-panel .btn {
  margin-top: var(--space-sm);
}

.skeleton {
  background: linear-gradient(100deg, var(--cream-deep) 30%, #ece2c8 50%, var(--cream-deep) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0% {
    background-position: 140% 0;
  }
  100% {
    background-position: -40% 0;
  }
}
.skeleton-card {
  height: 220px;
}
@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: var(--cream-deep);
  }
}

/* ---- 10. Media embeds (YouTube / Maps) -------------------------------------- */

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--forest-deep);
}
.media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.media-frame--map {
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 700px) {
  .media-frame--map {
    aspect-ratio: 16 / 6;
  }
}

/* ---- 11. Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--forest);
  color: var(--ink-on-dark-soft);
  padding-block: var(--space-2xl) var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  text-decoration: none;
}
.footer-brand__mark {
  width: 26px;
  height: 44px;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 600;
}
.site-footer p {
  color: var(--ink-on-dark-soft);
}
.footer-col h4 {
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65em;
}
.footer-col a {
  color: var(--ink-on-dark-soft);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--gold-light);
}
.footer-desc {
  max-width: 34ch;
  color: var(--ink-on-dark-soft);
}
.footer-social {
  display: flex;
  gap: 0.7em;
  margin-top: var(--space-sm);
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-on-dark);
  transition: border-color var(--duration-fast), color var(--duration-fast), background var(--duration-fast);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
}
.footer-social svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  border-top: 1px solid var(--border-on-dark);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--ink-on-dark-soft);
}
.footer-bottom a {
  color: var(--ink-on-dark-soft);
}

/* ---- 12. Forms ------------------------------------------------------------------ */

.form-field {
  margin-bottom: var(--space-md);
}
.form-field label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 0.45em;
  color: var(--forest);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  transition: border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a99a7d;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}
.form-field textarea {
  resize: vertical;
  min-height: 140px;
}
.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.4em;
}
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  margin-top: var(--space-sm);
  display: none;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-error {
  background: #fbeae0;
  color: #8a3d16;
  border: 1px solid #eec9a9;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.info-list li {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}
.info-list__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-list__icon svg {
  width: 20px;
  height: 20px;
}
.info-list strong {
  display: block;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}
.info-list a {
  color: var(--text);
  text-decoration: none;
}
.info-list a:hover {
  color: var(--gold-deep);
}

/* ---- 13. Misc content blocks ----------------------------------------------- */

.divider-cross {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-block: var(--space-lg);
  color: var(--gold);
}
.divider-cross::before,
.divider-cross::after {
  content: "";
  height: 1px;
  width: 64px;
  background: var(--border-soft);
}
.divider-cross svg {
  width: 20px;
  height: 20px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--cream-deep);
  color: var(--gold-ink);
  border-radius: var(--radius-pill);
  padding: 0.4em 0.9em;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}
.strip .photo-card {
  aspect-ratio: 4 / 5;
}
@media (max-width: 760px) {
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cta-banner {
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.25), transparent 70%);
}
.cta-banner h2,
.cta-banner p {
  color: var(--white);
  position: relative;
}
.cta-banner p {
  color: var(--ink-on-dark-soft);
}
.cta-banner__text {
  max-width: 46ch;
}
.cta-banner__actions {
  position: relative;
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---- 14. Scroll reveal -------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--duration-reveal) var(--ease-out),
    transform var(--duration-reveal) var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- 15. Responsive tune-ups --------------------------------------------------- */

@media (max-width: 700px) {
  :root {
    --space-2xl: 2.75rem;
    --space-3xl: 4rem;
    --space-lg: 1.6rem;
  }
  .hero {
    /* Capped like the desktop rule (min(70vh, 600px)) — an uncapped vh
       value here both grows unpredictably when a mobile browser's address
       bar shows/hides (dynamic toolbar jank) and, worse, gets worse the
       taller the viewport already is, which is exactly backwards for a
       hero banner. */
    min-height: min(72vh, 560px);
    align-items: flex-end;
  }
  .hero__content {
    padding-block: var(--space-xl) var(--space-lg);
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: var(--space-sm);
  }
}
