/* ============================================================
   HYBRD Hemel — styles.css
   Dark / charcoal / white. Space Grotesk display, Inter body.
   ============================================================ */

:root {
  --black:      #000000;
  --charcoal:   #101010;
  --mid:        #1A1A1A;
  --line:       #2A2A2A;
  --white:      #FFFFFF;
  --grey:       #B8B8B8;
  --grey-dim:   #7C7C7C;
  --success:    #29E08A;   /* used sparingly, success state only */

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  --max:      1200px;
  --narrow:   760px;
  --pad:      clamp(20px, 5vw, 48px);
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-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: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.05; letter-spacing: -0.01em; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--white); color: var(--black);
  padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.narrow    { max-width: var(--narrow); }
.center    { text-align: center; }

.section { padding-block: clamp(64px, 10vw, 128px); }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: var(--grey);
  margin: 0 0 18px;
  font-weight: 500;
}
.eyebrow.center { text-align: center; }
.eyebrow .mark { color: var(--white); margin-right: 6px; font-weight: 700; }

.section-title {
  text-transform: uppercase;
  font-size: clamp(30px, 6vw, 56px);
  letter-spacing: 0.005em;
  margin-bottom: 22px;
}

.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--grey); margin: 0 0 20px; }
.lead.light { color: #E4E4E4; }
.body-copy { color: var(--grey); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 14px;
  padding: 16px 30px;
  border: 1px solid var(--white);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  min-height: 52px;   /* large tap target */
  line-height: 1;
}
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: var(--grey); border-color: var(--grey); }
.btn-ghost { background: transparent; color: var(--white); border-color: #444; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-sm { padding: 11px 20px; min-height: 44px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--black);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.brand-logo { width: 116px; height: auto; }
.footer-logo, .hero-logo { image-rendering: auto; }

.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-desktop > a {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.04em;
  color: var(--grey);
  transition: color .2s ease;
}
.nav-desktop > a:hover { color: var(--white); }
.nav-desktop .nav-ig { color: var(--grey); display: inline-flex; }
.nav-desktop .nav-ig:hover { color: var(--white); }
.nav-desktop .btn { color: var(--black); }
.nav-desktop .btn:hover { color: var(--black); }
.nav-desktop a:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 46px; height: 46px;
  background: transparent; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 12px var(--pad) 26px;
}
.nav-mobile a {
  font-family: var(--font-display);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px; color: var(--white);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile .btn { margin-top: 16px; color: var(--black); }
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  /* Hero photo — REPLACE images/hero-hybrid-training.jpg with a real image */
  background: #0a0a0a url("images/hero-hybrid-training.jpg") center/cover no-repeat;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.42) 40%, rgba(0,0,0,.85) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px;
  padding-inline: var(--pad);
  margin-inline: auto;
  text-align: center;
}
.hero-logo { width: clamp(220px, 40vw, 340px); height: auto; margin: 0 auto 26px; }
.hero-title {
  text-transform: uppercase;
  font-size: clamp(34px, 8vw, 72px);
  font-weight: 700;
  margin: 6px 0 20px;
}
.hero-sub { color: #D8D8D8; font-size: clamp(16px, 2.4vw, 20px); max-width: 620px; margin: 0 auto 26px; }
.coming-soon {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 13px;
  color: var(--white);
  border: 1px solid #3a3a3a;
  display: inline-block;
  padding: 9px 18px 9px 22px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px; border: 1px solid #4a4a4a; border-radius: 20px;
  display: flex; justify-content: center;
}
.scroll-indicator span {
  width: 3px; height: 8px; background: var(--white); border-radius: 2px; margin-top: 8px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { opacity:.2; transform: translateY(0);} 50% { opacity:1; transform: translateY(8px);} }

/* ============================================================
   INTRO
   ============================================================ */
.intro { background: var(--black); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--charcoal); border-block: 1px solid var(--line); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);         /* becomes the hairline dividers */
  border: 1px solid var(--line);
}
.feature-card {
  background: var(--charcoal);
  padding: 40px 30px;
  transition: background-color .3s ease;
}
.feature-card:hover { background: var(--mid); }
.feature-icon {
  display: inline-flex; width: 40px; height: 40px; color: var(--white);
  margin-bottom: 22px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
  font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.feature-card p { color: var(--grey); margin: 0; font-size: 15.5px; }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement {
  position: relative;
  padding-block: clamp(90px, 16vw, 190px);
  overflow: hidden;
}
.statement-bg {
  position: absolute; inset: 0;
  /* Statement photo — REPLACE images/statement-bg.jpg with a real image */
  background: #0a0a0a url("images/statement-bg.jpg") center/cover no-repeat fixed;
}
.statement-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.statement-content { position: relative; z-index: 2; text-align: center; }

/* ============================================================
   WHAT TO EXPECT
   ============================================================ */
.expect { background: var(--black); }
.expect-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.expect-grid li {
  background: var(--charcoal);
  padding: 26px 28px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 14px;
}
.expect-grid li::before {
  content: "\203A";           /* › — echoes the brand mark */
  color: var(--grey-dim);
  font-weight: 700;
  font-size: 18px;
}

/* ---------- Image strip ---------- */
.image-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
}
.image-strip figure { margin: 0; overflow: hidden; background: var(--charcoal); aspect-ratio: 512 / 327; }
.image-strip img { width: 100%; height: 100%; object-fit: cover; object-position: left bottom; transition: transform .6s ease; }
.image-strip figure:hover img { transform: scale(1.06); }

