/* ==========================================================================
   FOXY FRAN'S CATERING SERVICE
   Simple white + purple foundation. Built to be designed on top of.
   ========================================================================== */

/* --- Design tokens --- */
:root {
  /* Purple sampled from the logo */
  --purple: #70338F;
  --purple-dark: #3F1554;
  --purple-light: #9B51B8;
  --lavender: #F4EEFB;

  /* Warm gold accent — the 10% pop against all the purple/white */
  --gold: #C9974B;
  --gold-light: #F3E4C4;

  --white: #FFFFFF;
  --tint: #FAF7FD;
  --border: #EAE3F2;

  --text: #1F1926;
  --text-soft: #585361;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Caveat', cursive;

  --radius: 12px;
  --radius-pill: 9999px;
  --container: 1080px;

  --shadow-sm: 0 2px 10px rgba(63, 21, 84, 0.06);
  --shadow-md: 0 12px 28px rgba(63, 21, 84, 0.12);
  --shadow-lg: 0 24px 48px rgba(63, 21, 84, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  cursor: pointer;
}

/* Keyboard focus ring. */
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--purple);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
  top: 0;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 680px;
}

.section {
  padding: 88px 0;
}

.section-tint {
  background: var(--tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 40px;
}

/* --- Type --- */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--purple-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

h1 span {
  position: relative;
  display: inline-block;
  color: var(--purple);
}

h1 span::after {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -10px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3,12 C25,3 45,18 68,9 C90,1 112,17 135,10 C158,2 180,16 203,9 C225,2 248,15 270,8 C282,5 291,7 297,10' fill='none' stroke='%23C9974B' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p {
  color: var(--text-soft);
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

.eyebrow-icon {
  flex-shrink: 0;
  color: var(--gold);
}

.lede {
  font-size: 1.1rem;
  max-width: 56ch;
}

.motto {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--purple);
  margin-top: 24px;
}

blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--purple);
  line-height: 1.5;
}

/* --- Story --- */
.story-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.story-quote {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg);
}

.story-signoff {
  margin-top: 20px;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--purple);
}

.story-quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--purple-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--purple);
  border-color: var(--purple);
}

.btn-secondary:hover {
  background: var(--lavender);
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

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

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand-logo {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--purple);
  text-decoration: none;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--purple-dark);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 96px 0 120px;
  background: linear-gradient(180deg, var(--lavender) 0%, var(--white) 100%);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.hero::before {
  width: 480px;
  height: 480px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(112, 51, 143, 0.14) 0%, rgba(112, 51, 143, 0) 70%);
}

.hero::after {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, rgba(201, 151, 75, 0.16) 0%, rgba(201, 151, 75, 0) 70%);
}

.hero-inner {
  max-width: 780px;
}

.hero-divider {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 64px;
  line-height: 0;
}

.hero-divider svg {
  width: 100%;
  height: 100%;
}

.motto {
  position: relative;
  padding-left: 28px;
}

.motto::before {
  content: '\201C';
  position: absolute;
  left: -6px;
  top: -14px;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}

.motto::after {
  content: '\201D';
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
}

/* --- Menu --- */
.section-lede {
  max-width: 620px;
  margin-top: -6px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-category {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.menu-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.menu-category h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.menu-category-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
}

.menu-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-items li {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.menu-items li:first-child {
  padding-top: 0;
  border-top: none;
}

.menu-item-name {
  display: block;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 3px;
}

.menu-item-desc {
  display: block;
  font-size: 0.92rem;
}

.menu-note {
  margin-top: 32px;
  font-size: 0.92rem;
  text-align: center;
}

/* --- Menu tabs --- */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.menu-tab {
  padding: 10px 18px;
  background: var(--white);
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.menu-tab:hover {
  border-color: var(--purple-light);
  color: var(--purple);
}

.menu-tab.is-active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.menu-panel[hidden] {
  display: none;
}

.menu-panel-note {
  margin: 20px 0;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-soft);
  text-align: center;
}

/* --- Menu intro banner (used to give the opening panel its own moment) --- */
.menu-intro-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--gold-light) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.menu-intro-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.menu-intro-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--purple-dark);
  margin-bottom: 4px;
}

.menu-intro-copy p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .menu-intro-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

.menu-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.menu-grid-single {
  grid-template-columns: 1fr;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
}

.menu-items-grid li:nth-child(-n+2) {
  padding-top: 0;
  border-top: none;
}

/* --- Menu subsections: packages --- */
.menu-subsection {
  margin-top: 72px;
}

