/* Ink & Thread Print Co. — styles
   Tokens: --bg (warm ink black), --paper, --ink, --accent (magenta),
   --cyan / --yellow (registration-mark motifs only) */

:root {
  --bg: #141310;
  --bg-soft: #1c1b17;
  --paper: #F4F1EA;
  --ink: #141310;
  --accent: #E5007D;
  --cyan: #00B2E3;
  --yellow: #FFC700;
  --muted: #8f8c83;
  --line: rgba(20, 19, 16, 0.16);
  --line-light: rgba(244, 241, 234, 0.18);
  --radius: 4px;
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--paper); }

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

a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 0.75rem 1.25rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line-light);
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-name {
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.06em; color: var(--paper);
}
.brand-name .amp { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; color: var(--paper);
}
.site-nav a:hover { color: var(--yellow); }
.nav-cta {
  border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 0.45rem 1rem; font-weight: 600;
}
.nav-cta:hover { background: var(--accent); color: #fff; }

/* ---------- layout ---------- */
.section-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 5.5rem max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.kicker {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em;
  color: var(--accent); margin-bottom: 1rem;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 0.95; letter-spacing: 0.01em; }
h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }

/* registration-mark motif */
.reg-mark { position: absolute; width: 44px; height: 44px; opacity: 0.9; }
.reg-mark::before, .reg-mark::after { content: ""; position: absolute; background: var(--accent); }
.reg-mark::before { left: 50%; top: 0; width: 3px; height: 100%; transform: translateX(-50%); }
.reg-mark::after { top: 50%; left: 0; height: 3px; width: 100%; transform: translateY(-50%); }
.reg-tl { top: 1.4rem; left: 1.4rem; }
.reg-tr { top: 1.4rem; right: 1.4rem; }
.reg-br { bottom: 1.4rem; right: 1.4rem; }
.reg-mark.light::before, .reg-mark.light::after { background: var(--cyan); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 4.5rem max(1.25rem, env(safe-area-inset-left)) 5.5rem;
  padding-right: max(1.25rem, env(safe-area-inset-right));
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center;
}
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.5rem); text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.15rem; max-width: 34rem; color: #d8d4c8; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.7rem; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; font-family: var(--font-body); transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c1006a; }
.btn-ghost { border-color: var(--paper); color: var(--paper); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-block { width: 100%; }

.hero-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: 0.95rem; color: #d8d4c8; }
.hero-specs li { display: flex; align-items: center; gap: 0.55rem; }
.cmyk-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.cmyk-dot.c { background: var(--cyan); }
.cmyk-dot.m { background: var(--accent); }
.cmyk-dot.y { background: var(--yellow); }

.hero-graphic { display: flex; justify-content: center; }
.hero-tee { width: min(420px, 100%); height: auto; }

.halftone-band {
  height: 64px;
  background-image: radial-gradient(circle, var(--paper) 2.6px, transparent 2.8px);
  background-size: 22px 22px; background-position: center;
  opacity: 0.14;
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}

/* ---------- services (paper band) ---------- */
.services { background: var(--paper); color: var(--ink); position: relative; }
.services .kicker { color: var(--accent); }
.service-list { list-style: none; margin-top: 3rem; border-top: 3px solid var(--ink); }
.service-list li {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 1.75rem; align-items: baseline;
  padding: 2.2rem 0.5rem; border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.service-list li:hover { background: #ece7d9; padding-left: 1rem; }
.service-num { font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.service-body h3 { font-size: 1.9rem; text-transform: uppercase; margin-bottom: 0.4rem; }
.service-body p { max-width: 44rem; color: #3d3b35; }
.service-tag {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 0.35rem 0.8rem; white-space: nowrap;
}

/* ---------- process (ink band) ---------- */
.process { background: var(--bg); position: relative; border-top: 4px solid var(--accent); }
.process-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
.process-lede { color: #d8d4c8; max-width: 26rem; margin-bottom: 2.5rem; }
.progress-rail {
  width: 6px; height: 220px; background: var(--bg-soft); border-radius: 3px; position: relative; overflow: hidden;
}
.progress-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: var(--yellow); border-radius: 3px;
}
.process-steps { list-style: none; display: grid; gap: 2.5rem; }
.step { position: relative; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 2rem 2rem 2rem 5.5rem; background: var(--bg-soft); }
.step-num { position: absolute; left: 1.6rem; top: 1.4rem; font-family: var(--font-display); font-size: 2.4rem; color: var(--muted); }
.step h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.step p { color: #d8d4c8; font-size: 1.02rem; }
.step-ink { position: absolute; right: 0; top: 0; bottom: 0; width: 8px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- work ---------- */
.work { background: var(--bg-soft); position: relative; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.work-note { max-width: 24rem; color: var(--muted); font-size: 0.98rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card {
  background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 1.75rem; text-align: center; transition: transform 0.2s ease, border-color 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.work-card svg { margin: 0 auto 1rem; max-height: 220px; }
.work-card figcaption { font-size: 0.95rem; color: #d8d4c8; letter-spacing: 0.04em; }

/* ---------- quote ---------- */
.quote { background: var(--paper); color: var(--ink); position: relative; border-top: 4px solid var(--yellow); }
.quote-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
.quote-lede { color: #3d3b35; max-width: 26rem; margin-bottom: 2rem; }
.quote-facts { display: grid; gap: 1.25rem; }
.quote-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; }
.quote-facts dt { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.quote-facts dd { color: #3d3b35; }

.quote-form {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 2.25rem; box-shadow: 8px 8px 0 var(--ink);
}
.quote-form h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: 1.5rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.7rem 0.85rem;
  border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--cyan); outline-offset: 1px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note {
  margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius);
  background: #eef7ee; border: 2px solid #2e7d32; color: #1b4d1f; font-size: 0.98rem;
}

/* ---------- footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line-light); }
.footer-inner { padding-top: 3.5rem; padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); }
.footer-brand .brand-name { font-size: 1.6rem; }
.footer-brand p { color: var(--muted); margin: 0.5rem 0 1.5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin-bottom: 1.5rem; }
.footer-nav a { text-decoration: none; font-size: 0.95rem; color: #d8d4c8; }
.footer-nav a:hover { color: var(--yellow); }
.footer-contact { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.footer-disclaimer {
  border: 1px dashed var(--line-light); border-radius: var(--radius);
  padding: 1rem 1.15rem; color: #d8d4c8; font-size: 0.92rem; margin-bottom: 1rem; max-width: 60rem;
}
.footer-copy { color: var(--muted); font-size: 0.85rem; }

/* ---------- squeegee wipe (JS-added; content visible without JS) ---------- */
.squeegee {
  position: absolute; top: 0; bottom: 0; left: 0; width: 34%;
  background: var(--yellow); z-index: 5; pointer-events: none;
  transform: translateX(-120%);
}
section[data-wipe] { position: relative; overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-graphic { order: -1; }
  .hero-tee { width: min(320px, 90%); }
  .process-grid, .quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .progress-rail { display: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list li { grid-template-columns: 64px 1fr; }
  .service-tag { display: none; }
}
@media (max-width: 560px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .quote-form { padding: 1.5rem; box-shadow: 5px 5px 0 var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
