/* Honor Supply Co. Chance's own design: Montserrat, black / white / cream / olive, one centered column. */
/* Layout: one centered column, one section rhythm, white / black / cream bands. */
:root {
  --black: #0b0b0b;
  --ink: #1a1a1a;
  --white: #ffffff;
  --cream: #f5efea;
  --olive: #7a7865;
  --muted: #605e57;
  --line: #e4ddd6;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --max: 1080px;
  --pad: 88px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.wrap {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* TYPE */
h1, h2, h3 { color: var(--black); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 5vw, 2.75rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
.eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 14px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* BUTTONS */
.btn {
  display: inline-block; padding: 16px 32px;
  background: var(--black); color: var(--white);
  font: 700 0.74rem/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase;
  border: 0; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--olive); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--olive); color: var(--white); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px));
  background: var(--black);
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { color: var(--white); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; }
.nav__links a:hover { opacity: 1; }

/* SECTIONS */
.band { padding-block: var(--pad); }
.band--white { background: var(--white); }
.band--cream { background: var(--cream); }
.band--black { background: var(--black); color: var(--white); }
.band--black h2 { color: var(--white); }
.band--black .eyebrow { color: rgba(255,255,255,0.55); }

.head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.head:has(> .eyebrow:only-child) { margin-bottom: 24px; }
.head .sub { margin-top: 14px; color: var(--muted); }
.actions { text-align: center; margin-top: 40px; }

/* HERO */
.hero {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  min-height: min(92svh, 860px); background: var(--black); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.85) 100%); }
.hero__copy {
  position: relative; z-index: 1; text-align: center; max-width: 900px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 72px max(var(--gutter), env(safe-area-inset-left, 0px));
}
.hero__copy { max-width: 1040px; }
.hero h1 { color: var(--white); margin-bottom: 22px; font-size: clamp(1.35rem, 7vw, 4.6rem); line-height: 1.06; letter-spacing: -0.035em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .eyebrow { color: rgba(255,255,255,0.7); }
.hero .lede { color: rgba(255,255,255,0.88); font-size: 1.08rem; max-width: 34ch; margin: 0 auto 30px; }

/* THREE-UP (problem + plan) */
.trio { list-style: none; display: grid; gap: 36px; }
.trio > * { text-align: center; max-width: 300px; margin: 0 auto; }
.trio h3 { margin-bottom: 8px; }
.trio p { color: var(--muted); font-size: 0.95rem; }
.band--white .trio > div { padding-top: 22px; border-top: 2px solid var(--black); }
.step {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border: 2px solid var(--black); border-radius: 50%;
  font-weight: 800; font-size: 1rem; color: var(--black);
}

/* WHAT WE DO */
.statement { list-style: none; text-align: center; display: grid; gap: 4px; }
.statement li {
  font-size: clamp(2.1rem, 7.4vw, 4.4rem); font-weight: 800; line-height: 1.06;
  letter-spacing: -0.035em; color: var(--black); text-wrap: balance;
}
.statement li:nth-child(2) { color: var(--olive); }
.statement__sub { max-width: 34rem; margin: 40px auto 0; text-align: center; color: var(--muted); font-size: 1.05rem; }

/* VALUE */
.value { display: grid; background: var(--black); color: var(--white); }
.value__img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.value__copy { padding: 64px max(var(--gutter), env(safe-area-inset-right, 0px)) 64px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.value h2 { color: var(--white); margin-bottom: 20px; font-size: clamp(2.2rem, 6vw, 3.6rem); }
.value__lede { color: rgba(255,255,255,0.8); font-size: 1.08rem; margin-bottom: 28px; max-width: 32rem; }
.tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); }
.value .eyebrow { color: rgba(255,255,255,0.55); }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 28px; font-weight: 500; color: rgba(255,255,255,0.9); }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 0.4em; width: 13px; height: 7px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg);
}

/* ALBUMS */
.albums { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.album { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--black); max-width: 100%; }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.7)); }
.album span {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
  color: var(--white); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.album:hover img { transform: scale(1.04); }

/* FILM */
.film { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; }
.been {
  max-width: 720px; margin: 36px auto 0; text-align: center;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 2;
  color: rgba(255,255,255,0.6);
}

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 700; color: var(--black);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 500; line-height: 1; color: var(--olive); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 32px 22px 0; color: var(--muted); }

/* NEWSLETTER */
.signup { display: grid; gap: 10px; max-width: 460px; margin: 0 auto; }
.signup input {
  width: 100%; padding: 16px 18px; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); background: var(--cream); color: var(--ink); border-radius: 0;
}
.signup input:focus { outline: 2px solid var(--olive); outline-offset: 1px; }

