/* Blisters and Bedrock — one-page landing
   Visual target: final-v1 mockup/landing.png, minus the kit-only banner.
   Tokens come from css/tokens.css. Dark is forced via <html data-theme="dark">.
*/

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/BigShouldersDisplay%5Bwght%5D.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Big Shoulders Stencil Display";
  src: url("../fonts/BigShouldersStencilDisplay%5Bwght%5D.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces%5BSOFT%2CWONK%2Copsz%2Cwght%5D.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Italic%5BSOFT%2CWONK%2Copsz%2Cwght%5D.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  background: var(--cotton-black);
}

@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;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Fraunces, Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 18;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--cta-bg);
  color: var(--cta-text);
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
  padding: 14px 22px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.eyebrow {
  font-family: "Big Shoulders Stencil Display", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 13px;
  /* bleach-rust is reserved for large decorative type on dark; cream meets contrast at this size */
  color: var(--bleach-cream);
  text-transform: uppercase;
}

h2.display-signup {
  font-size: clamp(32px, 4vw, 48px);
}

h2.display {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 10px 0 18px;
  color: var(--bleach-cream);
}

p.lead {
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 24;
  color: var(--bleach-cream);
  max-width: 36em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
  padding: 14px 22px;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-cream {
  background: var(--cta-bg);
  color: var(--cta-text);
}

.btn-cream:hover {
  background: var(--paper);
  color: var(--cotton-black);
}

.btn-ghost {
  background: transparent;
  color: var(--bleach-cream);
  border: 1px solid var(--bleach-cream);
}

.btn-ghost:hover {
  background: rgba(235, 214, 174, 0.12);
}

.btn-red {
  background: var(--cta-secondary-bg);
  color: var(--cta-secondary-text);
}

.btn-red:hover {
  background: #8a1d27;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ——— Nav + hero ——— */

.hero {
  position: relative;
  min-height: 860px;
  padding: 0 0 80px;
  background: var(--cotton-black) url("../textures/moody-brick-pipe-backdrop.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 15, 13, 0.88) 0%, rgba(18, 15, 13, 0.72) 46%, rgba(18, 15, 13, 0.55) 100%),
    linear-gradient(180deg, rgba(18, 15, 13, 0.35) 0%, rgba(18, 15, 13, 0.15) 40%, rgba(18, 15, 13, 0.82) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 22px 0;
  flex-wrap: wrap;
}

.nav-shop {
  flex: 0 0 auto;
}

.nav-brand {
  display: block;
  flex: 0 0 auto;
  /* Clear space ≈ cap height of the initial B, outside the file's small safety pad */
  padding: 16px 16px 16px 0;
}

.nav-wordmark {
  width: 200px; /* preferred; minimum is 180px */
  min-width: 180px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-links a:not(.btn) {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
  color: var(--bleach-cream);
}

.nav-links a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 4px 0 12px;
}

.hero-copy {
  /* Keep A1 drips uncropped: padding instead of negative pull that could clip */
  padding: 8px 8px 24px 0;
}

.hero-wordmark {
  width: min(620px, 100%);
  min-width: min(320px, 100%);
  height: auto;
  margin: 8px 0 4px;
}

.unofficial {
  margin-top: 8px;
  font-size: 18px;
  color: var(--bleach-cream);
  max-width: 28em;
}

.ph {
  background: var(--soot);
  border: 1.5px dashed #6A5C4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  position: relative;
  min-height: 280px;
}

.ph .ph-kicker {
  font-family: "Big Shoulders Stencil Display", sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--forge-glow);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ph p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--bleach-cream);
  max-width: 22em;
}

.ph .ph-note {
  color: var(--ash);
  font-size: 13px;
  margin-top: 8px;
  font-style: italic;
}

.hero-photo {
  min-height: 560px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ——— Sections ——— */

section {
  padding: 96px 0;
}

.section-black {
  background: var(--cotton-black);
}

.section-texture {
  background:
    linear-gradient(180deg, rgba(18, 15, 13, 0.82), rgba(18, 15, 13, 0.88)),
    url("../textures/bleach-splatter-black-cotton.png") center / cover;
}

.line-head {
  margin-bottom: 48px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.card:hover .ph {
  border-color: var(--bleach-cream);
}

.card h3 {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 16px 0 6px;
  color: var(--bleach-cream);
}

.card p {
  color: var(--ash);
  font-size: 16px;
}

.card .ph {
  height: 400px;
  min-height: 400px;
  flex: 0 0 auto;
}

.card .card-cta {
  margin-top: 12px;
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--bleach-cream);
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story p + p {
  margin-top: 16px;
}

.story .ph {
  min-height: 440px;
}

.etsy-band {
  padding: 88px 0;
  text-align: center;
  background: var(--cotton-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.etsy-band .display {
  margin-left: auto;
  margin-right: auto;
}

.etsy-band p {
  max-width: 28em;
  margin: 0 auto 28px;
  color: var(--ash);
}

.signup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--cotton-black);
  border: 1px solid var(--border);
  color: var(--bleach-cream);
  font-family: Fraunces, Georgia, serif;
  font-size: 16px;
  font-variation-settings: "SOFT" 50, "WONK" 0, "opsz" 16;
  padding: 14px 16px;
  outline: none;
  border-radius: 0;
}

.form input::placeholder {
  color: var(--ash);
}

.form input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--focus);
}

.form-note {
  color: var(--ash);
  font-size: 14px;
  margin-top: 12px;
  font-style: italic;
}

.privacy-note {
  color: var(--ash);
  font-size: 14px;
  margin-top: 8px;
}

footer {
  padding: 48px 0 64px;
  color: var(--ash);
  font-size: 14px;
  background: var(--cotton-black);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-brand {
  display: block;
  padding: 8px 8px 16px 0;
}

.footer-wordmark {
  width: 200px;
  min-width: 180px;
  height: auto;
}

.footer-contact {
  margin-top: 4px;
}

.footer-contact a {
  color: var(--bleach-cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact a:hover {
  color: var(--paper);
}

.disclaimer {
  max-width: 36em;
  line-height: 1.45;
}

.disclaimer strong {
  color: var(--bleach-cream);
  font-weight: 600;
}

/* ——— Breakpoints ——— */



@media (max-width: 900px) {
  .wrap {
    width: min(1180px, calc(100% - 48px));
  }

  .hero {
    min-height: 0;
    padding-bottom: 64px;
  }

  .hero-grid,
  .story,
  .signup-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .signup-card {
    padding: 40px 32px;
  }

  .hero-photo,
  .story .ph {
    min-height: 420px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    gap: 16px 24px;
    justify-content: flex-start;
    margin-left: 0;
  }

  .nav-shop {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }

  body {
    font-size: 16px;
  }

  p.lead {
    font-size: 19px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 0;
  }

  .etsy-band {
    padding: 64px 0;
  }

  .hero-photo,
  .story .ph {
    min-height: 320px;
  }

  .card .ph {
    height: 320px;
    min-height: 320px;
  }

  .form {
    flex-direction: column;
  }

  .form .btn {
    width: 100%;
  }

  .nav-wordmark,
  .footer-wordmark {
    width: 180px;
  }

  .unofficial {
    font-size: 16px;
  }
}

/* ——— Product and story photos ——— */

.hero-photo,
.story-photo,
.card-media {
  margin: 0;
  padding: 0;
  background: var(--cotton-black);
  overflow: hidden;
}

.hero-photo {
  aspect-ratio: 3 / 2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}

.story-photo,
.card-media {
  line-height: 0;
}

.hero-photo picture,
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-media picture,
.story-photo picture {
  display: block;
  width: 100%;
}

.card-media img,
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.card:hover .card-media {
  outline: 1px solid var(--bleach-cream);
  outline-offset: 0;
}

.price {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--bleach-cream);
  margin: 8px 0 0;
}

.etsy-reviews {
  color: var(--ash);
  font-style: italic;
  font-size: 16px;
  max-width: 28em;
  margin: 0 auto 28px;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  margin-top: 12px;
  font-size: 16px;
  color: var(--bleach-cream);
  min-height: 1.4em;
}

.form-status.is-error {
  color: var(--bleach-cream);
}

.form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 600px) {
  .card-media {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
  }
}
