/* =========================================================
   ORO — Agave Prebiotic Performance
   Hand-authored stylesheet. No framework, no build step.
   ========================================================= */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */

@font-face {
  font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/anton-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Permanent Marker"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/permanent-marker-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/assets/fonts/inter-latin-800-normal.woff2") format("woff2");
}

:root {
  /* Brand */
  --ink:        #0A0A0B;
  --ink-2:      #131315;
  --ink-3:      #1C1C1F;
  --line:       #2A2A2E;

  --gold:       #E9B23C;
  --gold-deep:  #C08419;
  --gold-light: #F6D584;

  --lime:       #A6D33F;
  --lime-deep:  #4FA23A;

  --paper:      #FFFFFF;
  --muted:      #A9A7A1;
  --muted-2:    #77756F;

  /* Type */
  --display: "Anton", "Arial Narrow", sans-serif;
  --hand:    "Permanent Marker", "Comic Sans MS", cursive;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1200px;
  --pad:  clamp(20px, 5vw, 56px);
  --r:    4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--ink); padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Display type ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  transform: skewX(-7deg);
  transform-origin: left bottom;
  margin: 0;
}

.hand {
  font-family: var(--hand);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.gold  { color: var(--gold); }
.limec { color: var(--lime); }

h1.display { font-size: clamp(44px, 8.4vw, 104px); }
h2.display { font-size: clamp(32px, 5.2vw, 62px); }
h3.display { font-size: clamp(24px, 3vw, 36px); }

.eyebrow {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.lede { font-size: clamp(17px, 1.5vw, 20px); color: #E6E4DE; max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--r);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(180deg, var(--lime) 0%, #8FBE30 100%);
  color: #10230B;
  box-shadow: 0 6px 22px rgba(166,211,63,.22);
}
.btn-primary:hover { color: #10230B; background: var(--lime); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }

.btn-ghost { border-color: rgba(233,178,60,.5); color: var(--gold); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); background: rgba(233,178,60,.1); color: var(--gold-light); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,11,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}

.brand { display: flex; flex-direction: column; gap: 2px; }
.brand-mark { display: flex; align-items: center; }
.brand-mark svg { height: 34px; width: auto; }
.brand-tag {
  font-size: 9px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: #EDEBE5; font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; color: var(--paper);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 22px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 72% 42%, rgba(233,178,60,.16), transparent 62%),
    linear-gradient(180deg, #0C0C0D 0%, #09090A 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 22px; }
.hero-sub {
  font-family: var(--body); font-weight: 800;
  font-size: clamp(15px, 1.6vw, 19px); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 10px;
}
.hero-lede { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; color: #EFEDE7; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-can { position: relative; display: flex; justify-content: center; }
.hero-can img { max-height: 560px; width: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.65)); }

.can-placeholder {
  width: min(340px, 80%); aspect-ratio: 1/2.1;
  border: 2px dashed rgba(233,178,60,.45);
  border-radius: 90px / 40px;
  display: grid; place-content: center; text-align: center; gap: 8px;
  background: linear-gradient(160deg, rgba(233,178,60,.16), rgba(166,211,63,.08));
  color: var(--gold); padding: 24px;
}
.can-placeholder strong { font-family: var(--display); font-size: 30px; letter-spacing: .04em; }
.can-placeholder span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.hero-flag {
  position: absolute; right: -6px; top: 8%;
  font-family: var(--hand); color: var(--gold);
  font-size: clamp(13px, 1.3vw, 17px); line-height: 1.25;
  transform: rotate(6deg); text-align: left; max-width: 130px;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-can { order: -1; }
  .hero-flag { display: none; }
}

/* ---------- Benefit strip ---------- */

.benefit-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; border-top: 1px solid var(--line); padding-top: 26px;
}
.benefit {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: #EDEBE5;
}
.benefit svg { width: 26px; height: 26px; color: var(--gold); }
@media (max-width: 620px) { .benefit-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 7vw, 104px); }
.section-dark { background: var(--ink-2); }
.section-band {
  background:
    linear-gradient(180deg, rgba(233,178,60,.05), transparent),
    var(--ink-2);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head .lede { margin-top: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.split > * { min-width: 0; }
.split h2.display { font-size: clamp(28px, 3.2vw, 42px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 940px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(233,178,60,.45); transform: translateY(-3px); }
.card svg.icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 16px; }
.card h3 {
  font-family: var(--body); font-size: 15px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 10px; color: var(--paper);
}
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }
.card-more {
  display: inline-block; margin-top: 14px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
}

/* ---------- Pull quote / hand lettering ---------- */

.pull {
  font-family: var(--hand);
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.15; color: var(--paper);
  transform: rotate(-2deg);
  margin: 0;
}
.pull em { color: var(--gold); font-style: normal; }

/* ---------- Oro Club ---------- */

.club {
  position: relative;
  background: linear-gradient(150deg, var(--gold) 0%, #DFA02A 55%, var(--gold-deep) 100%);
  color: var(--ink);
  border-radius: var(--r);
  padding: clamp(30px, 4.4vw, 52px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.club h2 { color: var(--ink); margin-bottom: 12px; }
.club p { color: #2A2205; font-weight: 600; max-width: 48ch; margin: 0 auto 20px; }
.club-offer {
  display: inline-block; background: var(--ink); color: var(--gold);
  font-family: var(--display); font-size: clamp(30px, 4.4vw, 54px);
  padding: 12px 30px 8px; transform: skewX(-7deg); margin-bottom: 6px;
}
.club-offer small {
  display: block; font-family: var(--body); font-size: 12px; font-weight: 800;
  letter-spacing: .18em; color: var(--paper); text-transform: uppercase;
}
.club-when {
  font-family: var(--display); font-size: clamp(18px, 2.2vw, 26px);
  color: #1F5E14; margin: 18px 0 2px;
}
.club-when + p { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.club-form { display: flex; gap: 10px; max-width: 520px; margin: 22px auto 0; }
.club-form input[type="email"] {
  flex: 1; min-width: 0;
  padding: 15px 18px; font-size: 16px; font-family: var(--body);
  border: 2px solid rgba(10,10,11,.25); border-radius: var(--r);
  background: #FFFDF6; color: var(--ink);
}
.club-form input::placeholder { color: #8B887E; }
.club-note { font-size: 12px; color: #3A2E08; margin-top: 14px; }
.club-msg { margin-top: 14px; font-weight: 700; min-height: 22px; }
@media (max-width: 560px) { .club-form { flex-direction: column; } .club-form .btn { justify-content: center; } }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .n { font-family: var(--display); font-size: clamp(34px, 4.6vw, 60px); color: var(--gold); line-height: 1; }
.stat .l { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; } }

/* ---------- Nutrition / ingredient table ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th {
  background: var(--ink-3); color: var(--gold);
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
table.data td { color: #DDDBD5; }
table.data tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 22px 44px 22px 0; position: relative;
  font-family: var(--body); font-size: 17px; font-weight: 700; color: var(--paper);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-size: 28px; color: var(--gold); line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--gold); }
.faq-item .a { padding: 0 44px 24px 0; color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-size: 12px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-size: 16px; font-family: var(--body);
  background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--paper);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: #060607; border-top: 1px solid var(--line);
  padding-block: 56px 30px; font-size: 15px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: 15px; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand p { color: var(--muted-2); max-width: 34ch; font-size: 14px; }

.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  color: var(--muted-2); font-size: 13px;
}
.disclaimer {
  margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--muted-2); font-size: 12.5px; line-height: 1.6;
}

/* ---------- Utility ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime);
  border: 1px solid rgba(166,211,63,.4); border-radius: 999px; padding: 5px 12px;
}

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