:root {
  --red: #c8102e;
  --red-bright: #e31937;
  --red-deep: #99132a;
  --red-dark: #5e0a18;
  --gold: #b9995c;
  --gold-light: #ead5a8;
  --ink: #211b19;
  --ink-soft: #655c57;
  --paper: #fffdf8;
  --warm: #f5efe6;
  --line: rgba(51, 38, 31, 0.16);
  --white: #ffffff;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 84px;
  --shadow: 0 24px 64px rgba(65, 26, 21, 0.1);
  font-family: "Noto Sans Thai", "Thonburi", "Leelawadee UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
  accent-color: var(--red);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
}

p {
  text-wrap: pretty;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    height 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  height: 72px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(62, 26, 24, 0.08);
  backdrop-filter: blur(18px);
}

.page-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold), var(--red-bright));
  box-shadow: 0 0 16px rgba(200, 16, 46, 0.22);
  transform: scaleX(0);
  transform-origin: left center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.brand-copy strong {
  font-weight: 760;
}

.brand-copy small {
  opacity: 0.72;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 37px;
  aspect-ratio: 1;
  place-items: center;
  color: currentColor;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.9rem;
  font-weight: 600;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
}

.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: currentColor;
  transition: right 180ms ease;
}

.primary-nav > a:not(.nav-cta):hover::after {
  right: 0;
}

.primary-nav > a[aria-current="location"]:not(.nav-cta)::after {
  right: 0;
}

.site-header.is-scrolled .primary-nav > a[aria-current="location"]:not(.nav-cta) {
  color: var(--red);
}

.nav-cta {
  padding: 10px 17px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 2px;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled .nav-cta,
.site-header.is-open .nav-cta {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.nav-cta:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 0;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1.5px;
  margin-block: 5px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.is-open .nav-toggle > span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.is-open .nav-toggle > span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle > span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #5a1916;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
  animation: hero-scale 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(42, 8, 14, 0.91) 0%, rgba(77, 16, 23, 0.68) 34%, rgba(56, 16, 12, 0.08) 72%),
    linear-gradient(0deg, rgba(32, 7, 12, 0.68) 0%, transparent 46%),
    linear-gradient(180deg, rgba(28, 7, 10, 0.46) 0%, transparent 28%);
}

