/* ==========================================================================
   Flying Goat Apothecary — Ancient Knowledge, Modern Beauty
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Core palette */
  --color-parchment:    #f4e8d0;
  --color-parchment-dk: #e8d9be;
  --color-umber:        #8b4513;
  --color-umber-light:  #a5623a;
  --color-green:        #5a6b3c;
  --color-green-light:  #7a8f5a;
  --color-green-dark:   #3d4a28;
  --color-amber:        #d4a556;
  --color-amber-light:  #e4bf76;
  --color-ink:          #1c1a17;
  --color-ink-soft:     #2e2a24;
  --color-rose:         #c4897a;
  --color-rose-light:   #d9a89c;

  /* Semantic */
  --color-bg:           #f4e8d0;
  --color-bg-warm:      #efe0c8;
  --color-bg-card:      #faf3e6;
  --color-text:         #3d3529;
  --color-text-muted:   #7a6f60;
  --color-text-heading: #1c1a17;
  --color-border:       rgba(139, 69, 19, 0.15);

  /* Herb color for floating decorations */
  --herb: rgba(90, 107, 60, 0.18);

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-serif:   'EB Garamond', 'Georgia', serif;
  --font-script:  'Caveat', cursive;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-py:    7rem;
  --container-max: 1140px;
  --gap:           2rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  /* Subtle parchment texture via CSS */
  background-image:
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

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

a {
  color: var(--color-umber);
  text-decoration: none;
  transition: color .3s;
}
a:hover { color: var(--color-amber); }

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(212, 165, 86, 0.3);
  color: var(--color-ink);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-parchment-dk); }
::-webkit-scrollbar-thumb {
  background: var(--color-umber);
  border-radius: 4px;
  opacity: 0.5;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-amber); }

/* ---------- Animation Primitives ---------- */
.fade-in,
.fade-up {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.fade-in { transform: none; }
.fade-up { transform: translateY(36px); }
.fade-in.is-visible,
.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Floating Herb Decorations ---------- */
.floating-herbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.floating-herb {
  position: absolute;
  transition: transform 0.1s linear;
}
.herb-1 {
  top: 15%;
  left: 3%;
  animation: sway 6s ease-in-out infinite;
}
.herb-2 {
  top: 40%;
  right: 4%;
  animation: sway 8s ease-in-out infinite reverse;
}
.herb-3 {
  top: 70%;
  left: 6%;
  animation: sway 7s ease-in-out infinite 1s;
}
@keyframes sway {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  25% { transform: rotate(2deg) translateX(3px); }
  75% { transform: rotate(-2deg) translateX(-3px); }
}

/* Candle glow ambient light */
.candle-glow {
  position: fixed;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 86, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: flicker 4s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  25% { opacity: 0.8; transform: scale(1.05); }
  50% { opacity: 0.5; transform: scale(0.97); }
  75% { opacity: 0.9; transform: scale(1.03); }
}

/* Candle flame animation for SVGs */
.candle-flame {
  animation: flame 2s ease-in-out infinite;
  transform-origin: center bottom;
}
.candle-flame-glow {
  animation: flicker 3s ease-in-out infinite;
}
@keyframes flame {
  0%, 100% { transform: scaleX(1) scaleY(1); }
  33% { transform: scaleX(0.9) scaleY(1.08); }
  66% { transform: scaleX(1.1) scaleY(0.95); }
}

/* Steam animation */
.steam {
  animation: rise 3s ease-in-out infinite;
}
.steam.s1 { animation-delay: 0s; }
.steam.s2 { animation-delay: 0.5s; }
.steam.s3 { animation-delay: 1s; }
@keyframes rise {
  0% { opacity: 0.5; transform: translateY(0); }
  50% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-8px); }
}

/* Sparkle animation */
.sparkle {
  animation: twinkle 2.5s ease-in-out infinite;
}
.sparkle.s1 { animation-delay: 0s; }
.sparkle.s2 { animation-delay: 0.6s; }
.sparkle.s3 { animation-delay: 1.2s; }
.sparkle.s4 { animation-delay: 1.8s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0; }
}

/* Hanging herbs sway */
.hanging-herb {
  animation: herbSway 5s ease-in-out infinite;
  transform-origin: top center;
}
.hanging-herb.h2 { animation-delay: 1s; animation-duration: 6s; }
.hanging-herb.h3 { animation-delay: 2s; animation-duration: 4.5s; }
@keyframes herbSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(2deg); }
}

