@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 3rem 1.5rem 4rem;
  line-height: 1.5;
  color: #1a1a1a;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, #e8eef5 0%, transparent 55%), #f7f7f5;
  font-family: system-ui, sans-serif;
  font-variation-settings: "wght" 400, "wdth" 100;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  font-variation-settings: "wght" 500, "wdth" 100;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.specimen {
  max-width: 44rem;
  margin-inline: auto;
  display: grid;
  gap: 2.75rem;
}

section > h2 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variation-settings: "wght" 600, "wdth" 110;
  color: #5c6570;
}

.layout {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 2px;
}

/* —— Intro —— */
.specimen__intro {
  display: grid;
  gap: 0.65rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variation-settings: "wght" 500, "wdth" 125;
  color: #5c6570;
}

.specimen__intro h1 {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: "wght" 900, "wdth" 70;
}

.lede {
  margin: 0.25rem 0 0;
  max-width: 36ch;
  font-size: 1.15rem;
  line-height: 1.45;
  font-variation-settings: "wght" 300, "wdth" 100;
  color: #333;
}

/* —— Magazine masthead —— */
.layout--masthead {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.65rem;
}

.masthead__issue {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variation-settings: "wght" 400, "wdth" 130;
  color: #5c6570;
}

.masthead__title {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 3.75rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  font-variation-settings: "wght" 900, "wdth" 55;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 0.55rem;
}

.masthead__split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.masthead__rubric {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variation-settings: "wght" 600, "wdth" 115;
  color: #7a8490;
}

.masthead__headline {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings: "wght" 700, "wdth" 90;
}

.masthead__deck {
  margin: 0.5rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 34ch;
  font-variation-settings: "wght" 300, "wdth" 100;
  color: #333;
}

.masthead__aside {
  padding-top: 0.15rem;
  border-left: 1px solid #dde2e8;
  padding-left: 1rem;
}

.masthead__aside-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variation-settings: "wght" 500, "wdth" 120;
  color: #7a8490;
}

.masthead__aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.masthead__aside li {
  font-size: 0.92rem;
  line-height: 1.25;
  font-variation-settings: "wght" 500, "wdth" 95;
}

/* —— Weather strip —— */
.layout--weather {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1.25rem;
  align-items: end;
}

.weather__city {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "wght" 800, "wdth" 75;
}

.weather__region {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variation-settings: "wght" 200, "wdth" 120;
  color: #5c6570;
}

.weather__temp {
  margin: 0;
  grid-column: 2;
  grid-row: 1/span 2;
  align-self: center;
  line-height: 1;
  font-feature-settings: "ss01";
}

.weather__deg {
  font-size: 3.5rem;
  letter-spacing: -0.04em;
  font-variation-settings: "wght" 100, "wdth" 90;
}

.weather__unit {
  font-size: 1.5rem;
  vertical-align: super;
  font-variation-settings: "wght" 300, "wdth" 100;
  color: #5c6570;
}

.weather__days {
  grid-column: 1/-1;
  margin: 0.85rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid #e2e6eb;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.weather__days li {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

.weather__days span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variation-settings: "wght" 500, "wdth" 110;
  color: #7a8490;
}

.weather__days strong {
  font-size: 1rem;
  font-feature-settings: "tnum";
  font-variation-settings: "wght" 650, "wdth" 100;
}

/* —— Article cards —— */
.layout--cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.card {
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid #e2e6eb;
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.card + .card {
  border-left: 0;
}

.card__tag {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variation-settings: "wght" 600, "wdth" 125;
  color: #7a8490;
}

.card__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-variation-settings: "wght" 700, "wdth" 88;
}

.card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  font-variation-settings: "wght" 350, "wdth" 100;
  color: #3a3a3a;
}

.card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-feature-settings: "tnum";
  font-variation-settings: "wght" 400, "wdth" 105;
  color: #7a8490;
}

/* —— Schedule —— */
.layout--schedule {
  display: grid;
  gap: 1rem;
}

.schedule__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e6eb;
}

.schedule__day {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-variation-settings: "wght" 800, "wdth" 80;
}

.schedule__date {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variation-settings: "wght" 300, "wdth" 130;
  color: #5c6570;
}

.schedule__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.schedule__list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
}

.schedule__list time {
  font-size: 0.95rem;
  font-feature-settings: "tnum";
  font-variation-settings: "wght" 200, "wdth" 100;
  color: #5c6570;
  padding-top: 0.15rem;
}

.schedule__event {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  font-variation-settings: "wght" 650, "wdth" 95;
}

