/* TONALINQ Editorial / Magazine — design proposal v1.0 */
:root {
  --tn-paper: #f7f6f2;
  --tn-surface: #ffffff;
  --tn-ink: #23352f;
  --tn-muted: #59665e;
  --tn-action: #214d40;
  --tn-action-hover: #183e32;
  --tn-line: #d3d7cf;
  --tn-control-border: #738078;
  --tn-soft: #ebece4;
  --tn-focus: #a64e34;
  --tn-error: #9f3535;
  --tn-error-surface: #fff0ed;
  --tn-sans:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --tn-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --tn-radius-photo: 4px;
  --tn-radius-control: 4px;
  --tn-radius-sheet: 12px;
  --tn-shadow-overlay: 0 16px 48px rgba(25, 40, 32, 0.14);
  --tn-page-max: 1200px;
  --tn-reading-max: 720px;
  --tn-space-1: 4px;
  --tn-space-2: 8px;
  --tn-space-3: 12px;
  --tn-space-4: 16px;
  --tn-space-6: 24px;
  --tn-space-8: 32px;
  --tn-space-10: 40px;
  --tn-space-12: 48px;
  --tn-space-14: 56px;
  --tn-space-16: 64px;
  --tn-space-20: 80px;
  --tn-space-26: 104px;
  --tn-motion-control: 120ms;
  --tn-motion-door: 220ms;
}
.tn-reading {
  max-width: var(--tn-reading-max);
  font: 1rem/1.85 var(--tn-sans);
}
.tn-main-heading {
  font: 400 3rem/1.4 var(--tn-serif);
  letter-spacing: 0.025em;
}
.tn-button {
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 4px;
  font: 500 1rem/1.5 var(--tn-sans);
}
.tn-primary {
  color: #fff;
  background: var(--tn-action);
  border: 1px solid var(--tn-action);
}
.tn-primary:hover {
  background: var(--tn-action-hover);
}
.tn-control:focus-visible {
  outline: 3px solid var(--tn-focus);
  outline-offset: 3px;
}
.tn-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}
.tn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}
@media (max-width: 999px) {
  .tn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .tn-main-heading {
    font-size: 2rem;
    line-height: 1.45;
  }
  .tn-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --tn-motion-control: 0ms;
    --tn-motion-door: 0ms;
  }
}
