/* ==========================================================================
   STIK STRONH TOV — archival-paper
   Cool sage rag, moss library stamp, walnut binding thread.
   Not Moda ivory/claret, not Milahro navy cadastral,
   not Ferrot yellow-gold, not Bromiks taupe overlay.
   ========================================================================== */

:root {
  --bg: #efe9dc;
  --bg-alt: #e4ddd0;
  --bg-deep: #2c3328;
  --ink: #252820;
  --ink-soft: #5c6558;
  --ink-invert: #efe9dc;
  --accent: #3f5d48;
  --accent-soft: #dce6d8;
  --line: #c5cbb8;
  --plate: #f4f1e6;
  --thread: #8a5a3c;
  --rule: #3f5d48;

  --font-display: "Libre Baskerville", Palatino, "Iowan Old Style", Georgia, serif;
  --font-body: Palatino, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --tracking-display: -0.015em;
  --radius: 0;
  --radius-lg: 0;
  --container: 1080px;
  --container-narrow: 38rem;
  --shadow: none;
}

body {
  background: var(--bg);
}

.site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-header__name {
  display: grid;
  line-height: 1.15;
}
.site-header__code {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-header__legal {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav a {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.nav .btn {
  opacity: 1;
}

.btn {
  border-radius: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--accent);
  color: var(--ink-invert);
}
.btn--primary:hover {
  transform: none;
  background: var(--bg-deep);
  box-shadow: none;
  color: var(--ink-invert);
}
.btn--ghost {
  border-color: var(--thread);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--bg-deep);
  color: var(--ink-invert);
  border-color: var(--bg-deep);
}

.acc {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 0.85rem;
}
.section-head {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.section-head h2 {
  margin-bottom: 0.75rem;
}

section[id],
.hero {
  scroll-margin-top: 5.5rem;
}

/* --- Catalog plates --- */
.plate {
  background: var(--plate);
  padding: 0.7rem 0.7rem 0.55rem;
  box-shadow:
    inset 0 0 0 1px var(--rule),
    inset 0 0 0 5px var(--plate),
    inset 0 0 0 6px var(--thread);
  margin: 0;
}
.plate img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.plate figcaption {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.plate--hero {
  padding: 0.85rem 0.85rem 0.65rem;
}

/* --- Hero: framed plate, then a book-width column --- */
.hero {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-y);
}
.hero__copy {
  max-width: 38rem;
  margin-inline: auto;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  text-align: left;
}
.hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.hero .lede {
  font-size: var(--step-0);
  font-style: italic;
  color: var(--ink);
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* --- Drawers: library cards with a punch hole --- */
.drawers {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.drawer-grid {
  display: grid;
  gap: 1.25rem;
}
.card {
  background: var(--plate);
  padding: 1.4rem 1.4rem 2.1rem;
  position: relative;
  box-shadow:
    inset 0 0 0 1px var(--line),
    2px 3px 0 color-mix(in srgb, var(--ink) 6%, transparent);
}
.card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--thread);
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--bg-alt);
}
.card__num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.card h3 {
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card__field {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--line);
  padding-bottom: 0.55rem;
  margin-bottom: 0.75rem;
}
.card__field span {
  color: var(--thread);
  margin-right: 0.5rem;
}

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

/* --- About: narrow column + plate --- */
.about__spread {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.about__copy {
  max-width: 38rem;
}
.about__copy h2 {
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .about__spread {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  }
}

/* --- Retail lines: alternating ledger rows --- */
.services {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.line {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.line:last-child {
  border-bottom: 1px solid var(--line);
}
.line__num {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 0.4rem;
}
.line__copy h3 {
  margin-bottom: 0.75rem;
}
.line__copy {
  max-width: 36rem;
}

@media (min-width: 860px) {
  .line {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .line--rev {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .line--rev .plate {
    order: 2;
  }
  .line--rev .line__copy {
    order: 1;
  }
}

/* --- Floor plates gallery --- */
.plates__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .plates__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.plates__grid .plate:nth-child(2) img,
.plates__grid .plate:nth-child(4) img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.plates__grid .plate:nth-child(1) img,
.plates__grid .plate:nth-child(3) img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Call slip --- */
.circuit {
  background: var(--bg-deep);
  color: var(--ink-invert);
}
.circuit .acc {
  color: color-mix(in srgb, var(--ink-invert) 70%, var(--thread));
}
.circuit .lede,
.circuit .section-head p {
  color: color-mix(in srgb, var(--ink-invert) 72%, transparent);
}
.slip {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--ink-invert) 22%, transparent);
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      color-mix(in srgb, var(--ink-invert) 10%, transparent) 11px,
      color-mix(in srgb, var(--ink-invert) 10%, transparent) 12px
    );
  background-size: 12px 100%;
  background-repeat: repeat-y;
  padding-left: 1.75rem;
}
.slip li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  border-bottom: 1px dashed color-mix(in srgb, var(--ink-invert) 22%, transparent);
}
.slip li:last-child {
  border-bottom: 0;
}
.slip__stamp {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--ink-invert);
  border-radius: 50%;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}
.slip h3 {
  font-size: var(--step-1);
  margin-bottom: 0.35rem;
}
.circuit__note {
  max-width: 36rem;
  margin-top: 1.75rem;
  font-style: italic;
  color: color-mix(in srgb, var(--ink-invert) 75%, transparent);
}

/* --- Floor notice --- */
.hours {
  background: var(--bg-alt);
}
.notice {
  max-width: 40rem;
  margin-inline: auto;
  background: var(--plate);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow:
    inset 0 0 0 1px var(--rule),
    inset 0 0 0 6px var(--plate),
    inset 0 0 0 7px var(--thread);
}
.notice h2 {
  margin-bottom: 1rem;
}
.notice__list {
  margin-top: 1.25rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}
.notice__list li + li {
  margin-top: 0.35rem;
}

/* --- FAQ --- */
.faq__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.faq__list article {
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
  max-width: 42rem;
}
.faq__list h3 {
  font-size: var(--step-1);
  margin-bottom: 0.45rem;
}

/* --- Contact --- */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.contact__spread {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.contact__card {
  background: var(--plate);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: inset 0 0 0 1px var(--line);
}
.contact__facts {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}
.contact__facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 0.25rem;
}
.contact__form {
  display: grid;
  gap: 1rem;
  background: var(--plate);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow:
    inset 0 0 0 1px var(--rule),
    inset 0 0 0 6px var(--plate),
    inset 0 0 0 7px var(--thread);
}
.field select {
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.field input,
.field textarea,
.field select {
  background: var(--bg);
  border-radius: 0;
}

@media (min-width: 900px) {
  .contact__spread {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* --- Footer --- */
.site-footer {
  background: var(--bg);
}
.footer__grid {
  display: grid;
  gap: 1.5rem;
}
.footer__label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--thread);
  margin-bottom: 0.5rem;
}
.footer__nav {
  list-style: none;
  padding: 0;
}
.footer__nav a {
  text-decoration: none;
  font-size: var(--step--1);
}
.footer__nav li + li {
  margin-top: 0.3rem;
}
.footer__logo {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (max-width: 374px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .plate {
    padding: 0.45rem;
  }
}
