/* ============================================================
   FoodCo · foodco.online
   Identity per FoodCo Brand Bible V1.0
   Navy #1D2333 · Orange #E65E34 (accent only: buttons, underlines,
   labels, single data points; never headline text, never a field
   color, under 10% of any layout) · Off-White #F5F5F5
   One typeface: Hanken Grotesk.
   ============================================================ */

:root {
  --navy: #1D2333;
  --navy-soft: #272E44;
  --orange: #E65E34;
  --offwhite: #F5F5F5;
  --white: #FFFFFF;
  --gray: #888888;
  --ink-70: rgba(29, 35, 51, 0.72);
  --line: rgba(29, 35, 51, 0.14);
  --line-dark: rgba(245, 245, 245, 0.16);
  --radius: 16px;
  --font: "Hanken Grotesk", Arial, Helvetica, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3 { line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }

/* Orange used as an underline device, never as text color at headline size */
h1 em {
  font-style: normal;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 100% 0.14em;
  background-position: 0 96%;
  padding-bottom: 0.04em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange); }

.lede { font-size: clamp(1.03rem, 1.5vw, 1.22rem); color: var(--ink-70); max-width: 36em; }
.hero .lede, .navy .lede { color: rgba(245, 245, 245, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center;
  font-weight: 700; font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  border: none; cursor: pointer;
  background: var(--orange); color: var(--white);
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(230, 94, 52, 0.32); }
.btn.ghost {
  background: transparent; color: var(--offwhite);
  border: 1.5px solid var(--line-dark);
}
.btn.ghost:hover { border-color: var(--offwhite); box-shadow: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(29, 35, 51, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; }
.brand {
  font-weight: 800; font-size: 1.4rem; letter-spacing: -0.015em;
  color: var(--white); text-decoration: none;
}
.nav-links { display: flex; gap: 1.7rem; align-items: center; }
.nav-links a {
  color: rgba(245, 245, 245, 0.75); text-decoration: none;
  font-size: 0.94rem; font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links .btn { padding: 0.55rem 1.15rem; font-size: 0.88rem; color: var(--white); }
@media (max-width: 780px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--offwhite);
  padding-block: clamp(4.2rem, 8.5vw, 7rem);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.6rem, 5vw, 4.8rem);
  align-items: center;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); }
.hero .lede { margin-top: 1.3rem; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-note {
  margin-top: 1.1rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245, 245, 245, 0.5);
}

/* Load-in stagger */
.rise { opacity: 0; transform: translateY(20px); animation: rise 0.75s cubic-bezier(.2,.8,.2,1) forwards; }
.rise-2 { animation-delay: 0.1s; }
.rise-3 { animation-delay: 0.2s; }
.rise-4 { animation-delay: 0.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Signature: the listing stack ---------- */
.stack { display: flex; flex-direction: column; }
.stack-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.l-card {
  background: var(--white); color: var(--navy);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  display: flex; align-items: center; gap: 0.9rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  opacity: 0; transform: translateY(14px);
  animation: cardIn 0.7s cubic-bezier(.2,.8,.2,1) forwards;
}
.l-card.c1 { animation-delay: 0.5s; }
.l-card.c2 { animation-delay: 0.72s; }
.l-card.c3 { animation-delay: 0.94s; }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.l-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.l-dot.idle { background: var(--line); }
.l-body { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; }
.l-tag { font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; }
.l-meta { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); }
.l-state {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}
.l-state.soon { color: var(--gray); border-style: dashed; }
.stack-join {
  width: 2px; height: 26px; margin-left: 2.1rem;
  background: linear-gradient(var(--line-dark), rgba(245,245,245,0.45));
}
.stack-base {
  background: var(--navy-soft);
  border: 1.5px solid var(--line-dark);
  border-radius: 14px;
  padding: 1.05rem 1.15rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
}
.stack-base span:first-child { font-weight: 700; color: var(--white); font-size: 1.02rem; }
.base-note { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,245,245,0.55); }

/* ---------- Platform strip ---------- */
.platforms {
  background: var(--offwhite);
  border-bottom: 1px solid var(--line);
  padding-block: 1.2rem 1.4rem;
  overflow: hidden;
}
.platforms-label {
  width: min(1160px, 92%); margin-inline: auto;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 0.85rem;
}
.platforms .track {
  display: flex; gap: 2.8rem; align-items: center;
  font-weight: 700; font-size: 1.08rem; color: var(--navy);
  width: min(1160px, 92%); margin-inline: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.2rem;
}
.platforms .track::-webkit-scrollbar { display: none; }
.platforms .track span { white-space: nowrap; flex-shrink: 0; }
.platforms .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

