/* ==========================================================================
   God... Family... Job... — landing page
   Desktop layout mirrors the PSD (2880px artboard = 1440 CSS px @2x).
   --u is one design pixel; it scales the whole desktop layout down
   proportionally below 1440px wide. Under 900px a stacked layout is used.
   ========================================================================== */

@font-face { font-family: "Bangers"; src: url("../fonts/bangers.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --sky: #F0F8FE;
  --band-blue: #B4E0FD;
  --cream: #FFF8E0;
  --ink: #000;
  --red: #E0151D;
  --red-dark: #B80F16;
  --god: #1162B7;
  --family: #CE181C;
  --job: #047629;
  --yellow: #FDD32B;
  --u: min(1px, 0.069444vw); /* 1 design px; 1440px wide = 1:1 */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Gilroy", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  /* The PSD sets "Faux Bold" on every text layer; a thin stroke + tracking emulates it. */
  --fb: 0.028em;
  -webkit-text-stroke: var(--fb) currentColor;
  paint-order: stroke fill;
  letter-spacing: 0.018em;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

.display { font-family: "Bangers", Impact, "Arial Black", sans-serif; font-weight: 400; text-transform: uppercase; line-height: 1.1; }
.c-god { color: var(--god); }
.c-family { color: var(--family); }
.c-job { color: var(--job); }
.gfj { font-weight: 800; letter-spacing: 0.018em; white-space: nowrap; }
.underline { pointer-events: none; user-select: none; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  background: var(--red); color: #fff; text-decoration: none; text-transform: uppercase;
  font-weight: 600; letter-spacing: 0.048em; border-radius: 999px;
  font-size: 22px; height: 60px; padding: 0 2em; width: 100%; max-width: 420px;
  box-shadow: 0 6px 18px rgb(224 21 29 / 0.25);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgb(224 21 29 / 0.32); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--god); outline-offset: 4px; }
.btn__arrow { width: 1.6em; height: auto; filter: brightness(0) invert(1); }

/* ==========================================================================
   MOBILE / TABLET (default) — stacked layout
   ========================================================================== */
.container { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.hero { background: var(--sky); padding: 32px 0 24px; overflow: hidden; }
.hero__grid { display: flex; flex-direction: column; }
.hero__copy { text-align: left; }
.hero__title { font-size: clamp(40px, 11vw, 64px); line-height: 1.12; }
.underline--hero { width: 92%; margin: 4px 0 18px -6px; }
.gfj--hero { font-size: clamp(28px, 8.4vw, 46px); line-height: 1.2; }
.hero__subtitle { font-weight: 800; font-size: clamp(14px, 4vw, 22px); margin-top: 2px; }
.hero__lead { font-size: 17px; line-height: 1.45; margin: 18px 0 22px; max-width: 34em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; max-width: 420px; text-align: center; }
.features li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; line-height: 0.95; }
.features img { height: 44px; width: auto; }

.hero__visual { position: relative; width: 100%; max-width: 480px; margin: 28px auto 0; aspect-ratio: 908 / 967; }
.hero__visual > img { position: absolute; }
.hero__brush  { left: 0;      top: 70.8%; width: 93.2%; }
.hero__shadow { left: 12.2%;  top: 77%;   width: 68.5%; }
.hero__sparks--l { left: 6.7%; top: 0.2%; width: 8.8%; }
.hero__sparks--r { left: 80.6%; top: 0;   width: 4.7%; }
.hero__book   { left: 15.1%;  top: 2.4%;  width: 61.6%; }
.hero__badge  { left: 73.3%;  top: 33.2%; width: 26.5%; }

/* Video */
.video { position: relative; background: var(--band-blue); padding: 40px 0 48px; }
.video__grid { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.video__man { display: none; }
.video__player { width: 100%; order: 2; }
.video__cta { position: relative; order: 1; text-align: center; }
.video__arrow { display: none; }
.video__title { font-size: clamp(32px, 9vw, 44px); line-height: 1.05; transform: rotate(3.6deg); }
.video__title br { display: none; }
.underline--video { width: 180px; margin: 6px auto 0; }

/* Video.js player, skinned like the player in the PSD:
   dark screen, grey round play button, white control bar, red progress. */
.vjs-gfj.video-js { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #222; overflow: hidden;
  border-radius: 4px; box-shadow: 0 10px 30px rgb(0 0 0 / .18); font-family: "Gilroy", system-ui, sans-serif;
  -webkit-text-stroke: 0; letter-spacing: 0; }
.vjs-gfj .vjs-poster img { object-fit: cover; }
.vjs-gfj .vjs-big-play-button {
  top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0;
  width: 15%; min-width: 56px; height: auto; aspect-ratio: 1; line-height: 1;
  border: 0; border-radius: 50%; background: rgb(60 60 60 / .85); font-size: clamp(36px, 6vw, 72px);
  display: grid; place-items: center; transition: transform .2s, background-color .2s;
}
/* Hide the big play button while the video plays; bring it back when paused. */
.vjs-gfj.vjs-has-started:not(.vjs-paused) .vjs-big-play-button { display: none; }
.vjs-gfj .vjs-big-play-button .vjs-icon-placeholder:before { position: static; line-height: 1; }
.vjs-gfj:hover .vjs-big-play-button, .vjs-gfj .vjs-big-play-button:focus { background: rgb(40 40 40 / .92); transform: translate(-50%, -50%) scale(1.06); }
.vjs-gfj .vjs-control-bar { background: #fff; color: #222; height: 3.4em; font-size: 12px; }
.vjs-gfj.vjs-has-started .vjs-control-bar, .vjs-gfj .vjs-control-bar { display: flex; }
.vjs-gfj .vjs-progress-holder { background: #ddd; }
.vjs-gfj .vjs-load-progress, .vjs-gfj .vjs-load-progress div { background: #c8c8c8; }
.vjs-gfj .vjs-play-progress { background: var(--red); }
.vjs-gfj .vjs-play-progress:before { color: var(--red); }
.vjs-gfj .vjs-volume-level { background: #222; }
.vjs-gfj .vjs-volume-bar { background: #ddd; }
.vjs-gfj .vjs-slider:focus { box-shadow: 0 0 0 2px var(--god); }
.vjs-gfj .vjs-time-tooltip, .vjs-gfj .vjs-mouse-display .vjs-time-tooltip { background: #222; color: #fff; }
.vjs-gfj .vjs-menu-button-popup .vjs-menu .vjs-menu-content { background: rgb(255 255 255 / .96); color: #222; }
.vjs-gfj.vjs-youtube iframe { pointer-events: none; }  /* clicks go to Video.js, not YouTube's own UI */
.vjs-gfj .vjs-tech { pointer-events: none; }
.vjs-gfj.vjs-error .vjs-error-display,
.vjs-gfj.vjs-error .vjs-big-play-button,
.vjs-gfj.vjs-error .vjs-control-bar { display: none; }
.vjs-gfj-fallback {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgb(20 20 20 / .55); color: #fff; text-decoration: none; text-transform: uppercase;
  font-weight: 600; letter-spacing: .04em; font-size: clamp(14px, 1.6vw, 20px);
}
.vjs-gfj-fallback::before {
  content: "Watch on YouTube  ⟶"; display: block; line-height: 1; padding: 1em 1.8em; border-radius: 999px; background: var(--red);
  box-shadow: 0 6px 18px rgb(224 21 29 / .3);
}
.vjs-gfj-fallback { font-size: 0; }
.vjs-gfj-fallback::before { font-size: clamp(14px, 1.6vw, 20px); }

/* Parts */
.parts { padding: 48px 0 40px; }
.section-head { text-align: center; }
.section-head__title { font-size: clamp(34px, 9.5vw, 56px); letter-spacing: 0.07em; line-height: 1.05; }
.underline--section, .underline--buy { width: min(100%, 520px); margin: 4px auto 10px; }
.section-head__sub, .buy__sub { font-weight: 800; text-transform: uppercase; font-size: clamp(13px, 3.6vw, 20px); line-height: 1.3; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; counter-reset: none; }
.card {
  position: relative; aspect-ratio: 455 / 819; text-align: center;
  background: var(--card-art) center top / 100% 100% no-repeat;
  padding: 9cqi 0 0; container-type: inline-size;
}
.card { padding-top: 0; }
.card > * { margin-inline: 6%; }
.card__num {
  display: grid; place-items: center; margin: 0 auto;
  margin-top: 8cqi; width: 21cqi; height: 21cqi; border-radius: 50%;
  background: var(--dot); color: #fff;
  font-family: "Bangers", Impact, sans-serif; font-size: 14cqi; line-height: 1; padding-top: 0.08em;
}
.card__title { font-size: 16.3cqi; line-height: 0.93; margin-top: 3.5cqi; min-height: 1.36em; display: flex; align-items: center; justify-content: center; }
.card__title--sm { font-size: 11cqi; letter-spacing: 0.052em; }
.card p { font-size: 8.35cqi; line-height: 1.01; margin-top: 3.5cqi; margin-inline: 0; font-weight: 500; white-space: nowrap; }

/* Buy */
.buy { position: relative; background: var(--cream); padding: 40px 0 44px; }
.buy__inner { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; align-items: center; }
.buy__book { order: 2; width: min(100%, 380px); margin: 16px auto 0; aspect-ratio: 600 / 428; object-fit: cover; object-position: bottom; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .18)); }
.buy__main { order: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.buy__title { font-size: clamp(36px, 10vw, 56px); letter-spacing: 0.07em; line-height: 1.05; }
.buy__main .btn { margin-top: 20px; }
.perks { order: 3; display: grid; gap: 14px; margin-top: 24px; }
.perks li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; line-height: 1.05; }
.perks img { width: 48px; height: auto; flex: none; }

/* Footer */
.footer { position: relative; padding: 40px 0 0; overflow: hidden; }
.footer__inner { position: relative; z-index: 1; }
.footer__tagline { text-align: center; width: fit-content; font-size: clamp(48px, 14vw, 72px); letter-spacing: 0.07em; line-height: 0.98; }
.gfj--footer { font-size: clamp(30px, 9vw, 56px); margin-top: 10px; }
.footer__by { font-weight: 600; font-size: 20px; margin-top: 18px; text-align: right; }
.footer__path { width: 100%; margin-top: 8px; }

/* ==========================================================================
   DESKTOP (≥ 900px) — positioned exactly like the PSD, scaled by --u
   ========================================================================== */
@media (min-width: 900px) {
  .container { max-width: none; padding: 0; width: calc(1440 * var(--u)); }

  /* Hero: 0 → 920 */
  .hero { height: calc(920 * var(--u)); padding: 0; overflow: visible; position: relative; z-index: 1; }
  .hero__grid { display: block; position: relative; height: 100%; }
  .hero__copy { position: absolute; left: calc(87 * var(--u)); top: calc(93 * var(--u)); width: calc(520 * var(--u)); z-index: 2; }
  .hero__title { font-size: calc(71.2 * var(--u)); line-height: calc(81.8 * var(--u)); }
  .underline--hero { width: calc(538 * var(--u)); margin: calc(6 * var(--u)) 0 0 calc(-35 * var(--u)); max-width: none; }
  .gfj--hero { font-size: calc(48.9 * var(--u)); line-height: calc(60 * var(--u)); margin-top: calc(18 * var(--u)); }
  .hero__subtitle { font-size: calc(24.1 * var(--u)); line-height: calc(30 * var(--u)); margin-top: 0; }
  .hero__lead { font-size: calc(23.7 * var(--u)); line-height: calc(32.25 * var(--u)); margin: calc(36 * var(--u)) 0 calc(49 * var(--u)); width: calc(505 * var(--u)); }
  .btn { font-size: calc(35.8 * var(--u)); height: calc(80 * var(--u)); width: calc(502 * var(--u)); max-width: none; padding: 0; }
  .btn__arrow { width: calc(44 * var(--u)); margin-left: calc(4 * var(--u)); }
  .features { position: absolute; top: calc(774 * var(--u) - 93 * var(--u)); left: calc(75 * var(--u)); width: calc(370 * var(--u)); max-width: none; margin: 0; gap: 0; }
  .features li { font-size: calc(17 * var(--u)); line-height: calc(15.6 * var(--u)); gap: calc(10 * var(--u)); }
  .features img { height: calc(46 * var(--u)); }

  .hero__visual { position: absolute; left: calc(478 * var(--u)); top: calc(25 * var(--u)); width: calc(908 * var(--u)); max-width: none; margin: 0; }

  /* Video band: 920 → 1456 */
  .video { height: calc(536 * var(--u)); padding: 0; background: url("../img/video-band.webp") center top / 100% 100% no-repeat; z-index: 2; }
  .video__grid { display: block; position: relative; height: 100%; }
  .video__man { display: block; position: absolute; left: calc(132 * var(--u)); top: calc(10 * var(--u)); width: calc(168.5 * var(--u)); max-width: none; z-index: 3; }
  .video__player { position: absolute; left: calc(357 * var(--u)); top: calc(73 * var(--u)); width: calc(726 * var(--u)); }
  .vjs-gfj.video-js { aspect-ratio: 726 / 408; border-radius: calc(4 * var(--u)); }
  .vjs-gfj .vjs-control-bar { font-size: calc(13 * var(--u)); }
  .video__cta { position: absolute; left: calc(1100 * var(--u)); top: calc(40 * var(--u)); width: calc(270 * var(--u)); }
  .video__arrow { display: block; position: absolute; left: calc(9 * var(--u)); top: calc(0 * var(--u)); width: calc(147 * var(--u)); max-width: none; }
  .video__title { font-size: calc(52.9 * var(--u)); line-height: calc(57.1 * var(--u)); margin-top: calc(76 * var(--u)); text-align: center; }
  .video__title br { display: inline; }
  .underline--video { width: calc(233 * var(--u)); margin: calc(4 * var(--u)) 0 0 0; }

  /* Parts: 1456 → 2080 */
  .parts { padding: calc(40 * var(--u)) 0 0; height: calc(624 * var(--u)); }
  .section-head__title { font-size: calc(74.1 * var(--u)); line-height: calc(80 * var(--u)); }
  .underline--section, .underline--buy { width: calc(790 * var(--u)); max-width: none; margin: calc(4 * var(--u)) auto calc(8 * var(--u)); }
  .section-head__sub, .buy__sub { font-size: calc(26.6 * var(--u)); line-height: calc(36 * var(--u)); }
  .cards { display: flex; justify-content: center; gap: 0; margin-top: calc(32 * var(--u)); padding-left: calc(32 * var(--u)); }
  .card { width: calc(227.5 * var(--u)); flex: none; }
  .card + .card { margin-left: calc(-10.5 * var(--u)); }

  /* Buy band: 2080 → 2435 */
  .buy { height: calc(355 * var(--u)); padding: 0; background: url("../img/buy-band.webp") center / 100% 100% no-repeat; }
  .buy__inner { display: block; position: relative; max-width: none; width: calc(1440 * var(--u)); height: 100%; padding: 0; }
  .buy__book { position: absolute; left: 0; top: calc(-2.5 * var(--u)); width: calc(481 * var(--u)); margin: 0; max-width: none; z-index: 1; aspect-ratio: auto; }
  .buy__main { position: absolute; left: calc(317 * var(--u)); top: calc(42 * var(--u)); width: calc(790 * var(--u)); }
  .buy__title { font-size: calc(74.1 * var(--u)); line-height: calc(80 * var(--u)); }
  .buy__main .btn { margin-top: calc(12 * var(--u)); }
  .buy__main .underline--buy { margin-bottom: calc(2 * var(--u)); }
  .perks { position: absolute; left: calc(1141 * var(--u)); top: calc(76 * var(--u)); margin: 0; gap: calc(23 * var(--u)); }
  .perks li { font-size: calc(16.7 * var(--u)); line-height: calc(17.5 * var(--u)); gap: calc(19 * var(--u)); }
  .perks img { width: calc(64 * var(--u)); }
  .perks li:nth-child(3) img { width: calc(56 * var(--u)); margin: 0 calc(4 * var(--u)); }

  /* Footer: 2435 → 2780 */
  .footer { height: calc(345 * var(--u)); padding: 0; }
  .footer__inner { height: 100%; }
  .footer__tagline { position: absolute; left: calc(84 * var(--u)); top: calc(30 * var(--u)); font-size: calc(90.7 * var(--u)); line-height: calc(97.9 * var(--u)); }
  .gfj--footer { position: absolute; left: calc(519 * var(--u)); top: calc(20 * var(--u)); font-size: calc(82.2 * var(--u)); line-height: calc(112 * var(--u)); margin: 0; }
  .footer__by { position: absolute; right: calc(67 * var(--u)); top: calc(264 * var(--u)); font-size: calc(34.8 * var(--u)); line-height: calc(47.4 * var(--u)); margin: 0; }
  .footer__path { position: absolute; left: calc(-17 * var(--u)); top: calc(140 * var(--u)); width: calc(1461 * var(--u)); max-width: none; margin: 0; }
}

/* Above the artboard width, keep the 1440 layout centred on full-bleed bands */
@media (min-width: 1441px) {
  .footer__path { left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .vjs-gfj .vjs-big-play-button { transition: none; }
}
