:root {
  --page-bg: radial-gradient(circle at top, rgba(21, 10, 0, 0.12) 0%, rgba(231, 185, 29, 0) 32%), linear-gradient(180deg, #120d08 0%, #0c0906 100%);
  --surface: linear-gradient(180deg, rgba(248, 241, 224, 0.98) 0%, rgba(238, 231, 213, 0.98) 100%);
  --surface-strong: linear-gradient(135deg, #1f1a13 0%, #3d2e14 55%, #b48736 100%);
  --border: rgba(106, 79, 31, 0.2);
  --shadow: 0 22px 44px rgba(18, 15, 11, 0.16);
  --ink: #221d15;
  --muted: #6c5a43;
  --accent: #b07c23;
  --accent-strong: #e1b453;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: #fff;
  font-family: Sora, Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

section {
  min-height: 100px;
}

.landing-page {
  position: relative;
  display: flex;
  flex-direction: column;
}

.promo-0 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 550px;
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-header {
  min-height: 280px;
  padding: 30px 24px 52px;
  filter: drop-shadow(#e7b91d 0 0 6.75rem);
}

.site-header__inner {
  width: min(100%, 830px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header__home {
  cursor: pointer;
  text-shadow: rgb(0, 0, 0) 5px 5px;
}

.site-header__logo {
  display: block;
  width: 100px;
  height: auto;
}

.site-header__wordmark {
  margin-left: 12px;
  line-height: 1.8em;
  text-align: left;
  text-shadow: rgb(0, 0, 0) 2px 2px;
  pointer-events: none;
  font-family: Cinzel, serif;
}

.site-header__wordmark-top {
  font-size: 38px;
}

.site-header__wordmark-bottom {
  font-size: 35px;
}

.menu-wrapper {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 830px);
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.top-menu {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.5rem 0;
}

.svg-link {
  position: relative;
  padding-bottom: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.svg-link svg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  fill: none;
  stroke: #f7c948;
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.4s ease;
}

.svg-link:hover {
  color: #f7c948;
}

.svg-link:hover svg {
  stroke-dashoffset: 0;
}

.site-header-image {
  min-height: auto;
  padding: 18px 0;
  pointer-events: none;
}

.site-header-image__frame {
  width: min(100%, 830px);
  border: 1px solid rgba(231, 185, 29, 0.26);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 55px rgba(8, 8, 8, 0.26);
  background: rgba(17, 12, 6, 0.92);
}

.site-header-image__image {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 6;
  object-fit: cover;
  object-position: center 56%;
}

.blog {
  gap: 24px;
  padding: 0 24px 48px;
  color: var(--ink);
}

.blog .content {
  width: min(100%, 830px);
  min-height: 200px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blog-card {
  position: relative;
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 29, 10, 0.16) 0%, rgba(12, 12, 12, 0) 100%);
  opacity: 0.55;
  pointer-events: none;
}

.blog-card__header {
  position: relative;
  padding: 34px 36px 20px;
}

.blog-card__title-row,
.sitemap-item__title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.blog-card__permalink,
.sitemap-item__permalink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid rgba(176, 124, 35, 0.24);
  border-radius: 14px;
  background: rgba(255, 251, 242, 0.68);
  color: var(--accent);
  text-decoration: none;
}

.blog-card__heading {
  min-width: 0;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-card__label {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.66rem;
  border-radius: 999px;
  background: rgba(176, 124, 35, 0.12);
  color: #7f5810;
}

.blog-card__title-link,
.sitemap-item__title-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

.blog-card__title-link h1,
.blog-card__title-link h2,
.sitemap-item__title-link h2 {
  margin: 0;
  color: #20170e;
  letter-spacing: -0.04em;
  line-height: 1;
}

.blog-card__title-link h1,
.blog-card__title-link h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
}

.sitemap-item__title-link h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.blog-card__summary {
  max-width: 58ch;
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #544532;
}

.blog .tldr,
.sitemap-item .summary {
  margin-top: 12px;
  padding: 18px 22px;
  border: 1px solid rgba(176, 124, 35, 0.14);
  border-left: 4px solid #cf8b3d;
  border-radius: 20px;
  background: rgba(255, 247, 233, 0.92);
  font-size: 0.98rem;
  line-height: 1.78;
  color: #3d3022;
}

.blog .tldr::before {
  content: "TL;DR";
  display: block;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aa6115;
}

.summary__label {
  display: inline-block;
  margin-right: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a56514;
}

.blog .body {
  position: relative;
  margin: 0 auto;
  font-size: 1.03rem;
  line-height: 1.85;
  color: #241c13;
}

.blog .body.body-pad {
  padding: 30px 36px 34px;
}

.blog .body > :first-child {
  margin-top: 0;
}

.blog .body > :last-child {
  margin-bottom: 0;
}

.blog .body p,
.blog .body li,
.blog .body blockquote,
.blog .body pre,
.blog .body table {
  margin-bottom: 1em;
}

.blog .body h1,
.blog .body h2,
.blog .body h3,
.blog .body h4 {
  margin: 1.7em 0 0.55em;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #1f1710;
}

.blog .body h2 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.blog .body h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.blog .body ul,
.blog .body ol {
  padding-left: 1.3rem;
}

.blog .body a,
.sitemap-item__cta a {
  color: #84570b;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.blog .body blockquote {
  margin-left: 0;
  padding: 18px 20px;
  border-left: 3px solid rgba(176, 124, 35, 0.8);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 248, 236, 0.82);
  color: #473726;
}

.blog .body code {
  padding: 0.16rem 0.4rem;
  border-radius: 8px;
  background: rgba(98, 73, 22, 0.12);
  color: #513504;
}

.blog .body pre {
  overflow-x: auto;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: #221d19;
  color: #f8f3e7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.blog .body pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.blog .body img,
.sitemap-item .body img,
.blog .body iframe,
.sitemap-item .body iframe,
.blog .body video,
.sitemap-item .body video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 26px 0;
  border: 1px solid rgba(98, 73, 22, 0.12);
  border-radius: 22px;
  box-shadow: 0 20px 35px rgba(32, 25, 17, 0.12);
}

.blog .body iframe,
.sitemap-item .body iframe {
  aspect-ratio: 16 / 9;
  min-height: 320px;
}

.sitemap {
  gap: 24px;
}

.blog-archive {
  width: min(100%, 830px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-archive__intro {
  padding: 28px 32px;
  border: 1px solid rgba(230, 193, 109, 0.18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(36, 28, 15, 0.92) 0%, rgba(24, 19, 11, 0.92) 100%);
  color: #faecd0;
  box-shadow: 0 24px 40px rgba(17, 12, 6, 0.2);
}

.blog-archive__eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 228, 166, 0.84);
}

.blog-archive__intro h1 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.blog-archive__intro p {
  max-width: 52ch;
  margin: 0;
  color: rgba(250, 236, 208, 0.8);
}

.blog-archive__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sitemap-item {
  padding: 24px;
  border: 1px solid rgba(106, 79, 31, 0.16);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 22px 44px rgba(18, 15, 11, 0.12);
}

.date {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b6850;
}

.sitemap-item__details {
  margin-top: 14px;
}

.expand-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(176, 124, 35, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.72);
  color: #7d5516;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.expand-toggle::-webkit-details-marker {
  display: none;
}

.expand-toggle__icon-expanded,
.expand-toggle__text-expanded {
  display: none;
}

.sitemap-item__details[open] .expand-toggle__icon-collapsed,
.sitemap-item__details[open] .expand-toggle__text-collapsed {
  display: none;
}

.sitemap-item__details[open] .expand-toggle__icon-expanded,
.sitemap-item__details[open] .expand-toggle__text-expanded {
  display: inline-flex;
}

.sitemap-item__body {
  margin-top: 14px;
  padding: 18px 0 10px;
}

.sitemap-item__cta {
  margin: 10px 0 0;
}

.blog-single {
  padding-top: 8px;
}

.blog-single__intro {
  width: min(100%, 830px);
  display: flex;
  justify-content: flex-start;
}

.blog-single__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(230, 193, 109, 0.24);
  border-radius: 999px;
  background: rgba(36, 27, 14, 0.88);
  color: #fbefcf;
  font-size: 0.83rem;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(17, 12, 6, 0.16);
}

.reaction-count {
  padding: 0 36px 30px;
  color: #6c5a43;
  font-size: 0.9rem;
}

.static-page__body {
  position: relative;
  z-index: 1;
}

.about-page img {
  width: 100%;
  height: auto;
}

.about-section {
  padding: 12px 0 0;
  max-width: 800px;
  margin: 0 auto;
}

.about-section h2 {
  margin: 0;
  text-align: center;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.about-card {
  margin-top: 20px;
  background: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.about-card ul {
  padding-left: 20px;
}

.about-card li {
  margin-bottom: 10px;
}

.about-card h3 {
  text-align: center;
  margin-top: 30px;
  font-size: 1.3rem;
  color: #333;
}

.about-page .subtitle {
  font-size: 1.05rem;
  color: #666;
  margin: 14px 0 0;
  text-align: center;
}

.about-gallery-section {
  margin-top: 32px;
}

.about-gallery-section em {
  display: inline-block;
  margin-bottom: 12px;
  color: #5b4b36;
}

.about-gallery-section img + img {
  margin-top: 16px;
}

.about-gallery-section--last {
  margin-bottom: 8px;
}

.playground-list {
  display: grid;
  gap: 20px;
}

.playground-entry {
  padding: 24px;
  border: 1px solid rgba(176, 124, 35, 0.16);
  border-radius: 24px;
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 18px 32px rgba(30, 23, 15, 0.08);
}

.playground-entry__link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.playground-entry__copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(176, 124, 35, 0.22);
  border-radius: 14px;
  background: rgba(255, 248, 235, 0.95);
  color: #8c611d;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.playground-entry__copy:hover {
  color: #aa741c;
  border-color: rgba(176, 124, 35, 0.38);
}

.playground-entry__title-link {
  text-decoration: none;
}

.playground-entry__title-link h2 {
  margin: 0;
  color: #20170e;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.playground-entry__title-link:hover h2 {
  color: #8d5f16;
}

.playground-entry .summary {
  margin-top: 18px;
}

.playground-entry .summary p + p {
  margin-top: 14px;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #000;
  color: #fff;
  padding: 32px 16px 40px;
}

.contact-section a,
.contact-section a:link,
.contact-section a:hover,
.contact-section a:visited {
  color: white;
  text-decoration: none;
}

@media only screen and (max-width: 830px) {
  .menu-wrapper {
    width: 100%;
  }
}

@media only screen and (max-width: 888px) {
  .promo-0 {
    min-height: 360px;
  }

  .site-header {
    min-height: 240px;
    padding: 26px 16px 42px;
  }

  .site-header__logo {
    width: 84px;
  }

  .site-header__wordmark {
    margin-left: 10px;
    line-height: 1.45em;
  }

  .site-header__wordmark-top {
    font-size: 30px;
  }

  .site-header__wordmark-bottom {
    font-size: 27px;
  }

  .site-header-image {
    padding: 14px 0;
  }

  .site-header-image__frame {
    border-radius: 18px;
  }

  .site-header-image__image {
    aspect-ratio: 16 / 7;
  }

  .blog,
  .blog-archive,
  .blog-archive__intro,
  .blog .content,
  .blog-single__intro {
    width: 100%;
  }

  .blog {
    padding: 0 16px 40px;
  }

  .blog-card__header,
  .blog .body.body-pad,
  .blog-archive__intro,
  .sitemap-item {
    padding: 20px;
  }

  .blog-single__back {
    width: 100%;
    justify-content: center;
  }
}