/* Masthead controls and the About view. */

.masthead-actions { display: flex; align-items: stretch; }

/* ── The "i" key ──────────────────────────────────────────────
   Inset into the plate: no chrome of its own, just a hairline and inked
   type when pressed. About is a place you go once; it does not get to be
   an object competing with the search. */
.masthead-btn {
  flex: none;
  width: 40px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1;
  padding-bottom: 1px;
  transition: background .12s, color .12s;
}
.masthead-btn:active,
.masthead-btn.active { background: var(--ink); color: var(--paper-hi); }
/* adjacent to the field, so the hit area may only grow downward */
.masthead-btn::after { width: 100%; height: 44px; }

/* ── The dial ─────────────────────────────────────────────────
   The one round thing in the guide. It sits outside the plate with air
   around it so it reads as its own object, and it presses like a switch. */
.theme-toggle {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-hi);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  transition: transform .12s, box-shadow .12s, background .16s;
}
html[data-theme="dark"] .theme-toggle { background: var(--red); color: #fff; }

/* ── About ───────────────────────────────────────────────────── */
.about-view {
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  padding: 18px 12px calc(var(--dock-h) + 32px);
}
.about-wrap { width: min(1040px,100%); margin: 0 auto; }
.about-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--red-type);
  font-size: var(--t-label);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.about-kicker::before { content:""; width: 28px; border-top: 2px solid currentColor; }
.about-hero {
  position: relative;
  padding: 8px 2px 25px;
  border-bottom: 4px double var(--ink);
}
.about-hero h1 {
  max-width: 820px;
  margin: 9px 0 12px;
  font-family: var(--serif);
  font-size: clamp(52px,14vw,108px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.06em;
}
.about-hero h1 em { color: var(--red); font-style: italic; }
.about-deck {
  max-width: 650px;
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.18;
}
.solo-seal {
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 8px 10px;
  border: 1.5px solid var(--ink);
  background: var(--acid);
  color: #181410;
  box-shadow: 4px 4px 0 var(--ink);
  font-size: var(--t-micro);
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}
.about-grid { display: grid; gap: 12px; margin: 14px 0; }
.about-card {
  border: 1.5px solid var(--ink);
  background: var(--paper-hi);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 14px;
}
.about-card-number { color: var(--red-type); font-size: var(--t-micro); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.about-card h2,
.recommend-head h2,
.policy-head h2 {
  margin: 5px 0 9px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: .88;
  font-weight: 400;
}
.about-card p { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.editorial-list { list-style: none; margin: 10px 0 0; padding: 0; }
.editorial-list li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px dashed var(--ink);
  font-size: var(--t-copy);
  line-height: 1.45;
}
.editorial-list b { color: var(--red-type); }

.recommend-section { margin-top: 25px; padding-top: 18px; border-top: 4px double var(--ink); }
.recommend-head p,
.policy-head p { max-width: 650px; margin: 0; font-size: var(--t-copy); line-height: 1.55; }
.about-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 2px solid var(--ink);
  background: var(--red);
  color: white;
  box-shadow: 6px 6px 0 var(--ink);
}
.about-form-row { display: grid; gap: 10px; }
.about-field { display: grid; gap: 5px; }
.about-field label {
  font-size: var(--t-micro);
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.about-field input,
.about-field textarea,
.about-field select {
  width: 100%;
  min-height: 44px;
  border: 1.5px solid #181410;
  border-radius: 0;
  outline: none;
  padding: 11px;
  background: #fffaf0;
  color: #181410;
  box-shadow: 3px 3px 0 #181410;
  font-size: var(--t-field);
}
.about-field textarea { min-height: 108px; resize: vertical; line-height: 1.4; }
.about-field input:focus,
.about-field textarea:focus,
.about-field select:focus { box-shadow: 3px 3px 0 var(--acid); }
.about-form-note { margin: 0; font-size: var(--t-micro); line-height: 1.5; opacity: .8; }
.about-submit {
  min-height: 48px;
  border: 1.5px solid #181410;
  background: var(--acid);
  color: #181410;
  box-shadow: 4px 4px 0 #181410;
  font-size: var(--t-label);
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.about-submit:disabled { opacity: .55; }
.about-form-status { min-height: 17px; margin: 0; font-size: var(--t-label); font-weight: 800; }
.about-form-status.success { color: var(--acid); }
.about-form-status.error { color: #ffd45b; }
.about-hp { position: absolute; left: -9999px; }

.policy-section { margin-top: 28px; padding-top: 18px; border-top: 4px double var(--ink); }
.policy-list { display: grid; gap: 8px; margin-top: 13px; }
.policy-block { border: 1.5px solid var(--ink); background: var(--paper-hi); }
.policy-block summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 20px;
}
.policy-block summary::-webkit-details-marker { display: none; }
.policy-block summary::after { content: "＋"; font: 18px var(--mono); }
.policy-block[open] summary { border-bottom: 1px dashed var(--ink); }
.policy-block[open] summary::after { content: "−"; }
.policy-copy { padding: 13px; font-size: var(--t-copy); line-height: 1.65; }
.policy-copy h3 { margin: 14px 0 4px; color: var(--red-type); font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; }
.policy-copy h3:first-child { margin-top: 0; }
.policy-copy p { margin: 0 0 9px; }
.about-colophon {
  margin: 24px 0 12px;
  padding: 15px 0;
  border-top: 1px solid var(--ink);
  text-align: center;
  font-size: var(--t-micro);
  line-height: 1.7;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 460px) {
  .brand { font-size: 17px; }   /* the keys are flush — the plate is one object */
}
@media (min-width: 760px) {
  .about-view { padding: 46px 5vw 135px; }
  .about-hero { padding-right: 210px; }
  .solo-seal { position: absolute; right: 8px; bottom: 31px; width: 170px; text-align: center; font-size: var(--t-label); }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
  .about-card { padding: 20px; }
  .about-form { grid-template-columns: 1fr 1fr; padding: 21px; gap: 16px; }
  .about-form-row { grid-template-columns: 1fr 1fr; grid-column: 1 / -1; }
  .about-field.wide,
  .about-form-note,
  .about-submit,
  .about-form-status { grid-column: 1 / -1; }
  .policy-list { grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .masthead,
  .dock,
  .view,
  .theme-toggle { transition: none !important; }
}