.schedule__detail {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  font-variation-settings: "wght" 300, "wdth" 100;
  color: #555;
}

/* —— Settings —— */
.layout--settings {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.settings__head {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid #e2e6eb;
}

.settings__title {
  margin: 0;
  font-size: 1.2rem;
  font-variation-settings: "wght" 700, "wdth" 95;
}

.settings__sub {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  font-variation-settings: "wght" 300, "wdth" 105;
  color: #5c6570;
}

.settings__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid #eef1f4;
}

.settings__label {
  margin: 0;
  font-size: 0.98rem;
  font-variation-settings: "wght" 550, "wdth" 100;
}

.settings__hint {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  font-variation-settings: "wght" 350, "wdth" 105;
  color: #7a8490;
}

.settings__value {
  margin: 0;
  font-size: 0.95rem;
  font-feature-settings: "tnum";
  font-variation-settings: "wght" 600, "wdth" 90;
  color: #333;
}

.settings__value--on {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-variation-settings: "wght" 700, "wdth" 115;
}

.settings__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  background: #fafbfc;
}

.btn {
  padding: 0.45rem 0.95rem;
  border-radius: 2px;
  font-size: 0.88rem;
}

.btn--ghost {
  font-variation-settings: "wght" 500, "wdth" 100;
  color: #444;
}

.btn--solid {
  background: #1a1a1a;
  color: #fff;
  font-variation-settings: "wght" 600, "wdth" 105;
}

/* —— Dashboard stats —— */
.layout--stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
}

.stat {
  padding: 1.15rem 1.2rem;
  display: grid;
  gap: 0.25rem;
}

.stat + .stat {
  border-left: 1px solid #e2e6eb;
}

.stat__label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variation-settings: "wght" 500, "wdth" 120;
  color: #7a8490;
}

.stat__num {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  font-variation-settings: "wght" 200, "wdth" 90;
}

.stat__delta {
  margin: 0;
  font-size: 0.8rem;
  font-feature-settings: "tnum";
  font-variation-settings: "wght" 550, "wdth" 100;
  color: #5c6570;
}

.stat__delta--up {
  color: #2f6b3a;
}

.stat__delta--down {
  color: #8a3a3a;
}

/* —— Receipt —— */
.layout--receipt {
  max-width: 22rem;
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.receipt__brand {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variation-settings: "wght" 800, "wdth" 140;
}

.receipt__order {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-variation-settings: "wght" 300, "wdth" 110;
  color: #5c6570;
}

.receipt__items {
  margin: 0;
  padding: 0.75rem 0;
  list-style: none;
  border-top: 1px dashed #c5ccd4;
  border-bottom: 1px dashed #c5ccd4;
  display: grid;
  gap: 0.4rem;
  text-align: left;
}

.receipt__items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-variation-settings: "wght" 400, "wdth" 100;
}

.receipt__price {
  font-feature-settings: "tnum";
  font-variation-settings: "wght" 500, "wdth" 95;
}

.receipt__total {
  margin: 0.5rem 0 0;
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-feature-settings: "tnum";
  font-variation-settings: "wght" 750, "wdth" 95;
}

.receipt__thanks {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  font-variation-settings: "wght" 200, "wdth" 115;
  color: #5c6570;
}

/* —— Axis reference —— */
.axes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.axes__cap {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variation-settings: "wght" 500, "wdth" 110;
  color: #7a8490;
}

.axis-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.axis-list li {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.w100 {
  font-variation-settings: "wght" 100, "wdth" 100;
}

.w400 {
  font-variation-settings: "wght" 400, "wdth" 100;
}

.w600 {
  font-variation-settings: "wght" 600, "wdth" 100;
}

.w900 {
  font-variation-settings: "wght" 900, "wdth" 100;
}

.wd50 {
  font-variation-settings: "wght" 600, "wdth" 50;
}

.wd75 {
  font-variation-settings: "wght" 600, "wdth" 75;
}

.wd100 {
  font-variation-settings: "wght" 600, "wdth" 100;
}

.wd150 {
  font-variation-settings: "wght" 600, "wdth" 150;
}

@media (max-width: 640px) {
  .masthead__split,
.layout--cards,
.layout--stats,
.axes__grid {
    grid-template-columns: 1fr;
  }

  .masthead__aside {
    border-left: 0;
    border-top: 1px solid #dde2e8;
    padding-left: 0;
    padding-top: 1rem;
  }

  .card + .card {
    border-left: 1px solid #e2e6eb;
    border-top: 0;
  }

  .stat + .stat {
    border-left: 0;
    border-top: 1px solid #e2e6eb;
  }

  .weather__days {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

