:root {
  --bg-a: #261516;
  --bg-b: #120b0c;
  --paper: rgba(245, 236, 230, 0.72);
  --paper-strong: rgba(247, 240, 235, 0.92);
  --ink: #f0e4db;
  --muted: rgba(226, 206, 194, 0.74);
  --line: rgba(225, 197, 180, 0.2);
  --line-strong: rgba(229, 204, 188, 0.28);
  --accent: #a4514b;
  --accent-soft: rgba(164, 81, 75, 0.16);
  --plum: #6f2229;
  --surface-dark: #1a1011;
  --surface-soft: rgba(255, 246, 240, 0.04);
  --shadow-strong: 0 24px 70px rgba(0, 0, 0, 0.28);
  --ink-dark: #2f1818;
  --muted-dark: rgba(69, 37, 33, 0.78);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Barlow Condensed", "Segoe UI", Arial, sans-serif;

  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --radius-xl: 56px;
  --radius-organic: 42% 58% 60% 40% / 42% 44% 56% 58%;
  --shadow-soft: 0 20px 60px rgba(22, 21, 19, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  background:
    radial-gradient(1200px 820px at 8% 10%, rgba(164, 81, 75, 0.2), transparent 56%),
    radial-gradient(980px 700px at 86% 8%, rgba(206, 163, 123, 0.14), transparent 56%),
    linear-gradient(160deg, var(--bg-a), var(--bg-b));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #fff6f1;
}

a:focus,
button:focus {
  outline: 2px solid rgba(255, 241, 231, 0.72);
  outline-offset: 3px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.grain {
  position: fixed;
  inset: -2px;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, #180f10 92%, transparent);
  border-bottom: 1px solid var(--line);
}

.top--ghost {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.mark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
}

.mark--image {
  display: inline-flex;
  max-width: 156px;
}

.mark__image {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.16) saturate(0.92);
}

.mark__name {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.01em;
  line-height: 0.92;
  font-weight: 500;
}

.mark__name--logo {
  letter-spacing: 0.012em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

.mark__logo-bbc {
  letter-spacing: 0.012em;
}

.mark__logo-3 {
  display: inline-block;
  transform: translateY(-0.015em);
  margin-left: 0;
  margin-right: 0.01em;
}

.mark__logo-rest {
  letter-spacing: 0.01em;
}

.mark__rule {
  width: min(76%, 260px);
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(226, 206, 194, 0.82) 0%, rgba(226, 206, 194, 0.36) 36%, rgba(226, 206, 194, 0.04) 100%);
  transform: translateX(12%);
  border-radius: 999px;
  opacity: 0.8;
}

.top__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 228, 219, 0.76);
}

.top__links a {
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.top__links a:hover {
  color: #fff6f1;
  border-color: rgba(255, 244, 237, 0.56);
}

.section {
  padding: 86px 0;
}

.section--dark {
  padding: 46px 28px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(52, 24, 26, 0.94), rgba(25, 12, 13, 0.98)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid rgba(233, 218, 206, 0.12);
  box-shadow: var(--shadow-strong);
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: 0.01em;
  line-height: 1.02;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker--light {
  color: rgba(248, 240, 234, 0.68);
}

.soft {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chipline a {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff7f2;
  border: 1px solid color-mix(in srgb, var(--accent) 78%, #000000);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.chipline a:hover {
  transform: translateY(-1px);
  color: #fff7f2;
  background: color-mix(in srgb, var(--accent) 86%, #000000);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 66px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer__inner a {
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer__inner a:hover {
  color: #fff4ec;
  border-color: rgba(255, 244, 237, 0.56);
}

.rise {
  opacity: 1;
  transform: translateY(12px);
}

.rise.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: transform 620ms ease;
}

.stagger > * {
  opacity: 1;
  transform: translateY(10px);
}

.stagger.is-in > * {
  opacity: 1;
  transform: translateY(0);
  transition: transform 620ms ease;
}

.stagger.is-in > *:nth-child(2) {
  transition-delay: 70ms;
}

.stagger.is-in > *:nth-child(3) {
  transition-delay: 140ms;
}

.stagger.is-in > *:nth-child(4) {
  transition-delay: 210ms;
}

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

  .rise,
  .stagger > * {
    opacity: 1;
    transform: none;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 760px) {
  .mark {
    gap: 4px;
  }

  .mark__name {
    font-size: 20px;
  }

  .mark--image {
    max-width: 124px;
  }

  .mark__rule {
    width: min(72%, 190px);
    height: 8px;
  }

  .top__links {
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(1180px, calc(100% - 32px));
  }

  .section {
    padding: 66px 0;
  }

  .section--dark {
    padding: 24px 18px;
    border-radius: 26px;
  }
}
