/* ==========================================================================
   Otticode — site stylesheet
   Palette: ink #0b0b0c · paper #f2efe6 · accent #dc4218 (ink text on orange)
   Fonts are self-hosted in /fonts (SIL Open Font License).
   ========================================================================== */

/* ── Fonts ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/bricolage-300-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/bricolage-300-800-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: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400-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: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-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: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-700-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;
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --ink:       #0b0b0c;
  --paper:     #f2efe6;
  --accent:    #dc4218;
  --muted:     #57534a;
  --rule:      #c9c3b4;

  --wrap:      1180px;
  --gutter:    32px;

  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p, ul, ol, dl, dd { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ── Utilities ──────────────────────────────────────────────────────────── */
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* the email link sits on the accent band, where the default accent ring disappears */
.contact-email:focus-visible { outline-color: var(--ink); }


/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header { border-bottom: 2px solid var(--ink); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 1px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 9px 14px; font-family: var(--font-display); font-weight: 800;
  font-size: 19px; letter-spacing: -0.02em;
}
.brand:hover { background: var(--accent); color: var(--ink); }
.site-nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; }
.site-nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* header call to action — ink on #dc4218 (4.53:1) */
.cta-solid {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 11px 18px; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-solid:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* ── Marquee ────────────────────────────────────────────────────────────── */
.marquee { background: var(--ink); color: #fff; overflow: hidden;
  border-bottom: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
/* One set is always at least one viewport wide, so no term ever appears twice on screen. */
.marquee-set {
  display: inline-flex; align-items: center; justify-content: space-around;
  min-width: 100vw; padding: 13px 0; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.marquee-set em { font-style: normal; margin: 0 12px; }
.marquee-set b { color: var(--accent); font-weight: 600; margin: 0 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  border: 2px solid var(--ink); padding: 6px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow i { display: block; width: 8px; height: 8px; background: var(--accent); }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em;
  line-height: 0.94; font-size: clamp(46px, 8.6vw, 116px);
  margin: 0 0 30px; max-width: 15ch;
}
.hero h1 .hl {
  background: var(--accent); color: #fff; padding: 0 0.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-foot {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: end; border-top: 2px solid var(--ink); padding-top: 28px;
}
.hero-foot p { font-size: 19px; max-width: 44ch; color: var(--muted); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }

.btn-ink {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 16px 26px; transition: background 0.18s ease;
}
.btn-ink:hover { background: var(--accent); color: var(--ink); }
.btn-line {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 8px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid var(--ink);
}
.btn-line:hover { color: var(--accent); border-bottom-color: var(--accent); }

.sticker {
  position: absolute; display: grid; place-items: center; text-align: center;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink);
  font-size: 12px; font-weight: 800; line-height: 1.25; letter-spacing: 0.09em;
  text-transform: uppercase; transform: rotate(9deg); right: 4%; top: 96px;
}
.sticker--alt {
  background: var(--ink); color: var(--paper); transform: rotate(-7deg);
  right: 16%; top: 210px; width: 96px; height: 96px; font-size: 11px;
}

/* ── Services ───────────────────────────────────────────────────────────── */
.band { border-top: 2px solid var(--ink); padding: 64px 0; }
.band-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
}
.band-head h2 { font-family: var(--font-display); font-weight: 800;
  letter-spacing: -0.04em; font-size: clamp(30px, 4vw, 52px); line-height: 1; }
.band-head .band-note { font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--muted); }

.svc-list { border-top: 2px solid var(--ink); }
.svc {
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: 32px;
  padding: 36px 0; border-bottom: 2px solid var(--ink); align-items: start;
}
.svc-n {
  font-family: var(--font-display); font-weight: 800; font-size: 56px;
  line-height: 0.8; letter-spacing: -0.05em; color: var(--accent);
}
.svc h3 { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; line-height: 1.1; }
.svc p { color: var(--muted); font-size: 16px; }

