/* TINRIEF — athletic editorial rebrand */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --ink: #101012;
  --ink-soft: #2a2a2e;
  --signal: #d4182e;
  --signal-deep: #a01022;
  --paper: #eef0f3;
  --paper-deep: #e2e5ea;
  --mist: #c8ccd3;
  --white: #fafbfc;
  --muted: #5c616b;
  --line: rgba(16, 16, 18, 0.12);
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Figtree', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Motion ——— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes draw-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.reveal {
  animation: rise 0.9s var(--ease) both;
}

.reveal-delay {
  animation: rise 0.9s var(--ease) 0.18s both;
}

.reveal-delay-2 {
  animation: rise 0.9s var(--ease) 0.32s both;
}

/* ——— Header ——— */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.35rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--signal);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(250, 251, 252, 0.82);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  background: var(--signal);
  color: var(--white) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.header-cta:hover {
  background: var(--signal-deep);
  transform: translateY(-1px);
}

.header--solid {
  position: sticky;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  animation: kenburns 12s var(--ease) both;
}

.hero-media--portrait img {
  object-position: 55% 22%;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 18, 0.88) 0%, rgba(16, 16, 18, 0.55) 48%, rgba(16, 16, 18, 0.25) 100%),
    linear-gradient(0deg, rgba(16, 16, 18, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 4.5rem;
  max-width: 34rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-brand em {
  font-style: normal;
  color: var(--signal);
}

.hero-line {
  width: 4rem;
  height: 3px;
  background: var(--signal);
  margin-bottom: 1.35rem;
  transform-origin: left;
  animation: draw-line 0.8s var(--ease) 0.4s both;
}

.hero-text {
  font-size: 1.125rem;
  color: rgba(250, 251, 252, 0.88);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

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

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

.btn-primary:hover {
  background: var(--signal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(250, 251, 252, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(250, 251, 252, 0.06);
}

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

.btn-dark:hover {
  background: var(--ink-soft);
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section--ink .section-lead {
  color: rgba(250, 251, 252, 0.7);
}

.section--mist {
  background: var(--paper-deep);
}

/* ——— Intro strip ——— */
.intro {
  padding: 4rem 0;
  background:
    linear-gradient(135deg, rgba(212, 24, 46, 0.08), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
}

.intro-stat {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.intro-stat span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 0.5rem;
  max-width: 16rem;
}

.intro-visual {
  overflow: hidden;
  background: var(--ink);
  min-height: 280px;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

/* ——— Lifestyle / result portrait ——— */
.lifestyle {
  background: var(--paper);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.lifestyle-visual {
  overflow: hidden;
  min-height: 420px;
  background: var(--ink);
}

.lifestyle-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 22%;
}

.lifestyle-copy .section-title {
  margin-bottom: 1rem;
}

/* ——— Expert / guidance ——— */
.expert {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(212, 24, 46, 0.08), transparent 50%),
    var(--paper-deep);
}

.expert-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.expert-visual {
  overflow: hidden;
  background: #2a211c;
  min-height: 460px;
}

.expert-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center 18%;
}

.expert-copy .contact-grid {
  margin-top: 2rem;
}

/* ——— Product showcase ——— */
.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.showcase-visual {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 420px;
}

.showcase-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

.showcase-visual--product {
  background: var(--white);
  border: 1px solid var(--line);
}

.showcase-visual--product img {
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
  background: var(--white);
}

.showcase--reverse {
  direction: rtl;
}

.showcase--reverse > * {
  direction: ltr;
}

.showcase-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.showcase-copy p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.feature-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  background: var(--signal);
  flex-shrink: 0;
}

/* ——— Engineering ——— */
.engineering-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.engineering-visual {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.engineering-visual img {
  width: 100%;
  height: auto;
}

.eng-points {
  display: grid;
  gap: 1.75rem;
}

.eng-point h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.eng-point p {
  color: rgba(250, 251, 252, 0.68);
  font-size: 1rem;
}

.eng-point:not(:last-child) {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ——— Training modes ——— */
.modes-head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.modes-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.modes-visual img {
  width: 100%;
}

.modes-caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.modes-caption p {
  font-size: 0.95rem;
  color: var(--muted);
}

.modes-caption strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* ——— Comparison ——— */
.compare {
  margin-top: 3rem;
}

.compare-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 2rem;
}

.compare-visual img {
  width: 100%;
}

.compare-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.compare-copy h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.compare-copy p {
  color: var(--muted);
}

.compare-copy .better h3 {
  color: var(--signal);
}

/* ——— Steps ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1rem;
  border-top: 3px solid var(--ink);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--signal);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ——— Guarantee / CTA band ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 24, 46, 0.35), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(212, 24, 46, 0.18), transparent 45%),
    var(--ink);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-band p {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: rgba(250, 251, 252, 0.75);
  font-size: 1.05rem;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 720px;
  margin: 3rem auto 0;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--white);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--signal);
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 640px;
}

.contact-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-block span,
.contact-block a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
}

.contact-block a:hover {
  color: var(--signal);
}

/* ——— Footer ——— */
.footer {
  background: var(--ink);
  color: rgba(250, 251, 252, 0.72);
  padding: 4rem 0 1.75rem;
}

.footer-legal h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.legal-info {
  margin-bottom: 1.75rem;
}

.legal-info p {
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.legal-info strong {
  color: var(--white);
}

.health-notice {
  border-left: 3px solid var(--signal);
  padding: 1.25rem 0 1.25rem 1.25rem;
  margin-bottom: 1.75rem;
  background: linear-gradient(90deg, rgba(212, 24, 46, 0.12), transparent);
}

.health-notice h4 {
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 0.65rem;
}

.contact-info-footer {
  margin-bottom: 2rem;
}

.contact-info-footer p {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-info-footer strong {
  color: var(--white);
}

.contact-info-footer a {
  color: rgba(250, 251, 252, 0.85);
  text-decoration: none;
}

.contact-info-footer a:hover {
  color: var(--signal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(250, 251, 252, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(250, 251, 252, 0.45);
}

/* ——— Legal pages ——— */
.legal-page {
  padding: 5rem 0;
  min-height: 60vh;
  background:
    linear-gradient(180deg, var(--paper-deep), var(--paper) 30%);
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.legal-page section {
  margin-bottom: 2.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal-page section:last-child {
  border-bottom: none;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.legal-page h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.legal-page ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--signal);
  text-decoration: none;
  font-weight: 600;
}

.legal-page a:hover {
  text-decoration: underline;
}

.withdrawal-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  margin: 2rem 0;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .intro-grid,
  .showcase,
  .engineering-layout,
  .compare-copy,
  .modes-caption,
  .steps,
  .contact-grid,
  .lifestyle-grid,
  .expert-grid {
    grid-template-columns: 1fr;
  }

  .hero-media--portrait img {
    object-position: 65% 22%;
  }

  .lifestyle-visual img,
  .expert-visual img {
    min-height: 320px;
  }

  .header-nav a:not(.header-cta) {
    display: none;
  }

  .hero-content {
    padding: 7rem 0 3.5rem;
    max-width: 100%;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .showcase-visual img {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .section {
    padding: 4rem 0;
  }

  .hero-brand {
    font-size: 3rem;
  }

  .modes-caption {
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
