/* Thornapple Farms | Eric Frontiera — site stylesheet */

:root {
  --navy: #1b2430;
  --navy-deep: #12181f;
  --gold: #b8935f;
  --gold-light: #d9bd93;
  --cream: #faf7f2;
  --ink: #23262b;
  --gray: #6b7078;
  --line: #e6e0d6;
  --green: #4c6b52;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .5em;
  display: block;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  text-align: center;
  transition: all .15s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #a37f4d; }
.btn-outline { background: transparent; color: var(--cream); border: 1.5px solid var(--gold-light); }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.topbar { background: var(--navy-deep); color: #cfd6e0; font-size: .82rem; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #cfd6e0; }
.topbar strong { color: var(--gold-light); }

header.site { background: var(--navy); padding: 18px 0; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 18px rgba(0,0,0,.18); }
header.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { color: #fff; display: flex; flex-direction: column; line-height: 1.1; }
.brand .b1 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; }
.brand .b2 { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
nav.main { display: flex; gap: 24px; flex-wrap: wrap; }
nav.main a { color: #dfe3ea; font-size: .9rem; font-weight: 500; }
nav.main a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gold); color: #fff !important; padding: 10px 20px; border-radius: 4px; font-weight: 600; }

.hero { background: linear-gradient(150deg, var(--navy) 0%, #26344a 60%, var(--navy-deep) 100%); color: #fff; padding: 90px 0 70px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 20%, rgba(184,147,95,.18), transparent 55%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-tag { color: #b9c2d0; font-size: 1rem; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: 2.9rem; max-width: 780px; }
.hero .lede { max-width: 680px; font-size: 1.12rem; color: #d7dce4; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin-top: 46px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 30px; }
.stat-strip .stat b { display: block; font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--gold-light); }
.stat-strip .stat span { font-size: .8rem; color: #b9c2d0; text-transform: uppercase; letter-spacing: .05em; }

section { padding: 72px 0; }
section.alt { background: #fff; }
section.dark { background: var(--navy); color: #dfe3ea; }
section.dark h2, section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { font-size: 2.1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card .icon { font-size: 1.7rem; margin-bottom: 14px; display: block; }

table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: .9rem; }
table.data th { background: var(--navy); color: #fff; text-align: left; padding: 13px 15px; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
table.data td { padding: 13px 15px; border-bottom: 1px solid var(--line); }
table.data tr:last-child td { border-bottom: none; }
table.data tr:nth-child(even) { background: #faf8f4; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.badge-flex { background: #e8f0e6; color: var(--green); }
.badge-complete { background: #f3e6d4; color: #8a5f27; }
.table-scroll { overflow-x: auto; }

.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--navy); }
.faq-item p { color: var(--gray); margin: 0; }

.cta-band { background: var(--gold); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: 2rem; }
.cta-band .btn-dark { background: var(--navy); }
.cta-band .btn-row { justify-content: center; }

footer.site { background: var(--navy-deep); color: #a8b0bd; padding: 56px 0 26px; font-size: .9rem; }
footer.site h4 { color: #fff; font-size: .93rem; margin-bottom: 14px; }
footer.site a { color: #a8b0bd; }
footer.site a:hover { color: var(--gold-light); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 30px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: #7b8493; }
.disclosure { font-size: .76rem; color: #7b8493; max-width: 780px; margin-top: 14px; }

.bio-card { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.18); }

.page-hero { background: var(--navy); color: #fff; padding: 54px 0 46px; }
.page-hero h1 { color: #fff; font-size: 2.2rem; }
.page-hero p { color: #c3cad6; max-width: 640px; margin: 10px 0 0; }
.crumb { font-size: .82rem; color: #9aa4b2; margin-bottom: 14px; }
.crumb a { color: #cfd6e0; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 20px; font-size: .84rem; color: var(--navy); }

.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card .body { padding: 26px; }
.post-body h2 { font-size: 1.5rem; margin-top: 1.4em; }
.post-body p { color: #3a3d43; font-size: 1.02rem; }
.post-body ul { color: #3a3d43; font-size: 1.02rem; }
.post-meta { color: var(--gray); font-size: .85rem; margin-bottom: 30px; }

.form input, .form textarea, .form select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; font-size: .95rem; margin-bottom: 16px; background: #fff; }
.form label { font-size: .85rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 6px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 12px; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

@media (max-width: 900px) {
  nav.main { display: none; }
  .hero h1 { font-size: 2.1rem; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
