/* Northpost Sign Co. — one-page site. No build step. Fonts are self-hosted OFL files. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/figtree-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1c2430;
  --ink-soft: #3d4a58;
  --muted: #5c6773;
  --paper: #f3efe6;
  --paper-2: #e7e0d2;
  --card: #faf8f3;
  --white: #fffcf7;
  --rust: #a44a2e;
  --rust-dark: #853a23;
  --rule: #d5cdc0;
  --rule-strong: #b9b0a0;
  --focus: #1c2430;
  --shadow: 0 1px 2px rgba(28, 36, 48, 0.06), 0 12px 28px rgba(28, 36, 48, 0.06);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Figtree", "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--rust-dark);
  text-underline-offset: 0.15em;
}

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

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  border-radius: 0.25rem;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

/* Header
   -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

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

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

.mark {
  flex: none;
  width: 2.15rem;
  height: 2.15rem;
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.18rem;
}

.wordmark-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.wordmark-entity {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
}

.menu-btn {
  display: none;
  border: 1px solid var(--rule-strong);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.menu-btn .menu-close {
  display: none;
}

.nav-toggle:checked + .menu-btn .menu-open {
  display: none;
}

.nav-toggle:checked + .menu-btn .menu-close {
  display: inline;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:not(.btn):hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #10151c;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

/* Hero
   -------------------------------------------------- */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-row li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-row li::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  background: var(--rust);
  border-radius: 50%;
}

.specimen {
  background: var(--ink);
  color: var(--paper);
  border-radius: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.specimen-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5bbaa;
}

.specimen-board {
  background: #151b24;
  border: 1px solid #2c3542;
  border-radius: 0.6rem;
  padding: 1.35rem 1.2rem 1.2rem;
}

.specimen-board p {
  margin: 0;
}

.sample-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1.15;
}

.sample-dot {
  margin-top: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  color: #e8c9b8;
}

.specimen-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: #c5bbaa;
  line-height: 1.45;
}

.specimen-list {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #ddd4c6;
}

.specimen-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #2c3542;
  padding-top: 0.45rem;
}

.specimen-list span:last-child {
  color: #c5bbaa;
  font-size: 0.8rem;
}

/* Sections
   -------------------------------------------------- */
.section {
  padding: clamp(3rem, 7vw, 5.25rem) 0;
}

.section + .section,
.band + .section,
.section + .band {
  border-top: 1px solid var(--rule);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head h2,
.band-head h2,
.quote-intro h2 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head p,
.quote-intro p {
  margin: 0;
  color: var(--ink-soft);
}

/* Products
   -------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.product {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product.featured {
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

.product h3 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.product p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex: 1;
}

.product .more {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.product .more:hover {
  color: var(--rust-dark);
}

.product-grid.secondary {
  margin-top: 1.15rem;
}

/* Marking note
   -------------------------------------------------- */
.band {
  background: var(--paper-2);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.band-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.band p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.band p:last-child {
  margin-bottom: 0;
}

.fine-print {
  font-size: 0.92rem;
}

/* Steps
   -------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
}

.step h3 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 550;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.step-num {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}

/* About
   -------------------------------------------------- */
.about p {
  max-width: 42rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.about p:last-child {
  margin-bottom: 0;
}

/* Quote
   -------------------------------------------------- */
.quote {
  background: var(--white);
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.quote-aside {
  margin-top: 1.25rem;
  padding: 1.1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.quote-aside p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.quote-aside p:last-child {
  margin-bottom: 0;
}

.email-link {
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

form {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
}

.hint {
  font-weight: 400;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule-strong);
  border-radius: 0.45rem;
  padding: 0.65rem 0.75rem;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #9a9183;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: var(--ink);
}

textarea {
  min-height: 9.5rem;
  resize: vertical;
}

@media (min-width: 621px) {
  .product h3 {
    min-height: 2.55em;
  }
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.45rem;
  background: #e6efe6;
  color: #1d3b24;
  font-size: 0.95rem;
}

.form-status.is-visible {
  display: block;
}

/* Footer
   -------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #d7d0c4;
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  align-items: flex-start;
}

.site-footer .wordmark {
  color: var(--paper);
}

.site-footer .wordmark-entity {
  color: #b8b0a3;
}

.site-footer .mark rect:first-child {
  fill: #151b24;
}

.site-footer .mark rect:nth-child(2) {
  fill: #f3efe6;
}

.footer-meta {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

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

.footer-legal {
  margin: 0;
  max-width: 24rem;
  font-size: 0.8rem;
  color: #b8b0a3;
  line-height: 1.5;
}

/* Responsive
   -------------------------------------------------- */
@media (max-width: 860px) {
  .hero-grid,
  .band-grid,
  .quote-layout,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .menu-btn {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 14px 28px rgba(28, 36, 48, 0.1);
  }

  .site-nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav .btn {
    margin-top: 0.75rem;
    width: 100%;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .product-grid,
  .product-grid.secondary,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .site-footer {
    padding: 2.25rem 0 2.5rem;
  }
}

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

/* Article / interior pages
   -------------------------------------------------- */
.crumb {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--rule-strong);
}

.crumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.article {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.article-header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.article-header h1 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.article-header .lede {
  margin: 0;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--serif);
  font-weight: 550;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.prose h3 {
  margin: 1.6rem 0 0.5rem;
  font-family: var(--serif);
  font-weight: 550;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--rust-dark);
}

.cite {
  font-size: 0.92rem;
}

.note-box {
  margin: 1.5rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.note-box p {
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.note-box p:last-child {
  margin-bottom: 0;
}

/* FAQ
   -------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 48rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.2rem 1.1rem 0.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.9rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--rust);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.faq-item .answer p {
  margin: 0 0 0.7rem;
}

.faq-item .answer p:last-child {
  margin-bottom: 0;
}

/* Preview tool
   -------------------------------------------------- */
.tool-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.tool-panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 1rem;
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.swatch {
  border: 1px solid var(--rule-strong);
  background: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.swatch[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.preview-stage {
  border-radius: 1rem;
  padding: 1.4rem;
  min-height: 16rem;
}

.preview-stage.is-dark {
  background: #1c2430;
  color: #f3efe6;
}

.preview-stage.is-light {
  background: #f3efe6;
  color: #1c2430;
  border: 1px solid var(--rule);
}

.preview-label {
  margin: 0 0 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.preview-name {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  word-break: break-word;
}

.preview-dot {
  margin: 0.55rem 0 0;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.15rem;
}

.preview-stage.is-dark .preview-dot {
  color: #e8c9b8;
}

.preview-stage.is-light .preview-dot {
  color: #a44a2e;
}

@media (max-width: 860px) {
  .tool-grid {
    grid-template-columns: 1fr;
  }
}
