/* Category Five Paperweight Co. Dark luxury. */

:root {
  --ink: #e8e2d6;
  --ink-dim: #9d968a;
  --gold: #c9a44f;
  --gold-soft: #a8863c;
  --bg: #0c0b09;
  --bg-raised: #14120e;
  --bg-card: #191612;
  --line: #2a2620;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; color: var(--ink); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ink); }

.over {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 5vw;
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.wordmark span {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.site-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.site-nav a:hover { color: var(--gold); }

.header-right { display: flex; align-items: center; gap: 0.9rem; }

.status-pill {
  border: 1px solid var(--gold-soft);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 1px; background: var(--ink); display: block; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 3rem;
  align-items: center;
  padding: 5rem 5vw 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: 0.04em; margin-bottom: 1.2rem; }
.lede { font-size: 1.15rem; color: var(--ink); margin-bottom: 1rem; }
.lede-sub { color: var(--ink-dim); margin-bottom: 1.8rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: #14110a;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 1.7rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: #14110a; }

figure figcaption {
  font-size: 0.78rem;
  color: var(--ink-dim);
  margin-top: 0.7rem;
  letter-spacing: 0.04em;
}

.hero-figure img,
.split figure img,
.wide-shot img,
.founder-block figure img {
  border: 1px solid var(--line);
  cursor: zoom-in;
}

/* ---------- creed ---------- */

.creed {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 4rem 5vw;
  text-align: center;
}
.creed p:first-child {
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  max-width: 850px;
  margin: 0 auto 1.2rem;
  color: var(--ink);
}
.attribution {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- split sections ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 5vw;
}
.split.reverse figure { order: 2; }
.split h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1.2rem; }
.split-text p:not(.over) { color: var(--ink-dim); margin-bottom: 1rem; }
.split-text p em { color: var(--ink); font-style: italic; }

/* ---------- wide shot ---------- */

.wide-shot { max-width: 1200px; margin: 0 auto; padding: 0 5vw 2rem; }

/* ---------- tests ---------- */

.tests {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 5vw;
}
.tests h2, .widget h2, .editions h2, .accessories h2, .specs h2,
.testimonials h2, .acquire h2, .faq h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 1rem;
}
.section-intro { color: var(--ink-dim); max-width: 640px; margin-bottom: 2.5rem; }

.tests-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.test-card { background: var(--bg-card); border: 1px solid var(--line); }
.test-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; cursor: zoom-in; }
.test-card figcaption { padding: 1.1rem 1.2rem 1.3rem; margin: 0; }
.test-card .test-title {
  display: block;
  font-family: "Marcellus", Georgia, serif;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

/* ---------- widget ---------- */

.widget {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 5rem 5vw;
  text-align: center;
}
.widget-intro { color: var(--ink-dim); max-width: 620px; margin: 0 auto 2.5rem; }

.calc { max-width: 560px; margin: 0 auto; }
.calc-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 2px;
  background: var(--line);
  outline: none;
  margin-bottom: 1.2rem;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
}

.calc-read { font-family: "Marcellus", Georgia, serif; font-size: 1.4rem; margin-bottom: 1.4rem; }
.calc-read #windClass { color: var(--gold); }

.calc-verdict {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 1.4rem 1.6rem;
  color: var(--ink-dim);
  margin-bottom: 1.8rem;
  min-height: 4.5rem;
}
.calc-verdict strong { color: var(--ink); font-weight: 500; }

.widget-note { font-size: 0.8rem; color: var(--ink-dim); margin-top: 1rem; }

/* ---------- editions & accessories ---------- */

.editions, .accessories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 5vw 3rem;
}
.editions-grid, .accessories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.accessories-grid { grid-template-columns: repeat(2, 1fr); max-width: 820px; }

