/* ============================================================
   Cedar Creek Produce — sunny orchard almanac
   Sunshine cream · apple red · summer-sky blue · leaf green · straw gold
   Fonts: Ultra (fruit-crate slab display) + Kalam (hand almanac notes)
   + Nunito Sans (body)
   Signature motifs: fruit-crate label roundel, month-strip almanac bar,
   sun-ray section accents, wavy creek divider
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Ultra&family=Kalam:wght@400;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;0,6..12,800;1,6..12,400&display=swap');

:root {
  --cream: #fdf6e3;
  --cream-deep: #f7ecd0;
  --panel: #fffdf5;
  --line: #e8d9b0;
  --apple: #c0392b;
  --apple-deep: #96281c;
  --sky: #3e88ab;
  --sky-deep: #2b657f;
  --sky-soft: #e1eef4;
  --leaf: #5c8a3c;
  --leaf-deep: #44682b;
  --leaf-soft: #e7efdc;
  --straw: #e3a72f;
  --straw-deep: #bd8718;
  --ink: #33291c;
  --muted: #837455;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(51, 41, 28, 0.13);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.68;
}

img { max-width: 100%; display: block; }
::selection { background: var(--apple); color: #fff; }

h1, h2, h3 { font-family: 'Ultra', Georgia, serif; font-weight: 400; line-height: 1.14; letter-spacing: 0.01em; }
.hand { font-family: 'Kalam', cursive; font-weight: 700; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.4rem; }
a { color: var(--sky-deep); }

/* ---------- wavy creek divider ---------- */
.creek {
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='18' viewBox='0 0 140 18'%3E%3Cpath d='M0 9 Q 17.5 0 35 9 T 70 9 T 105 9 T 140 9' fill='none' stroke='%233e88ab' stroke-width='2.6'/%3E%3Cpath d='M0 14 Q 17.5 6 35 14 T 70 14 T 105 14 T 140 14' fill='none' stroke='%235c8a3c' stroke-width='2' opacity='0.55'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 140px 18px;
  background-position: center;
}

