/* Podium — logo & identity specification sheet.
   A printed-spec layout: ruled sections, numbered plates, captions under
   every exhibit. Sits on the Modernist design system. */

/* --rule and --ease come from site.css. */
:root {
  --pad: clamp(20px, 4.5vw, 56px);
  --sheet-w: 1180px;
}

@media (min-width: 1500px) {
  :root { --sheet-w: 1320px; --pad: 64px; }
}

/* The sheet floats on steel so the paper frame reads as a physical page. */
body { margin: 0; background: var(--color-neutral-300); }

.sheet {
  max-width: var(--sheet-w); margin: 0 auto;
  background: var(--color-bg); color: var(--color-text);
  border-left: var(--rule); border-right: var(--rule);
}

/* — spec type roles — */
.lbl {
  font-family: var(--font-heading); font-weight: 800; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent); margin: 0 0 4px;
}
.cap {
  font-size: 12px; letter-spacing: 0.02em; margin: 6px 0 0;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.cap-wide { max-width: 640px; }
/* Wordmark: Archivo Black, tight and uppercase-cut. */
.wm {
  font-family: var(--font-heading); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.03em; line-height: 0.86;
}
/* Endorsement: always locked beneath the wordmark, wide-tracked. */
.endo {
  font-family: var(--font-heading); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.24em; line-height: 1;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.plate-label {
  font-family: var(--font-heading); font-weight: 600; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
}

.section { padding: var(--pad); border-bottom: var(--rule); }
.section:last-child { border-bottom: 0; }
.section-body { margin-top: 36px; }
.box { border: var(--rule); }

/* — masthead — */
.masthead {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; padding: 48px var(--pad) 24px; border-bottom: var(--rule);
}
.masthead .lbl { margin-bottom: 10px; }
.masthead h1 {
  font-size: clamp(40px, 6vw, 64px); line-height: 0.9;
  margin: 0; letter-spacing: -0.03em;
}
.masthead-intro { margin: 12px 0 0; max-width: 520px; font-size: 15px; }
.masthead-meta {
  text-align: right; flex: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
/* Revision block, language switcher and the way back to the site, stacked and
   right-aligned against the masthead's baseline. */
.masthead-side {
  flex: none; display: flex; flex-direction: column;
  align-items: flex-end; gap: 14px;
}
.masthead-back { text-decoration: none; }

/* — 01 primary lockup —
   Shown as the exported artwork, on paper and reversed on ink. */
.lockup-art { width: min(520px, 100%); height: auto; display: block; }
.lockup-onink {
  margin-top: 28px; padding: 36px clamp(20px, 3vw, 44px);
  background: var(--color-text);
}

/* — 02 symbol colourways — */
.plates { display: grid; grid-template-columns: repeat(3, 1fr); }
.plate {
  padding: 44px; display: flex; flex-direction: column;
  align-items: center; gap: 16px; border-right: var(--rule);
}
.plate:last-child { border-right: 0; }
.plate .mark-box { width: 120px; height: 120px; }
.plate--ink { background: var(--color-text); }
.plate--ink .plate-label { color: var(--color-bg); }
.plate--accent { background: var(--color-accent); }
.plate--accent .plate-label { color: #fff; }

/* — 03 lockup variants — */
.pair { display: grid; grid-template-columns: 1fr 1fr; }
.pair > * { padding: 48px; border-right: var(--rule); }
.pair > *:last-child { border-right: 0; }

.lockup-h { display: flex; align-items: center; gap: 22px; }
.lockup-h .mark-box { width: 72px; height: 72px; flex: none; }
.lockup-h .wm { font-size: clamp(38px, 5vw, 52px); }
.lockup-h .endo { font-size: 9px; margin-top: 7px; }

.lockup-v { display: flex; flex-direction: column; align-items: flex-start; }
.lockup-v .mark-box { width: 88px; height: 88px; }
.lockup-v .wm { font-size: clamp(34px, 4.5vw, 46px); margin-top: 18px; }
.lockup-v .endo { font-size: 8px; margin-top: 8px; }

/* — 04 app icon & favicon — */
.icons { display: flex; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.icon-spec { text-align: center; }
/* Padding scales with the tile so the mark keeps its optical inset. */
.icon-tile { background: var(--color-accent); }
.icon-tile--ink { background: var(--color-text); }
.icon-1024 { width: 168px; height: 168px; padding: 30px; }
.icon-180 { width: 96px; height: 96px; padding: 18px; }
.icon-64 { width: 56px; height: 56px; padding: 10px; }
.icon-32 { width: 32px; height: 32px; padding: 6px; }

/* — 05 construction & clear space — */
/* The dashed field is exactly one column-width of the mark on every side. */
.clearspace {
  position: relative; width: 160px; height: 160px;
  outline: 2px dashed var(--color-accent); outline-offset: 0; padding: 32px;
}
.sizes { display: flex; align-items: flex-end; gap: 28px; }
.size-96 { width: 64px; height: 64px; }
.size-24 { width: 24px; height: 24px; }

/* — 06 colour — */
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); }
.swatch { border-right: var(--rule); }
.swatch:last-child { border-right: 0; }
.swatch-chip { height: 96px; }
.swatch-chip--accent { background: var(--color-accent); }
.swatch-chip--ink { background: var(--color-text); }
/* Paper on paper needs a rule to read as a chip at all. */
.swatch-chip--paper { background: var(--color-bg); border-bottom: var(--rule); }
.swatch-chip--steel { background: var(--color-neutral-500); }
.swatch-meta { padding: 14px 16px; }
.swatch-name { font-family: var(--font-heading); font-weight: 800; font-size: 14px; }
.swatch-meta .cap { margin-top: 2px; }

/* ── responsive ────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .masthead { flex-direction: column; align-items: flex-start; gap: 20px; }
  .masthead-meta { text-align: left; }
  .masthead-side { align-items: flex-start; }
  .plates { grid-template-columns: 1fr; }
  .plate { border-right: 0; border-bottom: var(--rule); }
  .plate:last-child { border-bottom: 0; }
  .pair { grid-template-columns: 1fr; }
  .pair > * { border-right: 0; border-bottom: var(--rule); padding: 32px; }
  .pair > *:last-child { border-bottom: 0; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .swatch:nth-child(2n) { border-right: 0; }
  .swatch:nth-child(-n + 2) { border-bottom: var(--rule); }
}

@media (max-width: 560px) {
  .sheet { border-left: 0; border-right: 0; }
  /* Stack the horizontal lockup rather than shrink it past its minimum size. */
  .lockup-h { flex-direction: column; align-items: flex-start; gap: 16px; }
  .icons { gap: 28px; }
}
