:root {
  color-scheme: dark;
  --bg: #1c1410;
  --bg-warm: #271c16;
  --surface: #32251d;
  --surface-lit: #3d2d23;
  --text: #f6efe6;
  --muted: #c4b09a;
  --ember: #e25a24;
  --ember-soft: rgba(226, 90, 36, 0.18);
  --clay: #d4a017;
  --clay-soft: rgba(212, 160, 23, 0.14);
  --glaze: #8fbfa3;
  --line: rgba(246, 239, 230, 0.1);
  --radius: 22px;
  --radius-sm: 16px;
  --font-display: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body:
    "Avenir Next",
    "Segoe UI",
    "Helvetica Neue",
    Helvetica,
    Arial,
    ui-sans-serif,
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

.kiln {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, rgba(226, 90, 36, 0.16), transparent 58%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 58%, #120d0a 100%);
}

.kiln__ember--left {
  position: absolute;
  left: -12%;
  bottom: -18%;
  width: 48vw;
  height: 42vh;
  background: radial-gradient(ellipse, var(--ember-soft), transparent 70%);
}

.kiln__ember--right {
  position: absolute;
  right: -8%;
  top: 8%;
  width: 36vw;
  height: 34vh;
  background: radial-gradient(ellipse, var(--clay-soft), transparent 70%);
}

.kiln__arch {
  position: absolute;
  top: 7%;
  right: 8%;
  width: 110px;
  height: 78px;
  border: 2px solid rgba(226, 90, 36, 0.28);
  border-bottom: none;
  border-radius: 110px 110px 0 0;
  opacity: 0.7;
}

.kiln__arch::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 48px;
  border: 2px solid rgba(143, 191, 163, 0.28);
  border-bottom: none;
  border-radius: 90px 90px 0 0;
}

.kiln__arch::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ember);
  transform: translateX(-50%);
  box-shadow: 0 0 18px var(--ember);
}

.page {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 88px;
}

.hero {
  padding: 40px 36px 34px;
  margin-bottom: 28px;
  background:
    linear-gradient(165deg, rgba(61, 45, 35, 0.95) 0%, rgba(39, 28, 22, 0.92) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(18, 13, 10, 0.35);
}

.mark {
  display: inline-block;
  margin: 0 0 16px;
  padding: 5px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--glaze);
  border: 1px solid rgba(143, 191, 163, 0.35);
  border-radius: 999px;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.brand em {
  font-style: italic;
  color: var(--ember);
  font-weight: 400;
}

h1 {
  margin: 18px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
}

.lead {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 1rem;
  color: var(--muted);
}

.updated {
  margin-top: 22px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--glaze);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.tiles li {
  padding: 24px 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.tiles li:nth-child(1) {
  box-shadow: inset 0 3px 0 var(--ember);
}

.tiles li:nth-child(2) {
  box-shadow: inset 0 3px 0 var(--clay);
}

.tiles li:nth-child(3) {
  box-shadow: inset 0 3px 0 var(--glaze);
}

.tiles strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
  font-style: italic;
}

.tiles span {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.58;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

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

.card p + p {
  margin-top: 10px;
}

.card--wide {
  grid-column: 1 / -1;
  padding: 28px 26px;
  background: linear-gradient(140deg, var(--surface-lit) 0%, rgba(50, 37, 29, 0.7) 100%);
  border-color: rgba(226, 90, 36, 0.18);
}

a {
  color: var(--glaze);
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 191, 163, 0.4);
}

a:hover {
  color: var(--ember);
}

.footer {
  margin-top: 40px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

@media (max-width: 760px) {
  .tiles,
  .cards {
    grid-template-columns: 1fr;
  }

  .card--wide {
    grid-column: auto;
  }

  .hero {
    padding: 30px 22px 26px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 32px 0 64px;
    width: min(100% - 24px, 880px);
  }

  .kiln__arch {
    opacity: 0.35;
  }
}