/* ---------- topbar & header ---------- */
.topbar {
  background: var(--leaf-deep);
  color: #edf3e4;
  font-size: 0.88rem;
  text-align: center;
  padding: 0.45rem 1rem;
}
.topbar strong { color: #f4d489; }
.topbar a { color: #f4d489; font-weight: 800; text-decoration: none; }

header.site {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(51,41,28,0.07);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.65rem 1.4rem; max-width: 1180px; margin: 0 auto; flex-wrap: wrap;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 50% 42%, #f8e9b8 0 36%, var(--apple) 37% 100%);
  border: 3px solid var(--leaf-deep);
  box-shadow: 0 0 0 3px #f4e6bd;
  display: grid; place-items: center;
  font-size: 1.35rem;
}
.brand-name {
  font-family: 'Ultra', Georgia, serif;
  font-size: 1.3rem; color: var(--apple-deep); line-height: 1.05;
}
.brand-tag {
  display: block; font-family: 'Nunito Sans', sans-serif;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.25rem;
}
nav.main { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
nav.main a {
  text-decoration: none; color: var(--ink); font-weight: 800; font-size: 0.97rem;
  padding: 0.45rem 0.95rem; border-radius: 999px; transition: background 0.15s, color 0.15s;
}
nav.main a:hover { background: var(--leaf-soft); color: var(--leaf-deep); }
nav.main a.active { background: var(--leaf); color: #fff; }
nav.main a.cta { background: var(--apple); color: #fff; margin-left: 0.35rem; }
nav.main a.cta:hover { background: var(--apple-deep); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 76vh;
  display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(40,32,18,0.28) 0%, rgba(40,32,18,0.06) 40%, rgba(34,27,15,0.85) 100%);
}
.hero-inner { padding-top: 5.5rem; padding-bottom: 3.2rem; width: 100%; }
.hero .kicker {
  display: inline-block; background: var(--straw);
  color: var(--ink); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 1.05rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  max-width: 18ch; text-shadow: 0 3px 22px rgba(0,0,0,0.5);
}
.hero h1 .hand { color: #f4d489; font-size: 1.1em; }
.hero p.lede {
  max-width: 54ch; margin: 1.1rem 0 1.8rem;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  color: #f7edd6; text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero .btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero--page { min-height: 44vh; }
.hero--page .hero-inner { padding-top: 4rem; padding-bottom: 2.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  font-family: 'Nunito Sans', sans-serif; font-size: 1rem;
  padding: 0.8rem 1.7rem; border-radius: 999px;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.btn-apple { background: var(--apple); color: #fff; }
.btn-apple:hover { background: var(--apple-deep); }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-leaf:hover { background: var(--leaf-deep); }
.btn-sky { background: var(--sky); color: #fff; }
.btn-sky:hover { background: var(--sky-deep); }
.btn-straw { background: var(--straw); color: var(--ink); }
.btn-straw:hover { background: var(--straw-deep); color: #fff; }
.btn-cream { background: var(--panel); color: var(--apple-deep); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.75); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---------- info strip ---------- */
.info-strip { background: var(--ink); color: #f1e8d2; }
.info-strip .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.5rem 2rem; padding: 1.1rem 1.4rem;
}
.info-strip .cell { display: flex; align-items: center; gap: 0.75rem; font-size: 0.96rem; }
.info-strip .cell strong { display: block; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--straw); }
.info-strip a { color: #f1e8d2; text-decoration: none; }
.info-strip a:hover { color: #fff; text-decoration: underline; }
.info-ico { font-size: 1.5rem; line-height: 1; }

/* ---------- sections ---------- */
section.block { padding: 4.4rem 0; }
section.block--deep { background: var(--cream-deep); }
section.block--sky { background: var(--sky-soft); }
section.block--leaf { background: var(--leaf-soft); }
.eyebrow {
  font-family: 'Kalam', cursive; font-weight: 700; font-size: 1.4rem;
  color: var(--apple); margin-bottom: 0.15rem; line-height: 1.1;
}
.block h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 0.6rem; color: var(--leaf-deep); }
.block h2 .hand { color: var(--apple); }
.block .sub { color: var(--muted); max-width: 62ch; margin-bottom: 2.2rem; font-size: 1.07rem; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--panel); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid var(--line);
  border-bottom: 5px solid var(--leaf);
}
.card:nth-child(2n) { border-bottom-color: var(--apple); }
.card:nth-child(3n) { border-bottom-color: var(--sky); }
.card:nth-child(4n) { border-bottom-color: var(--straw); }
.card:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: 0 16px 40px rgba(51,41,28,0.2); }
.card img { height: 210px; width: 100%; object-fit: cover; }
.card .pad { padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; color: var(--apple-deep); }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- almanac month strip ---------- */
.almanac { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.almanac .mrow {
  display: grid; grid-template-columns: 110px 1fr; align-items: stretch;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.almanac .mrow:last-child { border-bottom: none; }
.almanac .mo {
  background: var(--leaf); color: #fff;
  font-family: 'Ultra', serif; font-size: 1rem;
  display: grid; place-items: center; padding: 0.9rem 0.6rem; text-align: center;
}
.almanac .mrow:nth-child(2n) .mo { background: var(--sky); }
.almanac .mrow:nth-child(3n) .mo { background: var(--apple); }
.almanac .mrow:nth-child(4n) .mo { background: var(--straw); color: var(--ink); }
.almanac .what { padding: 0.9rem 1.3rem; }
.almanac .what strong { color: var(--leaf-deep); }
.almanac .what .note { font-family: 'Kalam', cursive; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 560px) { .almanac .mrow { grid-template-columns: 84px 1fr; } }

/* ---------- crate-label roundel feature ---------- */
.crate {
  background: var(--panel);
  border: 3px solid var(--apple);
  border-radius: 20px;
  outline: 2px solid var(--straw); outline-offset: 5px;
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
}
.crate h3 { color: var(--apple-deep); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.6rem; }
.crate p { color: var(--muted); margin-bottom: 1rem; }
.crate-img { border-radius: 12px; overflow: hidden; border: 6px solid var(--cream-deep); }
@media (max-width: 760px) { .crate { grid-template-columns: 1fr; } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 8px solid #fff; outline: 1px solid var(--line); transform: rotate(-1deg);
}
.split.rev .split-img { transform: rotate(1deg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 840px) { .split, .split.rev { grid-template-columns: 1fr; gap: 1.8rem; } }

ul.checks { list-style: none; margin-top: 1rem; }
ul.checks li { padding-left: 2rem; position: relative; margin-bottom: 0.65rem; }
ul.checks li::before { content: "🍎"; position: absolute; left: 0; top: 0.05rem; font-size: 0.95rem; }
ul.checks--berry li::before { content: "🫐"; }
ul.checks--bee li::before { content: "🐝"; }

/* ---------- reviews ---------- */
.review {
  background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 1.7rem 1.5rem; position: relative; border: 1px solid var(--line);
  border-bottom: 4px solid var(--straw);
}
.review:nth-child(2n) { border-bottom-color: var(--apple); }
.review:nth-child(3n) { border-bottom-color: var(--sky); }
.review::before {
  content: "\201C"; font-family: 'Ultra', serif; font-size: 3rem;
  color: var(--cream-deep); position: absolute; top: 0.6rem; left: 1.1rem; line-height: 1;
}
.review p { position: relative; font-size: 1rem; margin-bottom: 1rem; padding-top: 0.9rem; }
.review .who { font-weight: 800; color: var(--leaf-deep); font-size: 0.92rem; }
.review .stars { color: var(--straw-deep); letter-spacing: 0.12em; margin-bottom: 0.2rem; }

/* ---------- banner ---------- */
.banner {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  border-radius: var(--radius);
}
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(34,27,15,0.88) 0%, rgba(34,27,15,0.5) 60%, rgba(34,27,15,0.22) 100%);
}
.banner .pad { padding: 3.2rem 2.6rem; max-width: 62%; }
.banner h2 { color: #fff; font-size: clamp(1.5rem, 2.9vw, 2.2rem); margin-bottom: 0.7rem; }
.banner p { color: #f7edd6; margin-bottom: 1.5rem; }
@media (max-width: 720px) { .banner .pad { max-width: 100%; padding: 2.4rem 1.6rem; } }

/* ---------- hours & visit ---------- */
table.hours { width: 100%; border-collapse: collapse; }
table.hours td { padding: 0.7rem 0.4rem; border-bottom: 2px dotted var(--line); font-size: 1.02rem; }
table.hours td:last-child { text-align: right; font-weight: 800; }
table.hours tr.today td { color: var(--apple-deep); font-weight: 800; }
table.hours tr.closed td { color: var(--muted); }

.map-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 8px solid #fff; outline: 1px solid var(--line);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

.loc-card {
  background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 1.8rem 1.7rem;
}
.loc-card h3 { color: var(--leaf-deep); font-size: 1.2rem; margin-bottom: 0.4rem; }

.tip {
  background: var(--leaf-soft); border-left: 5px solid var(--leaf);
  border-radius: 0 12px 12px 0; padding: 1rem 1.3rem;
  font-size: 0.97rem; margin: 1.6rem 0;
}
.tip strong { color: var(--leaf-deep); }

/* ---------- open badge ---------- */
.open-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 800; font-size: 0.9rem; border-radius: 999px;
  padding: 0.35rem 1rem; margin-top: 0.9rem;
}
.open-badge .dot { width: 10px; height: 10px; border-radius: 50%; }
.open-badge.is-open { background: rgba(92, 138, 60, 0.15); color: var(--leaf-deep); }
.open-badge.is-open .dot { background: var(--leaf); box-shadow: 0 0 0 4px rgba(92,138,60,0.25); }
.open-badge.is-closed { background: rgba(192, 57, 43, 0.1); color: var(--apple-deep); }
.open-badge.is-closed .dot { background: var(--apple); }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #f1e8d2; }
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem; padding: 3rem 0 2rem;
}
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { font-family: 'Ultra', serif; color: #fff; font-size: 0.95rem; margin-bottom: 0.8rem; }
footer.site a { color: #f1e8d2; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.45rem; font-size: 0.95rem; }
footer.site .brand-foot { font-family: 'Ultra', serif; font-size: 1.3rem; color: var(--straw); }
footer.site p.small { font-size: 0.9rem; color: #cdbd9a; margin-top: 0.6rem; }
.footnote {
  border-top: 1px solid rgba(241,232,210,0.25);
  padding: 1.2rem 0 1.6rem; font-size: 0.85rem; color: #b3a179; text-align: center;
}
.footnote strong { color: #f1e8d2; }
.footnote a { color: #f4d489; }

@media (max-width: 640px) {
  .hero { min-height: 62vh; }
  nav.main { justify-content: center; width: 100%; }
  .nav-row { justify-content: center; }
}