.hero-content {
  padding-block: calc(var(--header-height) + 96px) 132px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: "Noto Serif Thai", "Th Sarabun New", "Thonburi", serif;
  font-size: clamp(3.5rem, 7.3vw, 7.7rem);
  font-weight: 620;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span {
  color: #f4dfb7;
  font-size: 1.08em;
  font-weight: 650;
}

.hero-subtitle {
  margin: 24px 0 0;
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 720;
  letter-spacing: 0.11em;
}

.hero-lead {
  max-width: 550px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 750;
  border-radius: 2px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: var(--red-bright);
  box-shadow: 0 14px 30px rgba(147, 12, 17, 0.35);
}

.button-primary:hover {
  background: #f12643;
  box-shadow: 0 18px 34px rgba(147, 12, 17, 0.45);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

.text-link-light {
  color: var(--white);
}

.hero-year {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  top: 50%;
  display: grid;
  justify-items: end;
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%);
}

.hero-year::before {
  content: "";
  width: 1px;
  height: 86px;
  margin: 0 18px 19px 0;
  background: linear-gradient(transparent, var(--gold-light));
}

.hero-year span {
  margin-right: 4px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-year strong {
  font-family: "Noto Serif Thai", "Th Sarabun New", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  width: 30px;
  height: 48px;
  place-items: start center;
  padding-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 99px;
  animation: scroll-cue 1.7s ease-in-out infinite;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-enter 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero-reveal:nth-child(2) {
  animation-delay: 90ms;
}

.hero-reveal:nth-child(3) {
  animation-delay: 180ms;
}

.hero-reveal:nth-child(4) {
  animation-delay: 270ms;
}

.hero-reveal:nth-child(5) {
  animation-delay: 360ms;
}

.section {
  padding-block: clamp(88px, 10vw, 150px);
}

.section-intro,
.articles-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

.section h2,
.closing-section h2 {
  margin: 0;
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-family: "Noto Serif Thai", "Th Sarabun New", "Thonburi", serif;
  font-weight: 590;
  line-height: 1.12;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-intro > p,
.articles-header > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.calendar-section {
  position: relative;
  background:
    linear-gradient(rgba(185, 153, 92, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 153, 92, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

.calendar-frame {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(185, 153, 92, 0.38);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.calendar-topline {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 24px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.calendar-topline span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.calendar-topline i {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(215, 25, 32, 0.1);
}

.calendar-frame iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

.calendar-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(185, 153, 92, 0.38);
}

.calendar-subscribe-copy {
  display: grid;
  gap: 4px;
}

.calendar-subscribe-copy span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calendar-subscribe-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.calendar-subscribe-button {
  display: inline-flex;
  min-height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 20px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
  box-shadow: 0 12px 26px rgba(147, 12, 17, 0.18);
  font-weight: 750;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.calendar-subscribe-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.calendar-subscribe-button:hover {
  color: var(--red);
  background: transparent;
  border-color: rgba(215, 25, 32, 0.62);
  box-shadow: none;
  transform: translateY(-2px);
}

.calendar-subscribe-button:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.2);
  outline-offset: 3px;
}

.calendar-subscribe-arrow {
  font-size: 0.9rem;
  transition: transform 180ms ease;
}

.calendar-subscribe-button:hover .calendar-subscribe-arrow {
  transform: translate(2px, -2px);
}

.primary-source-note {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.primary-source-note a {
  color: var(--red);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(215, 25, 32, 0.28);
  text-underline-offset: 4px;
}

.primary-source-note a:hover {
  text-decoration-color: currentColor;
}

.event-highlights {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  gap: 64px;
  margin-top: 92px;
}

.event-highlights h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-family: "Noto Serif Thai", "Th Sarabun New", serif;
  font-weight: 580;
}

.event-list {
  border-top: 1px solid var(--ink);
}

.event-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-block: 23px;
  border-bottom: 1px solid var(--line);
  transition:
    color 180ms ease,
    padding 220ms ease,
    background 220ms ease;
}

.event-item:hover {
  padding-inline: 14px;
  color: var(--red-deep);
  background: rgba(200, 16, 46, 0.035);
}

.event-item:hover .event-time {
  transform: translate(3px, -2px);
}

.event-date {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
}

.event-date strong {
  color: var(--red);
  font-size: 2.05rem;
  line-height: 1;
}

.event-date span {
  color: var(--ink-soft);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.25;
}

.event-info h4 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.event-info p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.event-time {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease;
}

.project-section {
  padding-top: 0;
  overflow: hidden;
  background: var(--warm);
}

.project-visual {
  position: relative;
  height: clamp(440px, 54vw, 660px);
  overflow: hidden;
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 12, 8, 0.05), rgba(53, 8, 17, 0.64)),
    linear-gradient(0deg, rgba(38, 7, 12, 0.25), transparent 46%);
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-visual.is-visible img {
  transform: scale(1.035);
}

.project-visual > p {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 56px;
  max-width: 490px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4.6rem);
  font-family: "Noto Serif Thai", "Th Sarabun New", serif;
  font-weight: 560;
  line-height: 1.17;
  letter-spacing: -0.05em;
  text-align: right;
}

.project-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  padding-block: clamp(90px, 11vw, 150px) 90px;
}

.project-body p {
  margin: 0;
  color: var(--ink-soft);
}

.project-body p + p {
  margin-top: 22px;
}

.project-body .lead {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.7;
}

.source-links {
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}

.source-links a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 750;
  transition:
    color 180ms ease,
    padding 180ms ease;
}

.source-links a:hover {
  padding-inline: 8px;
  color: var(--red);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: clamp(90px, 11vw, 145px);
}

.timeline-item {
  position: relative;
  min-height: 190px;
  padding: 24px 28px 0 0;
  border-top: 2px solid rgba(33, 27, 25, 0.26);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--warm);
  border: 2px solid var(--ink-soft);
  border-radius: 50%;
}

.timeline-item time {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
}

.timeline-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

.timeline-item.is-current {
  color: var(--white);
  background: var(--red);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 50px rgba(115, 13, 31, 0.18);
  border-top-color: var(--red);
  padding-left: 28px;
  transform: translateY(-22px);
}

.timeline-item.is-current::before {
  top: 24px;
  left: 26px;
  background: var(--white);
  border-color: var(--white);
}

.timeline-item.is-current time {
  padding-left: 24px;
  color: var(--white);
}

.timeline-item.is-current p {
  color: rgba(255, 255, 255, 0.82);
}

.preparation-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(185, 153, 92, 0.12), transparent 28%),
    linear-gradient(140deg, #221b18, #15100f 72%);
  color: var(--white);
}

