/* Workshop Recordings — induction and technique sessions.
   Graphite ground, orange accent, tile grid. */

:root {
  --ground: #1c1e22;
  --raised: #24272c;
  --edge: #343941;
  --text: #e8ebef;
  --muted: #959ba5;
  --orange: #ef7d34;
  --orange-dim: #3a2a1e;

  --face: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tech: ui-monospace, "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;

  --frame: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--face);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.frame { width: 100%; max-width: var(--frame); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--orange); color: var(--ground); padding: 8px 14px; border-radius: 4px; }

/* header */

.top { border-bottom: 1px solid var(--edge); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; min-height: 64px; padding: 12px 0; }

.sign { display: flex; align-items: center; gap: 12px; }
.sign-cube { width: 28px; height: 28px; flex: none; position: relative; transform: rotate(45deg); background: var(--orange); border-radius: 4px; }
.sign-cube::after { content: ""; position: absolute; inset: 7px; background: var(--ground); border-radius: 2px; }
.sign b { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.sign i { font-style: normal; display: block; font-family: var(--tech); font-size: 0.6875rem; color: var(--muted); letter-spacing: .04em; }

.links { display: flex; gap: 20px; font-size: 0.9375rem; }
.links a { color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; }
.links a:hover { color: var(--text); }
.links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--orange); }

/* opening */

.open { padding: 40px 0 26px; }
.open h1 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 12px; max-width: 22ch; }
.open p { margin: 0; color: var(--muted); max-width: 60ch; font-size: 1rem; }

/* filter bar */

.bar { display: flex; flex-wrap: wrap; gap: 14px 30px; padding: 16px 0; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); margin-bottom: 26px; }
.bar-set { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.bar-set > b { font-family: var(--tech); font-size: 0.6875rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 5px; }

.chip {
  background: var(--raised); border: 1px solid var(--edge); font: inherit; font-size: 0.8125rem;
  color: var(--muted); padding: 5px 13px; border-radius: 20px; cursor: pointer;
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ground); font-weight: 600; }

.sum { font-family: var(--tech); font-size: 0.75rem; color: var(--muted); margin: 0 0 18px; }

/* tile grid */

.grid { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }

.tile { display: block; background: var(--raised); border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; }
.tile:hover { border-color: var(--orange); }

.tile-art { background: var(--ground); }
.tile-art img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

.tile-body { padding: 14px 15px 16px; }

.tile-top { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 8px; font-family: var(--tech); font-size: 0.6875rem; }
.tile-ref { background: var(--orange-dim); color: var(--orange); padding: 2px 7px; border-radius: 3px; }
.tile-level { color: var(--muted); }

.tile-name { font-size: 1.0625rem; font-weight: 600; line-height: 1.26; margin: 0 0 7px; letter-spacing: -0.01em; }
.tile:hover .tile-name { color: var(--orange); }
.tile-gear { margin: 0; font-size: 0.8125rem; color: var(--muted); }

.none { grid-column: 1 / -1; padding: 30px 0 48px; color: var(--muted); }
.none button { background: none; border: none; font: inherit; color: var(--orange); text-decoration: underline; cursor: pointer; padding: 0; }

/* single session */

.one { max-width: 860px; margin: 26px auto 60px; }

.back { font-family: var(--tech); font-size: 0.75rem; color: var(--muted); margin-bottom: 14px; }
.back a { color: var(--orange); }

.screen { position: relative; background: #000; aspect-ratio: 5 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--edge); }
.screen video { width: 100%; height: 100%; display: block; }

.screen-note { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: center; gap: 10px; padding: 30px; background: var(--raised); }
.screen-note.on { display: flex; }
.screen-note h2 { margin: 0; font-size: 1.125rem; font-weight: 600; }
.screen-note p { margin: 0; color: var(--muted); font-size: 0.9375rem; max-width: 50ch; }

.under { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 10px 0 0; font-family: var(--tech); font-size: 0.75rem; color: var(--muted); }
.under select { background: var(--raised); border: 1px solid var(--edge); color: var(--text); font: inherit; font-size: 0.75rem; padding: 3px 7px; border-radius: 5px; }

.one h1 { font-size: clamp(1.5rem, 3.6vw, 2.05rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.14; margin: 24px 0 14px; }

.spec { margin: 0 0 26px; padding: 0; border-top: 1px solid var(--edge); font-size: 0.9375rem; }
.spec > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--edge); }
.spec dt { color: var(--muted); margin: 0; font-family: var(--tech); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; }
.spec dd { margin: 0; }

.blurb { font-size: 1rem; line-height: 1.62; max-width: 64ch; margin: 0 0 38px; }

.others h2 { font-family: var(--tech); font-size: 0.6875rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--edge); }
.others ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.others .tile-name { font-size: 0.9375rem; }
.others .tile-body { padding: 11px 12px 13px; }

/* text pages */

.sheet { max-width: 66ch; margin: 32px 0 64px; }
.sheet h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; margin: 0 0 10px; }
.sheet .lede { font-size: 1.0625rem; color: var(--muted); margin: 0 0 26px; }
.sheet h2 { font-size: 1.125rem; font-weight: 600; margin: 30px 0 10px; }
.sheet p { margin: 0 0 14px; line-height: 1.62; }
.sheet a { color: var(--orange); text-decoration: underline; }

.rows { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--edge); }
.rows > li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--edge); font-size: 0.9375rem; }
.rows .k { color: var(--muted); font-family: var(--tech); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; }

/* footer */

.base { border-top: 1px solid var(--edge); padding: 22px 0 44px; font-family: var(--tech); font-size: 0.6875rem; color: var(--muted); }
.base-in { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; }

/* responsive */

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .others ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .frame { padding: 0 16px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .others ul { grid-template-columns: minmax(0, 1fr); }
  .spec > div, .rows > li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
