/* AGAINN Nutrition — athletic landing */

:root {
  --fresa: #d91c24;
  --fresa-deep: #a01218;
  --banano: #3d2a7a;
  --banano-deep: #261850;
  --mango: #e8b008;
  --mango-deep: #b88700;
  --ink: #12141a;
  --ink-soft: #3a3f4b;
  --paper: #f3f5f7;
  --paper-2: #e8ecef;
  --white: #ffffff;
  --line: rgba(18, 20, 26, 0.12);
  --font-brand: "Bebas Neue", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Red Hat Text", "Helvetica Neue", sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 72rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(232, 176, 8, 0.08), transparent 50%),
    radial-gradient(90% 60% at 0% 30%, rgba(217, 28, 36, 0.06), transparent 45%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* ——— Header ——— */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 1rem var(--space);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0.85;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    url("assets/againn-hero-cycling.jpg") center 40% / cover no-repeat;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease-out) infinite alternate;
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(8, 10, 14, 0.72) 0%,
      rgba(8, 10, 14, 0.48) 38%,
      rgba(8, 10, 14, 0.18) 62%,
      rgba(8, 10, 14, 0.28) 100%
    ),
    linear-gradient(0deg, rgba(8, 10, 14, 0.58) 0%, transparent 48%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(6.5rem, 14vh, 8rem) var(--space) clamp(2.5rem, 7vh, 4.5rem);
  animation: rise-in 0.9s var(--ease-out) both;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 1.1rem;
}

.brand-name {
  font-family: var(--font-brand);
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  font-style: italic;
}

.brand-sub {
  font-family: var(--font-brand);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  letter-spacing: 0.42em;
  opacity: 0.85;
  padding-left: 0.12em;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.9rem;
}

