/* ===== Mossy Creek Farmstand ===== */
:root {
  --cream: #f5f1e8;
  --cream-dark: #ece6d8;
  --ink: #1f1d1a;
  --ink-soft: #3d3a34;
  --green: #4a6a35;
  --green-dark: #3a5429;
  --forest: #23301c;
  --pecan: #7a4a26;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --display: "Libre Caslon Text", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 640px; text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .8rem;
  margin: 0 0 .6rem;
}
.eyebrow.light { color: #f3efe4; font-size: 1rem; line-height: 1.8; margin: 0 0 2rem; }

.rule { display: block; width: 46px; height: 2px; background: var(--ink); margin: 0 0 1.4rem; }
.rule.light { background: #f3efe4; }
.rule.center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .85rem;
  padding: .85em 2.2em;
  transition: background .2s, color .2s;
}
.btn-solid { background: var(--green); color: #fff; border: 1px solid #fff3; }
.btn-solid:hover { background: var(--green-dark); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid #0000000d;
}
.nav {
  max-width: 1200px; margin: 0 auto;
  height: 84px; padding: 0 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 84px; align-items: center;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.4rem; align-items: center; }
.nav-right { justify-content: flex-end; }
.nav a {
  text-decoration: none; text-transform: uppercase;
  letter-spacing: .2em; font-size: .78rem; padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--green); }
.nav .icons { display: flex; gap: 1rem; margin-left: .6rem; }
.nav .icons a { border: 0; padding: 0; }
.nav .icons svg { width: 24px; height: 24px; fill: none; stroke: var(--green-dark); stroke-width: 1.7; }

.logo-link { align-self: start; height: 84px; margin-top: 8px; border: 0 !important; padding: 0 !important; }
.logo-link img {
  width: 230px; height: 230px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 20px #0000002e;
  position: relative; z-index: 11;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 520px;
  background: var(--forest);
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-photo {
  position: absolute; inset: 0 0 0 30%;
  background: url("/images/hero-bag.jpg") 65% 60% / cover no-repeat;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--forest) 0%, #23301ccc 18%, #23301c00 55%);
}
.hero-text {
  position: relative;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 90px 64px 60px;
}
.hero h1 { color: #fbf8f0; font-size: clamp(3rem, 7vw, 5rem); margin-bottom: .4em; text-shadow: 0 2px 12px #0005; }

/* ===== Story ===== */
.story { padding: 90px 0; position: relative; overflow: hidden; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-text p:not(.eyebrow) { color: var(--ink-soft); max-width: 34em; }
.story-text .btn { margin-top: .8rem; }
.polaroid {
  margin: 0; justify-self: center;
  background: #fbfaf6;
  padding: 18px 18px 46px;
  box-shadow: 0 14px 30px #00000030;
  transform: rotate(2.5deg);
  max-width: 440px;
}
.polaroid img { width: 100%; height: auto; }

/* ===== Pecans ===== */
.pecans { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream-dark); }
.pecans-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.pecans-text { padding: 60px 56px; max-width: 620px; }
.pecans-text > p:not(.eyebrow) { color: var(--ink-soft); }

.features { list-style: none; padding: 0; margin: 2rem 0; display: flex; }
.features li {
  flex: 1; text-align: center;
  text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; line-height: 1.7;
}
.features li + li { border-left: 1px solid #00000040; }
.features svg {
  width: 40px; height: 40px; margin: 0 auto .5rem; display: block;
  fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.features li:nth-child(2) svg { stroke: var(--pecan); }

.menu { margin: 0 0 2rem; }
.menu-row { display: flex; align-items: baseline; gap: .5rem; padding: .25rem 0; font-size: 1.15rem; }
.menu-row em { color: var(--ink-soft); font-size: .95rem; }
.menu-row .dots { flex: 1; border-bottom: 1.5px dotted #00000055; transform: translateY(-4px); }

/* ===== Find Us ===== */
.find-us {
  position: relative; text-align: center;
  padding: 90px 24px;
  background: linear-gradient(180deg, #23301ca6, #23301c8c), url("/images/barn.jpg") center 70% / cover no-repeat;
  color: #fbf8f0;
  overflow: hidden;
}
.find-us-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 2.2rem; }
.hours > div { background: #fbf6ea; padding: 22px 20px; box-shadow: 0 6px 18px #00000020; }
.hours h3 { text-transform: uppercase; letter-spacing: .25em; font-size: .85rem; font-family: var(--serif); font-weight: 600; color: var(--green-dark); }
.hours p { margin: 0; }
.find-us h2 { text-shadow: 0 2px 10px #0006; }
.find-us .rule { background: #fbf8f0; }
.find-us .eyebrow { color: #fbf8f0; text-shadow: 0 1px 6px #0008; }
.hours > div { color: var(--ink); }

/* ===== Contact ===== */
.contact { padding: 90px 0; }
.contact p:not(.eyebrow) { color: var(--ink-soft); }
.contact .btn { text-transform: none; letter-spacing: .04em; font-size: 1.05rem; margin-top: .6rem; word-break: break-all; }

/* ===== Footer ===== */
.site-footer { background: var(--forest); color: #e8e3d4; text-align: center; padding: 40px 24px; }
.site-footer img { margin: 0 auto 1rem; border-radius: 50%; background: #fff; }
.site-footer p { margin: .2rem 0; letter-spacing: .08em; }
.site-footer .small { font-size: .85rem; opacity: .7; }

/* ===== Tablet & phone ===== */
@media (max-width: 900px) {
  .nav { height: auto; padding: 10px 16px; grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; gap: 6px; }
  .logo-link { order: -1; margin: 0; height: auto; }
  .logo-link img { width: 110px; height: 110px; box-shadow: none; }
  .nav ul { gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
  .nav a { font-size: .7rem; letter-spacing: .14em; }
  .site-header { position: static; }

  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-photo { position: relative; inset: auto; height: 300px; order: 2; background-position: 70% 60%; }
  .hero-photo::before { background: linear-gradient(180deg, var(--forest) 0%, #23301c00 35%); }
  .hero-text { padding: 48px 24px 32px; }

  .two-col, .pecans { grid-template-columns: 1fr; }
  .story { padding: 60px 0; }
  .pecans-photo img { min-height: 0; max-height: 320px; }
  .pecans-text { padding: 44px 24px; }
  .hours { grid-template-columns: 1fr; }
}