/* ============================================================
   COMING SOON
   ============================================================ */
.coming { background: var(--charcoal); border-block: 1px solid var(--line); }
.emphasis {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(15px, 2.4vw, 19px);
  color: var(--white);
  margin: 26px 0 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: inline-block;
}

/* ============================================================
   REGISTRATION FORM
   ============================================================ */
.register { background: var(--black); }
.register-head { margin-bottom: 42px; }
.register-form {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: clamp(24px, 5vw, 46px);
}

.field-row { margin-bottom: 22px; }
.field-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; }

label {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 9px;
}
.req { color: var(--white); }
.opt { color: var(--grey-dim); letter-spacing: 0.04em; text-transform: none; font-size: 12px; }

input[type="text"], input[type="email"], input[type="tel"],
select, textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;         /* 16px+ prevents iOS zoom-on-focus */
  padding: 14px 16px;
  border-radius: 2px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 90px; }
input::placeholder, textarea::placeholder { color: #5a5a5a; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--white); box-shadow: 0 0 0 3px rgba(255,255,255,.14);
}
select { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--grey) 50%),
  linear-gradient(135deg, var(--grey) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 42px;
}

input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #ff6b6b; }
.field-error { color: #ff8b8b; font-size: 13.5px; margin: 8px 0 0; min-height: 0; font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.field-error:empty { display: none; }

/* Checkbox groups */
.checks { border: 0; padding: 0; margin: 4px 0 22px; }
.checks legend { padding: 0; margin-bottom: 14px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check {
  display: flex; align-items: flex-start; gap: 11px;
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
  color: #DcDcDc; font-size: 15px; margin: 0; cursor: pointer; line-height: 1.4;
}
.check input { width: 20px; height: 20px; accent-color: var(--white); flex: 0 0 auto; margin-top: 1px; }

.consent { border-top: 1px solid var(--line); padding-top: 24px; }
.consent-check span { font-size: 14.5px; color: var(--grey); }
.consent-links { margin: 12px 0 0; font-size: 14px; }
.consent-links a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Honeypot — visually hidden but not display:none (bots skip display:none) */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* Form status + success */
.form-status { margin-top: 16px; font-size: 15px; min-height: 0; }
.form-status.error { color: #ff8b8b; }
.form-success {
  margin-top: 22px; padding: 26px;
  border: 1px solid var(--success);
  background: rgba(41,224,138,.06);
  text-align: center;
}
.form-success h3 {
  color: var(--success); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 22px; margin-bottom: 10px;
}
.form-success p { color: #E4E4E4; margin: 0; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { background: var(--charcoal); border-top: 1px solid var(--line); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding-top: 60px; }
.footer-grid {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding-bottom: 44px; border-bottom: 1px solid var(--line);
}
.footer-logo { width: 130px; height: auto; margin-bottom: 14px; }
.footer-tag { color: var(--grey); font-family: var(--font-display); letter-spacing: 0.04em; margin: 0; font-size: 15px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--grey); font-size: 15px; transition: color .2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-legal { padding-block: 26px 40px; }
.footer-legal p { margin: 0 0 8px; color: var(--grey-dim); font-size: 13.5px; }
.footer-disclaimer { max-width: 640px; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--white); color: var(--black);
  text-align: center; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
  font-size: 14px; padding: 17px; min-height: 54px;
  border-top: 1px solid #d0d0d0;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  background: var(--mid); border: 1px solid var(--line);
  padding: 20px 22px; border-radius: 3px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 900px; margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.cookie-banner p { margin: 0; font-size: 14px; color: var(--grey); }
.cookie-banner a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner.show { display: flex; }

/* ============================================================
   REVEAL ANIMATION (respects reduced-motion)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { transform: none; }
  .scroll-indicator span { animation: none; }
  .statement-bg { background-attachment: scroll; }
  .image-strip img { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .field-row.two { grid-template-columns: 1fr; gap: 22px; }
  .check-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: 1fr; }
  .image-strip figure { aspect-ratio: 512 / 327; }
  .sticky-cta { display: block; }
  .statement-bg { background-attachment: scroll; }
  body { padding-bottom: 54px; }          /* room for sticky CTA */
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; bottom: 62px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .expect-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

/* ============================================================
   LEGAL PAGES (privacy.html / terms.html)
   ============================================================ */
.legal-header {
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex; align-items: center;
}
.legal-header .header-inner { width: 100%; }
.legal-header a.btn { color: var(--black); }
.legal { padding-block: clamp(56px, 9vw, 100px); }
.legal h1 { text-transform: uppercase; font-size: clamp(30px, 6vw, 48px); margin-bottom: 10px; }
.legal .updated { color: var(--grey-dim); font-family: var(--font-display); font-size: 13px; letter-spacing: .06em; margin-bottom: 28px; }
.legal h2 {
  font-size: 21px; text-transform: uppercase; letter-spacing: .02em;
  margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal p, .legal li { color: var(--grey); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.legal .notice {
  background: var(--mid); border: 1px solid var(--line);
  padding: 18px 22px; margin-bottom: 34px; color: #D8D8D8; font-size: 15px;
}
.legal .back { display: inline-block; margin-top: 40px; }