.preparation-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr;
  gap: 110px;
}

.preparation-heading {
  position: sticky;
  top: 120px;
  align-self: start;
}

.preparation-heading > p:last-child {
  max-width: 430px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.preparation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.preparation-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding-block: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.preparation-list li > span {
  padding-top: 4px;
  color: #ff8e92;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.preparation-list h3 {
  margin: 0;
  font-size: 1.18rem;
}

.preparation-list p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.articles-section {
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(185, 153, 92, 0.07) 9% calc(9% + 1px), transparent calc(9% + 1px)),
    var(--paper);
}

.article-audit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 28px;
  align-items: end;
  margin: 0 0 34px;
  padding: 22px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid rgba(185, 153, 92, 0.35);
}

.article-audit > span {
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.article-audit strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--red-deep);
  font-family: "Noto Serif Thai", "Th Sarabun New", serif;
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
  font-weight: 560;
}

.article-audit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.article-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
  border-top: 1px solid var(--ink);
}

.article-tab {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-weight: 750;
  text-align: left;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.article-tab + .article-tab {
  border-left: 1px solid var(--line);
}

.article-tab span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.76rem;
}

.article-tab:hover {
  color: var(--red);
  background: rgba(215, 25, 32, 0.035);
}

.article-tab.is-active {
  color: var(--white);
  background: var(--red);
  border-bottom-color: var(--red);
}

.article-tools {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}

.article-search {
  display: flex;
  width: min(100%, 560px);
  align-items: center;
  gap: 13px;
  color: var(--red);
  border-bottom: 1px solid rgba(33, 27, 25, 0.42);
}

.article-search > span:first-child {
  font-size: 1.45rem;
  line-height: 1;
}

.article-search input {
  width: 100%;
  min-height: 48px;
  padding: 4px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.article-search:focus-within {
  border-color: var(--red);
}

.article-search input::placeholder {
  color: #938985;
}

#article-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
  white-space: nowrap;
}

.article-list {
  border-bottom: 1px solid var(--ink);
}

.article-item {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 44px;
  gap: 32px;
  align-items: center;
  min-height: 158px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  transition:
    padding 220ms ease,
    background 220ms ease;
}

.article-item:last-child {
  border-bottom: 0;
}

.article-item:hover {
  padding-inline: 16px;
  background: rgba(215, 25, 32, 0.035);
}

.article-meta {
  align-self: start;
  padding-top: 8px;
}

