/* ==========================================================================
   Carriage Shack Farm — shared stylesheet
   Original design. No third-party imagery. Safe to deploy.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --cream:       #faf4e6;
  --cream-deep:  #f1e7cf;
  --ink:         #2b3a2e;
  --ink-soft:    #4a5a4c;
  --barn:        #b8442a;
  --barn-deep:   #8f3018;
  --meadow:      #5f8a4e;
  --meadow-deep: #3f6336;
  --gold:        #e0a23a;
  --sky:         #d3e6e4;
  --line:        #e4d7ba;
  --radius:      18px;
  --shadow:      0 14px 34px -18px rgba(43, 58, 46, 0.45);
  --shadow-soft: 0 6px 18px -12px rgba(43, 58, 46, 0.4);
  --maxw:        1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% -10%, rgba(95,138,78,0.10), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(224,162,58,0.12), transparent 38%);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a { color: var(--barn-deep); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ----------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 230, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand b {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand span { display: block; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--meadow-deep); }

.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--cream-deep); color: var(--ink); }
.nav a.active { background: var(--meadow); color: #fff; }

.nav-toggle { display: none; }

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--barn);
  background: var(--cream-deep);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.1rem); margin-bottom: 0.35em; }
.hero h1 em { font-style: italic; color: var(--barn); }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 38ch; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.btn-primary { background: var(--barn); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--barn-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--cream-deep); transform: translateY(-2px); }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 30px rgba(43,58,46,0.18)); }

/* --------------------------------------------------------------- Sections */
.section { padding: 64px 0; }
.section-head { max-width: 56ch; margin-bottom: 36px; }
.section-head .kicker { margin-bottom: 14px; }
.section h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section p.intro { font-size: 1.1rem; color: var(--ink-soft); }

.band { background: var(--meadow-deep); color: #fbf7ea; }
.band h2, .band h3 { color: #fff; }
.band .kicker { background: rgba(255,255,255,0.14); color: var(--gold); }
.band p { color: rgba(251,247,234,0.9); }

/* ------------------------------------------------------------------ Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic { width: 52px; height: 52px; margin-bottom: 16px; }
.card h3 { font-size: 1.34rem; margin-bottom: 0.35em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ----------------------------------------------------------- Feature rows */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}
.feature:nth-child(even) .feature-art { order: -1; }
.feature-art svg { width: 100%; height: auto; }
.feature h3 { font-size: 1.7rem; }

/* ------------------------------------------------------------------- List */
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.guide-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}
.guide-list .num {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--meadow);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.guide-list h3 { font-size: 1.18rem; margin: 0 0 0.2em; }
.guide-list p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ------------------------------------------------------------- Info / form */
.info-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.info-block { margin-bottom: 26px; }
.info-block h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.info-block .ic { width: 26px; height: 26px; }
.info-block p { margin: 4px 0 0; color: var(--ink-soft); }
.placeholder { color: var(--barn); font-weight: 600; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--meadow); border-color: transparent; }
.field textarea { min-height: 120px; resize: vertical; }

table.hours { width: 100%; border-collapse: collapse; }
table.hours th, table.hours td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
table.hours th { font-family: 'Fraunces', serif; font-weight: 600; }
table.hours td:last-child { text-align: right; color: var(--ink-soft); }

/* ----------------------------------------------------------------- Footer */
.site-footer {
  background: var(--ink);
  color: #d9e2d6;
  padding: 50px 0 30px;
  margin-top: 20px;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.site-footer a { color: #f0e8d2; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-brand { max-width: 30ch; }
.footer-brand b { font-family: 'Fraunces', serif; font-size: 1.2rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 34px; padding-top: 20px;
  font-size: 0.85rem; color: #9fb09c;
}

/* --------------------------------------------------------------- Reveal fx */
.reveal { opacity: 0; transform: translateY(18px); animation: rise 0.7s ease forwards; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 860px) {
  .hero-grid, .feature, .info-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-art { order: 0; }
  .hero { padding-top: 40px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
         flex-direction: column; background: var(--cream); padding: 12px 24px 20px;
         border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px;
                background: var(--cream-deep); border: 1px solid var(--line);
                border-radius: 12px; cursor: pointer; }
  .header-inner { position: relative; }
}
