/* Onja — editorial, food-forward, no-framework CSS */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --paper: #f6efe2;
  --paper-dim: #efe4d0;
  --ink: #1c1712;
  --ink-soft: #46392c;
  --accent: #d24a1f;
  --accent-ink: #fff4ea;
  --line: rgba(28, 23, 18, 0.14);
  --footer-bg: #1c1712;
  --footer-ink: #f6efe2;
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: 'Fraunces', Georgia, serif;
  --text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-mark span {
  color: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.header-cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  top: -40px;
  right: -140px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(220px, 34vw, 520px);
  color: var(--ink);
  opacity: 0.045;
  transform: rotate(-8deg);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(42px, 7.2vw, 92px);
  max-width: 15ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-footnote {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 46ch;
}

.hero-sub {
  margin-top: 30px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: none;
  padding: 17px 30px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  font-family: var(--text);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 14px 30px -12px rgba(210, 74, 31, 0.55);
}
.btn-primary:active {
  transform: translateY(-1px) scale(1);
}

.hero-note {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-dim);
  overflow: hidden;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

.marquee-track span {
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  padding: 0 28px;
  white-space: nowrap;
  border-right: 1px solid var(--line);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section shell ---------- */
section {
  padding: 96px 0;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 56px;
}

.section-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.section-head h2 {
  font-size: clamp(32px, 4.6vw, 52px);
}

.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Feature rows (editorial list, not cards) ---------- */
.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}

.feature-row:hover {
  padding-left: 10px;
}

.feature-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  padding-top: 4px;
}

.feature-body h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-body p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.6;
}

.feature-body .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid rgba(210, 74, 31, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ---------- Honesty block ---------- */
.honesty {
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 72px 40px;
  text-align: center;
}

.honesty-inner {
  max-width: 60ch;
  margin: 0 auto;
}

.honesty h2 {
  font-size: clamp(30px, 5vw, 46px);
  color: var(--paper);
}

.honesty h2 .accent {
  color: var(--accent);
}

.honesty p {
  margin-top: 22px;
  font-size: 18px;
  color: rgba(246, 239, 226, 0.78);
  line-height: 1.6;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.price-col {
  background: var(--paper);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}

.price-col:hover {
  background: var(--paper-dim);
  transform: translateY(-4px);
}

.price-col.is-featured {
  background: var(--ink);
  color: var(--paper);
}
.price-col.is-featured:hover {
  background: #241d16;
}

.price-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.price-col.is-featured .price-tier {
  color: #ff9466;
}

.price-amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  margin-top: 16px;
}

.price-amount small {
  font-family: var(--text);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}

.price-col.is-featured .price-amount small {
  color: rgba(246, 239, 226, 0.65);
}

.price-desc {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}

.price-col.is-featured .price-desc {
  color: rgba(246, 239, 226, 0.7);
}

.price-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  flex: 1;
}

.price-list li {
  font-size: 15px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.price-col.is-featured .price-list li {
  border-top: 1px solid rgba(246, 239, 226, 0.14);
  color: rgba(246, 239, 226, 0.82);
}

.price-list li:first-child {
  border-top: none;
}

.price-foot {
  margin-top: 26px;
  font-size: 13px;
  color: var(--ink-soft);
}

.price-col.is-featured .price-foot {
  color: rgba(246, 239, 226, 0.55);
}

.pricing-note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Who it's for ---------- */
.who-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.who-item h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
}

.who-item p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.who-orphans {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 66ch;
}

.who-orphans strong {
  color: var(--ink);
}

/* ---------- Waitlist form ---------- */
.waitlist-section {
  background: var(--paper-dim);
  border-radius: 12px;
}

.waitlist-inner {
  padding: 72px 40px;
}

.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.waitlist-copy h2 {
  font-size: clamp(30px, 4.6vw, 44px);
}

.waitlist-copy p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}

form#waitlist-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.field input,
.field select {
  font-size: 16px;
  font-family: var(--text);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(210, 74, 31, 0.15);
}

/* honeypot — visually hidden, still reachable to bots that fill everything */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 14.5px;
  font-weight: 500;
}
.form-status[data-state="ok"] {
  color: #1f7a1f;
}
.form-status[data-state="err"] {
  color: var(--accent);
}

.form-fineprint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.waitlist-success {
  padding: 32px;
  border: 1px solid rgba(210, 74, 31, 0.35);
  border-radius: 8px;
  background: var(--paper);
}

.waitlist-success h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}

.waitlist-success p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246, 239, 226, 0.14);
}

.footer-brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
}
.footer-brand span {
  color: var(--accent);
}

.footer-tagline {
  margin-top: 10px;
  font-size: 15px;
  color: rgba(246, 239, 226, 0.65);
  max-width: 40ch;
}

.footer-meta {
  font-size: 14.5px;
  color: rgba(246, 239, 226, 0.72);
  line-height: 1.8;
}

.footer-meta a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: rgba(210, 74, 31, 0.6);
}

.footer-bottom {
  margin-top: 28px;
  font-size: 13px;
  color: rgba(246, 239, 226, 0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .who-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .waitlist-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  section {
    padding: 64px 0;
  }
  .waitlist-inner {
    padding: 48px 24px;
  }
  .honesty {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 56px 0 40px;
  }
  .header-cta span.long {
    display: none;
  }
}
