/* Popvia — popcorn guide site */

:root {
  --cream: #fff9ee;
  --cream-2: #fdf1dc;
  --butter: #e8a33d;
  --butter-deep: #8a5310;
  --butter-glow: #c9821f;
  --kernel: #6b3f12;
  --ink: #221d16;
  --ink-soft: #554a3c;
  --tomato: #b6412b;
  --white: #fffdf9;
  --line: #e6d8bf;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 12px 30px -18px rgba(60, 40, 10, .35);
  --max: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--butter-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tomato); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 249, 238, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, var(--white) 0 26%, transparent 27%),
    radial-gradient(circle at 66% 62%, var(--white) 0 24%, transparent 25%),
    radial-gradient(circle at 50% 50%, var(--butter) 0 100%);
  box-shadow: inset 0 -2px 4px rgba(107, 63, 18, .25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover { background: var(--cream-2); color: var(--ink); }

.nav a.cta {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
}

.nav a.cta:hover { background: var(--tomato); color: #fff; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 420px at 80% -10%, #ffe6b8 0%, transparent 62%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 76px;
}

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--butter-deep);
  margin: 0 0 14px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); margin-top: 2em; }
h3 { font-size: 1.2rem; margin-top: 1.6em; }

.lede {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: .98rem;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}

.btn-primary { background: var(--butter); color: #2b1a05; }
.btn-primary:hover { background: var(--butter-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }

/* pot illustration */
.pot-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 26px 24px;
}

.pot-card h3 { margin-top: 0; font-size: 1.05rem; }
.pot-card ol { margin: 0; padding-left: 1.15em; color: var(--ink-soft); font-size: .95rem; }
.pot-card li { margin: .35em 0; }
.pot-card .ratio {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: .86rem;
  color: var(--kernel);
  font-weight: 700;
  letter-spacing: .02em;
}

/* ---------- sections ---------- */

.section { padding: 64px 0; }
.section.tight { padding: 44px 0; }
.section-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 44em; margin-bottom: 34px; }
.section-head p { color: var(--ink-soft); margin: .4em 0 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .14s ease, border-color .14s ease;
}

.card:hover { transform: translateY(-3px); border-color: var(--butter); color: inherit; }

.card .tag {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #97341f;
  margin-bottom: 10px;
}

.card h3 { margin: 0 0 .45em; font-size: 1.28rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.card .more { margin-top: 16px; font-weight: 700; font-size: .9rem; color: var(--butter-deep); }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.steps li {
  position: relative;
  padding: 20px 22px 20px 62px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--butter);
  color: #2b1a05;
  font-family: var(--sans);
  font-weight: 800;
  font-size: .9rem;
  display: grid;
  place-items: center;
}

.steps li strong { color: var(--ink); display: block; margin-bottom: .25em; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fact {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.fact .num { font-family: var(--serif); font-size: 1.85rem; color: var(--butter-deep); line-height: 1; }
.fact .lbl { font-size: .86rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- article ---------- */

.article-head {
  padding: 54px 0 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}

.article-head .meta { font-size: .85rem; color: var(--ink-soft); margin-top: 16px; }
.article-head h1 { max-width: 22em; margin-bottom: .35em; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 46px 0 20px;
}

.article-body p { margin: 0 0 1.15em; }
.article-body ul, .article-body ol { margin: 0 0 1.3em; padding-left: 1.3em; color: var(--ink-soft); }
.article-body li { margin: .45em 0; }
.article-body li strong { color: var(--ink); }

.article-body h2 { scroll-margin-top: 90px; }

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6em;
  font-size: .94rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.article-body th, .article-body td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.article-body th { background: var(--cream-2); font-family: var(--sans); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--kernel); }
.article-body tr:last-child td { border-bottom: 0; }

.callout {
  background: var(--cream-2);
  border-left: 4px solid var(--butter);
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 0 0 1.6em;
  font-size: .97rem;
}

.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 2.2em;
}

.toc h2 { margin: 0 0 .6em; font-size: 1rem; font-family: var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--kernel); }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }

.faq { margin: 2.4em 0 0; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: .7em 0 0; color: var(--ink-soft); font-size: .96rem; }

.endcta {
  max-width: 720px;
  margin: 3em auto 0;
  background: var(--ink);
  color: var(--cream);
  border-radius: 22px;
  padding: 30px 32px;
}

.endcta h2 { color: var(--cream); margin-top: 0; }
.endcta p { color: #e8dfce; margin-bottom: 1.2em; }
.endcta .btn-primary:hover { color: #2b1a05; }

.prevnext {
  max-width: 720px;
  margin: 2.6em auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .92rem;
  font-weight: 700;
}

/* ---------- blog index ---------- */

.post-list { display: grid; gap: 20px; }

.post-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}

.post-row:hover { border-color: var(--butter); color: inherit; }
.post-row h2 { margin: 0 0 .4em; font-size: 1.42rem; }
.post-row p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.post-row .kw { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tomato); margin-bottom: 8px; }
.post-row .read { white-space: nowrap; font-weight: 700; font-size: .9rem; color: var(--butter-deep); }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  padding: 56px 0 70px;
  align-items: start;
}

form.luna-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

form.luna-form label {
  display: block;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kernel);
  margin-bottom: 6px;
}

form.luna-form .field { margin-bottom: 18px; }

form.luna-form input,
form.luna-form textarea,
form.luna-form select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

form.luna-form input:focus,
form.luna-form textarea:focus,
form.luna-form select:focus {
  outline: 2px solid var(--butter);
  outline-offset: 1px;
  border-color: var(--butter);
}

form.luna-form textarea { min-height: 140px; resize: vertical; }

form.luna-form button[type="submit"] {
  width: 100%;
  font: inherit;
  font-weight: 800;
  background: var(--butter);
  color: #2b1a05;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  cursor: pointer;
}

form.luna-form button[type="submit"]:hover { background: var(--butter-deep); color: #fff; }

.form-note { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; }

.tips-list { list-style: none; padding: 0; margin: 22px 0 0; }
.tips-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .95rem; }
.tips-list li:last-child { border-bottom: 0; }
.tips-list strong { color: var(--ink); display: block; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfc4b2;
  padding: 46px 0 34px;
  margin-top: 0;
}

.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer .brand { color: var(--cream); }
.site-footer p { font-size: .9rem; margin: .8em 0 0; }
.site-footer h4 { color: #f3e9d7; font-size: .8rem; font-family: var(--sans); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .45em 0; }
.site-footer a { color: #cfc4b2; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--butter); }
.site-footer .legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid #3a3227; font-size: .8rem; color: #9a8f7e; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 56px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .post-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav a { padding: 8px 9px; font-size: .88rem; }
  .nav a.cta { padding: 9px 13px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .article-body { padding-top: 34px; }
  .endcta { padding: 24px 22px; }
}
