/* ============================================
   OLIVENHAIN COFFEE CO. — Global Styles
   Aesthetic: Warm editorial / artisan craft
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;1,8..60,300;1,8..60,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  /* Warm, earthy palette */
  --espresso: #2C1810;
  --dark-roast: #3E2723;
  --medium-roast: #5D4037;
  --light-roast: #8D6E63;
  --crema: #D7CCC8;
  --parchment: #EFEBE9;
  --linen: #FAF8F6;
  --white: #FFFFFE;
  --gold: #C8A96E;
  --gold-light: #E8D5A8;
  --olive: #6B7F3A;
  --olive-muted: #8A9A5B;
  --sunset: #D4845A;
  --berry: #8B4049;
  --sky: #7BA7BC;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 780px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--espresso);
  background: var(--linen);
  font-optical-sizing: auto;
}

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

a {
  color: var(--medium-roast);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold);
}

/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 24, 16, 0.08);
  transition: all 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(250, 248, 246, 0.97);
  box-shadow: 0 2px 20px rgba(44, 24, 16, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--espresso);
}

.nav-brand-icon {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-brand-text span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-roast);
  margin-top: -2px;
}

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

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--medium-roast);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--espresso);
}

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white) !important;
  background: var(--espresso);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--medium-roast);
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--espresso);
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--linen);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    transition: right 0.4s ease;
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 24, 16, 0.3);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--white);
  border: 1px solid rgba(44, 24, 16, 0.08);
  border-radius: 4px;
  padding: 0.75rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(44, 24, 16, 0.1);
  list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: var(--parchment);
}

@media (max-width: 900px) {
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.25rem 0 0 1rem;
    min-width: auto;
  }
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--espresso);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transition: transform 12s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 24, 16, 0.5) 0%,
    rgba(44, 24, 16, 0.3) 40%,
    rgba(44, 24, 16, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(200, 169, 110, 0.4);
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 254, 0.8);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* Page-level hero (shorter) */
.hero-page {
  min-height: 50vh;
  padding-top: 80px;
}

.hero-page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--espresso);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--espresso);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 254, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 254, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 254, 0.7);
}

.btn-dark {
  background: var(--espresso);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-roast);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--espresso);
}

.btn-outline:hover {
  background: var(--espresso);
  color: var(--white);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: var(--space-xl) var(--space-md);
}

.section-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.section-wide {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-roast);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--espresso);
  margin-bottom: 1.5rem;
}

.section-heading em {
  font-style: italic;
  color: var(--medium-roast);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--medium-roast);
  max-width: 600px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* Decorative divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.divider::before,
.divider::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.divider-icon {
  color: var(--gold);
  font-size: 0.8rem;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(44, 24, 16, 0.06);
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  color: var(--espresso);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 24, 16, 0.1);
  color: var(--espresso);
}

.product-card-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.product-card-img img,
.product-card-img .card-gradient {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-img img,
.product-card:hover .product-card-img .card-gradient {
  transform: scale(1.05);
}

.card-gradient {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--medium-roast);
  line-height: 1.7;
  flex: 1;
}

.product-card-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--parchment);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-price {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
}

.product-card-link {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================
   ABOUT / STORY SECTIONS
   ============================================ */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-grid.reverse {
  direction: rtl;
}

.story-grid.reverse > * {
  direction: ltr;
}

.story-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 169, 110, 0.2);
  pointer-events: none;
}

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-grid.reverse {
    direction: ltr;
  }

  .story-image {
    aspect-ratio: 16/10;
  }
}

/* ============================================
   BLOG CARDS
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid rgba(44, 24, 16, 0.06);
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  color: var(--espresso);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(44, 24, 16, 0.08);
  color: var(--espresso);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img,
.blog-card-img .card-gradient {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img,
.blog-card:hover .blog-card-img .card-gradient {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-tag {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--medium-roast);
  line-height: 1.7;
}

/* ============================================
   BLOG POST CONTENT (article body)
   ============================================ */

.article-body {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  color: var(--espresso);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  color: var(--dark-roast);
}

.article-body p {
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--parchment);
  font-style: italic;
  color: var(--medium-roast);
}

.article-body .figure {
  margin: 2rem 0;
  text-align: center;
}

.article-body .figure img {
  margin: 0 auto;
  border: 1px solid rgba(44, 24, 16, 0.06);
}

.article-body .figure figcaption {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--light-roast);
  margin-top: 0.75rem;
}

.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(200, 169, 110, 0.4);
  text-underline-offset: 3px;
}

.article-body a:hover {
  text-decoration-color: var(--gold);
}

/* Affiliate disclaimer */
.affiliate-note {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--light-roast);
  background: var(--parchment);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-left: 2px solid var(--gold);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  padding-top: calc(80px + var(--space-lg));
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-detail-image {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--parchment);
}

.product-detail-image img,
.product-detail-image .detail-gradient {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gradient {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}

.product-detail-info {
  padding-top: 1rem;
}

.product-detail-info .section-label {
  margin-bottom: 0.75rem;
}

.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.product-detail-info .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--medium-roast);
  margin-bottom: 1.5rem;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--parchment);
}

.product-meta dt {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-roast);
  margin-bottom: 0.25rem;
}

.product-meta dd {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--espresso);
  margin-bottom: 1rem;
}

.tasting-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.tasting-note {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  background: var(--white);
  border: 1px solid var(--crema);
  color: var(--medium-roast);
}

.product-story {
  margin-top: 2rem;
}

.product-story h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.product-story p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.roast-meter {
  margin: 1.5rem 0;
}

.roast-meter-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-roast);
  margin-bottom: 0.5rem;
}

.roast-meter-bar {
  height: 8px;
  background: linear-gradient(to right, #D7CCC8, #8D6E63, #5D4037, #3E2723, #1B0E09);
  border-radius: 4px;
  position: relative;
}

.roast-meter-indicator {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transform: translateX(-50%);
}

.roast-meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--light-roast);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-detail-image {
    aspect-ratio: 4/3;
  }

  .product-meta {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WAITLIST FORM
   ============================================ */

.form-section {
  background: var(--white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--espresso);
  margin-bottom: 0.5rem;
}

.form-label .optional {
  color: var(--light-roast);
  font-weight: 400;
}

.form-hint {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--light-roast);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--crema);
  background: var(--linen);
  color: var(--espresso);
  transition: border-color 0.3s ease;
  appearance: none;
  border-radius: 2px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238D6E63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.form-checkbox-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--medium-roast);
  line-height: 1.5;
}

.form-note {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--light-roast);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--parchment);
  line-height: 1.6;
}

.hp { display: none !important; }

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--espresso);
  color: rgba(255, 255, 254, 0.7);
  padding: var(--space-lg) var(--space-md) var(--space-md);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: rgba(255, 255, 254, 0.6);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 254, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255, 255, 254, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 254, 0.4);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITY
   ============================================ */

.bg-parchment { background: var(--parchment); }
.bg-white { background: var(--white); }
.bg-linen { background: var(--linen); }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  section {
    padding: var(--space-lg) var(--space-sm);
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
