/* ============================================================
   TORVO — brand guidelines (brand.html)
   Builds on torvo.css (variables, fonts, base). Screen = scroll;
   print = one A4-landscape "sheet" per section → clean PDF.
   ============================================================ */

.gl-nav { position: fixed; top: 0; inset-inline: 0; z-index: 50;
  background: rgba(10,16,38,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); }
.gl-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.gl-nav .logo-word { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; font-size: 19px; }
.gl-nav .meta { color: var(--ink-faint); font-size: 13px; font-family: var(--font-head); letter-spacing: .08em; }

.sheet { max-width: 1120px; margin: 0 auto; padding: 96px 40px 40px; border-bottom: 1px solid var(--line); }
.sheet:first-of-type { border-bottom: none; }
.sheet-num { font-family: var(--font-head); font-size: 13px; letter-spacing: .26em; color: var(--orange); text-transform: uppercase; }
.sheet h2 { font-size: clamp(30px, 4.4vw, 50px); margin-top: 14px; max-width: 20ch; }
.sheet .intro { color: var(--ink-soft); font-size: 18px; max-width: 60ch; margin-top: 16px; }
.sheet h3 { font-family: var(--font-head); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin: 40px 0 16px; }

/* cover */
.cover { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; }
.cover .wordmark { width: min(520px, 80vw); }
.cover .title { font-size: clamp(40px, 6vw, 78px); margin-top: 40px; line-height: 1.02; }
.cover .sub { color: var(--ink-soft); font-size: 19px; margin-top: 20px; max-width: 50ch; }
.cover .ver { margin-top: 40px; color: var(--ink-faint); font-family: var(--font-head); letter-spacing: .12em; font-size: 13px; }

/* logo stages */
.stage { border-radius: var(--radius); padding: 56px; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.stage.dark { background: var(--midnight-2); border: 1px solid var(--line); }
.stage.light { background: #fff; }
.stage img { max-width: 100%; height: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap { font-size: 13px; color: var(--ink-faint); margin-top: 10px; font-family: var(--font-head); letter-spacing: .06em; }
@media (max-width: 760px) { .two, .three { grid-template-columns: 1fr; } }

/* clearspace + minsize */
.spec { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.spec .box { background: var(--midnight-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.spec .minrow { display: flex; align-items: flex-end; gap: 30px; }
.spec .minrow .item { text-align: center; }
.spec .minrow img { display: block; margin: 0 auto 8px; }
@media (max-width: 760px) { .spec { grid-template-columns: 1fr; } }

/* colour */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .swatches { grid-template-columns: 1fr; } }
.sw { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sw .chip { height: 150px; }
.sw .body { padding: 16px 18px; background: var(--midnight-2); }
.sw .name { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.sw .hex { color: var(--ink-soft); font-size: 14px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.sw .use { color: var(--ink-faint); font-size: 13px; margin-top: 8px; }
.law { margin-top: 26px; border-left: 3px solid var(--orange); padding: 8px 0 8px 18px; font-size: 17px; color: var(--ink); }
.law b { color: var(--orange); }
.util { margin-top: 18px; color: var(--ink-faint); font-size: 13.5px; }

/* typography */
.specimen { background: var(--midnight-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px; }
.specimen .aa { font-family: var(--font-head); font-weight: 700; font-size: 120px; line-height: 1; }
.specimen .set { color: var(--ink-soft); font-size: 15px; margin-top: 14px; letter-spacing: .02em; word-spacing: .1em; }
.scale > div { border-top: 1px solid var(--line); padding: 14px 0; display: flex; align-items: baseline; gap: 20px; }
.scale .tag { width: 130px; flex: none; color: var(--ink-faint); font-size: 12.5px; font-family: var(--font-head); letter-spacing: .08em; }
.scale .ex { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.scale .ex.body { font-family: var(--font-body); font-weight: 400; }

/* suite */
.suite { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .suite { grid-template-columns: 1fr; } }
.suite .card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--midnight-2); padding: 24px; }
.suite .verb { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.suite .nm { font-family: var(--font-head); font-weight: 700; font-size: 21px; margin-top: 8px; }
.suite p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }

/* voice + do/don't */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--midnight-2); }
.panel.good { border-left: 3px solid var(--orange); }
.panel.bad { border-left: 3px solid var(--line-strong); }
.panel .h { font-family: var(--font-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.panel ul { list-style: none; display: grid; gap: 10px; }
.panel li { font-size: 15.5px; color: var(--ink); }
.panel.bad li { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--ink-faint); }
.banned { margin-top: 18px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.9; }
.banned code { background: var(--midnight-3); border: 1px solid var(--line); border-radius: 5px; padding: 2px 8px; color: var(--ink); font-family: var(--font-head); font-size: 13px; }

.dont { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .dont { grid-template-columns: 1fr; } }
.dont .x { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--midnight-2); font-size: 14px; color: var(--ink-soft); }
.dont .x b { color: var(--orange); font-family: var(--font-head); }

.motion { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .motion { grid-template-columns: 1fr; } }

.gl-foot { max-width: 1120px; margin: 0 auto; padding: 40px; color: var(--ink-faint); font-size: 14px; }

/* ---------- PRINT → paged PDF, one sheet per page ---------- */
@media print {
  @page { size: A4 landscape; margin: 0; }
  html, body { background: var(--midnight) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gl-nav { display: none; }
  .sheet { max-width: none; width: 297mm; min-height: 209mm; padding: 16mm 20mm; margin: 0;
    border-bottom: none; page-break-after: always; break-after: page; box-sizing: border-box; }
  .cover { min-height: 180mm; }
  .gl-foot { page-break-before: avoid; }
  .stage, .sw, .panel, .suite .card, .specimen, .dont .x { break-inside: avoid; }
}