/* FOOTER */
.footer { background: var(--black); color: var(--white); padding-block: var(--pad) 32px; }
.footer__cta { text-align: center; padding-bottom: var(--pad); }
.footer__cta h2 { color: var(--white); margin: 0 auto 28px; max-width: 16ch; }
.footer__bar {
  display: grid; justify-items: center; gap: 20px; text-align: center;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.14);
}
.footer__logo { height: 34px; width: auto; justify-self: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.footer__links a { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.75; }
.footer__links a:hover { opacity: 1; }
.footer__small { font-size: 0.7rem; opacity: 0.45; }

/* TABLET + DESKTOP */
@media (min-width: 760px) {
  :root { --gutter: 40px; --pad: 120px; }
  .nav__logo img { height: 30px; }
  .nav__links { gap: 36px; }
  .hero__copy { padding-bottom: 96px; }
  .hero .lede { font-size: 1.2rem; }
  .trio { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .value { grid-template-columns: 1fr 1fr; }
  .value__img { min-height: 540px; }
  .value__copy { align-self: center; padding: 80px 72px; max-width: 560px; }
  .albums { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .album span { left: 18px; bottom: 16px; font-size: 0.7rem; }
  .signup { grid-template-columns: 1fr auto; gap: 0; }
  .footer__bar { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; text-align: left; }
  .footer__links { justify-content: flex-start; }
  .footer__small { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .album img, .btn { transition: none; }
}


.film__link { position: absolute; inset: 0; display: block; }
.film__link img { width: 100%; height: 100%; object-fit: cover; }
.film__link::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.film__play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--white); }
.film__play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 20px solid var(--black); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.film__cta { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 1; text-align: center; color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.signup__note { color: var(--muted); font-size: 0.95rem; }
html, body { background: var(--cream); color-scheme: light; }

/* ---- Added in round 2: pieces carried over from round 1, built on the same tokens ---- */

/* Nav: current page, and room on phones for four links */
.nav__links a[aria-current="page"] { opacity: 1; }
@media (max-width: 420px) {
  .nav__links { gap: 14px; }
  .nav__links a { letter-spacing: 0.12em; font-size: 0.64rem; }
}

/* "Free, always" line under the albums */
.free { max-width: 560px; margin: 36px auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; }
.free strong { color: var(--black); }
.free a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

/* How it works: numbered three-up */
.trio li h3 { margin-bottom: 8px; }

/* Rules band */
.rules-note { max-width: 34rem; margin: 18px auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* Value: link to the story */
.value__more { display: inline-block; margin-top: 22px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 4px; }
.value__more:hover { border-color: var(--white); }

/* Footer: email under the CTA */
.footer__alt { margin-top: 18px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer__alt a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Inner pages: the nav is fixed, so the first band clears it */
.page-top { padding-top: calc(var(--pad) + 60px); }
.page-top .head { margin-bottom: 40px; }
.page-top h1 { margin-bottom: 0; }

/* Request form */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); }
.field .opt { font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); background: var(--cream); color: var(--ink); border-radius: 0;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--olive) 50%), linear-gradient(135deg, var(--olive) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--olive); outline-offset: 1px; }
.form .btn { justify-self: center; margin-top: 8px; }
.form__foot { text-align: center; color: var(--muted); font-size: 0.85rem; }
.thanks { max-width: 560px; margin: 0 auto; text-align: center; }
.thanks h2 { margin-bottom: 14px; }
.thanks p { color: var(--muted); }
.thanks .preview { margin-top: 18px; font-size: 0.85rem; }
@media (min-width: 760px) { .form .row { grid-template-columns: 1fr 1fr; } }

/* Story page */
.prose { max-width: 640px; margin: 0 auto; }
.prose p { margin-bottom: 1.1em; font-size: 1.05rem; }
.prose h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 1.8em 0 0.6em; }
.prose .pull { font-weight: 800; font-size: 1.3rem; line-height: 1.25; color: var(--black); margin: 1.4em 0; }
.prose figure { margin: 2.2em 0; }
.prose figcaption { margin-top: 10px; font-size: 0.8rem; color: var(--muted); }
.prose .signoff { margin-top: 2em; font-weight: 700; color: var(--black); }
.prose .signoff span { display: block; font-weight: 500; color: var(--muted); font-size: 0.9rem; }

/* Form spam trap and send error */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin-top: 12px; color: #9b1c1c; font-size: 0.95rem; }
.form__error a { color: inherit; font-weight: 700; }
[hidden] { display: none !important; }
.hero .lede em { font-style: normal; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.55); }