.menu-subsection-title {
  margin-bottom: 8px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.package-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.package-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --- Wedding packages --- */
.wedding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}

.wedding-card {
  position: relative;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.wedding-card-featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.wedding-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  padding: 6px 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transform: rotate(4deg);
}

.wedding-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--purple-dark);
  margin-bottom: 18px;
}

.wedding-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wedding-features li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.wedding-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* --- Good to know notice --- */
.menu-notice {
  margin-top: 64px;
  padding: 28px 32px;
  background: var(--lavender);
  border-radius: var(--radius);
}

.menu-notice h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--purple-dark);
  margin-bottom: 12px;
}

.menu-notice ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-notice li {
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* --- Community --- */
.community-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: center;
}

.community-intro strong {
  color: var(--purple-dark);
  font-weight: 700;
}

.community-highlight {
  padding: 36px 28px;
  text-align: center;
  background: linear-gradient(160deg, var(--white) 0%, var(--lavender) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.community-highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.community-stat {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.community-stat-label {
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 12px;
}

.community-note {
  font-size: 0.88rem;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* --- Partner org card --- */
.org-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.org-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.org-card-media {
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
}

.org-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.org-card-body {
  flex: 1 1 420px;
}

.org-card-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.org-card-body h3 {
  margin-bottom: 12px;
}

.org-card-body p {
  max-width: 62ch;
  margin-bottom: 0;
}

.org-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
}

.org-card-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--purple-dark);
}

.org-card-stats span {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.org-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 13px 22px;
  background: var(--lavender);
  color: var(--purple);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.25s var(--ease);
}

.org-card:hover .org-card-cta {
  background: var(--purple);
  color: var(--white);
  transform: translateX(3px);
}

/* --- Gallery --- */
.gallery-section {
  padding-bottom: 64px;
  overflow: hidden;
}

.gallery-track-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.gallery-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: gallery-scroll 32s linear infinite;
}

.gallery-track-wrap:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-item {
  flex: 0 0 auto;
  width: 340px;
  height: 380px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none;
  }
  .gallery-track-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 700px) {
  .gallery-item {
    width: 240px;
    height: 280px;
  }
}

/* --- Reviews --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.review-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-quote {
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.review-author {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 0;
}

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

/* --- Contact --- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin-top: 28px;
}

.contact-list li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 2px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.field-wide {
  grid-column: 1 / -1;
}

.service-choice {
  border: none;
}

.service-choice legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 10px;
  padding: 0;
}

.service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-option:has(input:checked) {
  border-color: var(--purple);
  background: var(--lavender);
}

.service-option input {
  margin-top: 3px;
  accent-color: var(--purple);
}

.service-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-option-body strong {
  color: var(--purple-dark);
  font-size: 0.95rem;
}

.service-option-body small {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.form-fallback {
  margin-top: 10px;
  font-size: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(112, 51, 143, 0.15);
}

.field textarea {
  resize: vertical;
}

.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-note.is-error {
  color: #B3261E;
}

.form-note.is-ok {
  color: var(--purple);
}

/* --- Footer --- */
.site-footer {
  padding: 56px 0;
  background: linear-gradient(160deg, var(--purple-dark) 0%, var(--purple) 100%);
  text-align: center;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-motto {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-motto::before {
  content: '\201C';
}

.footer-motto::after {
  content: '\201D';
}

.footer-contact {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--white);
  font-weight: 600;
}

.footer-legal {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* --- Responsive --- */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .community-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .org-card {
    padding: 28px 22px;
  }
  .org-card-media {
    flex: 1 1 100%;
    width: 100%;
    height: 200px;
  }
  .org-card-cta {
    width: 100%;
    justify-content: center;
  }
  .story-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .story-quote {
    transform: none;
  }
  .wedding-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .service-options {
    grid-template-columns: 1fr;
  }
  .menu-items-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.is-open {
    display: flex;
  }
  .header-container {
    position: relative;
  }
  .section,
  .hero {
    padding: 60px 0;
  }
  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  /* Comfortable tap targets on touch devices (Apple HIG: 44px minimum). */
  .contact-list a,
  .footer-contact a,
  .form-fallback a,
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .service-option {
    min-height: 60px;
    align-items: center;
  }

  .service-option input {
    width: 22px;
    height: 22px;
    margin-top: 0;
    flex-shrink: 0;
  }

  /* 16px minimum stops iOS Safari from auto-zooming on focus. */
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }

  /* Slightly tighter so both hero CTAs fit on one line at 375px. */
  .button-row .btn {
    padding: 13px 20px;
  }
}

/* --- Respect reduced-motion preferences --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
