/* Green Hollow Coffee Roasters — a fictional company used in the LanternStep course.
   Brand guide v2: Forest and Cream lead, Charcoal for text, Copper as a single accent.
   Georgia headings, Arial body. No gradients, no drop shadows. */

:root {
  --forest: #2F5D46;
  --forest-deep: #234838;
  --forest-tint: #e4ebe4;
  --cream: #F5F0E6;
  --paper: #fbf8f2;
  --charcoal: #2B2B2B;
  --muted: #5a5a55;
  --line: #ddd5c6;
  --copper: #B06A3B;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --wrap: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); color: var(--forest); font-weight: 700; line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.prose { max-width: 64ch; display: grid; gap: 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* Fictional-company banner: visible on every page, calm enough not to fight the design */
.notice { background: var(--forest-deep); color: var(--cream); font-size: .9rem; }
.notice .wrap { padding-block: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; text-align: center; }
.notice a { color: var(--cream); font-weight: 700; }
.notice a:hover { color: #fff; }

/* Header and navigation */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.wordmark { font-family: var(--serif); font-weight: 700; letter-spacing: .22em; color: var(--forest); text-decoration: none; font-size: 1.15rem; white-space: nowrap; }
.wordmark small { display: block; font-family: var(--sans); font-weight: 400; letter-spacing: .14em; font-size: .62rem; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.nav-toggle { display: none; font: inherit; font-size: .95rem; background: none; border: 1px solid var(--forest); color: var(--forest); border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav a { text-decoration: none; color: var(--charcoal); font-size: .97rem; padding-block: 4px; display: inline-block; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--forest); }
.nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--forest); font-weight: 700; }

@media (max-width: 760px) {
  .js .nav-toggle { display: inline-block; }
  .js .nav { flex-basis: 100%; display: none; }
  .js .nav.open { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-top: 6px; }
  .js .nav a { padding-block: 10px; display: block; border-bottom: 1px solid var(--line); }
  .js .nav a[aria-current="page"] { border-bottom-color: var(--line); }
}

/* Page sections */
main { display: block; }
.section { padding-block: 56px; }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 64ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--muted); }
.lede { font-size: 1.12rem; color: var(--charcoal); }
.page-head { padding-block: 48px 8px; }
.page-head .wrap { display: grid; gap: 12px; }
.page-head p { max-width: 60ch; font-size: 1.1rem; }

/* Home hero */
.hero { padding-block: 48px 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 18px; min-width: 0; }
.hero-copy .lede { max-width: 46ch; }
.hero-art { min-width: 0; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 420px; } }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 11px 20px; border-radius: 6px; border: 2px solid var(--forest); font-size: 1rem; }
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: var(--cream); }
.btn-plain { color: var(--forest); background: transparent; }
.btn-plain:hover { background: var(--forest-tint); }

/* Seasonal strip */
.seasonal { background: var(--forest); color: var(--cream); }
.seasonal .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.seasonal h2 { color: var(--cream); font-size: 1.5rem; }
.seasonal .wrap > div { display: grid; gap: 6px; }
.seasonal p { max-width: 56ch; }
.seasonal a { color: var(--cream); font-weight: 700; }
.callout { background: var(--forest); color: var(--cream); border-radius: 10px; padding: 24px; display: grid; gap: 8px; }
.callout h2 { color: var(--cream); font-size: 1.4rem; }

/* Small layout helpers */
.stack { display: grid; gap: 20px; align-content: start; }
.narrow { max-width: 640px; }
.mt { margin-top: 16px; }

/* Card grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card a.more { font-weight: 700; }

/* Menu */
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.menu-list li:first-child { border-top: 1px solid var(--line); }
.menu-list .name { font-weight: 700; }
.menu-list .price { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--forest); text-align: right; }
.menu-list .desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }
.menu-list .origin { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.two-col > * { min-width: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); background: var(--forest-tint); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }

/* Locations */
.location dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.location dt { font-weight: 700; color: var(--muted); font-size: .9rem; padding-top: 2px; }
.location dd { margin: 0; min-width: 0; }
.fake { font-size: .78rem; color: var(--muted); }

/* Terms table */
.table-scroll { overflow-x: auto; }
.terms { border-collapse: collapse; width: 100%; min-width: 480px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.terms th, .terms td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.terms th { font-weight: 700; width: 34%; color: var(--forest); }
.terms tr:last-child th, .terms tr:last-child td { border-bottom: 0; }

/* Forms (demo only: nothing is sent) */
.demo-form { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 16px; max-width: 620px; }
.demo-label { font-size: .85rem; font-weight: 700; color: var(--forest-deep); background: var(--forest-tint); border-radius: 6px; padding: 8px 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea, .field select { font: inherit; color: var(--charcoal); background: #fff; border: 1px solid #b9b1a2; border-radius: 6px; padding: 10px 12px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.demo-form button { justify-self: start; font: inherit; font-weight: 700; background: var(--forest); color: var(--cream); border: 0; border-radius: 6px; padding: 12px 22px; cursor: pointer; }
.demo-form button:hover { background: var(--forest-deep); }
.demo-result { border: 2px solid var(--forest); border-radius: 8px; padding: 14px 16px; background: var(--forest-tint); display: grid; gap: 6px; }

/* Course callout (funnel to LanternStep) */
.course { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course .wrap { padding-block: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.course .wrap > * { min-width: 0; }
@media (max-width: 760px) { .course .wrap { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(step); font-family: var(--serif); font-weight: 700; color: var(--cream); background: var(--forest); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }

/* Footer */
.site-foot { background: var(--forest-deep); color: var(--cream); margin-top: 24px; }
.site-foot .wrap { padding-block: 40px; display: grid; gap: 24px; }
.site-foot a { color: var(--cream); }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.foot-cols > * { min-width: 0; display: grid; gap: 6px; align-content: start; }
.foot-cols h2 { color: var(--cream); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--sans); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-legal { border-top: 1px solid rgba(245, 240, 230, .25); padding-top: 18px; font-size: .85rem; display: grid; gap: 6px; color: #e3ddd0; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
