/* Finch / editorial homepage. All overrides stay inside this page. */
body.about-editorial {
  color-scheme: dark;
  --paper: #000;
  --ink: #e6e5de;
  --muted: #aaa99e;
  --line: #3b3b36;
  --green: #6fe0a0;
  --wash: #191b18;
  --md-background: var(--paper);
  --md-surface: var(--paper);
  --md-surface-container: var(--paper);
  --md-surface-variant: var(--wash);
  --md-on-surface: var(--ink);
  --md-on-surface-variant: var(--muted);
  --md-on-surface-muted: var(--muted);
  --md-primary: var(--green);
  --md-primary-dark: var(--green);
  --md-primary-light: var(--green);
  --md-primary-soft: var(--wash);
  --md-primary-container: var(--wash);
  --md-on-primary: var(--paper);
  --md-outline: var(--line);
  --md-outline-variant: var(--line);
  --md-r-xs: 0px;
  --md-r-sm: 0px;
  --md-r-md: 0px;
  --md-r-lg: 0px;
  --md-r-xl: 0px;
  --md-e1: none;
  --md-e2: none;
  --md-e3: none;
  --md-e4: none;
  --md-max-w: 1248px;
  --md-appbar-h: 72px;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  isolation: isolate;
}
body.about-editorial::before,
body.about-editorial::after { content: none; display: none; animation: none; }
body.about-editorial .md-card,
body.about-editorial .md-dialog,
body.about-editorial .md-drawer,
body.about-editorial .md-dropdown__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.about-editorial .md-card--interactive::after { content: none; }
body.about-editorial .md-appbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  gap: 24px;
}
body.about-editorial .md-brand { gap: 10px; border-radius: 0; color: var(--ink); }
body.about-editorial .md-brand::after {
  content: 'Finch.';
  font: 700 22px/1.2 var(--md-font-mono);
  letter-spacing: -1px;
}
body.about-editorial .md-brand__logo { width: 28px; height: 28px; border-radius: 0; box-shadow: none; }
body.about-editorial .md-nav { gap: 0; }
body.about-editorial .md-nav__link { border-radius: 0; font-size: 13px; padding-inline: 10px; }
body.about-editorial .md-nav__ico { display: none; }
body.about-editorial .md-nav__link.is-active { background: transparent; color: var(--green); }
body.about-editorial .md-nav__link.is-active::before { content: '['; }
body.about-editorial .md-nav__link.is-active::after { content: ']'; }
body.about-editorial .md-icon-btn,
body.about-editorial .md-drawer__link { border-radius: 0; }
body.about-editorial .md-page { padding-top: calc(var(--md-appbar-real, 72px) + 28px); padding-bottom: 0; }
body.about-editorial .md-container { max-width: var(--md-max-w); padding-inline: 24px; }
body.about-editorial .ed-kicker {
  font: 11px/1.6 var(--md-font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
body.about-editorial .ed-index { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
body.about-editorial .ed-index span:last-child { color: var(--green); }
body.about-editorial .ed-hero {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: 76px 0 84px;
}
body.about-editorial .ed-title {
  margin: 24px 0;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 1.16;
  letter-spacing: -.05em;
  font-weight: 700;
  text-shadow: none;
}
body.about-editorial .ed-title em { display: block; font: 500 1.23em/1.12 var(--md-font-mono); color: var(--green); letter-spacing: -.07em; }
body.about-editorial .ed-intro { max-width: 460px; font-size: 17px; color: var(--muted); line-height: 1.95; }
body.about-editorial .ed-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
body.about-editorial .ed-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  padding: 11px 20px;
  background: var(--green);
  color: var(--paper);
  border: 1px solid var(--green);
  cursor: pointer;
  font-size: 14px;
  transition: background .18s, color .18s;
}
body.about-editorial .ed-button--plain { background: transparent; color: var(--ink); border-color: var(--line); }
body.about-editorial .ed-button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
body.about-editorial .ed-social { display: inline-block; margin-top: 24px; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
body.about-editorial .ed-frame { position: relative; border: 1px solid var(--line); }
body.about-editorial .ed-frame::before,
body.about-editorial .ed-frame::after { content: '+'; position: absolute; font: 16px/1 var(--md-font-mono); color: var(--muted); background: var(--paper); width: 12px; text-align: center; z-index: 1; }
body.about-editorial .ed-frame::before { top: -9px; left: -7px; }
body.about-editorial .ed-frame::after { bottom: -7px; right: -7px; }
body.about-editorial .ed-terminal { min-width: 0; color: var(--green); background: var(--paper); }
body.about-editorial .ed-terminal__bar { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
body.about-editorial .ed-terminal__body { padding: 26px 24px 18px; }
body.about-editorial .ed-command { font: 12px/1.8 var(--md-font-mono); }
body.about-editorial .ed-command span { color: var(--muted); }
body.about-editorial .ed-wave { margin: 28px 0 22px; width: 100%; overflow: hidden; }
body.about-editorial .ed-wave svg { width: 100%; height: auto; display: block; }
body.about-editorial .ed-terminal__caption { color: var(--muted); font-size: 14px; }
body.about-editorial .ed-terminal__foot { display: flex; justify-content: space-between; padding: 14px 18px; border-top: 1px dashed var(--line); }
body.about-editorial .ed-notes { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.about-editorial .ed-note { padding: 30px 32px 32px 0; }
body.about-editorial .ed-note + .ed-note { padding-left: 36px; padding-right: 0; border-left: 1px dashed var(--line); }
body.about-editorial .ed-note__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
body.about-editorial .ed-note__head .md-icon-btn { margin-left: auto; width: 36px; height: 36px; font: 22px var(--md-font-mono); border: 1px solid var(--line); }
body.about-editorial .ed-note h2 { font-size: 19px; }
body.about-editorial .ed-note p { color: var(--muted); font-size: 14px; line-height: 1.9; }
body.about-editorial .ed-note #hitokoto_text { font: 17px/1.85 var(--md-font-system); min-height: 62px; color: var(--ink); }
body.about-editorial .ed-note #hitokoto_from { text-align: right; margin-top: 10px; font-family: var(--md-font-system); }
body.about-editorial .ed-note__avatar { width: 36px; height: 36px; object-fit: cover; }
body.about-editorial .ed-note__tags { display: flex; gap: 20px; margin-top: 16px; color: var(--green); }
body.about-editorial .md-section { margin-top: 88px; }
body.about-editorial .md-section__head { align-items: flex-end; gap: 24px; margin-bottom: 30px; }
body.about-editorial .md-section__title { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; margin-top: 10px; }
body.about-editorial .md-section__rule { display: none; }
body.about-editorial .md-chip { border-radius: 0; background: transparent; border: 0; padding: 0; color: var(--muted); font: 11px/1.7 var(--md-font-mono); }
body.about-editorial #feature-count { border: 1px solid var(--line); padding: 6px 12px; color: var(--green); }
body.about-editorial #feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.about-editorial #feature-grid > .md-card { position: relative; padding: 24px; display: flex; flex-direction: column; min-width: 0; color: var(--ink); transform: none; transition: border-color .18s, background .18s; }
body.about-editorial #feature-grid > .md-card::before { content: '+'; position: absolute; right: -6px; bottom: -8px; width: 12px; background: var(--paper); color: var(--muted); text-align: center; font: 14px/1 var(--md-font-mono); pointer-events: none; }
body.about-editorial #feature-grid > .md-card:hover,
body.about-editorial #feature-grid > .md-card:focus-within { border-color: var(--green); background: var(--wash); transform: none; box-shadow: none; }
body.about-editorial #feature-grid .md-card__head { margin-bottom: 16px; gap: 10px; }
body.about-editorial #feature-grid .md-avatar { background: transparent; width: 26px; height: 30px; font-size: 20px; }
body.about-editorial #feature-grid .md-title { font-size: 19px; }
body.about-editorial #feature-grid .md-card__body { font-size: 14px; min-height: 70px; line-height: 1.8; }
body.about-editorial #feature-grid .md-label { color: var(--green); font: 20px var(--md-font-mono); }
body.about-editorial .ed-card-meta { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 20px; font: 10px/1.6 var(--md-font-mono); color: var(--muted); letter-spacing: .04em; }
body.about-editorial .ed-card-meta span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.about-editorial #feature-grid .md-row { gap: 10px !important; border-top: 1px dashed var(--line); padding-top: 14px; }
body.about-editorial #feature-grid .md-chip::before { content: '#'; color: var(--green); }
body.about-editorial #feature-grid .md-dropdown { padding: 0; }
body.about-editorial #feature-grid .md-dropdown__trigger { padding: 24px; height: 100%; border-radius: 0; }
body.about-editorial .md-dropdown__panel { padding: 8px; }
body.about-editorial .md-subcard,
body.about-editorial .md-subcard__ico { border-radius: 0; }
body.about-editorial .md-subcard { border-bottom: 1px dashed var(--line); }
body.about-editorial .md-subcard:last-child { border-bottom: 0; }
body.about-editorial .md-subcard:hover { background: var(--wash); }
body.about-editorial .md-subcard__ico { background: transparent; }
body.about-editorial .md-subcard__arrow { color: var(--green); }
body.about-editorial .ed-visitor { padding-bottom: 72px; }
body.about-editorial .md-disclosure { border-radius: 0; min-height: 60px; }
body.about-editorial .md-disclosure-panel[hidden] { display: none; }
body.about-editorial .md-list-item { border-bottom: 1px dashed var(--line); gap: 20px; }
body.about-editorial .md-list-item:last-child { border-bottom: 0; }
body.about-editorial .md-list-item .md-mono { overflow-wrap: anywhere; }
body.about-editorial .md-avatar--sm { background: transparent; }
body.about-editorial .md-footer { margin-top: 0; padding: 26px max(24px, calc((100vw - 1200px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); text-align: left; font: 11px/1.8 var(--md-font-mono); }
body.about-editorial .md-footer__stats { margin: 0; gap: 16px; }
body.about-editorial .md-footer__stat b { color: var(--green); }
body.about-editorial .md-dialog { width: min(480px, calc(100vw - 32px)); }
body.about-editorial :is(a, button, [role='button']):focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
body.about-editorial .ed-skip { position: fixed; left: 16px; top: -100px; z-index: 1200; background: var(--paper); padding: 12px; border: 1px solid var(--green); }
body.about-editorial .ed-skip:focus { top: 12px; }
@media (max-width: 1080px) {
  body.about-editorial .md-nav { display: none; }
  body.about-editorial .md-nav-toggle { display: inline-flex; }
  body.about-editorial .ed-hero { gap: 36px; padding-block: 56px; }
  body.about-editorial #feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body.about-editorial { --md-appbar-h: 60px; }
  body.about-editorial .md-container { padding-inline: 20px; }
  body.about-editorial .md-appbar { padding-inline: 20px; }
  body.about-editorial .md-page { padding-top: calc(var(--md-appbar-real, 60px) + 16px); }
  body.about-editorial .ed-index { font-size: 9px; letter-spacing: .02em; }
  body.about-editorial .ed-hero { grid-template-columns: minmax(0, 1fr); padding: 42px 0; gap: 42px; }
  body.about-editorial .ed-title { font-size: clamp(44px, 10vw, 66px); margin-block: 18px; }
  body.about-editorial .ed-intro { font-size: 16px; }
  body.about-editorial .ed-terminal { max-width: 520px; width: 100%; }
  body.about-editorial .ed-notes { grid-template-columns: minmax(0, 1fr); }
  body.about-editorial .ed-note { padding: 26px 0; }
  body.about-editorial .ed-note + .ed-note { padding: 26px 0; border-left: 0; border-top: 1px dashed var(--line); }
  body.about-editorial .md-section { margin-top: 54px; }
  body.about-editorial .md-section__head { gap: 16px; margin-bottom: 24px; }
  body.about-editorial .md-section__head .md-body { font-size: 14px; }
  body.about-editorial #visitor-summary { max-width: 100%; overflow-wrap: anywhere; }
  body.about-editorial .md-list-item { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  body.about-editorial .md-list-item > .md-mono { font-size: 12px; margin-left: auto; max-width: 100%; }
  body.about-editorial .md-footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 20px; }
}
@media (max-width: 480px) {
  body.about-editorial #feature-grid { grid-template-columns: minmax(0, 1fr); }
  body.about-editorial #feature-grid .md-card__body { min-height: 0; }
  body.about-editorial .ed-terminal__body { padding: 20px 16px; }
  body.about-editorial .ed-terminal__foot { font-size: 9px; letter-spacing: 0; }
  body.about-editorial .ed-button { gap: 20px; padding-inline: 16px; }
}
