/* Torpedo Publishing · torpedopublishing.com · site 1.0.1
   Torpedo Brand (TJ_Brand_Standard.md) on the PD kit (PD_Brand_Standard.md).
   Black ground, one accent (Yellow #FFCE00, never on a light ground), square corners. */

@font-face { font-family: "Mafra Display"; src: url("fonts/mafra-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Adobe Caslon Pro"; src: url("fonts/caslon-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Apercu Pro"; src: url("fonts/apercu-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Apercu Pro"; src: url("fonts/apercu-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Apercu Pro Mono"; src: url("fonts/apercu-mono.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --black: #000000; --white: #FFFFFF; --yellow: #FFCE00; --grey-2: #808080; --grey-3: #474747;
  --display: "Mafra Display", Georgia, serif;
  --serif: "Adobe Caslon Pro", Georgia, serif;
  --sans: "Apercu Pro", Arial, sans-serif;
  --mono: "Apercu Pro Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--sans); font-size: 17px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: var(--white); }
a:hover { color: var(--yellow); }
.light a, .light a:hover { color: var(--black); }
.light a:hover { text-decoration: underline; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.light :focus-visible { outline-color: var(--black); }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--white); color: var(--black); padding: 12px 16px; z-index: 10; }
.skip:focus { top: 16px; color: var(--black); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.lbl { font-family: var(--mono); font-size: 14px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--grey-2); }
.light .muted { color: var(--grey-3); }
.kicker { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; }
p { margin: 0; }

/* Buttons: square, Mono caps, never Yellow, never a chevron (Torpedo Screen rules) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border: 2px solid var(--white); font-family: var(--mono); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-radius: 0; cursor: pointer; }
.btn-p, .btn-p:hover { background: var(--white); color: var(--black); }
.btn-s, .btn-s:hover { background: transparent; color: var(--white); }
.btn-k, .btn-k:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.light .btn-k:hover { color: var(--white); text-decoration: none; }

/* Status squares: filled = print, outlined = digital */
.sq { display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; margin-right: 10px; vertical-align: -1px; }
.sq.f { background: currentColor; }

/* Header */
.site-header { border-bottom: 1px solid var(--yellow); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.site-header .mark img { height: 24px; width: auto; }
.nav { display: flex; gap: 8px 32px; flex-wrap: wrap; align-items: center; }
.nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav .nav-out { border: 1px solid var(--white); padding: 0 12px; min-height: 32px; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--yellow); }

/* Hero */
.hero { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 64px; align-items: end; }
.hero-main { display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: clamp(56px, 8.4vw, 132px); line-height: .96; letter-spacing: -.01em; }
.dek { font-family: var(--serif); font-size: 26px; line-height: 1.35; max-width: 620px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; }
.count { display: flex; flex-direction: column; gap: 20px; border-left: 1px solid var(--grey-2); padding-left: 40px; }
.count-n { font-family: var(--display); font-size: clamp(120px, 16vw, 240px); line-height: .8; }
.count-split { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--grey-2); }

/* Why Torpedo band (1.0.1) */
.why { border-top: 1px solid var(--white); border-bottom: 1px solid var(--grey-2); margin-bottom: 64px; }
.why .wrap { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px 80px; }
.why-text { display: flex; flex-direction: column; gap: 24px; }
.why h2 { font-family: var(--serif); font-weight: 400; font-size: 48px; line-height: 1.1; }
.why .body { font-size: 19px; line-height: 1.55; max-width: 520px; }
.why-more { text-decoration: none; border-bottom: 1px solid var(--white); padding-bottom: 4px; display: inline-block; }
.vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--grey-2); align-self: start; }
.val { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--grey-2); display: flex; flex-direction: column; gap: 10px; }
.val-d { font-size: 16px; line-height: 1.5; color: var(--grey-2); }
.vals-ab { border-top-color: var(--white); }

/* Catalog */
.catalog { padding-bottom: 120px; }
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; }
.cat-title { display: flex; flex-direction: column; gap: 12px; }
.cat-title h2 { font-size: 56px; line-height: 1; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border: 0; margin: 0; padding: 0; }
.tabs label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-bottom: 2px solid transparent; color: var(--grey-2); cursor: pointer; }
.tabs label:hover { color: var(--white); }
#f-all:checked ~ .cat-head label[for="f-all"],
#f-print:checked ~ .cat-head label[for="f-print"],
#f-digital:checked ~ .cat-head label[for="f-digital"] { color: var(--white); border-bottom-color: var(--yellow); }
#f-all:focus-visible ~ .cat-head label[for="f-all"],
#f-print:focus-visible ~ .cat-head label[for="f-print"],
#f-digital:focus-visible ~ .cat-head label[for="f-digital"] { outline: 2px solid var(--yellow); outline-offset: 2px; }
#f-print:checked ~ .grp-digital, #f-digital:checked ~ .grp-print { display: none; }