/* Parchment edge decorations */
.parchment-edge {
  position: relative;
  height: 40px;
  overflow: hidden;
}
.parchment-edge--top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background:
    radial-gradient(ellipse 12% 100% at 10% 0%, transparent 48%, var(--color-bg-warm) 50%),
    radial-gradient(ellipse 12% 100% at 30% 0%, transparent 48%, var(--color-bg-warm) 50%),
    radial-gradient(ellipse 12% 100% at 50% 0%, transparent 48%, var(--color-bg-warm) 50%),
    radial-gradient(ellipse 12% 100% at 70% 0%, transparent 48%, var(--color-bg-warm) 50%),
    radial-gradient(ellipse 12% 100% at 90% 0%, transparent 48%, var(--color-bg-warm) 50%);
  opacity: 0.15;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background .4s, padding .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav--scrolled {
  background: rgba(244, 232, 208, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  box-shadow: 0 2px 30px rgba(139, 69, 19, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-umber);
}
.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-logo:hover { color: var(--color-amber); }
.nav-logo-icon { color: var(--color-umber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color .3s;
}
.nav-links a:hover { color: var(--color-umber); }

.nav-cta {
  padding: 0.5rem 1.3rem !important;
  border: 1.5px solid var(--color-umber) !important;
  border-radius: 100px;
  color: var(--color-umber) !important;
  font-weight: 500 !important;
  transition: background .3s, color .3s, transform .3s !important;
}
.nav-cta:hover {
  background: var(--color-umber) !important;
  color: var(--color-parchment) !important;
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-umber);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open span:nth-child(2) { opacity: 0; }
.nav-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(212, 165, 86, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 30% 70%, rgba(90, 107, 60, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(196, 137, 122, 0.05) 0%, transparent 60%),
    var(--color-bg);
}
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(139, 69, 19, 0.015) 80px,
      rgba(139, 69, 19, 0.015) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(139, 69, 19, 0.015) 80px,
      rgba(139, 69, 19, 0.015) 81px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-goat {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-script {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--color-amber);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.hero-title-accent {
  font-weight: 400;
  font-style: italic;
  color: var(--color-umber);
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.divider-leaf {
  font-size: 1.5rem;
  color: var(--color-green);
  opacity: 0.5;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-muted);
}
.hero-scroll span {
  font-family: var(--font-script);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-umber), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: 2px solid var(--color-umber);
  background: transparent;
  color: var(--color-umber);
  cursor: pointer;
  border-radius: 100px;
  transition: all .4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-umber);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
  z-index: -1;
}
.btn:hover {
  color: var(--color-parchment);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 69, 19, 0.2);
}
.btn:hover::before { transform: scaleX(1); }
.btn-flourish {
  transition: transform .3s;
}
.btn:hover .btn-flourish { transform: translateX(4px); }

.btn--primary {
  background: var(--color-umber);
  color: var(--color-parchment);
}
.btn--primary::before {
  background: var(--color-ink);
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--color-amber);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.section-eyebrow--center { text-align: center; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.section-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-umber);
}
.section-heading--center { text-align: center; }

.section-sub {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto 3.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---------- About ---------- */
.section--about {
  background: var(--color-bg-warm);
  padding-top: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  padding-top: 4rem;
}

.apothecary-shelf {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(212, 165, 86, 0.06), transparent 60%),
    var(--color-bg-card);
  box-shadow: 0 4px 30px rgba(139, 69, 19, 0.06);
}

.about-text .section-heading { margin-top: 0.3rem; }

.about-lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: var(--color-umber);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.8;
}
.about-text p:last-of-type { margin-bottom: 0; }
.about-text em { color: var(--color-umber); font-style: italic; }

.about-signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
}
.signature-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.signature-text {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--color-amber);
  white-space: nowrap;
}

/* ---------- Products ---------- */
.section--products {
  background: var(--color-bg);
}

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

.product-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .5s;
  overflow: visible;
}

