/* Athlary public site (welcome + sign-in). Athletic look: condensed display type, big statements, motion. */
:root {
  --bg: #ffffff; --paper: #fff; --ink: #0b0b0b; --ink-2: #3d4139; --muted: #74796f; --line: rgba(14, 15, 12, .1);
  --volt: #d4f53c; --volt-ink: #2c3500;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 34px; height: 34px; }
.logo span { font: italic 800 26px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; border-radius: 999px;
  padding: 14px 26px; font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.volt { background: var(--volt); color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn .arr { font-size: 18px; transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; gap: 30px; font: 600 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.nav-links a { color: var(--ink-2); } .nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }

/* hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--volt); transform: skewX(-20deg); }
h1.mega { font: italic 800 clamp(64px, 9vw, 136px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin: 22px 0 26px; }
h1.mega .hl { background: linear-gradient(transparent 62%, var(--volt) 62%, var(--volt) 92%, transparent 92%); padding: 0 .06em; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 520px; margin: 0 0 34px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { margin-top: 34px; display: flex; gap: 28px; flex-wrap: wrap; }
.trust div b { display: block; font: italic 800 38px/1 var(--display); }
.trust div span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.hero-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #e9e7e1; box-shadow: 0 40px 80px -40px rgba(14, 15, 12, .35); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.float { position: absolute; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: 16px; padding: 12px 16px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .25); animation: bob 5s ease-in-out infinite; }
.float small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.float b { font: italic 800 28px/1.05 var(--display); }
.float.f1 { left: 18px; top: 22px; } .float.f2 { right: 18px; bottom: 26px; animation-delay: -2.5s; }
.float.f2 b { color: var(--volt-ink); background: var(--volt); padding: 0 6px; border-radius: 6px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* marquee */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; margin-top: 30px; transform: skewY(-1.5deg); }
.marquee .track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee span { font: italic 800 34px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 0 22px; white-space: nowrap; }
.marquee span i { color: var(--volt); font-style: normal; padding-left: 44px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section.block { padding: 110px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; }
h2.big { font: italic 800 clamp(44px, 6vw, 84px)/.9 var(--display); text-transform: uppercase; margin: 14px 0 0; }
.sec-head p { max-width: 420px; color: var(--ink-2); margin: 0; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--paper); border-radius: 24px; padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 300px; transition: transform .3s, box-shadow .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(14, 15, 12, .25); }
.feat .num { font: italic 800 56px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.feat h3 { font: italic 800 30px/1 var(--display); text-transform: uppercase; margin: auto 0 0; }
.feat p { margin: 0; color: var(--ink-2); font-size: 15px; }
.feat.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.feat.dark .num { -webkit-text-stroke-color: var(--volt); }
.feat.dark p { color: #c9ccc2; }

/* exercise video wall */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wall figure { margin: 0; border-radius: 20px; overflow: hidden; position: relative; background: #e9e7e1; aspect-ratio: 4 / 3; }
.wall video { width: 100%; height: 100%; object-fit: cover; }
.wall figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(14, 15, 12, .82); color: #fff; font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border-top: 2px solid var(--ink); }
.levels div { padding: 22px 22px 0 0; }
.levels b { display: block; font: italic 800 26px/1 var(--display); text-transform: uppercase; margin: 8px 0 6px; }
.levels small { font: 700 13px/1 var(--display); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.levels span { font-size: 14px; color: var(--ink-2); }

/* final call to action */
.final { background: var(--ink); color: #fff; border-radius: 36px; padding: 80px 60px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.final::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: var(--volt); transform: skewX(-20deg); opacity: .95; }
.final h2.big { color: #fff; position: relative; z-index: 1; }
.final p { color: #c9ccc2; position: relative; z-index: 1; }
.final .cta-row { position: relative; z-index: 1; justify-content: flex-end; }
.final .btn.line { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }

footer.foot { padding: 50px 0 40px; color: var(--muted); font-size: 13px; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee .track, .float { animation: none; } }

/* ---------- sign in / sign up ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-media { position: relative; background: var(--ink); overflow: hidden; }
.auth-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.auth-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,15,12,.1) 30%, rgba(14,15,12,.85)); }
.auth-media .copy { position: absolute; left: 48px; right: 48px; bottom: 48px; z-index: 1; color: #fff; }
.auth-media .copy h2 { font: italic 800 clamp(48px, 5.5vw, 84px)/.9 var(--display); text-transform: uppercase; margin: 0 0 14px; }
.auth-media .copy p { color: #d5d8cf; max-width: 420px; margin: 0; }
.auth-media .logo { position: absolute; top: 36px; left: 48px; z-index: 1; color: #fff; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-card { width: 100%; max-width: 420px; }
.switch { display: inline-flex; background: #e9e9e3; border-radius: 999px; padding: 4px; margin-bottom: 34px; }
.switch a { padding: 10px 20px; border-radius: 999px; font: 700 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.switch a.on { background: var(--ink); color: #fff; }
.auth-card h1 { font: italic 800 56px/.92 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.auth-card > p { color: var(--muted); margin: 0 0 30px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-2); }
.field input { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; outline: none; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(212, 245, 60, .45); }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.err { background: #fdecea; color: #a12a14; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.auth-card .btn { width: 100%; padding: 17px; font-size: 16px; margin-top: 8px; }
.auth-card .fine { font-size: 12.5px; color: var(--muted); margin-top: 18px; text-align: center; }
.back { display: inline-block; margin-bottom: 26px; font-size: 14px; color: var(--muted); }

@media (max-width: 980px) {
  .hero .wrap, .final { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
  .features, .wall, .levels { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .final .cta-row { justify-content: flex-start; }
  .auth { grid-template-columns: 1fr; }
  .auth-media { min-height: 260px; }
  .auth-media .copy h2 { font-size: 44px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .features, .wall, .levels { grid-template-columns: 1fr; }
  .final { padding: 50px 26px; border-radius: 26px; }
  .sec-head { flex-direction: column; align-items: start; }
  section.block { padding: 70px 0; }
  .nav-cta .btn { padding: 9px 13px; font-size: 12.5px; } .nav-cta { gap: 6px; } .logo span { font-size: 22px; }
  .auth-form { padding: 30px 18px; }
}
.final::after { right: -120px; top: -60px; width: 220px; height: 140%; }
.final .cta-row { justify-content: flex-start; }
[hidden] { display: none !important; }
.logo img { width: 38px; height: 38px; }

/* ---------- brand: black / white / green ---------- */
.black { background: var(--ink); color: #fff; padding: 110px 0; }
.black h2.big { color: #fff; margin: 0 0 56px; }
.black h2.big .g, .final h2.big .g { color: var(--volt); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 2px solid var(--volt); padding-top: 30px; }
.three small { font: 700 14px/1 var(--display); letter-spacing: .2em; color: var(--volt); }
.three h3 { font: italic 800 40px/1 var(--display); text-transform: uppercase; margin: 12px 0 10px; }
.three p { margin: 0; color: #b9bcb4; font-size: 16px; max-width: 340px; }
.chat-demo { margin-top: 70px; max-width: 640px; display: grid; gap: 12px; }
.chat-demo div { padding: 16px 20px; border-radius: 20px; font-size: 16px; line-height: 1.5; }
.chat-demo .me { justify-self: end; background: #232421; color: #fff; border-bottom-right-radius: 6px; max-width: 80%; }
.chat-demo .coach { background: var(--volt); color: var(--ink); border-bottom-left-radius: 6px; }
.chat-demo .coach b { display: block; font: 700 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; }
#strength h2.big { margin: 0 0 40px; }
.wall { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .three { grid-template-columns: 1fr; gap: 28px; } .black { padding: 80px 0; } .wall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wall { grid-template-columns: 1fr; } .chat-demo { margin-top: 50px; } }
h1.mega.quote { font-size: clamp(50px, 6.6vw, 104px); line-height: .9; }
h1.mega.quote .hl { white-space: nowrap; }