.grp-head { border-top: 2px solid var(--white); margin-top: 24px; padding: 20px 16px 4px; }
.mc-head { border-top: 2px solid var(--white); margin-top: 24px; padding: 24px 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.mc-head-text { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.mc-model { font-family: var(--serif); font-size: 22px; line-height: 1.4; }

.row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 190px 130px 250px; gap: 24px; align-items: baseline; padding: 26px 16px; border-top: 1px solid var(--grey-2); }
.row:hover { background: var(--white); color: var(--black); }
.row:hover a, .row:hover .muted, .row:hover .d { color: var(--black); }
.row .no { color: var(--grey-2); }
.row:hover .no { color: var(--grey-3); }
.t { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.d { font-family: var(--sans); font-size: 16px; line-height: 1.45; color: var(--grey-2); }
.row-body { display: flex; flex-direction: column; gap: 6px; }
.links { display: flex; flex-direction: column; gap: 10px; }
.links a { text-decoration: none; }
.links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cat-end { border-top: 1px solid var(--grey-2); }

/* Print and digital */
.shelves { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.shelf { padding: 96px clamp(16px, 5vw, 80px); display: flex; flex-direction: column; gap: 24px; min-height: 480px; }
.shelf.light { background: var(--white); color: var(--black); }
.shelf.dark { border-top: 1px solid var(--grey-2); border-bottom: 1px solid var(--grey-2); }
.shelf h2 { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; }
.shelf .body { font-size: 19px; line-height: 1.5; max-width: 460px; }
.shelf-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; border-top: 1px solid currentColor; padding-top: 16px; }

/* Shop */
.shop { border-top: 1px solid var(--grey-2); }
.shop .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.shop-text { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.shop h2 { font-size: 72px; line-height: 1; }
.shop .dek { max-width: none; }

/* Proposals: the letter on the imprint page */
.proposals { background: var(--white); color: var(--black); }
.letter-wrap { max-width: 880px; margin: 0 auto; padding: 120px clamp(16px, 4vw, 40px); display: flex; flex-direction: column; gap: 40px; }
.letter-head { display: flex; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--black); padding-bottom: 32px; }
.letter-head h2 { font-size: 56px; line-height: 1; }
.letter { display: flex; flex-direction: column; gap: 28px; }
.inl { font-family: var(--serif); font-size: 30px; line-height: 1.6; }
.inl input, .inl select { font-family: var(--serif); font-size: 30px; border: 0; border-bottom: 2px solid var(--black); background: var(--white); color: var(--black); padding: 0 4px; border-radius: 0; min-width: 200px; min-height: 44px; max-width: 100%; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld input, .fld textarea { border: 1px solid var(--black); border-radius: 0; padding: 0 14px; font-family: var(--sans); font-size: 17px; min-height: 48px; background: var(--white); color: var(--black); width: 100%; }
.fld textarea { min-height: 180px; padding: 14px; line-height: 1.5; resize: vertical; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.note { font-size: 15px; line-height: 1.5; color: var(--grey-3); }
.sign { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--black); padding-top: 28px; }
.hp { display: none; }

/* Footer: the colophon */
.site-footer .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.colophon { display: flex; flex-direction: column; gap: 6px; }
.colophon .meta { padding-top: 18px; }
.site-footer .mark img { height: 64px; width: auto; }

/* About (1.0.1) */
.about-hero { padding-top: 112px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.about-hero h1 { font-size: clamp(56px, 8vw, 120px); line-height: .96; max-width: 1000px; }
.about-hero .dek { font-size: 28px; max-width: 760px; }
.ab { border-top: 1px solid var(--grey-2); }
.ab-grid { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px 64px; }
.ab-grid > .lbl { font-family: var(--mono); font-weight: 400; font-size: 14px; }
.ab-body { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.ab-body > p { font-size: 19px; line-height: 1.6; }
.ab-body > p.lbl { font-size: 14px; line-height: 1.3; }
.ab-body > .ab-lead { font-family: var(--serif); font-size: 30px; line-height: 1.35; text-wrap: pretty; }
.ab-wide { gap: 20px; }
.ab-wide .vals { margin-top: 20px; }
.ab-cta { border-top-color: var(--white); }
.ab-cta .ab-grid { padding-top: 96px; padding-bottom: 112px; }
.ab-cta .ab-body { gap: 28px; max-width: 760px; }
.ab-cta .ab-lead { font-size: 28px; }
.cta-h { font-size: clamp(48px, 6vw, 88px); line-height: .98; }
.ab-cta .actions { padding-top: 8px; }

/* Privacy and 404 */
.page { max-width: 760px; margin: 0 auto; padding: 96px 40px 120px; display: flex; flex-direction: column; gap: 24px; }
.page h1 { font-size: 56px; line-height: 1; }
.page h2 { font-size: 28px; line-height: 1.15; padding-top: 16px; }
.page p, .page li { font-size: 17px; line-height: 1.6; }
.page ul { margin: 0; padding-left: 20px; }

@media (max-width: 960px) {
  .row { grid-template-columns: 64px minmax(0, 1fr); }
  .row .k, .row .f { display: none; }
  .row .links { grid-column: 2; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .page { padding: 64px 16px 96px; }
  .nav { gap: 0 20px; }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  .count { border-left: 0; padding-left: 0; border-top: 1px solid var(--grey-2); padding-top: 24px; }
  .cat-title h2, .letter-head h2, .page h1 { font-size: 44px; }
  .shop h2 { font-size: 52px; }
  .shelf h2 { font-size: 48px; }
  .why h2 { font-size: 36px; }
  .ab-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 56px; padding-bottom: 56px; }
  .about-hero { padding-top: 72px; padding-bottom: 64px; }
  .about-hero .dek, .ab-body > .ab-lead { font-size: 24px; }
  .val { padding-right: 0; }
  .inl, .inl input, .inl select { font-size: 22px; }
  .inl input, .inl select { min-width: 0; width: 100%; }
}