.hero-slogan {
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 11vw, 8rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 0.9;
  max-width: 12ch;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.hero-slogan-brand {
  color: var(--mango);
}

.hero-headline {
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.hero-support {
  max-width: 32ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.6rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--fresa);
  color: var(--white);
  border-color: var(--fresa);
}

.btn-primary:hover {
  background: var(--fresa-deep);
  border-color: var(--fresa-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-ghost-on-dark {
  color: var(--white);
}

/* ——— Sections ——— */

.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) var(--space);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 28rem;
}

.section-head h2 {
  font-family: var(--font-brand);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ——— Benefits ——— */

.benefits {
  background:
    linear-gradient(135deg, rgba(61, 42, 122, 0.05), transparent 40%),
    linear-gradient(180deg, #eef1f4 0%, #e4e8ec 100%);
  border-block: 1px solid var(--line);
}

.benefit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 0.38fr) 1fr;
  gap: 1rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.benefit-label {
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.benefit-copy {
  color: var(--ink-soft);
}

.benefit-list li:nth-child(1) .benefit-label {
  color: var(--fresa-deep);
}

.benefit-list li:nth-child(2) .benefit-label {
  color: var(--banano);
}

.benefit-list li:nth-child(3) .benefit-label {
  color: var(--mango-deep);
}

.benefit-list li:nth-child(4) .benefit-label {
  color: var(--ink);
}

/* ——— Formula ——— */

.ratio {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.ratio-value {
  font-family: var(--font-brand);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  color: var(--mango);
  white-space: nowrap;
}

.ratio-copy {
  color: rgba(255, 255, 255, 0.82);
  max-width: 52ch;
}

.ratio-copy strong {
  color: var(--white);
}

@media (max-width: 560px) {
  .ratio {
    grid-template-columns: 1fr;
  }
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.ingredient-grid li {
  padding: 1.5rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--fresa);
  border-radius: 8px;
}

.ingredient-grid li:nth-child(2) {
  border-top-color: var(--banano);
}

.ingredient-grid li:nth-child(3) {
  border-top-color: var(--mango);
}

.ingredient-grid li:nth-child(4) {
  border-top-color: var(--ink);
}

.ingredient-grid li:nth-child(5) {
  border-top-color: var(--fresa-deep);
}

.ingredient-grid h3 {
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 0.45rem;
}

.ingredient-grid p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ——— Shared ——— */

.eyebrow,
.section-head .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fresa);
  margin-bottom: 0.6rem;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* ——— Showcase ——— */

.showcase {
  background: var(--white);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.showcase-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(18, 20, 26, 0.35);
}

.showcase-media img {
  width: 100%;
  height: auto;
}

.showcase-copy h2 {
  font-family: var(--font-brand);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}

.showcase-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding: 1.25rem 0;
  border-block: 1px solid var(--line);
}

.stats dt {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
}

.stats div:nth-child(1) dt {
  color: var(--fresa);
}

.stats div:nth-child(2) dt {
  color: var(--banano);
}

.stats div:nth-child(3) dt {
  color: var(--mango-deep);
}

.stats dd {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ——— Usage ——— */

.usage-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.usage-steps li {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.step-num {
  display: block;
  font-family: var(--font-brand);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--fresa);
  margin-bottom: 0.5rem;
}

.usage-steps li:nth-child(2) .step-num {
  color: var(--banano);
}

.usage-steps li:nth-child(3) .step-num {
  color: var(--mango-deep);
}

.usage-steps h3,
.sport-grid h3,
.pack h3 {
  font-family: var(--font-brand);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 0.45rem;
}

.usage-steps p,
.sport-grid p {
  color: var(--ink-soft);
}

.usage-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ——— Sports ——— */

.sports {
  background: linear-gradient(180deg, #eef1f4 0%, #e4e8ec 100%);
  border-block: 1px solid var(--line);
}

.sport-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.sport-grid li {
  padding-top: 1rem;
  border-top: 3px solid var(--ink);
}

/* ——— Packs ——— */

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pack > p:not(.pack-qty) {
  color: var(--ink-soft);
}

.pack-featured {
  border: 2px solid var(--fresa);
  box-shadow: 0 24px 50px -28px rgba(217, 28, 36, 0.55);
}

.pack-badge {
  position: absolute;
  top: -0.8rem;
  left: 1.75rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--fresa);
  border-radius: 999px;
}

.pack-qty {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pack-features {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.pack-features li::before {
  content: "✓";
  margin-right: 0.5rem;
  font-weight: 700;
  color: var(--fresa);
}

.pack .btn {
  margin-top: auto;
}

/* ——— Wholesale ——— */

.wholesale {
  background: var(--banano-deep);
  color: var(--white);
}

.wholesale-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.75rem clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.wholesale .eyebrow {
  color: var(--mango);
}

.wholesale h2 {
  font-family: var(--font-brand);
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}

.wholesale-inner > div p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.wholesale-list {
  display: grid;
  gap: 1rem;
}

.wholesale-list li {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
}

.wholesale-list strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--white);
}

.wholesale-inner .btn {
  justify-self: start;
}

/* ——— FAQ ——— */

.faq-inner {
  max-width: 48rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--fresa);
  transition: transform 0.25s var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding-bottom: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ——— CTA ——— */

.cta {
  background:
    linear-gradient(120deg, #1a1d24 0%, #2a1420 48%, #1c1830 100%);
  color: var(--white);
}

.cta-inner {
  max-width: 36rem;
}

.cta h2 {
  font-family: var(--font-brand);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.6rem;
  max-width: 34ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Footer ——— */

.site-footer {
  padding: 1.5rem var(--space) 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  background: #12141a;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.site-footer .brand-name {
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--white);
}

.footer-note {
  letter-spacing: 0.02em;
}

/* ——— Motion ——— */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

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

  .hero-visual,
  .hero-content {
    animation: none !important;
  }

  .hero-visual {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ——— Responsive ——— */

@media (max-width: 960px) {
  .sport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .showcase-inner,
  .usage-steps,
  .pack-grid,
  .wholesale-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefit-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.15rem 0;
  }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-content {
    padding-bottom: 2.25rem;
  }

  .brand-name {
    font-size: clamp(3.75rem, 18vw, 5.5rem);
  }

  .hero-headline {
    max-width: 16ch;
  }
}
