/* Superchrome — site stylesheet
   Concept: a proofing table. Neutral viewing-booth grey, white sheets,
   trim marks and a colour control strip as the one decorative device. */

@font-face {
  font-family: "Heros Cn Web";
  src: url("../fonts/heros-cn-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --booth: #e6e8eb;      /* viewing-booth grey: page background */
  --sheet: #ffffff;      /* paper */
  --ink: #14161a;        /* key black */
  --ink-soft: #474c54;   /* secondary text */
  --rule: #c5c9cf;       /* hairlines on grey */
  --rule-sheet: #dfe2e6; /* hairlines on white */
  --blue: #0b6bbd;       /* links, brand */
  --cyan: #00a3e0;
  --magenta: #d6006f;
  --yellow: #ffd900;
  --display: "Heros Cn Web", "Helvetica Neue Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --text: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--booth);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: 26px; line-height: 1.08; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--sheet); border-bottom: 1px solid var(--rule-sheet); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font: 700 29px/1 var(--display); letter-spacing: 0; }
.brand svg { width: 38px; height: 38px; flex: none; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: 16px; padding: 8px 0; display: block; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.tel { font: 700 22px/1 var(--display); color: var(--ink); text-decoration: none; white-space: nowrap; border: 2px solid var(--ink); padding: 9px 14px 8px; }
.tel:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font: 700 21px/1 var(--display); text-decoration: none; padding: 16px 24px 15px; border: 2px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--magenta); border-color: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- The proof sheet (hero device) ---------- */
.proof { padding: 54px 0 64px; }
.sheet { position: relative; background: var(--sheet); padding: clamp(24px, 5vw, 64px); }
.crop { position: absolute; width: 26px; height: 26px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { height: 1px; width: 18px; }
.crop::after { width: 1px; height: 18px; }
.crop.tl { left: -26px; top: -26px; }   .crop.tl::before { left: 0; bottom: 0; }      .crop.tl::after { right: 0; top: 0; }
.crop.tr { right: -26px; top: -26px; }  .crop.tr::before { right: 0; bottom: 0; }     .crop.tr::after { left: 0; top: 0; }
.crop.bl { left: -26px; bottom: -26px; }.crop.bl::before { left: 0; top: 0; }         .crop.bl::after { right: 0; bottom: 0; }
.crop.br { right: -26px; bottom: -26px; }.crop.br::before { right: 0; top: 0; }       .crop.br::after { left: 0; bottom: 0; }
.strip { position: absolute; left: 44px; bottom: -31px; display: flex; height: 14px; }
.strip i { width: 22px; height: 14px; display: block; }
.strip-note { position: absolute; right: 0; bottom: -31px; font-size: 12px; line-height: 16px; color: var(--ink-soft); }

.hero h1 { font-size: clamp(50px, 7.9vw, 114px); line-height: 0.9; letter-spacing: -0.012em; margin: -0.04em 0 0.42em; }
.hero h1 br { display: none; }
@media (min-width: 600px) { .hero h1 br { display: inline; } }
.hero-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero .lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.42; margin-bottom: 1.3em; max-width: 30em; }
.hero figure { margin: 0; }
.hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: 14px; color: var(--ink-soft); padding-top: 8px; }
.hero .facts { list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--ink-soft); border-top: 1px solid var(--rule-sheet); }
.hero .facts li { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--rule-sheet); }
.hero .facts strong { color: var(--ink); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section.on-sheet { background: var(--sheet); }
.section.on-ink { background: var(--ink); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { margin: 0; max-width: 34em; color: var(--ink-soft); }

/* services index */
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
.svc li { margin: 0; border-top: 2px solid var(--ink); }
.svc a { display: block; padding: 16px 0 26px; text-decoration: none; color: var(--ink); height: 100%; }
.svc b { display: block; font: 700 27px/1.05 var(--display); margin-bottom: 7px; }
.svc span { display: block; font-size: 15.5px; line-height: 1.45; color: var(--ink-soft); }
.svc a:hover b { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.svc .ask { grid-column: span 2; }
.svc .ask a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.svc .ask b { color: var(--magenta); margin: 0; }

/* work grid */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; margin: 0; padding: 0; list-style: none; }
.work li { margin: 0; }
.work a { text-decoration: none; color: var(--ink); display: block; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--booth); }
.work b { display: block; font: 700 25px/1.08 var(--display); margin: 13px 0 4px; }
.work span { font-size: 15.5px; color: var(--ink-soft); line-height: 1.45; display: block; }
.work a:hover b { color: var(--blue); }

/* client roll */
.roll { font: 700 clamp(26px, 3.6vw, 46px)/1.14 var(--display); max-width: 24em; margin: 0 0 clamp(32px, 4vw, 56px); }
.roll small { display: block; font: 400 16px/1.5 var(--text); color: var(--ink-soft); margin-bottom: 14px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
blockquote { margin: 0; padding: 20px 0 0; border-top: 2px solid var(--ink); }
blockquote p { font-size: 18px; line-height: 1.5; }
blockquote footer { font-size: 15px; color: var(--ink-soft); }
blockquote footer b { color: var(--ink); }

/* steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0; margin: 0; }
.steps li { counter-increment: s; margin: 0; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(s); font: 700 44px/1 var(--display); color: var(--blue); display: block; margin-bottom: 10px; }
.steps b { font: 700 24px/1.08 var(--display); display: block; margin-bottom: 6px; }
.steps span { font-size: 15.5px; color: var(--ink-soft); line-height: 1.45; display: block; }

/* contact band */
.cta-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px 64px; align-items: start; }
.on-ink h2 { font-size: clamp(40px, 6vw, 84px); line-height: 0.92; margin-bottom: 0.3em; }
.on-ink a { color: #fff; }
.on-ink p { color: #c9ced6; max-width: 32em; }
.on-ink .big-tel { font: 700 clamp(38px, 5vw, 64px)/1 var(--display); text-decoration: none; display: inline-block; margin: 6px 0 18px; }
.on-ink .btn { border-color: #fff; color: #fff; }
.on-ink .btn:hover { background: #fff; color: var(--ink); }
.on-ink .btn-primary { border-color: var(--magenta); }
.on-ink .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.addr { font-style: normal; font-size: 16px; line-height: 1.5; color: #c9ced6; border-top: 1px solid #3a3f47; padding-top: 14px; margin-bottom: 22px; }
.addr b { color: #fff; display: block; font: 700 22px/1.2 var(--display); margin-bottom: 2px; }

/* ---------- Inner pages ---------- */
.crumbs { font-size: 14px; color: var(--ink-soft); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--ink-soft); }
.page-head { padding: 26px 0 44px; }
.page-head h1 { font-size: clamp(42px, 7vw, 92px); line-height: 0.92; margin-bottom: 0.3em; max-width: 12em; }
.page-head .lede { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.42; max-width: 33em; margin: 0; }
.page-head .meta { font-size: 15px; color: var(--ink-soft); margin: 0 0 12px; }
.page-body { background: var(--sheet); padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px 72px; align-items: start; }
.cols > * { min-width: 0; }
.prose { max-width: 43em; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 1.5em 0 0.45em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.3em 0 0.35em; }
.prose figure { margin: 0 0 30px; }
.prose figure img { width: 100%; }
.aside { position: sticky; top: 24px; }
.box { border: 2px solid var(--ink); padding: 22px 22px 24px; margin-bottom: 28px; }
.box h2 { font-size: 30px; margin-bottom: 10px; }
.box p { font-size: 15.5px; color: var(--ink-soft); }
.box .t { font: 700 34px/1 var(--display); color: var(--ink); text-decoration: none; display: block; margin-bottom: 4px; }
.box .btn { display: block; text-align: center; margin-top: 14px; }
.related h2 { font-size: 24px; margin-bottom: 8px; }
.related ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-sheet); }
.related li { margin: 0; border-bottom: 1px solid var(--rule-sheet); }
.related a { display: block; padding: 10px 0; text-decoration: none; }
.related a:hover { text-decoration: underline; }

/* galleries */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery li { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--booth); }
.gallery a:hover img { outline: 3px solid var(--ink); }

/* project list on the work page */
.projects { list-style: none; padding: 0; margin: 0; }
.projects > li { display: grid; grid-template-columns: 311px minmax(0, 1fr); gap: 20px 36px; padding: 28px 0; border-top: 1px solid var(--rule-sheet); margin: 0; align-items: start; }
.projects h3 { font-size: 30px; margin-bottom: 4px; }
.projects .strap { font-weight: 700; margin-bottom: 8px; }
.projects p { max-width: 40em; }
.projects .credit { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* tables */
.table-wrap { overflow-x: auto; margin: 0 0 12px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; font-variant-numeric: tabular-nums; }
caption { text-align: left; font: 700 26px/1.1 var(--display); padding: 0 0 10px; }
th, td { text-align: right; padding: 9px 12px; border-bottom: 1px solid var(--rule-sheet); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; padding-left: 0; white-space: normal; min-width: 12em; }
thead th { border-bottom: 2px solid var(--ink); font-weight: 700; vertical-align: bottom; }
tbody th { font-weight: 400; }
tbody th small { color: var(--ink-soft); display: block; font-size: 13.5px; }
.note { font-size: 15px; color: var(--ink-soft); max-width: 46em; }
.prices section { margin-bottom: 48px; }

/* forms */
form .f { margin-bottom: 16px; }
label { display: block; font-weight: 700; font-size: 15.5px; margin-bottom: 5px; }
label span { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 0; padding: 11px 12px;
}
textarea { min-height: 170px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.places { display: grid; grid-template-columns: 1fr; gap: 28px; margin: 0 0 36px; max-width: 22em; }
.places address { font-style: normal; border-top: 2px solid var(--ink); padding-top: 12px; }
.places b { font: 700 26px/1.1 var(--display); display: block; margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 0; font-size: 15.5px; }
.foot { display: grid; grid-template-columns: 4fr 5fr 2fr 3fr; gap: 32px 40px; padding-bottom: 44px; }
.site-footer h2 { font-size: 22px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; break-inside: avoid; }
.site-footer .two-col { columns: 2; column-gap: 28px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer .brand { margin-bottom: 14px; }
.legal { box-shadow: inset 0 1px 0 var(--rule); padding-top: 16px; padding-bottom: 22px; color: var(--ink-soft); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.bar { display: flex; height: 10px; }
.bar i { flex: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav ul { gap: 18px; }
  .tel { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; font: 700 20px/1 var(--display); background: none; border: 2px solid var(--ink); padding: 9px 12px 8px; color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sheet); border-bottom: 2px solid var(--ink); margin: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 6px var(--gutter) 14px; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--rule-sheet); font-size: 18px; }
  .hero-grid, .cta-grid, .cols, .quotes { grid-template-columns: 1fr; }
  .hero-grid figure { order: -1; }
  .svc, .work { grid-template-columns: 1fr 1fr; }
  .svc .ask { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .projects > li { grid-template-columns: 1fr; }
  .crop, .strip-note { display: none; }
  .proof { padding: 20px 0 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .svc, .work, .steps, .two, .places, .foot { grid-template-columns: 1fr; }
  .svc .ask { grid-column: auto; }
  .site-footer .two-col { columns: 1; }
  .btn { width: 100%; text-align: center; }
  .site-header .wrap { min-height: 64px; }
  .brand { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header .nav, .nav-toggle, .aside, .site-footer, .on-ink { display: none; }
  body { background: #fff; }
}
