:root {
  --sage: #E6E4DF;
  --yellow: #B0452F;
  --red: #B0452F;
  --ink: #141414;
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --muted: #2B2B2B;
  --line: #E6E4DF;
  --shadow: 4px 4px 0 rgba(21, 20, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--surface);
  background-image: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover,
a:focus {
  color: var(--red);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 900;
}

.skip-link:focus {
  top: 12px;
}

h1,
h2,
h3,
h4,
.uk-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 4.75rem);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.2;
  font-weight: 800;
}

.utility-strip {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.utility-inner,
.utility-links,
.language-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.utility-strip a {
  color: var(--paper);
  text-decoration: none;
}

.language-links a {
  border: 1px solid rgba(247, 241, 223, 0.35);
  padding: 1px 7px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.chaboti-navbar {
  z-index: 50;
  background: rgba(253, 248, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 76px;
}

.brand-mark {
  gap: 12px;
  color: var(--ink);
  text-transform: none;
}

.brand-mark strong {
  display: block;
  font-size: 1.35rem;
}

.brand-mark small {
  display: block;
  margin-top: -4px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-bird {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--yellow);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 900;
  transform: rotate(-4deg);
}

.uk-navbar-nav > li > a {
  min-height: 76px;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.uk-navbar-nav > li.uk-active > a,
.uk-navbar-nav > li > a:hover {
  color: var(--red);
}

.uk-navbar-nav > li.uk-active > a::after,
.uk-navbar-nav > li > a:hover::after {
  width: calc(100% - 30px);
}

.uk-navbar-nav > li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 17px;
  width: 0;
  height: 3px;
  background: var(--yellow);
  transition: width 0.2s ease;
}

.mobile-drawer {
  background: var(--ink);
}

.hero-stage,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background-color: var(--sage);
  background:
    linear-gradient(130deg, rgba(155, 183, 174, 0.88), rgba(247, 241, 223, 0.94))none;
  background-color: var(--sage);
}

.hero-stage::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 5% -70px auto;
  width: 260px;
  height: 260px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  opacity: 0.35;
  transform: rotate(10deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.uk-button {
  border-radius: 2px;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button-red {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.button-red:hover {
  background: var(--ink);
  color: #fff;
}

.button-ink {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.hero-card {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(21, 20, 20, 0.2);
  transform: rotate(1.5deg);
}

.hero-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-hero.compact {
  padding: 68px 0 58px;
}

.page-hero h1 {
  max-width: 940px;
  margin: 0;
}

.paper-section {
  background: rgba(247, 241, 223, 0.7);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.section-heading h2 {
  color: var(--red);
}

.article-paper {
  padding: clamp(24px, 5vw, 54px);
  background: rgba(253, 248, 248, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(21, 20, 20, 0.08);
}

.site-prose > * + * {
  margin-top: 1.15rem;
}

.site-prose p {
  color: #2d2624;
}

.site-prose strong {
  color: var(--ink);
  font-weight: 900;
}

.performance-image {
  margin: 0 0 30px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.performance-image img {
  display: block;
  width: 100%;
  height: auto;
}

.image-logo {
  max-width: 520px;
}

.gallery-grid {
  margin-top: 20px;
}

.gallery-card {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(21, 20, 20, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 var(--red);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.home-gallery .gallery-card img {
  aspect-ratio: 4 / 3;
}

.show-card {
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 2px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.show-card:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0 var(--red);
}

.show-thumb {
  background: var(--paper);
}

.show-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 22px;
}

.show-card h3 {
  margin: 0 0 10px;
}

.show-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card-meta {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.agenda-grid > div {
  display: flex;
}

.agenda-grid .site-prose,
.agenda-grid .listing-card {
  width: 100%;
}

.paper-table {
  background: #fff;
}

blockquote {
  border-left: 6px solid var(--yellow);
  margin-left: 0;
  padding: 10px 0 10px 22px;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
}

.ink-divider {
  border: 0;
  height: 1px;
  margin: 2rem 0;
  background-image: linear-gradient(to right, transparent, rgba(21, 20, 20, 0.45), transparent);
}

.breadcrumb-wrap {
  margin-bottom: 18px;
}

.uk-breadcrumb > * > * {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.toc-card,
.toc-inline,
.side-paper {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.toc-card h2,
.toc-inline h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.main-image {
  float: right;
  width: min(33%, 320px);
  margin: 0 0 24px 28px;
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: var(--paper);
}

.site-footer h2 {
  font-size: 1.8rem;
}

.site-footer h3 {
  color: var(--yellow);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 8px;
}

@media (max-width: 959px) {
  .utility-inner {
    justify-content: center;
  }

  .hero-stage,
  .page-hero {
    padding: 56px 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-card {
    margin-top: 24px;
    transform: none;
  }

  .article-paper {
    padding: 22px;
  }

  .main-image {
    float: none;
    width: 100%;
    margin: 0 0 22px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .article-paper,
  .performance-image,
  .show-card {
    box-shadow: none;
    border-color: #999;
  }
}

/* Typographic scale (specs.md): h1 44/600 h2 30/600 h3 22/600 h4 18/500 body 16/400 small 13/400 */
body{font-size:16px;font-weight:400}
h1{font-size:44px;font-weight:600}
h2{font-size:30px;font-weight:600}
h3{font-size:22px;font-weight:600}
h4{font-size:18px;font-weight:500}
small{font-size:13px;font-weight:400}
@media(max-width:768px){h1{font-size:32px}h2{font-size:25px}}
