/* Side Bangs Studio — one-page site
   Brand: black, white, cherry red (#C8102E), a touch of bubblegum pink (#FF77B4).
   Headlines: Archivo Black. Body: Poppins.
*/

@font-face {
  font-family: "Archivo Black";
  src: url("../fonts/archivo-black.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cherry: #c8102e;
  --cherry-hover: #a00d25;
  --pink: #ff77b4;
  --black: #111111;
  --ink: #1a1a1a;
  --white: #ffffff;
  --paper: #f7f7f7;
  --muted: #444444;
  --line: #e6e6e6;
  --max: 72rem;
  --gap: clamp(1.5rem, 5vw, 2.5rem);
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --focus: 3px solid var(--pink);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--cherry);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cherry-hover);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 100;
  background: var(--cherry);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--white);
}

/* Checker + zebra utilities */
.checker {
  background-color: var(--white);
  background-image: repeating-conic-gradient(#111 0% 25%, #fff 0% 50%);
  background-size: 14px 14px;
  height: 14px;
}

.rule {
  height: 6px;
  background: var(--cherry);
  position: relative;
}

.rule::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--pink);
}

.rule.rule-flip::after {
  position: relative;
  height: 3px;
}

/* Header */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 5px 0 var(--cherry), 0 8px 0 var(--pink);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.wordmark:hover {
  color: var(--white);
}

.wordmark img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--cherry), 0 0 0 4px var(--pink);
}

.wordmark-text {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--pink);
}

.site-nav a[aria-current="page"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--cherry);
}

@media (max-width: 699px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .wordmark-text {
    white-space: nowrap;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
  }
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--black);
}

.lede,
.prose p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

/* Hero */
.hero {
  background: var(--black);
  color: var(--white);
  position: relative;
}

.hero-art {
  padding: 0;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(2.4rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 6.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1.15rem;
  color: var(--white);
  max-width: 11em;
}

.hero h1 .accent {
  color: var(--cherry);
}

.hero .lede {
  font-size: 1.12rem;
  color: #e8e8e8;
  max-width: 38ch;
}

.hero-actions {
  margin-top: 1.75rem;
}

.cover-frame {
  background: var(--white);
  padding: 8px;
  box-shadow:
    0 0 0 3px var(--pink),
    0 0 0 11px var(--cherry);
  max-width: 22rem;
  margin: 0.4rem auto;
}

@media (min-width: 800px) {
  .cover-frame {
    margin-left: auto;
    margin-right: 0.5rem;
  }
}

.cover-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #ddd;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--cherry);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 0.95rem 1.45rem;
  border-radius: var(--radius);
  border: 2px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--cherry-hover);
  color: var(--white);
  text-decoration: none;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
}

.hero .btn,
.coming .btn,
.page-404 .btn {
  border-color: var(--white);
  box-shadow: 4px 4px 0 var(--white);
}

.hero .btn:active,
.coming .btn:active,
.page-404 .btn:active {
  box-shadow: 2px 2px 0 var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  box-shadow: 4px 4px 0 #000;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--white);
  color: var(--black);
}

.btn-on-light.btn-ghost {
  color: var(--black);
  border-color: var(--black);
}

.btn-on-light.btn-ghost:hover,
.btn-on-light.btn-ghost:focus-visible {
  background: var(--black);
  color: var(--white);
}

/* Book section */
.book {
  background: var(--white);
}

.book-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

@media (min-width: 840px) {
  .book-grid {
    grid-template-columns: minmax(14rem, 20rem) 1fr;
  }
}

.book-cover .cover-frame {
  margin: 0;
  max-width: 20rem;
}

.kicker {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cherry);
  margin: 0 0 0.4rem;
}

.book h2 {
  margin-bottom: 0.2rem;
}

.subtitle {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 1.1rem;
  color: var(--black);
}

.facts {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.facts li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  padding-left: 1.6rem;
  position: relative;
}

.facts li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  background: repeating-conic-gradient(#111 0% 25%, #fff 0% 50%) 0 0 / 100% 100%;
  border: 1px solid var(--black);
  position: absolute;
  left: 0;
  top: 0.95rem;
}

.meta-line {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 1.15rem 0 0;
}

.pages-block {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.pages-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 0 0 1.1rem;
}

.pages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pages {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pages figure {
  margin: 0;
}

.page-mat {
  background: var(--white);
  padding: 6px;
  border: 2px solid var(--black);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--cherry);
}

.page-mat img {
  width: 100%;
  aspect-ratio: 17 / 22;
  object-fit: contain;
  background: var(--white);
}

.pages figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.45;
}

/* Coming soon */
.coming {
  background: var(--black);
  color: var(--white);
}

.coming h2,
.coming h3 {
  color: var(--white);
}

.coming .lede {
  color: #e8e8e8;
}

.coming-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 2rem;
}

@media (min-width: 700px) {
  .coming-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.soon-card {
  border: 2px solid var(--white);
  padding: 1.5rem 1.4rem 1.6rem;
  position: relative;
  background:
    linear-gradient(var(--black), var(--black)) padding-box,
    var(--black);
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.soon-card::before,
.soon-card::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  background: repeating-conic-gradient(#111 0% 25%, #fff 0% 50%) 0 0 / 14px 14px;
}

.soon-card::before {
  top: -2px;
  left: -2px;
}

.soon-card::after {
  bottom: -2px;
  right: -2px;
}

.soon-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0;
  line-height: 1.15;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--cherry);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border: 2px solid var(--white);
}

.soon-card p {
  margin: 0;
  color: #e8e8e8;
  max-width: 34ch;
}

/* About */
.about {
  background: var(--paper);
  position: relative;
}

.about-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .about-layout {
    grid-template-columns: 5.5rem 1fr;
    gap: 2rem;
    align-items: stretch;
  }
}

.zebra-rail {
  display: none;
}

@media (min-width: 800px) {
  .zebra-rail {
    display: block;
    background: repeating-linear-gradient(
      -55deg,
      var(--black) 0 10px,
      var(--white) 10px 20px
    );
    border: 2px solid var(--black);
    align-self: stretch;
    height: auto;
  }
}

.about .prose p {
  max-width: 62ch;
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq-list {
  margin: 0;
  padding: 0;
  max-width: 62rem;
}

.faq-list > div {
  border-top: 2px solid var(--black);
  padding: 1.15rem 0 1.3rem;
}

.faq-list > div:last-child {
  border-bottom: 2px solid var(--black);
}

.faq-list h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 0.45rem;
}

.faq-list p {
  margin: 0;
  max-width: 65ch;
}

.faq-list a {
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem var(--gap) 2.5rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.site-footer p {
  margin: 0;
  color: #d0d0d0;
}

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

.site-footer a:hover {
  color: var(--pink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-weight: 600;
}

.tagline {
  margin-top: 0.75rem !important;
  color: var(--white) !important;
  font-weight: 600;
}

/* 404 */
.page-404 {
  min-height: 70vh;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem var(--gap);
}

.page-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin: 0 0 1rem;
}

.page-404 p {
  margin: 0 0 1.5rem;
}
