/* Print It Here USA: design system. Charcoal / warm ivory / coral / electric blue, with CMYK accents.
   Self-hosted OFL fonts. No external resources. CSP: style-src 'self' (no inline styles anywhere). */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --ink: #16171b; --graphite: #24262d; --graphite-2: #31343d; --slate: #4b4f5a; --mute: #5d6170;
  --ivory: #f7f2e8; --ivory-2: #efe7d7; --paper: #fffdf8; --line: #e2d9c7; --line-dark: #3a3d47;
  --coral: #ff5f45; --coral-ink: #b3341d; --coral-soft: #ffe2d9;
  --blue: #1f45ff; --blue-ink: #1a38d6; --blue-soft: #dfe5ff; --blue-light: #8fa3ff;
  --c: #00a6e3; --m: #e4007f; --y: #ffd800; --k: #16171b;
  --display: "Bricolage", "Instrument", system-ui, sans-serif;
  --sans: "Instrument", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1240px; --gut: clamp(1rem, 4vw, 2.5rem); --r: 18px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(22,23,27,.06), 0 12px 32px -12px rgba(22,23,27,.22);
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--coral-ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--y); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 6vw, 4.6rem); font-weight: 750; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gut), 780px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--y); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.dark .eyebrow, .eyebrow.on-dark { color: var(--coral); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--slate); max-width: 46rem; }
.dark .lede { color: #c9cbd3; }
.serif-em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.c-coral { color: var(--coral-ink); } .dark .c-coral { color: var(--coral); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.35rem; border-radius: 999px; font: 650 1rem/1.1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: 0 8px 22px -10px rgba(255,95,69,.9); }
.btn-coral:hover { background: #ff7a63; color: var(--ink); transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-ink); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.dark .btn-ghost, .hero .btn-ghost, .phero:not(.light) .btn-ghost { color: var(--ivory); }
.dark .btn-ghost:hover, .hero .btn-ghost:hover, .phero:not(.light) .btn-ghost:hover { background: var(--ivory); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* utility bar + header */
.util { background: var(--ink); color: #d4d6dd; font-size: .85rem; }
.util .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; align-items: center; }
.util a { color: #fff; text-decoration: none; font-weight: 600; }
.util a:hover { color: var(--coral); }
.util .cmyk { display: inline-flex; gap: 4px; margin-right: .6rem; vertical-align: middle; }
.util .cmyk i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.cmyk .k1 { background: var(--c); } .cmyk .k2 { background: var(--m); } .cmyk .k3 { background: var(--y); } .cmyk .k4 { background: #fff; }
.util-hide { display: none; }
@media (min-width: 760px) { .util-hide { display: inline; } }
@media (max-width: 519px) { .util .wrap > span:first-child { font-size: 0; } .util a { white-space: nowrap; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,242,232,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.wordmark svg { width: 38px; height: 38px; }
.wm-text { font: 800 1.32rem/1 var(--display); letter-spacing: -.045em; display: inline-flex; align-items: baseline; gap: .22em; white-space: nowrap; }
.wm-text em { font: italic 600 1.22em/1 var(--serif); color: var(--coral-ink); letter-spacing: -.02em; }
.wm-usa { font: 700 .62rem/1 var(--sans); letter-spacing: .2em; background: var(--blue); color: #fff; padding: .32rem .4rem .3rem .55rem; border-radius: 5px; align-self: center; margin-left: .15rem; }
.site-footer .wordmark { color: #fff; } .site-footer .wm-text em { color: var(--coral); }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; align-items: center; }
.nav a, .nav .nav-btn { color: var(--ink); text-decoration: none; font: 600 .95rem/1 var(--sans); padding: .7rem .7rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav .nav-btn:hover, .nav a[aria-current="page"] { color: var(--blue-ink); background: rgba(31,69,255,.07); }
.nav .has-menu { position: relative; }
.nav-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -1rem; width: min(760px, 90vw); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.2rem; display: none; grid-template-columns: 1fr 1fr 1fr; gap: .2rem 1rem; }
.mega.open { display: grid; }
.mega a { display: block; padding: .6rem .7rem; font-weight: 600; line-height: 1.3; }
.mega a small { display: block; font-weight: 400; color: var(--mute); font-size: .8rem; margin-top: .2rem; }
.mega .mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .9rem; color: var(--blue-ink); }
.nav-cta { margin-left: .6rem; }
.nav a.nav-cta { background: var(--coral); color: var(--ink); padding: .8rem 1.2rem; border-radius: 999px; justify-content: center; }
.nav a.nav-cta:hover { background: #ff7a63; color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; background: var(--ink); color: var(--ivory); border: 0; border-radius: 999px; padding: .6rem 1rem; font: 650 .9rem/1 var(--sans); align-items: center; gap: .5rem; cursor: pointer; }
.nav-toggle span.bars { width: 16px; height: 10px; display: block; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: fixed; inset: 0; top: 0; background: var(--ivory); z-index: 60; flex-direction: column; align-items: stretch; padding: 1rem var(--gut) 2rem; overflow-y: auto; height: 100dvh; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav .nav-btn { font-size: 1.15rem; padding: 1rem .2rem; width: 100%; justify-content: space-between; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 1rem; grid-template-columns: 1fr; background: transparent; }
  .mega a { font-size: 1rem; padding: .5rem .2rem; }
  .nav-cta { margin: 1.2rem 0 0; justify-content: center; }
  .nav-close { display: inline-flex !important; align-self: flex-end; }
}
.nav-close { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: .5rem .9rem; font: 650 .9rem/1 var(--sans); cursor: pointer; color: var(--ink); margin-bottom: .5rem; }

/* sections */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section.tight { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.dark { background: var(--ink); color: var(--ivory); }
.dark a:not(.btn) { color: var(--blue-light); }
.dark a:not(.btn):hover { color: var(--coral); }
.graphite { background: var(--graphite); color: var(--ivory); }
.paper { background: var(--paper); }
.ivory2 { background: var(--ivory-2); }
.sec-head { display: grid; gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .sec-head.split { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.sec-head p { color: var(--slate); margin: 0; font-size: 1.1rem; }
.dark .sec-head p, .graphite .sec-head p { color: #c3c6cf; }

/* CMYK registration bar */
.cmyk-bar { display: grid; grid-template-columns: repeat(8, 1fr); height: 10px; }
.cmyk-bar i:nth-child(1) { background: var(--c); } .cmyk-bar i:nth-child(2) { background: var(--m); }
.cmyk-bar i:nth-child(3) { background: var(--y); } .cmyk-bar i:nth-child(4) { background: var(--k); }
.cmyk-bar i:nth-child(5) { background: var(--coral); } .cmyk-bar i:nth-child(6) { background: var(--blue); }
.cmyk-bar i:nth-child(7) { background: #8d93a3; } .cmyk-bar i:nth-child(8) { background: var(--ivory-2); }

/* crop-mark frames */
.crop { position: relative; }
.crop::before, .crop::after { content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 2; }
.crop::before { top: -11px; left: -11px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.crop::after { bottom: -11px; right: -11px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; }
.ph { border-radius: var(--r); overflow: hidden; background: var(--ivory-2); }
.ph picture { width: 100%; height: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* HOME HERO */
.hero { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 15%, rgba(31,69,255,.35), transparent 40%),
  radial-gradient(circle at 10% 90%, rgba(255,95,69,.22), transparent 45%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 2.5rem; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.hero h1 { color: #fff; }
.hero h1 .serif-em { color: var(--coral); font-weight: 400; }
.hero h1 .u { background: linear-gradient(transparent 78%, rgba(31,69,255,.85) 78%, rgba(31,69,255,.85) 92%, transparent 92%); }
.hero .lede { color: #cfd1d8; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; font-size: .92rem; color: #b8bbc5; }
.hero-meta span { display: inline-flex; gap: .5rem; align-items: center; }
.hero-meta span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--y); }
.hero-meta span:nth-child(2)::before { background: var(--c); } .hero-meta span:nth-child(3)::before { background: var(--m); }
.collage { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, minmax(40px, 1fr)); gap: 14px; aspect-ratio: 1 / 1; color: #8f93a0; }
.collage .ph { box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.collage .c1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.collage .c2 { grid-column: 5 / 7; grid-row: 2 / 5; }
.collage .c3 { grid-column: 2 / 7; grid-row: 5 / 7; }
.collage .tag { position: absolute; z-index: 3; left: 0; bottom: 18%; background: var(--paper); color: var(--ink); border-radius: 12px; padding: .8rem 1rem; font-size: .82rem; line-height: 1.3; box-shadow: var(--shadow); max-width: 220px; }
.collage .tag b { display: block; font: 700 1rem/1.2 var(--display); }
.reg { position: absolute; width: 56px; height: 56px; color: #6b707d; z-index: 3; }
.reg.r1 { top: -8px; right: -4px; } .reg.r2 { top: -14px; left: -14px; display: none; }
@media (min-width: 980px) { .reg.r2 { display: block; } }
.ticker { border-top: 1px solid var(--line-dark); position: relative; }
.ticker ul { display: flex; flex-wrap: wrap; gap: .4rem 2rem; list-style: none; margin: 0; padding: 1.2rem 0; font: 600 .95rem/1.2 var(--display); color: #cfd1d8; justify-content: space-between; }
.ticker li { display: inline-flex; gap: .7rem; align-items: center; }
.ticker li::before { content: "✦"; color: var(--coral); font-size: .75rem; }

/* bento services */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .b-l { grid-column: span 3; grid-row: span 2; } .bento .b-m { grid-column: span 3; } .bento .b-s { grid-column: span 2; } }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d2c7b0; }
.card .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.card .ph img { transition: transform .8s var(--ease); }
.card:hover .ph img { transform: scale(1.045); }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-body p { color: var(--slate); margin: 0; font-size: .98rem; }
.card .kicker { font: 650 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: .5rem; }
.card .kicker i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-c { background: var(--c); } .dot-m { background: var(--m); } .dot-y { background: var(--y); } .dot-k { background: var(--k); } .dot-coral { background: var(--coral); } .dot-blue { background: var(--blue); }
.b-l .ph { aspect-ratio: auto; flex: 1; min-height: 260px; }
.b-l .card-body { background: var(--ink); color: var(--ivory); }
.b-l .card-body p { color: #c3c6cf; } .b-l .kicker { color: #b3b6c0; }
.card .more { margin-top: auto; padding-top: .6rem; font-weight: 650; color: var(--blue-ink); font-size: .95rem; }
.b-l .more { color: var(--coral); }

/* product strip / gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery .g-tall { grid-row: span 2; } }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--graphite); min-height: 180px; }
.gallery figure .ph { height: 100%; border-radius: 0; }
.gallery figure a { position: absolute; inset: 0; z-index: 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(transparent, rgba(22,23,27,.88)); color: #fff; font: 650 1.05rem/1.2 var(--display); }
.gallery figcaption small { display: block; font: 400 .82rem/1.3 var(--sans); color: #d6d8de; margin-top: .25rem; }
.gallery figure img { transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* use-cases / feature lists */
.uses { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.use { border-top: 3px solid var(--ink); padding: 1.2rem 0 .4rem; }
.use:nth-child(4n+1) { border-color: var(--c); } .use:nth-child(4n+2) { border-color: var(--m); } .use:nth-child(4n+3) { border-color: var(--y); } .use:nth-child(4n+4) { border-color: var(--coral); }
.use h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.use p { color: var(--slate); font-size: .98rem; margin: 0; }
.dark .use p, .graphite .use p { color: #c3c6cf; }
.dark .use:nth-child(4n+4) { border-color: var(--coral); }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--graphite); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 1.6rem 1.4rem 1.5rem; position: relative; overflow: hidden; }
.steps li::before { content: "0" counter(s); font: 800 3.2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--coral); display: block; margin-bottom: 1rem; letter-spacing: -.04em; }
.steps li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.steps li:nth-child(1)::after { background: var(--c); } .steps li:nth-child(2)::after { background: var(--m); } .steps li:nth-child(3)::after { background: var(--y); } .steps li:nth-child(4)::after { background: var(--blue-light); }
.steps h3 { color: #fff; font-size: 1.2rem; }
.steps p { color: #c3c6cf; font-size: .96rem; margin: 0; }
.steps.light li { background: var(--paper); border-color: var(--line); }
.steps.light h3 { color: var(--ink); } .steps.light p { color: var(--slate); }
@media (min-width: 800px) { .steps.five { grid-template-columns: repeat(5, 1fr); } }

/* swatches (materials and finishes) */
.swatches { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.swatch { background: var(--paper); border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
.swatch .chip { height: 92px; position: relative; }
.swatch .txt { padding: .8rem .9rem 1rem; }
.swatch b { display: block; font: 700 1rem/1.2 var(--display); }
.swatch span { font-size: .84rem; color: var(--mute); line-height: 1.35; display: block; margin-top: .25rem; }
.chip.uncoated { background: repeating-linear-gradient(45deg, #f3ecdd 0 3px, #efe6d4 3px 6px); }
.chip.matte { background: linear-gradient(135deg, #e9e4dc, #d9d3ca); }
.chip.gloss { background: linear-gradient(120deg, #2a2d36 0%, #4b5060 38%, #f0f2f7 46%, #4b5060 54%, #20232b 100%); }
.chip.soft { background: radial-gradient(circle at 30% 30%, #8a7d74, #5b514b); }
.chip.foil { background: linear-gradient(115deg, #b98a2e, #f7e39a 35%, #c9952f 55%, #fff0b8 70%, #a87a22); }
.chip.kraft { background: repeating-linear-gradient(80deg, #b88a5a 0 2px, #c19566 2px 5px); }
.chip.color { background: linear-gradient(90deg, var(--c) 0 25%, var(--m) 25% 50%, var(--y) 50% 75%, var(--k) 75%); }
.chip.ncr { background: linear-gradient(180deg, #fff 0 33%, #ffe9a8 33% 66%, #ffc7d6 66%); }
.chip.spot { background: var(--blue); }
.chip.emboss { background: #ece6da; }
.chip.emboss::after { content: "Aa"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 2.4rem/1 var(--display); color: #ece6da; text-shadow: -1px -1px 0 #fff, 1px 1px 1px #bdb4a2, 2px 2px 3px rgba(0,0,0,.12); }

/* PAGE HERO (inner pages) */
.phero { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.phero .wrap { position: relative; display: grid; gap: 2rem; padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 960px) { .phero.with-img .wrap { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.phero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.9rem); }
.phero .lede { color: #cfd1d8; }
.phero .ph { aspect-ratio: 4 / 3; color: #7d8190; }
.phero .accent { position: absolute; right: 0; top: 0; width: 38%; height: 6px; }
.phero.light { background: var(--ivory-2); color: var(--ink); }
.phero.light h1 { color: var(--ink); } .phero.light .lede { color: var(--slate); }
.acc-c .accent { background: var(--c); } .acc-m .accent { background: var(--m); } .acc-y .accent { background: var(--y); }
.acc-coral .accent { background: var(--coral); } .acc-blue .accent { background: var(--blue); }
.acc-c h1 .serif-em { color: #5ccdf5; } .acc-m h1 .serif-em { color: #ff6fb7; } .acc-y h1 .serif-em { color: var(--y); }
.acc-coral h1 .serif-em { color: var(--coral); } .acc-blue h1 .serif-em { color: var(--blue-light); }
.crumbs { font-size: .85rem; color: #b3b6c0; margin-bottom: 1.4rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li + li::before { content: "/"; margin: 0 .45rem 0 .2rem; opacity: .6; }
.crumbs a { color: #e1e3e8; text-decoration: none; }
.crumbs a:hover { color: var(--coral); text-decoration: underline; }
.phero.light .crumbs, .phero.light .crumbs a, .j-hero .crumbs, .j-hero .crumbs a { color: var(--slate); }

/* content layout */
.layout { display: grid; gap: 3rem; }
.layout > *, .split > *, .form-shell > *, .hero-grid > *, .phero .wrap > * { min-width: 0; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 4.5rem; } }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--coral-ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; background: var(--paper); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--ink); color: var(--ivory); font-weight: 650; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.table-wrap table { margin: 0; min-width: 520px; }
.note { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 12px; padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.note.coral { border-left-color: var(--coral); }
.note.yellow { border-left-color: var(--y); }
.note p:last-child { margin: 0; }
.note strong:first-child { display: block; font-family: var(--display); margin-bottom: .2rem; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; position: sticky; top: 100px; }
.aside-card h2 { font-size: 1.25rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.aside-card li { padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.aside-card li:last-child { border: 0; }
.aside-stack { display: grid; gap: 1.2rem; align-content: start; }
.aside-stack .aside-card { position: static; }
@media (min-width: 1000px) { .aside-stack { position: sticky; top: 100px; } }
.aside-dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.aside-dark p { color: #c9cbd3; font-size: .95rem; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 1fr; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 650 .75rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.spec dd { margin: .25rem 0 0; font-size: .97rem; }

figure.fig { margin: 2rem 0; }
figure.fig .ph { aspect-ratio: 16 / 9; }
figure.fig figcaption, .diagram figcaption { font-size: .86rem; color: var(--mute); margin-top: .6rem; }
.diagram { margin: 2rem 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1rem, 3vw, 1.8rem); }
.diagram svg { width: 100%; height: auto; }

/* split blocks */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .split.rev > :first-child { order: 2; } }
.split .ph { aspect-ratio: 4 / 3.2; }
.check { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.check li { padding-left: 2rem; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 75% no-repeat; }
.dark .check li::before { background-color: var(--coral); }

/* FAQ */
.faq { display: grid; gap: .7rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.3rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.2rem 1.15rem 0; font: 650 1.08rem/1.35 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--ivory-2); display: grid; place-items: center; font: 500 1.2rem/1 var(--sans); transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--coral); }
.faq .ans { padding: 0 0 1.2rem; color: var(--slate); }
.faq .ans p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: var(--coral); color: var(--ink); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; gap: 1.5rem; padding: clamp(3rem, 7vw, 5rem) 0; position: relative; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 0; }
.cta-band p { margin: 0 0 1.2rem; font-size: 1.1rem; max-width: 34rem; }
.cta-band .btn-ink { background: var(--ink); color: #fff; }
.cta-band .btn-ink:hover { background: var(--blue); color: #fff; }
.cta-band .wrap { z-index: 1; }
.cta-band .ring { position: absolute; right: -140px; top: -140px; width: 340px; height: 340px; color: rgba(22,23,27,.16); }
.cta-band .ghost { border-color: var(--ink); color: var(--ink); }

/* journal */
.j-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.j-mast { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; padding: clamp(2rem, 5vw, 3.5rem) 0 1.2rem; border-bottom: 3px double var(--ink); }
.j-mast h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; font-size: clamp(2.6rem, 7vw, 5.4rem); margin: 0; line-height: .95; }
.j-mast h1 em { color: var(--coral-ink); }
.j-mast p { margin: 0; max-width: 26rem; color: var(--slate); font-size: 1rem; }
.j-cats { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 0 1.4rem; list-style: none; margin: 0; }
.j-cats a { display: inline-block; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; background: var(--ivory); }
.j-cats a:hover, .j-cats a[aria-current="page"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.j-feature { display: grid; gap: 2rem; padding: 2.5rem 0 3rem; }
@media (min-width: 960px) { .j-feature { grid-template-columns: 1.35fr 1fr; gap: 3rem; } }
.j-lead { position: relative; }
.j-lead .ph { aspect-ratio: 16 / 10; }
.j-lead h2 { font-family: var(--serif); font-weight: 550; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.02em; margin: 1.2rem 0 .6rem; }
.j-lead h2 a, .j-list h3 a, .acard h3 a { color: var(--ink); text-decoration: none; }
.j-lead h2 a:hover, .j-list h3 a:hover, .acard h3 a:hover { color: var(--blue-ink); }
.j-list { display: grid; gap: 0; align-content: start; }
.j-list article { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.j-list article:first-child { padding-top: 0; }
.j-list .ph { aspect-ratio: 1; border-radius: 10px; }
.j-list h3 { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; margin: .3rem 0 0; line-height: 1.25; letter-spacing: -.01em; }
.meta { font-size: .8rem; color: var(--mute); display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; }
.meta .cat { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); font-size: .72rem; }
.acards { display: grid; gap: 1.6rem 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.acard { position: relative; display: flex; flex-direction: column; gap: .5rem; }
.acard .ph { aspect-ratio: 3 / 2; margin-bottom: .5rem; }
.acard .ph img { transition: transform .8s var(--ease); }
.acard:hover .ph img { transform: scale(1.04); }
.acard h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.22; margin: 0; letter-spacing: -.01em; }
.acard p { color: var(--slate); font-size: .95rem; margin: 0; }
.acard h3 a::after { content: ""; position: absolute; inset: 0; }
.cat-block { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.cat-block > header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.cat-block h2 { font-family: var(--serif); font-weight: 550; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }

/* article */
.a-head { background: var(--paper); padding: clamp(2rem, 5vw, 3.5rem) 0 0; }
.a-head .crumbs, .a-head .crumbs a { color: var(--slate); }
.a-head h1 { font-family: var(--serif); font-weight: 560; font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -.028em; line-height: 1.05; max-width: 18ch; }
.a-head .dek { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--slate); max-width: 44rem; }
.a-head .meta { font-size: .88rem; margin: 1.4rem 0 2rem; }
.a-cover .ph { aspect-ratio: 21 / 9; border-radius: var(--r); }
.a-cover figcaption { font-size: .82rem; color: var(--mute); margin-top: .5rem; }
.article { font-family: var(--serif); font-size: 1.2rem; line-height: 1.7; }
.article h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.6rem; }
.article h3 { font-family: var(--display); font-size: 1.25rem; margin-top: 2rem; }
.article .note, .article table, .article .diagram, .article figure { font-family: var(--sans); font-size: 1rem; }
.article > p:first-of-type::first-letter { font-size: 3.6em; float: left; line-height: .82; margin: .08em .1em 0 0; font-weight: 600; color: var(--coral-ink); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; font-size: .95rem; }
.toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .7rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: .4rem; }
.byline { display: flex; gap: .9rem; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.2rem 0; margin: 2.5rem 0; font-family: var(--sans); font-size: .95rem; }
.byline svg { width: 44px; height: 44px; flex-shrink: 0; }
.edu-note { font-family: var(--sans); font-size: .95rem; }

/* forms */
.form-shell { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .form-shell { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4rem; } }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.3rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label, .field .lbl { font-weight: 650; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--mute); font-size: .85rem; }
.field .hint { font-size: .85rem; color: var(--mute); margin: 0; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1.5px solid #c9bfab; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(31,69,255,.25); outline-offset: 0; }
.field input[type="file"] { padding: .7rem; background: var(--ivory); border-style: dashed; }
.field .err { color: #a3200d; font-size: .88rem; font-weight: 600; margin: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; margin-bottom: 1rem; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.error { background: #fde4df; color: #7d1a0b; border: 1px solid #f3b4a7; }
.form-status.ok { background: #e1f3e6; color: #14532d; border: 1px solid #a7d7b5; }
.form .submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .5rem; }
.form .small { font-size: .85rem; color: var(--mute); margin: 0; }

/* contact cards */
.contact-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ccard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; }
.ccard h2, .ccard h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); font-family: var(--sans); margin-bottom: .6rem; }
.ccard p { margin: 0; font-size: 1.08rem; font-weight: 600; }
.ccard p small { display: block; font-weight: 400; font-size: .88rem; color: var(--mute); margin-top: .4rem; }

/* index lists (services hub, legal list) */
.svc-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.svc-row { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: .8rem; align-items: center; transition: border-color .2s, transform .25s var(--ease); }
.svc-row:hover { border-color: var(--ink); transform: translateY(-2px); }
.svc-row .ph { aspect-ratio: 1; border-radius: 12px; }
.svc-row h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.svc-row h3 a { color: var(--ink); text-decoration: none; }
.svc-row h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-row p { margin: 0; font-size: .9rem; color: var(--slate); }
.pill-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.pill-list li { background: var(--ivory-2); border-radius: 999px; padding: .4rem .85rem; font-size: .88rem; font-weight: 600; }
.dark .pill-list li { background: var(--graphite-2); color: var(--ivory); }
.related { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* stat-free "principles" strip */
.principles { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
@media (min-width: 800px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles div { padding: 1.6rem 1.4rem 1.6rem 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 800px) { .principles div { border-bottom: 0; border-right: 1px solid var(--line-dark); padding-left: 1.4rem; } .principles div:first-child { padding-left: 0; } .principles div:last-child { border-right: 0; } }
.principles b { display: block; font: 700 1.2rem/1.2 var(--display); color: #fff; margin-bottom: .4rem; }
.principles span { color: #c3c6cf; font-size: .95rem; }

/* footer */
.site-footer { background: var(--ink); color: #c9cbd3; font-size: .95rem; }
.site-footer .top { display: grid; gap: 2.5rem; padding: 4rem 0 3rem; }
@media (min-width: 900px) { .site-footer .top { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.site-footer h2 { font: 650 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #d9dbe1; text-decoration: none; }
.site-footer a:hover { color: var(--coral); text-decoration: underline; }
.site-footer address { font-style: normal; margin-top: 1.2rem; line-height: 1.7; }
.site-footer .bottom { border-top: 1px solid var(--line-dark); padding: 1.4rem 0 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .84rem; color: #a9adb8; }
.site-footer .bottom p { margin: 0; max-width: 58rem; }

/* misc */
.center { text-align: center; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt2 { margin-top: 2rem; }
.kbd-list { columns: 2 220px; column-gap: 2rem; }
.badge { display: inline-block; font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .35rem .55rem; border-radius: 6px; background: var(--blue-soft); color: var(--blue-ink); }
.legal-meta { font-size: .9rem; color: var(--mute); }
.big-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; letter-spacing: -.015em; max-width: 30ch; }
.err-page { min-height: 60vh; display: grid; align-items: center; }
.notfound-num { font: 800 clamp(6rem, 20vw, 12rem)/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--coral); }

/* diagrams (inline SVG; classes so they follow the palette) */
.dg-ink { fill: var(--ink); } .dg-paper { fill: #fff; } .dg-ivory { fill: var(--ivory-2); } .dg-line { stroke: var(--ink); fill: none; }
.dg-c { fill: var(--c); } .dg-m { fill: var(--m); } .dg-y { fill: var(--y); } .dg-k { fill: var(--k); }
.dg-coral { fill: var(--coral); } .dg-blue { fill: var(--blue); } .dg-mute { fill: #8d93a3; } .dg-soft { fill: var(--blue-soft); }
.dg-s-coral { stroke: var(--coral); fill: none; } .dg-s-blue { stroke: var(--blue); fill: none; } .dg-s-mute { stroke: #8d93a3; fill: none; }
.dg-txt { fill: var(--ink); font: 600 13px var(--sans); } .dg-sm { fill: var(--slate); font: 400 11.5px var(--sans); }
.dg-h { fill: var(--ink); font: 700 15px var(--display); } .dg-w { fill: #fff; font: 650 13px var(--sans); }
.dg-dash { stroke-dasharray: 6 5; }
.dg-r { fill: #ff2d55; } .dg-g { fill: #2bd46b; } .dg-b { fill: #2d6bff; }
.mix-screen { mix-blend-mode: screen; } .mix-multiply { mix-blend-mode: multiply; }

/* reveal motion (only when JS adds .js and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .util, .site-header, .site-footer, .cta-band, .btn { display: none !important; }
  body { background: #fff; }
}

/* small phones: keep the header on one line */
@media (max-width: 420px) {
  .site-header .wrap { gap: .6rem; min-height: 64px; }
  .wordmark { gap: .45rem; }
  .wordmark svg { width: 30px; height: 30px; }
  .wm-text { font-size: 1.08rem; }
  .wm-usa { font-size: .55rem; padding: .28rem .32rem .26rem .45rem; }
  .nav-toggle { padding: .55rem .8rem; }
}

.sec-head .eyebrow { color: var(--coral-ink); margin: 0 0 1.1rem; font-size: .78rem; }
.dark .sec-head .eyebrow, .graphite .sec-head .eyebrow { color: var(--coral); }
.b-l .card-body { flex: 0 0 auto; }
@media (min-width: 900px) { .uses.three { grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; } }
.a-cover { margin: 0; }