.article-meta time {
  display: block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.article-meta span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.article-copy h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.22rem, 2.2vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.article-copy p {
  max-width: 780px;
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.article-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--red);
  border: 1px solid rgba(215, 25, 32, 0.32);
  border-radius: 50%;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.article-item:hover .article-arrow {
  color: var(--white);
  background: var(--red);
  transform: translate(3px, -3px);
}

.article-more {
  display: block;
  min-width: 240px;
  min-height: 54px;
  margin: 38px auto 0;
  padding: 10px 24px;
  color: var(--red-deep);
  background: transparent;
  border: 1px solid var(--red);
  border-radius: 2px;
  cursor: pointer;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.article-more:hover {
  color: var(--white);
  background: var(--red);
  transform: translateY(-2px);
}

.article-more[hidden] {
  display: none;
}

.article-empty {
  padding: 72px 24px;
  text-align: center;
}

.article-empty strong {
  color: var(--red-deep);
  font-size: 1.2rem;
}

.article-empty p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.noscript-note {
  padding: 16px;
  color: var(--red-dark);
  background: #fff1f1;
}

.closing-section {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--red-dark);
}

.closing-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background:
    radial-gradient(circle at 50% 135%, transparent 0 28%, rgba(255, 255, 255, 0.22) 28.3% 28.6%, transparent 29% 37%, rgba(255, 255, 255, 0.18) 37.3% 37.6%, transparent 38%),
    linear-gradient(125deg, #4a0715, #c8102e 58%, #861126);
}

.closing-content {
  padding-block: 90px;
  text-align: center;
}

.closing-content .eyebrow {
  color: #ffd1d2;
}

.closing-content h2 {
  margin-bottom: 34px;
}

.button-light {
  color: var(--red-deep);
  background: var(--white);
  box-shadow: 0 15px 40px rgba(54, 7, 9, 0.24);
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #171210;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 50px;
  align-items: center;
  padding-block: 56px;
}

.brand-dark {
  color: var(--white);
}

.footer-layout > p {
  margin: 0;
  font-size: 0.85rem;
}

.footer-layout nav {
  display: flex;
  gap: 24px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 650;
}

.footer-layout nav a:hover {
  color: #ff9598;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  font-size: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-scale {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}

@keyframes scroll-cue {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(12px);
  }
}

@media (max-width: 960px) {
  :root {
    --shell: min(100% - 36px, 760px);
    --header-height: 72px;
  }

  .site-header {
    height: 72px;
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100vw;
    min-height: calc(100svh - 72px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 44px 24px;
    overflow-y: auto;
    color: var(--ink);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-open .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav a {
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .primary-nav .nav-cta {
    margin-top: 24px;
    padding-inline: 22px;
    color: var(--white);
    background: var(--red);
    border-bottom: 0;
    text-align: center;
  }

  .hero-year,
  .scroll-cue {
    display: none;
  }

  .hero-content {
    padding-bottom: 68px;
  }

  .section-intro,
  .articles-header,
  .event-highlights,
  .project-copy,
  .preparation-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-intro,
  .articles-header {
    margin-bottom: 40px;
  }

  .event-highlights {
    margin-top: 68px;
  }

  .article-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  #article-status {
    align-self: flex-end;
  }

  .project-visual > p {
    right: 24px;
    bottom: 30px;
  }

  .project-copy {
    gap: 40px;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 36px 0;
  }

  .timeline-item.is-current {
    transform: none;
  }

  .preparation-heading {
    position: static;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .brand {
    font-size: 0.9rem;
  }

  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 34px;
  }

  .hero {
    min-height: 800px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(37, 12, 7, 0.88) 0%, rgba(49, 16, 9, 0.52) 62%, rgba(20, 8, 4, 0.34) 100%),
      linear-gradient(90deg, rgba(40, 16, 9, 0.55), transparent);
  }

  .hero-content {
    padding-top: 170px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
  }

  .hero-subtitle {
    margin-top: 20px;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }

  .hero-lead {
    max-width: 95%;
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .section {
    padding-block: 82px;
  }

  .section h2,
  .closing-section h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .calendar-frame {
    margin-inline: -8px;
    border-radius: 2px;
  }

  .calendar-frame iframe {
    height: 640px;
  }

  .calendar-subscribe {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding-block: 22px;
  }

  .calendar-subscribe-button {
    width: 100%;
  }

  .event-item {
    grid-template-columns: 76px 1fr;
    gap: 18px;
  }

  .event-time {
    grid-column: 2;
    justify-self: start;
  }

  .event-date strong {
    font-size: 1.75rem;
  }

  .project-visual {
    height: 520px;
  }

  .project-visual img {
    object-position: 58% center;
  }

  .project-visual > p {
    max-width: calc(100vw - 48px);
    font-size: 2.4rem;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .timeline-item {
    min-height: auto;
    padding: 26px 0 28px 28px;
    border-top: 0;
    border-left: 2px solid rgba(33, 27, 25, 0.22);
  }

  .timeline-item::before {
    top: 36px;
    left: -7px;
  }

  .timeline-item.is-current {
    padding: 26px 24px 28px 36px;
    border-left-color: var(--red);
  }

  .timeline-item.is-current::before {
    top: 35px;
    left: -7px;
  }

  .timeline-item.is-current time {
    padding-left: 0;
  }

  .preparation-list li {
    grid-template-columns: 45px 1fr;
    gap: 14px;
  }

  .article-tabs {
    grid-template-columns: 1fr;
  }

  .article-audit {
    grid-template-columns: 1fr;
  }

  .article-audit strong {
    grid-row: auto;
    grid-column: auto;
  }

  .article-audit p {
    margin-top: 5px;
  }

  .article-tab + .article-tab {
    border-left: 0;
  }

  .article-item {
    grid-template-columns: 1fr 40px;
    gap: 16px;
    min-height: auto;
    padding-block: 28px;
  }

  .article-search {
    width: 100%;
  }

  #article-status {
    align-self: flex-start;
  }

  .article-meta {
    grid-column: 1 / -1;
    padding: 0;
  }

  .article-meta time,
  .article-meta span {
    display: inline;
  }

  .article-meta span::before {
    content: " · ";
  }

  .article-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .closing-section {
    min-height: 470px;
  }

  .footer-layout nav {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .hero-reveal {
    opacity: 1;
    transform: none;
  }
}