/* Aged recipe card corner decorations */
.card-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--color-umber);
  opacity: 0.2;
  transition: opacity .3s;
}
.card-corner--tl { top: 8px; left: 8px; border-top: 1.5px solid; border-left: 1.5px solid; }
.card-corner--tr { top: 8px; right: 8px; border-top: 1.5px solid; border-right: 1.5px solid; }
.card-corner--bl { bottom: 8px; left: 8px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.card-corner--br { bottom: 8px; right: 8px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(139, 69, 19, 0.1);
  border-color: rgba(139, 69, 19, 0.3);
}
.product-card:hover .card-corner { opacity: 0.5; }

.product-icon {
  color: var(--color-umber);
  margin-bottom: 1.2rem;
  transition: transform .5s var(--ease-out);
}
.product-card:hover .product-icon { transform: scale(1.1) rotate(-3deg); }

.product-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.7rem;
}

.product-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.product-desc em { color: var(--color-umber); }

.card-tag {
  font-family: var(--font-script);
  font-size: 0.95rem;
  color: var(--color-amber);
  opacity: 0.7;
}

/* ---------- Personalization ---------- */
.section--personalize {
  background: var(--color-bg-warm);
  padding-top: 0;
}

.personalize-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 4rem;
}
.personalize-header em { font-style: italic; color: var(--color-umber); }

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 3rem;
}

.step-num {
  margin-bottom: 1rem;
}
.step-num-text {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-umber);
  opacity: 0.15;
  line-height: 1;
}

.step-icon { margin-bottom: 1rem; }

.step-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ---------- Consultation / Ledger Form ---------- */
.section--consult {
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(212, 165, 86, 0.08) 0%, transparent 70%),
    var(--color-bg);
  padding: 5rem 0 6rem;
}

.consult-wrapper {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: 4px;
  box-shadow:
    0 2px 4px rgba(139, 69, 19, 0.04),
    0 12px 40px rgba(139, 69, 19, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

/* Ledger binding decoration */
.ledger-decoration {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, var(--color-umber), rgba(139, 69, 19, 0.7));
  border-radius: 4px 0 0 4px;
}
.ledger-binding {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 2rem 0;
}
.ledger-binding span {
  display: block;
  width: 20px;
  height: 3px;
  background: rgba(244, 232, 208, 0.3);
  border-radius: 2px;
}

.consult-inner {
  padding: 3rem 3rem 3rem 4.5rem;
}

.consult-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.consult-goat {
  margin-bottom: 0.5rem;
}

.consult-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 0.6rem;
}

.consult-subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* Form styles */
.consult-form {
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group--full {
  margin-bottom: 1.5rem;
}
.form-group label {
  font-family: var(--font-script);
  font-size: 1rem;
  color: var(--color-umber);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(244, 232, 208, 0.5);
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: 6px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-amber);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 165, 86, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122, 111, 96, 0.5);
  font-style: italic;
}
.form-group select option {
  background: var(--color-parchment);
  color: var(--color-ink);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn--submit {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 2rem;
  font-size: 0.9rem;
}

.consult-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(90, 107, 60, 0.08);
  border: 1px solid rgba(90, 107, 60, 0.25);
  border-radius: 8px;
}
.form-success p {
  color: var(--color-green-dark);
  font-family: var(--font-serif);
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-warm);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-umber);
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-umber);
}
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 400;
}
.footer-links a:hover { color: var(--color-umber); }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 0.3rem;
}
.footer-motto {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--color-amber);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --section-py: 5rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { order: -1; }
  .apothecary-shelf { max-width: 360px; margin: 0 auto; }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  .step-card { max-width: 400px; }
  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  :root { --section-py: 3.5rem; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 5rem 2rem 2rem;
    background: rgba(244, 232, 208, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform .4s var(--ease-out);
    box-shadow: -4px 0 30px rgba(139, 69, 19, 0.1);
    z-index: 1001;
  }
  .nav-links--open { transform: translateX(0); }
  .nav-links a {
    padding: 0.8rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    color: var(--color-ink) !important;
  }
  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
  .nav-toggle { display: flex; z-index: 1002; }

  .floating-herbs { display: none; }
  .candle-glow { display: none; }

  .hero-title { font-size: clamp(2.6rem, 11vw, 4rem); }
  .hero-tagline { font-size: 1.05rem; }
  .hero-goat svg { width: 140px; height: auto; }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .consult-inner { padding: 2rem 1.5rem 2rem 3.5rem; }
  .ledger-decoration { width: 30px; }

  .steps-grid { gap: 0; }
  .step-connector { display: none; }
}

@media (max-width: 400px) {
  .consult-inner { padding: 1.5rem 1.2rem 1.5rem 2.8rem; }
  .ledger-decoration { width: 24px; }
}
