/* ==========================================================================
   Brintable — site styles
   Built on Brand Guide v1.0
   Press Ink #1A1814 · Blank Stock #F1EDE3 · Process Magenta #E6007E
   ========================================================================== */

:root {
  --ink: #1A1814;
  --ink-soft: #3A352E;        /* contrast-safe body/muted text on Blank Stock */
  --paper: #F1EDE3;
  --paper-2: #E7E1D2;
  --white: #FFFFFF;
  --magenta: #E6007E;
  --cyan: #009FE3;
  --yellow: #FFD400;
  --hairline: rgba(26, 24, 20, 0.15);
  --hairline-strong: rgba(26, 24, 20, 0.3);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1140px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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 {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 100;
  font-family: var(--font-mono); font-size: 12px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- shared type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
}

h2.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
  margin: 0 0 14px;
  max-width: 18ch;
}

.lede {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- production strip (CMYK bar) ---------- */

.bars { display: flex; gap: 2px; }
.bars span {
  width: 20px; height: 11px;
  transform-origin: left center;
}
.bars .c { background: var(--cyan); }
.bars .m { background: var(--magenta); }
.bars .y { background: var(--yellow); }
.bars .k { background: var(--ink); }
.bars-hero {
  width: min(360px, 72vw);
  gap: 4px;
  margin-bottom: 30px;
}
.bars-hero span {
  flex: 1 1 0;
  width: auto;
  height: 16px;
}

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

.site-header {
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 16px; padding-bottom: 16px;
}
.brand-lockup {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-logo {
  display: block;
  max-width: none;
  height: auto;
}
.brand-logo-full { width: 118px; }
.brand-logo-mark { display: none; width: 34px; }
.footer-brand .brand-logo-full { width: 150px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px; text-decoration: none; color: var(--ink-soft);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav a.current { color: var(--ink); border-bottom-color: var(--magenta); }
@media (max-width: 720px) {
  .nav .nav-link { display: none; }
  .brand-logo-full { display: none; }
  .brand-logo-mark { display: block; }
  .footer-brand .brand-logo-full { display: block; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  padding: 13px 22px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn-primary { background: var(--magenta); border-color: var(--magenta); color: var(--white); }
.btn-primary:hover { background: #c40069; border-color: #c40069; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

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

.hero { padding: 72px 0 64px; }
.hero-grid {
  display: block;
}
.hero-copy { max-width: 900px; }
.hero h1 { font-size: clamp(44px, 7.2vw, 82px); }
.hero h1 .quiet { color: var(--ink-soft); }
.hero .lede { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

@media (prefers-reduced-motion: no-preference) {
  .bars span { animation: bar-in .5s cubic-bezier(.22,.61,.36,1) backwards; }
  .bars span:nth-child(1) { animation-delay: .05s; }
  .bars span:nth-child(2) { animation-delay: .13s; }
  .bars span:nth-child(3) { animation-delay: .21s; }
  .bars span:nth-child(4) { animation-delay: .29s; }
}
@keyframes bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .hero { padding: 48px 0 44px; }
  .bars-hero { margin-bottom: 24px; }
}

/* ---------- facts strip ---------- */

.facts {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-2);
}
.facts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.fact {
  padding: 34px 32px 34px 0;
  border-right: 1px solid var(--hairline);
}
.fact:last-child { border-right: 0; padding-right: 0; }
.fact:not(:first-child) { padding-left: 32px; }
.fact h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.fact p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 800px) {
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 26px 0; }
  .fact:not(:first-child) { padding-left: 0; }
  .fact:last-child { border-bottom: 0; }
}

/* ---------- generic section ---------- */

.section { padding: 88px 0; }
.section-head { margin-bottom: 44px; }
.section-head .lede { margin-top: 12px; }
@media (max-width: 800px) { .section { padding: 60px 0; } }

/* ---------- catalogue ---------- */

.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.product {
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: var(--white);
  overflow: hidden;
  transition: border-color .15s ease;
}
.product:hover { border-color: var(--hairline-strong); }
.product .shot { aspect-ratio: 1 / 1; background: var(--white); }
.product .shot img { width: 100%; height: 100%; object-fit: contain; }
.product .meta {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--hairline);
}
.product h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.2; margin: 0 0 8px;
}
.product .spec {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0; line-height: 1.5;
}
.catalogue-note {
  margin-top: 24px; font-size: 15px; color: var(--ink-soft);
}
.catalogue-note a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- tiers ---------- */

.tiers-section { background: var(--paper-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.tiers {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--hairline-strong); border-radius: 2px;
  background: var(--white);
}
.tier { padding: 22px 20px; border-right: 1px solid var(--hairline); }
.tier:last-child { border-right: 0; }
.tier .name {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -0.02em; margin: 0 0 6px;
}
.tier .range { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin: 0; }
.tier.marked { background: rgba(230, 0, 126, 0.05); }
.tier.marked .name { color: var(--magenta); }
@media (max-width: 860px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier { border-bottom: 1px solid var(--hairline); }
  .tier:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .tier:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------- process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 28px 0 0; border-right: 1px solid var(--hairline); }
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: 28px; }
.step .num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--magenta); display: block; margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 8px;
}
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(2n+1) { padding-left: 0; border-right: 1px solid var(--hairline); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(2n+1) { border-right: 0; padding: 0 0 26px; border-bottom: 1px solid var(--hairline); }
  .step:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: var(--paper); }
.cta-inner {
  padding: 72px var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.035em; line-height: 1.05;
  margin: 0 0 14px;
}
.cta-band p { margin: 0; color: rgba(241, 237, 227, 0.72); max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-self: end; }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; padding: 52px var(--gutter); gap: 28px; }
  .cta-actions { justify-self: start; }
}

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

.site-footer { border-top: 1px solid var(--hairline); padding: 44px 0 56px; }
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 32px;
  justify-content: space-between; align-items: flex-start;
}
.footer-contact { display: grid; gap: 4px; font-size: 15px; }
.footer-contact a { color: var(--ink); text-underline-offset: 3px; }
.footer-legal { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 64px; align-items: start;
  padding: 64px 0 88px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; padding: 44px 0 64px; }
}

.form-card {
  border: 1px solid var(--hairline-strong);
  background: var(--white);
  border-radius: 2px;
  padding: 32px;
}
@media (max-width: 520px) { .form-card { padding: 22px; } }

.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 8px;
}
.field .req { color: var(--magenta); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin: 0; }

.form-status {
  margin-top: 20px; padding: 14px 16px;
  border-left: 3px solid var(--magenta);
  background: var(--paper);
  font-size: 15px; line-height: 1.5;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { border-left-color: var(--cyan); }
.form-status strong { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.01em; margin-bottom: 2px; }

.aside-block { margin-bottom: 34px; }
.aside-block h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 10px;
}
.aside-block p, .aside-block li { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.aside-block ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.aside-block a { color: var(--ink); text-underline-offset: 3px; }