/* ── Work band ──────────────────────────────────────────────────────────── */
.work { background: var(--ink); color: var(--paper); padding: 72px 0; }
.work .band-head h2 { color: var(--paper); }
.work .band-head .band-note { color: #a8a29a; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #3a3a3a; }
.work-cell { padding: 32px 26px 32px 0; border-right: 1px solid #3a3a3a; }
.work-cell:last-child { border-right: 0; }
.work-cell .work-n {
  font-family: var(--font-display); font-weight: 800; font-size: 44px;
  line-height: 1; letter-spacing: -0.05em; color: var(--accent); margin-bottom: 18px;
}
.work-cell h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em;
  font-weight: 700; margin-bottom: 12px; }
.work-cell p { color: #a8a29a; font-size: 15px; }
.work-note { margin-top: 28px; color: #a8a29a; font-size: 14px; max-width: 62ch; }

/* ── Contact band (ink on orange, 4.53:1) ───────────────────────────────── */
.contact {
  background: var(--accent); color: var(--ink);
  border-top: 2px solid var(--ink); padding: 72px 0 80px;
}
.contact .wrap { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: start; }
.contact h2 { font-family: var(--font-display); font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.98;
  font-size: clamp(32px, 4.4vw, 58px); margin-bottom: 22px; }
.contact-lede p { font-size: 17px; max-width: 46ch; margin-bottom: 18px; }
.contact-email {
  display: inline-block; margin-top: 14px; padding-bottom: 3px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(20px, 2.4vw, 28px); text-decoration: none;
  border-bottom: 3px solid var(--ink);
}
.contact-email:hover { color: var(--paper); border-bottom-color: var(--paper); }

.contact-form {
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); padding: 28px; box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.25);
}
.contact-form h3 { font-family: var(--font-display); font-weight: 800;
  font-size: 20px; letter-spacing: -0.03em; margin-bottom: 4px; }
.form-hint { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; margin-bottom: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%; background: #fff; border: 2px solid var(--ink);
  padding: 10px 12px; font-size: 15px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fffdf5; box-shadow: 4px 4px 0 var(--accent);
}
.form-submit {
  width: 100%; background: var(--ink); color: #fff; border: 2px solid var(--ink);
  font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px; cursor: pointer; transition: background 0.18s ease;
}
.form-submit:hover { background: var(--accent); color: var(--ink); }
.form-legal { margin-top: 12px; font-size: 12px; text-align: center; color: var(--muted); }
.form-legal a { color: var(--ink); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 2px solid var(--ink); padding: 30px 0; }
.site-footer .wrap {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  align-items: center; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* ── Secondary pages (privacy, accessibility, 404, thank you) ───────────── */
.page { padding: 72px 0 88px; }
.page-head { max-width: 62ch; margin-bottom: 44px; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em;
  line-height: 0.96; font-size: clamp(36px, 6vw, 72px); margin-bottom: 18px;
}
.page-head p { font-size: 18px; color: var(--muted); }
.page-meta {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-top: 16px;
}
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05; font-size: clamp(24px, 3vw, 34px); margin-top: 2em;
  padding-top: 0.6em; border-top: 2px solid var(--ink);
}
.prose h3 { font-size: 19px; letter-spacing: -0.01em; margin-top: 1.8em; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 0.5em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose .back-link {
  display: inline-block; margin-top: 48px; font-weight: 700; font-size: 14px;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none;
  border-bottom: 2px solid var(--ink); padding-bottom: 4px;
}
.prose .back-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* full-height status pages */
.status-page { min-height: calc(100vh - 260px); display: grid; place-content: center;
  padding: 72px var(--gutter); }
.status-page .status-inner { max-width: 640px; }
.status-page .status-code {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.06em;
  font-size: clamp(72px, 16vw, 180px); line-height: 0.85; color: var(--accent);
  margin-bottom: 24px;
}
.status-page h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(30px, 4.5vw, 52px); line-height: 1; margin-bottom: 16px;
}
.status-page p { color: var(--muted); font-size: 18px; max-width: 46ch; margin-bottom: 28px; }
.status-note { margin-top: 28px; font-size: 15px; color: var(--muted); }
.status-note a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ── Motion preferences ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .cta-solid, .form-submit, .btn-ink { transition: none; }
  .cta-solid:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .sticker, .sticker--alt { display: none; }
}
@media (max-width: 900px) {
  .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-cell { border-right: 0; border-bottom: 1px solid #3a3a3a; padding-right: 0; }
  .work-cell:last-child { border-bottom: 0; }
}
@media (max-width: 860px) {
  :root { --gutter: 18px; }
  .site-nav { display: none; }
  .hero { padding-top: 44px; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions { justify-content: flex-start; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .svc-n { font-size: 40px; }
  .band-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .band-head .band-note { font-size: 11px; }
}
@media (max-width: 520px) {
  .site-header .wrap { padding: 14px 0; }
  .brand { font-size: 17px; padding: 8px 11px; }
  .cta-solid { font-size: 12px; padding: 9px 13px; }
  .site-footer .wrap { justify-content: flex-start; gap: 10px; }
}
