@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Unbounded;
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

    :root {
      color-scheme: light;
      --bg: #f3eee6;
      --ink: #1c1712;
      --muted: #6d645b;
      --card: rgba(255, 252, 247, 0.86);
      --line: rgba(28, 23, 18, 0.08);
      --accent: #b4532a;
      --shadow: 0 16px 40px rgba(92, 52, 24, 0.06);
    }

    @media (prefers-color-scheme: dark) {
      :root {
        color-scheme: dark;
        --bg: #141210;
        --ink: #f4ece3;
        --muted: #b7aea3;
        --card: rgba(32, 28, 24, 0.9);
        --line: rgba(244, 236, 227, 0.1);
        --accent: #e7a06a;
        --shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
      }
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      min-height: 100vh;
      color: var(--ink);
      background:
        radial-gradient(ellipse 90% 48% at 0% -8%, rgba(228, 164, 104, 0.42), transparent 58%),
        radial-gradient(ellipse 70% 42% at 100% 0%, rgba(180, 112, 64, 0.18), transparent 52%),
        var(--bg);
      font: 1rem/1.6 Manrope, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    main {
      width: min(40rem, 100%);
      margin: 0 auto;
      padding: clamp(1.5rem, 5vw, 3rem) clamp(1.1rem, 4vw, 1.5rem) 3.2rem;
    }

    .top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .age {
      display: inline-flex;
      align-items: center;
      margin: 0;
      padding: 0.28rem 0.62rem;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: var(--card);
      color: var(--accent);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .kicker {
      margin: 0;
      color: var(--muted);
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    h1 {
      margin: 1.15rem 0 0;
      font-family: Unbounded, Manrope, sans-serif;
      font-size: clamp(2.15rem, 8vw, 3.2rem);
      font-weight: 500;
      letter-spacing: -0.04em;
      line-height: 1.02;
    }

    .mark {
      width: 2.6rem;
      height: 0.22rem;
      margin: 1.2rem 0 1.15rem;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--accent), #e0a15a);
    }

    .lede {
      margin: 0 0 1.6rem;
      max-width: 34rem;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .breweries,
    .steps {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .breweries { counter-reset: brew; margin-top: 2.4rem; }

    .breweries li,
    .steps li {
      padding: 1.05rem 1.1rem 1.1rem;
      border: 1px solid var(--line);
      border-radius: 1.15rem;
      background: var(--card);
      box-shadow: var(--shadow);
      backdrop-filter: blur(10px);
    }

    .breweries li { counter-increment: brew; }

    .row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 0.75rem;
    }

    .num {
      color: var(--accent);
      font-family: Unbounded, Manrope, sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.08em;
    }

    .num::before {
      content: counter(brew, decimal-leading-zero);
    }

    .district {
      margin: 0;
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-align: right;
    }

    .breweries h2 {
      margin: 0.45rem 0 0.35rem;
      font-family: Unbounded, Manrope, sans-serif;
      font-size: 1.05rem;
      font-weight: 500;
      letter-spacing: -0.03em;
      line-height: 1.25;
    }

    .breweries li p:last-child { margin: 0; }

    .craft { margin-top: 0.35rem; }

    .craft h2 {
      margin: 0.7rem 0 0.75rem;
      font-family: Unbounded, Manrope, sans-serif;
      font-size: clamp(1.55rem, 5vw, 2.05rem);
      font-weight: 500;
      letter-spacing: -0.04em;
      line-height: 1.12;
    }

    .craft > p:not(.kicker) {
      margin: 0 0 1.15rem;
      max-width: 36rem;
      color: var(--muted);
    }

    .steps { counter-reset: step; }

    .steps li {
      counter-increment: step;
      display: grid;
      grid-template-columns: 7.25rem minmax(0, 1fr);
      gap: 0.9rem;
      align-items: start;
      padding: 0.7rem 0.95rem 0.9rem 0.7rem;
    }

    .steps img {
      width: 100%;
      height: auto;
      aspect-ratio: 1;
      object-fit: cover;
      border-radius: 0.8rem;
      display: block;
    }

    .steps h3 {
      margin: 0.15rem 0 0.35rem;
      font-family: Unbounded, Manrope, sans-serif;
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: -0.03em;
      line-height: 1.25;
    }

    .steps h3::before {
      content: counter(step, decimal-leading-zero);
      display: block;
      margin-bottom: 0.22rem;
      color: var(--accent);
      font-size: 0.72rem;
      letter-spacing: 0.08em;
    }

    .steps p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

    @media (max-width: 560px) {
      .steps li { grid-template-columns: 1fr; }
      .steps img { aspect-ratio: 16 / 10; }
    }

    footer {
      margin-top: 1.5rem;
      padding-top: 1rem;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.92rem;
    }

    footer p { margin: 0; }

    @media (prefers-reduced-motion: reduce) {
      * { scroll-behavior: auto; }
    }