/* ---------- Sections ---------- */
section { padding-block: clamp(4.2rem, 7.8vw, 6.5rem); }
.section-head { max-width: 42em; margin-bottom: clamp(2.4rem, 4vw, 3.2rem); }
.navy { background: var(--navy); color: var(--offwhite); }
.navy h2, .navy h3 { color: var(--white); }
.offwhite { background: var(--offwhite); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Why ---------- */
.why-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }
.why-head h2 { max-width: 12em; }
.why-points { display: flex; flex-direction: column; }
.why-point { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.why-point:first-child { border-top: none; padding-top: 0.4rem; }
.why-point h3 { margin-bottom: 0.45rem; }
.why-point p { color: var(--ink-70); font-size: 0.98rem; max-width: 34em; }

/* ---------- Timeline (the model) ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 980px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.tl-step {
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.25s ease, transform 0.28s cubic-bezier(.2,.8,.2,1);
}
.tl-step:hover { border-color: rgba(245, 245, 245, 0.4); transform: translateY(-4px); }
.tl-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.95rem;
  background: var(--orange); color: var(--white);
}
.tl-step h3 { margin-bottom: 0.4rem; }
.tl-step p { color: rgba(245, 245, 245, 0.72); font-size: 0.93rem; }

/* ---------- Archetypes ---------- */
.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 760px) { .arch-grid { grid-template-columns: 1fr; } }
.arch {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease;
}
.arch:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(29, 35, 51, 0.1); }
.arch-k {
  display: block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.95rem;
}
.arch h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.arch p { color: var(--ink-70); font-size: 0.98rem; }

/* ---------- Cost ---------- */
.cost-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.4rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 880px) { .cost-grid { grid-template-columns: 1fr; } }
.zero {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: var(--navy);
}
.zero-sub { margin-top: 1rem; color: var(--ink-70); font-size: 1.02rem; max-width: 24em; }
.cost-copy p { color: var(--ink-70); font-size: 1rem; margin-bottom: 1rem; max-width: 34em; }
.cost-copy .btn { margin-top: 0.6rem; }

/* ---------- Lead form ---------- */
.lead {
  background: var(--navy);
  color: var(--offwhite);
  border-radius: 22px;
  padding: clamp(2.3rem, 5vw, 3.6rem);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.7rem;
}
@media (max-width: 860px) { .lead { grid-template-columns: 1fr; } }
.lead h2 { color: var(--white); }
.lead .lede { margin-top: 1rem; }
.lead form { display: grid; gap: 0.95rem; align-content: start; }
.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
@media (max-width: 560px) { .lead .row { grid-template-columns: 1fr; } }
.lead label {
  display: block; margin-bottom: 0.4rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245, 245, 245, 0.6);
}
.lead input, .lead select, .lead textarea {
  width: 100%;
  background: rgba(245, 245, 245, 0.06);
  border: 1.5px solid var(--line-dark);
  border-radius: 12px;
  color: var(--offwhite);
  font-family: var(--font); font-size: 0.96rem;
  padding: 0.78rem 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lead input:focus, .lead select:focus, .lead textarea:focus {
  outline: none; border-color: var(--offwhite); background: rgba(245, 245, 245, 0.1);
}
.lead select option { color: var(--navy); }
.lead textarea { resize: vertical; min-height: 96px; }
.lead ::placeholder { color: rgba(245, 245, 245, 0.35); }
.lead .btn { justify-self: start; margin-top: 0.3rem; }
.hp { display: none; }

/* ---------- Footer ---------- */
footer {
  background: var(--offwhite);
  color: var(--gray);
  border-top: 1px solid var(--line);
  padding-block: 2.4rem;
  font-size: 0.9rem;
}
footer .wrap { display: flex; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
footer a { color: var(--navy); text-decoration: none; font-weight: 500; }
footer a:hover { text-decoration: underline; }
footer nav { display: flex; gap: 1.6rem; }

/* ---------- Terms page ---------- */
.terms-hero { background: var(--navy); color: var(--offwhite); padding-block: clamp(3.4rem, 6.5vw, 5rem); }
.terms-hero h1 { color: var(--white); }
.terms-meta {
  margin-top: 1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245, 245, 245, 0.55);
}
.terms-body { max-width: 46em; padding-block: 1rem clamp(4rem, 7vw, 6rem); }
.terms-body article { border-top: 1px solid var(--line); padding-block: 2rem; }
.terms-body article:first-child { border-top: none; }
.t-num {
  display: block; margin-bottom: 0.7rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange);
}
.terms-body h2 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.terms-body p { color: rgba(29, 35, 51, 0.78); font-size: 0.97rem; margin-bottom: 0.8rem; }
.terms-body a { color: var(--navy); font-weight: 600; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .reveal, .l-card { opacity: 1; transform: none; animation: none; transition: none; }
  .platforms .track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Hero locations line */
.hero-loc {
  margin-top: 0.45rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245, 245, 245, 0.72);
}
