/* Clean, Apple-inspired layout: big type, lots of air, black hero bands
   that match the book cover, light grey tiles for products. */
:root {
  --black: #000;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --gray-2: #86868b;
  --line: #d2d2d7;
  --tile: #f5f5f7;
  --white: #fff;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --gold: #d1a447;
  --max: 980px;
  --wide: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.container.wide { max-width: var(--wide); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.07; text-wrap: balance; }
.headline { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; }
.section-title { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.025em; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.35; color: var(--gray); font-weight: 400; letter-spacing: -0.01em; max-width: 680px; }
.eyebrow { font-size: 1.05rem; font-weight: 600; color: var(--gold); letter-spacing: 0; margin-bottom: 10px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Nav: thin translucent bar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 22, 23, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 48px; max-width: var(--wide); }
.brand { color: #f5f5f7; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: rgba(245, 245, 247, 0.8); font-size: 0.76rem; letter-spacing: 0; transition: color 0.2s; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a.active { color: #fff; }
.nav-links a.nav-buy { background: var(--blue); color: #fff; padding: 4px 12px; border-radius: 980px; }
.nav-toggle { display: none; background: none; border: 0; color: #f5f5f7; font-size: 1.2rem; cursor: pointer; padding: 6px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 48px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(22, 22, 23, 0.97);
    padding: 8px max(22px, env(safe-area-inset-left, 0px)) 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid #333336; }
  .nav-links a { display: block; font-size: 1.05rem; padding: 14px 0; }
  .nav-links a.nav-buy { background: none; padding: 14px 0; color: var(--link-dark); }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: 980px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: background 0.2s;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn.small { font-size: 0.88rem; padding: 8px 18px; }
.btn.disabled { background: #e8e8ed; color: var(--gray-2); pointer-events: none; }
.more { font-size: 1.1rem; }
.more::after { content: " \203A"; }
.dark .more, .more.on-dark { color: var(--link-dark); }
.cta-row { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 28px; }
.center .cta-row { justify-content: center; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Bands ---------- */
.band { padding-block: 100px; }
.dark { background: var(--black); color: #f5f5f7; }
.dark .lede { color: var(--gray-2); }
.light { background: var(--tile); }

/* ---------- Home hero ---------- */
.hero { padding-block: 84px 130px; }
.hero .headline { margin-bottom: 14px; }
.hero-cover {
  width: min(360px, 72%);
  margin: 64px auto 0;
  border-radius: 6px 12px 12px 6px;
  box-shadow: 0 40px 90px rgba(209, 164, 71, 0.18), 0 30px 60px rgba(0, 0, 0, 0.8);
}
.hero + .band { padding-top: 0; }

/* ---------- Video ---------- */
.video-wrap {
  margin-top: 56px;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Statement: his apparel artwork, side edges softened into the black band ---------- */
.statement-art {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}

/* ---------- Tiles ---------- */
.tiles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-top: 56px; }
.tile {
  background: var(--tile);
  border-radius: 22px;
  padding: 40px 28px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }
.light .tile { background: var(--white); }
.tile .media { height: 240px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.tile .media img.book { height: 100%; width: auto; border-radius: 3px 7px 7px 3px; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25); }
.tile .kicker { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 6px; }
.tile h3 { font-size: 1.5rem; margin-bottom: 6px; }
.tile .desc { color: var(--gray); font-size: 0.95rem; margin-bottom: 14px; }
.tile .price { font-size: 1.05rem; margin-bottom: 20px; }
.tile .actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* Placeholder cover for the upcoming book */
.soon-cover {
  height: 100%;
  aspect-ratio: 2 / 3;
  max-width: 100%;
  border-radius: 3px 7px 7px 3px;
  background: linear-gradient(160deg, #2c2c2e, #0a0a0a);
  color: #f5f5f7;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}
.soon-cover small { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--gold); margin-top: 14px; font-weight: 600; }

/* Audiobook: cover with a small badge */
.audio { position: relative; height: 100%; }
.audio img { height: 100%; width: auto; border-radius: 3px 7px 7px 3px; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25); }
.audio span {
  position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 980px; white-space: nowrap;
}

/* Apparel mockups (rendered images with the print on the chest) */
.tile .media img.garment-img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }

.size-select {
  font: inherit; font-size: 0.9rem;
  padding: 8px 34px 8px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2386868b' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none; appearance: none;
  color: var(--ink);
}

/* ---------- Page heads ---------- */
.page-head { padding-block: 96px 40px; }
.page-head.dark { padding-bottom: 96px; }

/* ---------- Two-column feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.feature > * { min-width: 0; }
.feature .cover-lg { width: min(380px, 100%); margin: 0 auto; border-radius: 6px 12px 12px 6px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); }
.prose p { color: var(--gray); font-size: 1.15rem; line-height: 1.55; }
.dark .prose p { color: #a1a1a6; }
.prose p + p { margin-top: 18px; }
.prose h2 { margin-bottom: 22px; }
.price-line { font-size: 1.3rem; margin-top: 26px; }
.verse { font-size: 0.9rem; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }

.portrait {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 22px;
  background: linear-gradient(160deg, #e8e8ed, #d2d2d7);
  display: grid; place-items: center;
  color: var(--gray-2); font-size: 0.95rem;
}

.pull { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; max-width: 800px; margin: 0 auto; }
.pull span { color: var(--gold); }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; }
.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 16px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
.contact-form .btn { width: 100%; padding: 15px; margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--tile); color: var(--gray); font-size: 0.75rem; padding-block: 28px 36px; letter-spacing: -0.01em; }
.site-footer .container { max-width: var(--wide); }
.footer-top { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--gray); }

@media (max-width: 760px) {
  .band { padding-block: 72px; }
  .feature { grid-template-columns: 1fr; gap: 48px; }
  .page-head { padding-block: 64px 24px; }
  .page-head.dark { padding-bottom: 64px; }
  .tile .media { height: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- About: cut-out portrait on a dark stage ---------- */
.feature.about { align-items: start; grid-template-columns: 1fr 1.3fr; }
.portrait-stage {
  position: sticky;
  top: 80px;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(209, 164, 71, 0.35), transparent 70%),
    linear-gradient(180deg, #1c1c1e, #000);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.portrait-stage picture { display: block; width: 100%; }
/* full width so the photo's cropped arm edge lines up with the frame */
.portrait-stage img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .feature.about { grid-template-columns: 1fr; }
  .portrait-stage { position: static; }
}
#apparel .tile .media { height: 300px; }

/* Audiobook sample player */
.sample { width: 100%; }
.sample-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.sample audio { width: 100%; height: 40px; display: block; }
.tile .sample { margin-bottom: 4px; }
.sample-feature { max-width: 420px; margin-top: 30px; }
.dark .sample-label { color: #a1a1a6; }
.prose p.soon-line { font-size: 0.95rem; margin-top: 6px; color: var(--gold); }
.tile .actions { align-self: stretch; }

/* Apparel: real model photos (Printful mockups) with front/side thumbnails */
.tile .media img.model-img { height: 100%; width: auto; max-width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
#apparel .tile .media.gallery { height: auto; flex-direction: column; gap: 12px; }
#apparel .tile .media.gallery img.model-img { width: 100%; max-width: 340px; height: auto; }
.thumbs { display: flex; gap: 10px; justify-content: center; }
.thumb { width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: 0.65; transition: opacity 0.2s, border-color 0.2s; }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb:hover, .thumb.active { opacity: 1; }
.thumb.active { border-color: var(--gold); }
.thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
