@layer reset, layout, typography, details;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { color-scheme: dark; background: #101315; }
  body { margin: 0; color: #eef1ed; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
  ::selection { background: #ff754a; color: #101315; }
}

@layer layout {
  .page { max-width: 1600px; min-height: 100svh; margin-inline: auto; padding: 0 clamp(24px, 6.25vw, 100px); display: flex; flex-direction: column; }
  .masthead { min-height: 122px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #34393b; }
  main { flex: 1; padding-block: clamp(60px, 10vh, 112px) clamp(64px, 10vh, 110px); }
  .intro { max-width: 470px; }
  .disciplines { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
  footer { min-height: 100px; padding-block: 26px; border-top: 1px solid #34393b; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
  @media (max-width: 600px) {
    .masthead { min-height: 90px; }
    .edition { display: none; }
    main { padding-top: 62px; padding-bottom: 70px; }
    .disciplines { align-items: flex-start; flex-direction: column; gap: 9px; }
    .separator { display: none; }
    footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  }
}

@layer typography {
  .wordmark { font-weight: 700; font-size: 1.625rem; letter-spacing: -0.07em; }
  .domain { color: #a7afac; font-weight: 400; letter-spacing: -0.05em; }
  .edition, .eyebrow, .colophon { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
  .edition, .colophon { font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0.075em; color: #a7afac; }
  .eyebrow { display: flex; align-items: center; gap: 12px; font-size: 0.875rem; line-height: 1.5; letter-spacing: 0.11em; }
  h1 { margin: 32px 0 29px; font-size: clamp(3.5rem, 10.8vw, 10rem); font-weight: 600; letter-spacing: -0.065em; line-height: 0.99; overflow-wrap: anywhere; }
  .intro { margin-block: 0; color: #b4bbb7; font-size: clamp(1.0625rem, 1.45vw, 1.25rem); line-height: 1.7; }
  .disciplines { color: #ced3cf; font-size: 0.9375rem; line-height: 1.5; }
  footer { color: #a7afac; font-size: 0.9375rem; line-height: 1.6; }
  @media (max-width: 360px) { h1 { font-size: 3.25rem; } }
}

@layer details {
  .marker { display: inline-block; width: 12px; height: 12px; background: #ff754a; }
  .period { color: #ff754a; }
  .separator { color: #656d69; }
}