.edition-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}
.edition-card img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; margin-bottom: 1.2rem; }
.edition-card h3 { font-size: 1.1rem; padding: 0 1.3rem; margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.edition-card .edition-finish {
  padding: 0 1.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.edition-card .edition-note { padding: 0 1.3rem; color: var(--ink-dim); font-size: 0.9rem; margin-bottom: 1rem; flex: 1; }
.edition-card .edition-price {
  padding: 0 1.3rem;
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}
.edition-card .edition-avail { padding: 0 1.3rem; font-size: 0.75rem; color: var(--ink-dim); margin-bottom: 1.1rem; }
.edition-card .btn { margin: 0 1.3rem; text-align: center; }

.collection-note { color: var(--ink-dim); font-size: 0.9rem; margin-top: 2rem; max-width: 560px; }

/* ---------- specs ---------- */

.specs { max-width: 820px; margin: 0 auto; padding: 5rem 5vw; }
.specs table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.specs td { padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs td:first-child {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: 38%;
  padding-top: 1.05rem;
}
.specs td:last-child { color: var(--ink); }

/* ---------- testimonials ---------- */

.testimonials {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 5rem 5vw;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}
.testimonials > .over, .testimonials > h2 { max-width: 1200px; margin-left: auto; margin-right: auto; }
.testimonials > h2 { margin-bottom: 0; }

.quote-card { border: 1px solid var(--line); background: var(--bg-card); padding: 1.8rem; }
.quote-card blockquote {
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.quote-card .who { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.quote-card .who span { display: block; color: var(--ink-dim); letter-spacing: 0.08em; text-transform: none; margin-top: 0.2rem; }

/* ---------- founder ---------- */

.founder-block {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 3.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 5vw;
}
.founder-block h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1.2rem; }
.founder-block p:not(.over) { color: var(--ink-dim); margin-bottom: 1rem; }

/* ---------- order ---------- */

.acquire {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 5rem 5vw;
}
.acquire > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.acquire-intro { color: var(--ink-dim); margin-bottom: 2.5rem; }

.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  padding: 0.8rem 0.9rem;
  border-radius: 2px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-soft);
}

.order-total {
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
  color: var(--ink);
}
.order-total span { color: var(--gold); }

.form-note { font-size: 0.8rem; color: var(--ink-dim); margin-top: 1rem; }

.form-confirm { border: 1px solid var(--gold-soft); background: var(--bg-card); padding: 2rem; }
.form-confirm h3 { margin-bottom: 0.8rem; color: var(--gold); }
.form-confirm p { color: var(--ink-dim); }

/* ---------- faq ---------- */

.faq { max-width: 760px; margin: 0 auto; padding: 5rem 5vw 6rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary {
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 0;
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-weight: 300;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-dim); padding-top: 0.8rem; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 5vw 2.5rem; background: #090807; }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.foot-mark { font-family: "Marcellus", Georgia, serif; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.foot-head { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.foot-grid p { color: var(--ink-dim); font-size: 0.88rem; }
.foot-fine { text-align: center; font-size: 0.75rem; color: #6d675e; border-top: 1px solid var(--line); padding-top: 1.6rem; max-width: 1100px; margin: 0 auto; }

/* ---------- marketing page ---------- */

.mkt-main { max-width: 900px; margin: 0 auto; padding: 4rem 5vw 5rem; }
.mkt-main h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.mkt-main .intro { color: var(--ink-dim); margin-bottom: 3rem; max-width: 620px; }
.mkt-main figure { margin-bottom: 3rem; }
.mkt-main figure img { border: 1px solid var(--line); cursor: zoom-in; width: 100%; }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 4, 3, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.modal[hidden] { display: none; }
.modal img { max-width: 92vw; max-height: 82vh; border: 1px solid var(--line); }
.modal-caption { color: var(--ink-dim); font-size: 0.85rem; margin-top: 1rem; text-align: center; max-width: 700px; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--gold); }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .editions-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 1rem 5vw; border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; padding-top: 3rem; gap: 2.2rem; }
  .split, .founder-block { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .split.reverse figure { order: 0; }
  .tests-grid { grid-template-columns: 1fr; }
  .editions-grid, .accessories-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .status-pill { display: none; }
}
