/* IOBSF — International Outdoor Barbecue Sports Federation
   Design tokens: charcoal, copper, ash. Classical serif. */

:root {
  --charcoal: #1b1916;
  --soot: #24211d;
  --ember-line: #3b352e;
  --bone: #ebe4d8;
  --ash: #a0968a;
  --copper: #b87333;
  --copper-light: #d4955a;
  --glow: rgba(196, 104, 40, 0.38);

  --f-display: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
  --f-body: "EB Garamond", "Noto Serif KR", Georgia, serif;
  --f-ko: "Noto Serif KR", "EB Garamond", serif;
  --f-ja: "Noto Serif JP", "Noto Serif KR", serif;
  --f-zh: "Noto Serif SC", "Noto Serif KR", serif;

  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--copper-light); text-decoration: none; }
a:hover { color: var(--bone); }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- bilingual text ---------- */
.bi .s { display: none; }
html[data-second="ko"] .bi .s[lang="ko"],
html[data-second="ja"] .bi .s[lang="ja"],
html[data-second="zh"] .bi .s[lang="zh"] { display: block; }
.bi.inline .s { margin-left: .5em; }
html[data-second="ko"] .bi.inline .s[lang="ko"],
html[data-second="ja"] .bi.inline .s[lang="ja"],
html[data-second="zh"] .bi.inline .s[lang="zh"] { display: inline; }
.s { color: var(--ash); font-size: .86em; margin-top: .35em; }
.s[lang="ko"] { font-family: var(--f-ko); }
[lang="ko"] { word-break: keep-all; overflow-wrap: break-word; }
.s[lang="ja"] { font-family: var(--f-ja); }
.s[lang="zh"] { font-family: var(--f-zh); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(27, 25, 22, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ember-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-mark { font-family: var(--f-display); font-size: 26px; font-weight: 600; letter-spacing: .04em; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.site-nav a { white-space: nowrap; }
.site-nav a { color: var(--bone); font-family: var(--f-display); font-size: 18px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--copper-light); }
.lang-switch { display: flex; gap: 2px; font-size: 14px; }
.lang-switch button {
  background: none; border: 1px solid transparent; color: var(--ash);
  font: inherit; padding: 3px 7px; cursor: pointer; border-radius: 2px; white-space: nowrap;
}
.lang-switch button[aria-pressed="true"] { color: var(--bone); border-color: var(--ember-line); }
.nav-toggle { display: none; }

@media (max-width: 1220px) {
  .nav-toggle {
    display: block; margin-left: auto; background: none; border: 1px solid var(--ember-line);
    color: var(--bone); font: inherit; font-size: 16px; padding: 6px 12px; cursor: pointer;
  }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--charcoal); border-bottom: 1px solid var(--ember-line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--ember-line); }
  .lang-switch { order: 3; }
  .site-header .wrap { gap: 12px; }
  .lang-switch button { padding: 3px 5px; font-size: 13px; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}
/* dawn: a band of early humans advancing out of the dawn, set in the flow under the creed */
.hero .dawn-wrap { display: block; position: relative; z-index: -1; width: min(1180px, 100%); margin: calc(-1 * min(1180px, 100vw) * 55 / 2033) auto 0; pointer-events: none; }
.hero .dawn { width: 100%; height: auto; aspect-ratio: auto; display: block;
  animation: dawn-rise 4s ease-out both; }
@keyframes dawn-rise { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero .dawn { animation: none; } }
.hero .placard { border-bottom: 0; padding-bottom: 0; }
.hero + .section { border-top: 0; padding-top: 16px; }
.hero::after {
  /* the hearth: light rising from below */
  content: ""; position: absolute; z-index: -2;
  left: 50%; bottom: -38vh; width: 140vw; height: 80vh; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--glow) 0%, rgba(150, 70, 25, .08) 38%, transparent 68%); opacity: .5;
  animation: ignite 3.2s ease-out both;
}
@keyframes ignite { from { opacity: 0; transform: translateX(-50%) scaleY(.6); } to { opacity: 1; transform: translateX(-50%) scaleY(1); } }

.hero-emblem { width: clamp(190px, 22vw, 280px); max-width: 100%; height: auto; margin-bottom: 32px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
.hero-emblem-fallback {
  width: 132px; height: 132px; border: 1px solid var(--copper); border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 28px;
  font-family: var(--f-display); font-size: 30px; color: var(--copper-light);
}
.hero-name { font-family: var(--f-display); font-size: 21px; font-weight: 500; color: var(--bone); margin: 0 0 6px; }
.hero-name .p, .site-footer .f-name { text-transform: uppercase; letter-spacing: .12em; }
.hero-name .s { letter-spacing: .04em; }
.hero-name .s { font-size: 15px; }

.motto { margin: 26px 0 0; font-family: var(--f-display); font-weight: 500; font-style: italic;
  font-size: clamp(28px, 4vw, 40px); color: var(--copper-light); line-height: 1.2; }
.motto .s { font-style: normal; font-size: .55em; color: var(--ash); margin-top: 8px; }

.placard {
  margin: 44px auto 0; max-width: 980px;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--copper); border-bottom: 1px solid var(--copper);
  position: relative;
}
.placard-label { font-family: var(--f-display); font-size: 17px; color: var(--copper); margin: 0 0 18px; }
.placard-label .s { display: none !important; }
.placard-text { margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(30px, 4.6vw, 58px); line-height: 1.16; color: var(--bone); text-wrap: balance; }
.placard-text .s { font-family: var(--f-ko); font-weight: 400; font-size: clamp(17px, 1.9vw, 23px);
  line-height: 1.6; margin-top: 22px; color: var(--ash); text-wrap: balance; }

.slogan { margin-top: 40px; font-family: var(--f-display); font-size: 15px; letter-spacing: .18em; color: var(--ash); }

@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(36px, 4.5vw, 60px) 0; border-top: 1px solid var(--ember-line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.15; margin: 0; color: var(--bone); }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 46px); }
h3 { font-size: 27px; }
h1 .s, h2 .s, h3 .s { font-family: var(--f-ko); font-weight: 400; font-size: .42em; margin-top: 10px; }
h3 .s { font-size: .6em; }
.more { font-family: var(--f-display); font-size: 18px; }

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1em; }

/* page header */
.page-head { padding: clamp(36px, 5vw, 60px) 0 28px; }
.page-head .lede { max-width: var(--measure); margin-top: 22px; font-size: 21px; color: var(--bone); }
.page-head .lede .s { font-size: 17px; }

/* statement (spirit of the game etc.) */
.statement { text-align: center; max-width: 900px; margin: 0 auto; }
.statement .label { font-family: var(--f-display); color: var(--copper); font-size: 18px; margin: 0 0 16px; }
.statement .text { font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; margin: 0; text-wrap: balance; }
.statement .text .s { font-family: var(--f-ko); font-size: clamp(16px, 1.6vw, 20px); margin-top: 16px; line-height: 1.6; }

/* two columns */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* tables (rankings) */
.table { width: 100%; border-collapse: collapse; font-size: 18px; }
.table th { text-align: left; font-family: var(--f-display); font-weight: 500; color: var(--ash);
  padding: 10px 12px; border-bottom: 1px solid var(--copper); font-size: 17px; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--ember-line); vertical-align: top; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .rank { font-family: var(--f-display); font-size: 26px; color: var(--copper-light); width: 56px; }
.table-scroll { overflow-x: auto; }

/* lists of people / items */
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 32px; }
.person { color: var(--bone); display: block; }
.person .portrait { aspect-ratio: 4 / 5; background: var(--soot); border-bottom: 2px solid var(--copper);
  display: grid; place-items: center; margin-bottom: 16px; overflow: hidden; }
.person .portrait img { width: 100%; height: 100%; object-fit: cover; }
.person .portrait.full { aspect-ratio: auto; }
.person .portrait.full img { height: auto; object-fit: contain; display: block; }
.person .portrait span { font-family: var(--f-display); font-size: 64px; color: var(--ember-line); }
.person .who { font-family: var(--f-display); font-size: 25px; line-height: 1.2; }
.person .meta { color: var(--ash); font-size: 16px; margin-top: 6px; }
.person:hover .who { color: var(--copper-light); }

.badge { display: inline-block; font-size: 13px; color: var(--charcoal); background: var(--ash);
  padding: 1px 8px; border-radius: 2px; vertical-align: middle; margin-left: 8px; font-family: var(--f-body); }

/* events list */
.event-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; padding: 22px 0;
  border-bottom: 1px solid var(--ember-line); color: var(--bone); align-items: baseline; }
.event-row:first-child { border-top: 1px solid var(--ember-line); }
.event-row .when { font-family: var(--f-display); font-size: 22px; color: var(--copper-light); }
.event-row .title { font-family: var(--f-display); font-size: 25px; line-height: 1.25; }
.event-row .where { color: var(--ash); font-size: 16px; }
.event-row .tier { color: var(--ash); font-size: 16px; text-align: right; }
a.event-row:hover .title { color: var(--copper-light); }
@media (max-width: 700px) { .event-row { grid-template-columns: 1fr; gap: 4px; } .event-row .tier { text-align: left; } }

/* sequence: ritual stages, pathway, timeline */
.sequence { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.sequence > li { position: relative; padding: 0 0 34px 72px; counter-increment: step; }
.sequence > li::before { content: counter(step); position: absolute; left: 0; top: -4px;
  font-family: var(--f-display); font-size: 40px; line-height: 1; color: var(--copper); width: 48px; text-align: right; }
.sequence > li::after { content: ""; position: absolute; left: 60px; top: 10px; bottom: 6px; width: 1px; background: var(--ember-line); }
.sequence > li:last-child::after { display: none; }
.sequence h3 { font-size: 26px; }
.sequence p { margin: 8px 0 0; max-width: var(--measure); }
.sequence.compact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.sequence.compact > li { padding: 0 0 0 52px; }
.sequence.compact > li::before { font-size: 32px; width: 36px; }
.sequence.compact > li::after { display: none; }
.sequence.compact h3 { font-size: 22px; }
@media (max-width: 860px) { .sequence.compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sequence.compact { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--ember-line); }
.timeline .year { font-family: var(--f-display); font-size: 26px; color: var(--copper-light); line-height: 1.2; }

/* heritage */
.nation-block { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--ember-line); }
.nation-block:first-child { border-top: 1px solid var(--ember-line); }
.nation-block h3 { color: var(--copper-light); }
.dish { margin-bottom: 22px; }
.dish .dish-name { font-family: var(--f-display); font-size: 25px; }
.dish .orig { color: var(--ash); margin-left: 10px; font-family: var(--f-ko); font-size: 18px; }
@media (max-width: 760px) { .nation-block { grid-template-columns: 1fr; gap: 12px; } }

/* member nations strip */
.nations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ember-line); }
.nations > div { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--ember-line); }
.nations .n-name { font-family: var(--f-display); font-size: 24px; }
.nations .n-org { color: var(--ash); font-size: 15px; margin-top: 4px; }
@media (max-width: 760px) { .nations { grid-template-columns: 1fr 1fr; } }

/* empty states */
.empty { color: var(--ash); padding: 28px 0; border-top: 1px solid var(--ember-line); border-bottom: 1px solid var(--ember-line); max-width: var(--measure); }
.empty .s { font-size: .9em; }

/* key–value facts */
.facts { display: grid; grid-template-columns: 200px 1fr; gap: 14px 28px; margin: 0; }
.facts dt { color: var(--ash); font-family: var(--f-display); font-size: 19px; }
.facts dd { margin: 0; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 14px; } }

/* footer */
.site-footer { border-top: 1px solid var(--ember-line); padding: 56px 0 40px; color: var(--ash); font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.site-footer .f-name { font-family: var(--f-display); font-size: 18px; line-height: 1.5; color: var(--bone); }
.site-footer .f-link { display: block; margin-bottom: 18px; }
.site-footer .f-link strong { font-family: var(--f-display); font-size: 21px; font-weight: 500; color: var(--copper-light); display: block; }
.site-footer .f-slogan { letter-spacing: .16em; font-family: var(--f-display); color: var(--bone); margin-top: 14px; }
.site-footer .f-bottom { grid-column: 1 / -1; border-top: 1px solid var(--ember-line); padding-top: 24px; font-size: 17px; line-height: 1.6; text-align: center; }
.site-footer .f-bottom .f-line + .f-line { margin-top: 10px; }
.site-footer .f-bottom .s { font-size: 15px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.noscript { padding: 40px var(--gutter); color: var(--ash); }
.split h2 + .bi { margin-top: 18px; }
@media (max-width: 460px) { .brand-mark { display: none; } }

/* heritage register */
.register { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 0 32px; border-top: 1px solid var(--ember-line); }
.heritage-item { padding: 24px 0; border-bottom: 1px solid var(--ember-line); min-width: 0; }
.heritage-item .h-mark { font-family: var(--f-display); font-size: 16px; color: var(--ash); margin-bottom: 6px; }
.heritage-item .h-mark.is-designated { color: var(--copper-light); }
.heritage-item .dish-name { font-family: var(--f-display); font-size: 26px; line-height: 1.2; }
.heritage-item .orig { color: var(--ash); margin-left: 10px; font-family: var(--f-ko); font-size: 18px; }
.heritage-item .h-community { color: var(--ash); font-size: 16px; margin-top: 8px; }
.heritage-item .h-text { margin-top: 10px; font-size: 17px; }
.heritage-item.is-origin { grid-column: 1 / -1; padding: 36px 0; }
.heritage-item.is-origin .dish-name { font-size: 40px; color: var(--copper-light); }
.heritage-item.is-origin .h-text { max-width: var(--measure); font-size: 19px; }
.heritage-item .h-era { margin-top: 2px; }
.heritage-item .h-sources { margin-top: 12px; font-size: 14px; color: var(--ash); }
.register { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.sequence.compact.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .sequence.compact.three { grid-template-columns: 1fr; } }

/* heritage forms */
.h-link { color: inherit; }
.h-link:hover { color: var(--copper-light); }
.form-kind { color: var(--copper); font-family: var(--f-display); font-size: 18px; margin: 0 0 8px; }
.record-no { font-family: var(--f-display); font-size: 22px; color: var(--ash); margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.orig-big { color: var(--ash); font-size: .55em; font-family: var(--f-ko); }
.form-facts { margin: 36px 0 12px; padding: 24px 0; border-top: 1px solid var(--copper); border-bottom: 1px solid var(--ember-line); }
.form-section { padding: 40px 0 8px; border-bottom: 1px solid var(--ember-line); }
.form-section h2 { font-size: 30px; margin-bottom: 18px; }
.form-section h2 .s { font-size: .55em; }
.form-note { color: var(--ash); font-size: 16px; margin: 0 0 12px; }
.decision { padding-left: 1.4em; max-width: var(--measure); }
.decision > li { margin-bottom: 18px; padding-left: 6px; }
.decision > li::marker { color: var(--copper); font-family: var(--f-display); }
.specimen-banner { border: 1px dashed var(--ash); padding: 14px 18px; margin-bottom: 28px; color: var(--ash); }

/* the plaque: cast bronze */
.plaque {
  --bronze-1: #6b4a26; --bronze-2: #a87a42; --bronze-3: #4a3219; --engrave: #f3dfb8; --engrave-shadow: rgba(30, 18, 6, .85);
  position: relative; margin: 32px auto 24px; max-width: 560px; padding: 44px clamp(22px, 6vw, 56px) 40px;
  text-align: center; color: var(--engrave);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 220, 160, .22), transparent 55%),
    linear-gradient(160deg, var(--bronze-2), var(--bronze-1) 45%, var(--bronze-3));
  border-radius: 6px;
  box-shadow: inset 0 0 0 3px rgba(40, 24, 8, .55), inset 0 0 0 9px rgba(214, 170, 104, .35), inset 0 0 0 11px rgba(40, 24, 8, .5), 0 24px 50px rgba(0, 0, 0, .55);
  text-shadow: 0 1px 0 var(--engrave-shadow), 0 -1px 0 rgba(255, 236, 200, .25);
  overflow: hidden;
}
.plaque-emblem { width: 92px; height: auto; margin: 0 auto 16px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
.plaque-head { font-family: var(--f-display); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.plaque-no { font-family: var(--f-display); font-size: 46px; font-weight: 600; margin: 14px 0 2px; letter-spacing: .06em; }
.plaque-name { font-family: var(--f-display); font-size: 34px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.15; }
.plaque-orig { font-family: var(--f-ko); font-size: 17px; margin-top: 4px; }
.plaque-community { font-family: var(--f-display); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-top: 10px; }
.plaque-rule { height: 1px; width: 60%; margin: 20px auto; background: rgba(243, 223, 184, .55); box-shadow: 0 1px 0 var(--engrave-shadow); }
.plaque-text { font-family: var(--f-display); font-style: italic; font-size: 21px; line-height: 1.4; }
.plaque-text-ko { font-family: var(--f-ko); font-size: 15px; margin-top: 10px; line-height: 1.6; word-break: keep-all; }
.plaque-foot { font-family: var(--f-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.8; }
.plaque-foot-ko { font-family: var(--f-ko); font-size: 13px; margin-top: 6px; }
.plaque-watermark { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: 84px; letter-spacing: .2em;
  color: rgba(243, 223, 184, .13); transform: rotate(-24deg); pointer-events: none; text-shadow: none; }
.heritage-item { position: relative; }
.heritage-item .h-link::after { content: ""; position: absolute; inset: 0; }
.heritage-item .h-sources { position: relative; z-index: 1; }
.heritage-item:hover .dish-name a { color: var(--copper-light); }
.statement .principle-line + .principle-line { margin-top: 40px; }

/* heritage hero with trophies */
.heritage-hero { text-align: center; padding: 48px var(--gutter) 24px; overflow: hidden; }
.heritage-hero .hero-emblem { width: clamp(150px, 18vw, 210px); margin: 0 auto 18px; }
.heritage-hero #heritage-intro { max-width: 720px; margin: 22px auto 0; }
.trophy-stage { --r: 250px; position: relative; height: 450px; margin: 36px auto 0; perspective: 1100px; }
.trophy-ring { position: absolute; left: 50%; top: 20px; width: 0; height: 0; transform-style: preserve-3d; animation: ring-spin 21s linear infinite; }
.trophy-slot { position: absolute; transform-style: preserve-3d; transform: rotateY(calc(var(--i) * 120deg)) translateZ(var(--r)); }
.trophy-face { width: 220px; margin-left: -110px; text-align: center; transform-style: preserve-3d;
  --start: calc(var(--i) * -120deg); animation: face-spin 21s linear infinite; }
.trophy-svg { width: 160px; height: 240px; display: block; margin: 0 auto; filter: drop-shadow(0 18px 22px rgba(0,0,0,.6)); }
.trophy-label { font-family: var(--f-display); font-size: 19px; line-height: 1.25; margin-top: 12px; }
.trophy-sub { color: var(--ash); font-size: 14px; }
@keyframes ring-spin { from { transform: rotateY(0deg); } to { transform: rotateY(-360deg); } }
@keyframes face-spin { from { transform: rotateY(var(--start)); } to { transform: rotateY(calc(var(--start) + 360deg)); } }
.trophy-stage:hover .trophy-ring, .trophy-stage:hover .trophy-face { animation-play-state: paused; }
.t-gold { color: #e9c25a; } .t-silver { color: #cfd4da; } .t-bronze { color: #c98a52; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; background: currentColor; }
.trophy-legend { list-style: none; padding: 0; margin: 36px auto 0; display: flex; justify-content: center; gap: 12px 36px; flex-wrap: wrap; font-size: 17px; }
.trophy-legend .legend-note { color: var(--ash); margin-left: 8px; font-size: 15px; }
.h-mark .dot { width: 8px; height: 8px; }
@media (max-width: 700px) {
  .trophy-stage { height: auto; perspective: none; }
  .trophy-ring { position: static; width: auto; height: auto; animation: none; display: flex; justify-content: center; gap: 6px; transform: none; }
  .trophy-slot { position: static; transform: none; }
  .trophy-face { width: 118px; margin-left: 0; transform: none; animation: trophy-float 4s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
  .trophy-svg { width: 92px; height: 138px; }
  .trophy-label { font-size: 14px; line-height: 1.25; }
  .trophy-legend { flex-direction: column; align-items: center; }
}
@keyframes trophy-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* all three trophies always stand on one line, the same size */
@media (max-width: 700px) {
  .trophy-stage .trophy-ring { gap: 4px; flex-wrap: nowrap; align-items: flex-start; }
  .trophy-stage .trophy-face { width: min(118px, calc((100vw - 40px) / 3)); flex: 0 0 auto; }
  .trophy-stage .trophy-svg { width: min(92px, 24vw); height: min(138px, 36vw); }
  .trophy-stage .trophy-label { font-size: min(14px, 3.6vw); white-space: normal; overflow-wrap: anywhere; }
  .trophy-stage .trophy-sub { font-size: min(13px, 3.3vw); }
}
@media (prefers-reduced-motion: reduce) {
  .trophy-stage { height: auto; perspective: none; }
  .trophy-ring { position: static; width: auto; height: auto; animation: none; display: flex; justify-content: center; gap: 24px; flex-wrap: nowrap; transform: none; }
  .trophy-slot { position: static; transform: none; }
  .trophy-face { animation: none; transform: none; margin-left: 0; }
}

/* heritage record page: small trophy resting on the copper line */
#hitem { max-width: 900px; }
.form-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.form-head-title { min-width: 0; padding-bottom: 18px; }
.form-head + .form-facts { margin-top: 0; }
.mini-trophy { display: flex; align-items: flex-end; gap: 10px; flex-shrink: 0; margin-bottom: -2px; }
.mini-trophy .trophy-svg { width: 110px; height: 165px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.mini-trophy-label { text-align: right; font-family: var(--f-display); font-size: 17px; line-height: 1.3; padding-bottom: 10px; }
.mini-trophy-label .bi .s { font-size: 14px; margin-top: 2px; }
.form-head-plain { justify-content: flex-end; border-bottom: 1px solid var(--copper); padding-bottom: 0; }
@media (max-width: 600px) {
  .mini-trophy-label { display: none; }
  .mini-trophy .trophy-svg { width: 84px; height: 126px; }
}

/* fixed line breaks in statements: one clause per line, centred */
.placard-text, .statement .text { white-space: pre-line; text-align: center; }

/* emphasis: form type and record number */
.form-kind { font-size: 25px; font-weight: 600; color: var(--copper-light); letter-spacing: .01em; margin-bottom: 14px; }
.form-kind .bi .s, .form-kind .s { font-size: 19px; font-weight: 500; color: var(--bone); margin-left: .6em; }
.record-no { display: inline-block; font-size: 34px; font-weight: 600; color: var(--bone); letter-spacing: .08em;
  border: 1px solid var(--copper); padding: 4px 16px 2px; margin: 0 0 18px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .form-kind { font-size: 21px; }
  .form-kind .bi .s, .form-kind .s { font-size: 16px; margin-left: 0; }
  html[data-second="ko"] .form-kind .bi.inline .s[lang="ko"], html[data-second="ja"] .form-kind .bi.inline .s[lang="ja"], html[data-second="zh"] .form-kind .bi.inline .s[lang="zh"] { display: block; margin-top: 4px; }
  .record-no { font-size: 27px; }
}

/* forms of fire */
.h-form { margin-top: 8px; font-size: 15px; color: var(--copper-light); font-family: var(--f-display); }
.h-form .sep { color: var(--ash); }
.forms7 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 40px; border-top: 1px solid var(--ember-line); }
.form7 { padding: 26px 0; border-bottom: 1px solid var(--ember-line); min-width: 0; }
.form7 h3 { font-size: 26px; color: var(--copper-light); }
.form7-text { margin-top: 10px; font-size: 17px; }
.form7-list { margin-top: 12px; font-size: 16px; }
.orig-field { font-size: 22px; font-family: var(--f-display); }

/* archive and reading entries */
.entries { list-style: none; padding: 0; margin: 0; }
.entries li { padding: 12px 0; border-bottom: 1px solid var(--ember-line); }
.entries li:last-child { border-bottom: 0; }
.entry-kind { display: inline-block; font-size: 13px; color: var(--ash); border: 1px solid var(--ember-line); padding: 0 8px; margin-right: 10px; vertical-align: 2px; font-family: var(--f-body); }
.entry-title { color: var(--bone); }
.entry-sub { font-size: 15px; color: var(--ash); margin-top: 2px; }
.entry-by { font-size: 14px; color: var(--ash); margin-top: 2px; }
.form7 h3 a { color: inherit; }

/* plaque balance */
.plaque { max-width: 600px; padding: 48px clamp(24px, 6vw, 64px) 44px; }
.plaque > div { text-wrap: balance; }
.plaque-head { font-size: 15px; letter-spacing: .16em; line-height: 1.7; }
.plaque-rule.short { width: 28%; margin: 16px auto 14px; }
.plaque-tier { font-family: var(--f-display); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.7; opacity: .9; }
.plaque-no { margin: 10px 0 0; }
.plaque-name { margin-top: 2px; }
.plaque-text, .plaque-text-ko { max-width: 30em; margin-left: auto; margin-right: auto; }
.plaque-foot { line-height: 1.9; }
.plaque-foot-ko { font-size: 14px; line-height: 1.7; margin-top: 10px; letter-spacing: .04em; }
@media (max-width: 600px) {
  .plaque-head { font-size: 12px; letter-spacing: .12em; }
  .plaque-tier { font-size: 11px; }
  .plaque-name { font-size: 28px; }
  .plaque-no { font-size: 40px; }
}
.plaque-text, .plaque-text-ko { white-space: pre-line; }
.plaque-foot-en { font-family: var(--f-display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-top: 8px; line-height: 1.7; }
.plaque-emblem { width: 132px; margin-bottom: 20px; }
.plaque-head { font-size: 19px; letter-spacing: .15em; line-height: 1.6; }
.plaque-foot-en { margin-top: 10px; }
@media (max-width: 600px) { .plaque-emblem { width: 104px; } .plaque-head { font-size: 14px; } }

/* justified running text across the site (centred statements, placards and plaques excepted) */
.prose, .prose p, .lede, .facts dd, .h-text, .form7-text, .decision li, .sequence p,
.dish .bi, .empty, .entry-sub, .page-head .lede, #rank-note, .site-footer .f-link .bi,
.heritage-item .h-community, .hitem-main .bi {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.heritage-hero .lede, .heritage-hero #heritage-intro .bi { text-align: justify; text-align-last: center; }
.statement, .statement *, .placard, .placard *, .plaque, .plaque *, .hero, .hero *, .trophy-stage *, .trophy-legend * { text-align-last: auto; }
.statement .text, .placard-text, .plaque > div, .hero > * { text-align: center; }

/* pro barbecuer profile */
#person { max-width: 1000px; }
.profile-head { grid-template-columns: 1fr; align-items: start; margin-top: 18px; gap: 32px; }
.profile-head .portrait { aspect-ratio: auto; max-width: 100%; }
.profile-head .portrait img { height: auto; object-fit: contain; display: block; }
.founder-mark { color: var(--copper-light); font-family: var(--f-display); font-size: 18px; margin: 0 0 10px; letter-spacing: .04em; }
.titles { list-style: none; padding: 0; margin: 18px 0 0; }
.titles li { padding: 6px 0; font-size: 17px; }
.titles li .s { font-size: 15px; margin-top: 0; }
.pending { color: var(--ash); font-style: italic; }
.statement.officiant { margin: 40px auto 16px; }
.narrative { white-space: pre-line; max-width: 72ch; }
.pf-head { font-size: 22px; margin: 26px 0 8px; color: var(--copper-light); }
.pf-head .s { font-size: .6em; }
@media (max-width: 860px) { .profile-head { grid-template-columns: 1fr; } .profile-head .portrait { max-width: 100%; } }

/* writings */
.writing { max-width: 760px; margin: 0 auto; }
.writing h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 10px 0 8px; }
.w-crumb { font-family: var(--f-display); color: var(--copper); font-size: 16px; margin: 0; }
.w-crumb .s { margin-left: 6px; }
.w-sub-en { font-family: var(--f-display); font-style: italic; font-size: 21px; color: var(--ash); margin: 0 0 22px; }
.w-ko { border-top: 1px solid var(--copper); padding-top: 18px; margin-bottom: 18px; }
.w-title-ko { font-family: "Noto Serif KR", serif; font-size: 24px; line-height: 1.5; }
.w-sub-ko { font-family: "Noto Serif KR", serif; font-size: 16px; color: var(--ash); margin-top: 4px; }
.w-by { margin: 0; color: var(--bone); }
.w-by .s { margin-left: 8px; }
.w-pub, .w-lang { margin: 4px 0 0; color: var(--ash); font-size: 15px; }
.w-fig { margin: 36px 0 0; }
.w-fig img { width: 100%; height: auto; display: block; }
.w-body { margin-top: 40px; font-family: "Noto Serif KR", serif; font-size: 17px; line-height: 1.95; }
.w-body p { margin: 0 0 1.2em; text-align: justify; text-indent: 1em; word-break: keep-all; }
.w-body h3 { font-family: "Noto Serif KR", serif; font-size: 20px; color: var(--copper-light); margin: 2em 0 .8em; }
.w-body .w-quote { text-align: center; text-indent: 0; color: var(--copper-light); margin: 1.6em 0; }
.w-body .w-strong { font-weight: 500; color: var(--bone); }
.w-body .w-verse { text-align: left; text-indent: 0; }
.w-refs { margin-top: 48px; border-top: 1px solid var(--line, #3a352f); padding-top: 18px; font-size: 15px; color: var(--ash); }
.w-refs h3 { font-family: var(--f-display); font-size: 18px; color: var(--copper); margin: 0 0 10px; }
.w-refs ul { margin: 0; padding-left: 1.2em; }

/* record to inscription: trophies, rows aligned across the three columns, one bottom rule */
.proc-list { align-items: stretch; grid-template-rows: auto auto auto auto 1fr; }
.proc-list > li { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; padding-bottom: 26px !important; border-bottom: 1px solid var(--copper); }
.proc-list > li::before { top: 186px !important; }
.proc-trophy { height: 170px; margin: 0 0 16px -52px; display: flex; align-items: flex-end; justify-content: center; }
.proc-trophy .trophy-svg { width: 108px; height: 162px; margin: 0; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.proc-list .proc-en { margin: 14px 0 0; text-align: justify; }
.proc-list .proc-ko { margin-top: 10px; color: var(--ash); text-align: justify; font-size: .9em; line-height: 1.75; }
@media (max-width: 760px) { .proc-list { grid-template-rows: none; } .proc-list > li { grid-row: auto; grid-template-rows: none; display: flex; flex-direction: column; margin-bottom: 20px; } }
.w-fig figcaption { font-size: 14px; color: var(--ash); margin-top: 8px; }
.w-hr { border: 0; border-top: 1px solid var(--copper); width: 80px; margin: 2.4em auto; }
.w-table { overflow-x: auto; margin: 0 0 1.4em; }
.w-table .table { font-size: 15px; }
.w-table td, .w-table th { text-indent: 0; }
.w-ko .bi .s { color: inherit; font-size: inherit; margin-top: 0; }
.w-ko .w-sub-ko .s { color: var(--ash); }
.register > * { min-width: 0; }
@media (max-width: 400px) { .heritage-item.is-origin .dish-name { font-size: 32px; } }
.hero::after { display: none; }
@media (max-width: 700px) { .hero .dawn-wrap { width: calc(100% + 2 * var(--gutter)); margin: -40px calc(-1 * var(--gutter)) 0; } .hero .dawn { aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); } }
.site-footer .f-col1 { display: flex; flex-direction: column; }
.site-footer .f-emblem { display: block; width: 170px; max-width: 70%; height: auto; margin: 28px auto auto; align-self: center; opacity: .95; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); }
@media (min-width: 861px) { .site-footer .f-emblem { margin: auto; } }

/* chronicle stories */
.story { max-width: 900px; margin: 0 0 72px; }
.story-date { color: var(--ash); margin: 0 0 6px; font-family: var(--f-display); }
.story-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 24px; }
.story-title .s { font-size: .55em; }
.story-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 28px; }
.story-gallery figure { margin: 0; overflow: hidden; background: var(--soot, #141210); aspect-ratio: 4 / 3; }
.story-gallery figure.lead { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.story-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-text { white-space: pre-line; }
@media (max-width: 600px) { .story-gallery { grid-template-columns: 1fr 1fr; } }
/* articles summary */
.facts.articles { margin-top: 24px; }
.art-list { margin: 0; padding-left: 1.3em; }
.art-list li { margin: 0 0 8px; }
.table.officers td { vertical-align: top; }
.member-intro { color: var(--ash); margin: 0 0 18px; max-width: var(--measure); }
#fed-founding { max-width: 900px; }

/* KOOBA official judge card, standard form */
.judge-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.judge-card { position: relative; background: linear-gradient(160deg, #fffdf8 0%, #f6efe2 55%, #e9dcc4 100%); color: #111; border: 0; border-radius: 4px; box-shadow: 0 10px 24px rgba(0,0,0,.45); padding: 16px 14px 12px; text-align: center; font-family: "Noto Sans KR", "Helvetica Neue", Arial, sans-serif; }
.judge-card * { text-align: center !important; text-align-last: auto; }
.jc-title { font-weight: 800; font-size: 22px; letter-spacing: .01em; margin-bottom: 2px; }
.jc-no { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: #7a1f1f; margin-bottom: 10px; }
.jc-photo { width: 104px; height: 104px; object-fit: cover; border-radius: 16px; display: block; margin: 0 auto 10px; }
.jc-name-ko { font-weight: 700; font-size: 19px; }
.jc-name-en { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.jc-ko { font-size: 12.5px; line-height: 1.5; margin: 0 0 6px; word-break: keep-all; }
.jc-en { font-size: 12px; font-weight: 700; line-height: 1.4; margin: 0 0 6px; }
.jc-date { font-weight: 700; font-size: 14px; color: #111; }
.jc-date span { display: block; font-size: 11.5px; font-weight: 600; }
.jc-strip { width: 92%; height: auto; display: block; margin: 8px auto 0; }
.jc-confirm { color: var(--ash); margin-top: 18px; font-size: 15px; }
.track { margin-bottom: 36px; }
.track-name { font-size: clamp(24px, 3vw, 30px); margin: 0 0 8px; }
.track-name .s { font-size: .6em; }
.track-steps { counter-reset: none; }
.track-steps > li::before { content: attr(value); }
#judges { scroll-margin-top: 90px; }
.track-steps p, .track-steps p .s { text-align: left !important; text-align-last: auto; }
.track-steps { grid-template-columns: repeat(3, 1fr); }
.jc-date { position: relative; }
.jc-seal { position: absolute; width: 44px; height: 44px; right: 9%; bottom: 8px; opacity: .9; transform: none; mix-blend-mode: multiply; pointer-events: none; }
.jc-meta { font-size: 10.5px; color: #6b5a44; margin-top: 2px; }

/* gold plaque beside the origin record */
.plaque.gold { --bronze-1: #8a6420; --bronze-2: #e2bd62; --bronze-3: #5a3f12; --engrave: #fff3cf; --engrave-shadow: rgba(50, 30, 4, .85);
  background: radial-gradient(ellipse at 28% 18%, rgba(255, 246, 200, .55), transparent 55%), linear-gradient(155deg, #f1d48a 0%, #c9993e 38%, #8a6420 70%, #5a3f12 100%);
  box-shadow: inset 0 0 0 3px rgba(60, 36, 6, .55), inset 0 0 0 9px rgba(255, 226, 140, .45), inset 0 0 0 11px rgba(60, 36, 6, .5), 0 24px 50px rgba(0, 0, 0, .55); }
.heritage-item.has-plaque { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; }
.origin-plaque { display: block; text-decoration: none; }
.plaque.mini { margin: 0; max-width: 360px; padding: 30px 26px 26px; }
.plaque.mini .plaque-emblem { width: 64px; margin-bottom: 10px; }
.plaque.mini .plaque-head { font-size: 11px; }
.plaque.mini .plaque-tier { font-size: 10px; }
.plaque.mini .plaque-no { font-size: 32px; }
.plaque.mini .plaque-name { font-size: 24px; }
.plaque.mini .plaque-community { font-size: 11px; }
.plaque.mini .plaque-text { font-size: 16px; }
.plaque.mini .plaque-rule { margin: 14px auto; }
.plaque.mini .plaque-foot, .plaque.mini .plaque-foot-en, .plaque.mini .plaque-decision { font-size: 10px; }
@media (max-width: 860px) { .heritage-item.has-plaque { grid-template-columns: 1fr; gap: 28px; } .plaque.mini { margin: 0 auto; } }
.plaque.gold { color: #3b2507; text-shadow: 0 1px 0 rgba(255, 240, 190, .55), 0 -1px 0 rgba(60, 36, 6, .25); }
.plaque.gold .plaque-rule { background: rgba(70, 44, 10, .5); box-shadow: 0 1px 0 rgba(255, 240, 190, .5); }
.plaque.gold { background: radial-gradient(ellipse at 28% 16%, rgba(255, 248, 210, .6), transparent 58%), linear-gradient(160deg, #f3da98 0%, #d7ac52 42%, #b8892f 75%, #9c7126 100%); }
/* gold plaque, readability */
.plaque.gold { color: #241603; text-shadow: 0 1px 0 rgba(255, 244, 205, .7);
  background: linear-gradient(160deg, #f0d48e 0%, #ddb562 45%, #c99a45 80%, #b88a38 100%); }
.plaque.gold .plaque-head, .plaque.gold .plaque-tier, .plaque.gold .plaque-community, .plaque.gold .plaque-foot, .plaque.gold .plaque-foot-en, .plaque.gold .plaque-decision { font-weight: 600; opacity: 1; }
.plaque.mini { max-width: 380px; padding: 30px 24px 26px; }
.plaque.mini .plaque-head { font-size: 13px; letter-spacing: .1em; }
.plaque.mini .plaque-tier { font-size: 12px; letter-spacing: .14em; }
.plaque.mini .plaque-no { font-size: 36px; }
.plaque.mini .plaque-name { font-size: 27px; letter-spacing: .08em; }
.plaque.mini .plaque-community { font-size: 12.5px; letter-spacing: .08em; }
.plaque.mini .plaque-text { font-size: 18px; font-weight: 500; }
.plaque.mini .plaque-foot, .plaque.mini .plaque-foot-en, .plaque.mini .plaque-decision { font-size: 11.5px; letter-spacing: .08em; }
.heritage-item.has-plaque { grid-template-columns: minmax(0, 1fr) 380px; }
/* gold plaque, readability v2: flat light gold, solid dark lettering */
.plaque.gold { color: #1a1002; text-shadow: none;
  background: linear-gradient(160deg, #f4dfa2 0%, #e6c376 55%, #d8af5c 100%); }
.plaque.gold > div { font-weight: 700 !important; }
.plaque.gold .plaque-text { font-weight: 600 !important; font-style: italic; }
.plaque.gold .plaque-rule { height: 2px; background: rgba(40, 24, 4, .55); box-shadow: none; }
.plaque.mini .plaque-head { font-size: 14px; letter-spacing: .06em; }
.plaque.mini .plaque-tier { font-size: 13px; letter-spacing: .1em; }
.plaque.mini .plaque-no { font-size: 40px; }
.plaque.mini .plaque-name { font-size: 30px; letter-spacing: .05em; }
.plaque.mini .plaque-community { font-size: 13.5px; letter-spacing: .04em; }
.plaque.mini .plaque-text { font-size: 19px; line-height: 1.45; }
.plaque.mini .plaque-foot, .plaque.mini .plaque-foot-en, .plaque.mini .plaque-decision { font-size: 13px; letter-spacing: .04em; }
/* gold plaque, compact: sits at the top, independent of the record's height */
.heritage-item.has-plaque { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: start; }
.origin-plaque { align-self: start; }
.plaque.mini { max-width: 290px; padding: 22px 18px 20px; }
.plaque.mini .plaque-emblem { width: 50px; margin-bottom: 8px; }
.plaque.mini .plaque-head { font-size: 11px; letter-spacing: .05em; line-height: 1.5; }
.plaque.mini .plaque-tier { font-size: 10.5px; letter-spacing: .08em; }
.plaque.mini .plaque-no { font-size: 30px; margin-top: 6px; }
.plaque.mini .plaque-name { font-size: 23px; letter-spacing: .04em; }
.plaque.mini .plaque-community { font-size: 11px; margin-top: 6px; }
.plaque.mini .plaque-rule { margin: 10px auto; }
.plaque.mini .plaque-rule.short { margin: 10px auto 8px; }
.plaque.mini .plaque-text { font-size: 15px; line-height: 1.4; }
.plaque.mini .plaque-foot, .plaque.mini .plaque-foot-en, .plaque.mini .plaque-decision { font-size: 10.5px; letter-spacing: .03em; line-height: 1.6; }
@media (max-width: 860px) { .heritage-item.has-plaque { grid-template-columns: 1fr; gap: 24px; } }
/* gold plaque: centred vertically against the record */
.heritage-item.has-plaque { align-items: center; }
.origin-plaque { align-self: center; }
/* heritage item page: centred column, readable plaque and text */
body[data-page="heritageitem"] #hitem { max-width: 880px; margin: 0 auto; }
body[data-page="heritageitem"] .form-kind { text-align: center; text-align-last: center; border-bottom: 0; }
body[data-page="heritageitem"] .form-head-plain { display: flex; justify-content: center; }
body[data-page="heritageitem"] .form-section h2 { text-align: center; text-align-last: center; }
body[data-page="heritageitem"] .facts dt, body[data-page="heritageitem"] .facts dt * { text-align: left; text-align-last: left; }
body[data-page="heritageitem"] .prose, body[data-page="heritageitem"] .decision { max-width: none; }
body[data-page="heritageitem"] .decision .facts { grid-template-columns: 170px 1fr; }
body[data-page="heritageitem"] .facts dt { color: #c9bca9; }
body[data-page="heritageitem"] .s { color: #d2c6b4; }
body[data-page="heritageitem"] .form-note { text-align: center; text-align-last: center; }
body[data-page="heritageitem"] #hitem > p:last-child { text-align: center; }
body[data-page="heritageitem"] .plaque.gold { margin: 28px auto 12px; max-width: 520px; }
body[data-page="heritageitem"] .plaque.gold .plaque-head { font-size: 17px; letter-spacing: .1em; }
body[data-page="heritageitem"] .plaque.gold .plaque-tier { font-size: 14px; letter-spacing: .14em; }
body[data-page="heritageitem"] .plaque.gold .plaque-community { font-size: 15px; letter-spacing: .08em; }
body[data-page="heritageitem"] .plaque.gold .plaque-text { font-size: 21px; line-height: 1.45; }
body[data-page="heritageitem"] .plaque.gold { max-width: 540px; }
body[data-page="heritageitem"] .plaque.gold .plaque-foot, body[data-page="heritageitem"] .plaque.gold .plaque-foot-en { font-size: 14px; letter-spacing: .08em; }
@media (max-width: 600px) {
  body[data-page="heritageitem"] .decision .facts { grid-template-columns: 1fr; }
  body[data-page="heritageitem"] .plaque.gold .plaque-head { font-size: 13px; }
  body[data-page="heritageitem"] .plaque.gold .plaque-text { font-size: 19px; }
}
/* gold plaque, v3: deep, weighty gold with dark lettering */
.plaque.gold { color: #140b00; text-shadow: 0 1px 0 rgba(255, 228, 150, .35);
  background:
    radial-gradient(ellipse at 30% 14%, rgba(255, 226, 140, .38), transparent 55%),
    linear-gradient(160deg, #d8a843 0%, #c08f2e 40%, #a87a24 75%, #96691d 100%);
  box-shadow: inset 0 0 0 3px rgba(58, 34, 4, .7), inset 0 0 0 9px rgba(232, 190, 96, .5), inset 0 0 0 11px rgba(58, 34, 4, .65), 0 24px 50px rgba(0, 0, 0, .6); }
.plaque.gold .plaque-rule { background: rgba(30, 16, 2, .65); }
/* header, v2: larger menu, balanced between brand and languages */
.site-header .wrap { min-height: 80px; gap: 28px; }
.brand img { height: 52px; }
.brand-mark { font-size: 30px; }
.site-nav { margin-left: auto; margin-right: auto; }
.site-nav ul { gap: 34px; }
.site-nav a { font-size: 21px; letter-spacing: .02em; }
.lang-switch { font-size: 15px; }
@media (max-width: 1220px) {
  .site-header .wrap { min-height: 68px; gap: 12px; }
  .brand img { height: 44px; }
  .brand-mark { font-size: 26px; }
  .site-nav { top: 68px; margin: 0; }
  .site-nav a { font-size: 19px; }
}
.site-header .wrap { max-width: 1360px; }
.site-nav ul { gap: clamp(20px, 2.3vw, 38px); }
.site-nav a { font-size: clamp(19px, 1.55vw, 22px); }
@media (max-width: 1300px) {
  .nav-toggle { display: block; margin-left: auto; background: none; border: 1px solid var(--ember-line); color: var(--bone); font: inherit; font-size: 16px; padding: 6px 12px; cursor: pointer; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0; background: var(--charcoal); border-bottom: 1px solid var(--ember-line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--ember-line); font-size: 19px; }
  .lang-switch { order: 3; }
  .site-header .wrap { min-height: 68px; gap: 12px; }
  .brand img { height: 44px; }
  .brand-mark { font-size: 26px; }
}
/* founding assembly: staggered, rounded gallery
   row 1: banner (wide) | plaques (narrow); row 2 mirrored: group (narrow) | meeting (wide) */
.assembly-gallery { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; margin: 4px 0 32px; }
.assembly-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; min-height: 0;
  background: #141210; border: 1px solid rgba(214, 160, 92, .35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.assembly-gallery figure:nth-child(1) { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 16 / 9; }
.assembly-gallery figure:nth-child(2) { grid-column: 6 / 9; grid-row: 1; }
.assembly-gallery figure:nth-child(3) { grid-column: 4 / 9; grid-row: 2; aspect-ratio: 16 / 9; }
.assembly-gallery figure:nth-child(4) { grid-column: 1 / 4; grid-row: 2; }
.assembly-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.assembly-gallery figure:hover img { transform: scale(1.035); }
.assembly-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 12px;
  background: linear-gradient(to top, rgba(14, 11, 8, .9), rgba(14, 11, 8, 0));
  color: var(--bone); font-family: var(--f-display); font-size: 15px; line-height: 1.35; }
.assembly-gallery figcaption, .assembly-gallery figcaption * { text-align: left; text-align-last: auto; }
.assembly-gallery figcaption .p { display: block; }
.assembly-gallery figcaption .s { font-size: 13px; color: #d2c6b4; margin-left: 0 !important; padding-left: 0 !important; }
@media (max-width: 700px) {
  .assembly-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .assembly-gallery figure { border-radius: 12px; }
  .assembly-gallery figure:nth-child(n) { grid-row: auto; }
  .assembly-gallery figure:nth-child(1), .assembly-gallery figure:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .assembly-gallery figure:nth-child(2), .assembly-gallery figure:nth-child(4) { grid-column: auto; aspect-ratio: 4 / 5; }
  .assembly-gallery figure:nth-child(3) { order: 4; }
  .assembly-gallery figcaption { font-size: 13px; padding: 24px 11px 9px; }
  .assembly-gallery figcaption .s { font-size: 11.5px; }
}

/* ---------- photo frame: the house style for every photograph ----------
   rounded corners, copper hairline, deep shadow, gentle zoom on hover, caption on a dark fade.
   Not applied to the emblem, plaques, trophies, judge cards, partner logos or the dawn painting. */
:root { --photo-radius: 16px; --photo-line: rgba(214, 160, 92, .35); --photo-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.story-gallery { gap: 14px; }
.story-gallery figure, .person .portrait, .w-fig img {
  border-radius: var(--photo-radius); border: 1px solid var(--photo-line); box-shadow: var(--photo-shadow); background: #141210; }
.story-gallery figure, .person .portrait { position: relative; overflow: hidden; }
.person .portrait { border-bottom: 1px solid var(--photo-line); }
.story-gallery img, .person .portrait img { transition: transform .6s ease; }
.story-gallery figure:hover img, a.person:hover .portrait img { transform: scale(1.035); }
.story-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 12px;
  background: linear-gradient(to top, rgba(14, 11, 8, .9), rgba(14, 11, 8, 0));
  color: var(--bone); font-family: var(--f-display); font-size: 15px; line-height: 1.35; }
.story-gallery figcaption, .story-gallery figcaption * { text-align: left; text-align-last: auto; }
.story-gallery figcaption .p { display: block; }
.story-gallery figcaption .s { font-size: 13px; color: #d2c6b4; margin-left: 0 !important; padding-left: 0 !important; }
.w-fig figcaption { margin-top: 10px; color: var(--ash); font-size: 14px; text-align: center; text-align-last: center; }
@media (max-width: 700px) {
  :root { --photo-radius: 12px; }
  .story-gallery { gap: 10px; }
  .story-gallery figcaption { font-size: 13px; padding: 24px 11px 9px; }
  .story-gallery figcaption .s { font-size: 11.5px; }
}

/* ---------- readability pass (2026-10-19): clearer text, same weight and darkness ----------
   The ground stays charcoal and the accents stay deep copper and antique gold.
   Only the text is lifted: warmer, firmer, a little larger. Nothing turns pale or bright. */
:root {
  --bone: #efe7d9;          /* main text: warm parchment, not white */
  --ash: #b9ad9c;           /* secondary text: aged paper instead of grey smoke */
  --ember-line: #4a4137;    /* dividers: visible bronze hairlines */
  --copper-light: #d9a265;  /* links and headings: antique gold-copper, not bright */
}
body { font-size: 20px; line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga", "onum"; }
/* second-language lines: a touch larger and firmer so Korean, Japanese and Chinese read cleanly */
.s { color: #c5baa9; font-size: .9em; }
.s[lang="ko"], .s[lang="ja"], .s[lang="zh"] { font-weight: 500; letter-spacing: .01em; }
h1 .s, h2 .s, h3 .s { color: #bfb3a2; }
/* small meta lines (places, roles, dates beside lists) stop whispering */
.meta, .entry-by, .entry-kind, .n-org, .member-intro, .form-note, .w-pub, .w-lang { color: var(--ash); }
.n-org, .meta { font-size: 16px; }
/* justified English: break long words so lines do not open wide gaps */
.prose, .prose p, .lede, .facts dd, .h-text, .form7-text, .decision li, .sequence p, .story-text, .w-body p {
  hyphens: auto; -webkit-hyphens: auto; }
/* headings: keep the classical serif, give it a little more body */
h1, h2, h3 { font-weight: 500; }
.site-nav a { font-weight: 500; color: #efe7d9; }
.lang-switch button { color: #b9ad9c; }
/* section rules: bronze hairline that reads on the dark ground */
hr, .rule { border-color: var(--ember-line); }
.timeline li > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 96px minmax(0, 1fr); } }
.speech .member-intro { margin-top: 14px; font-style: italic; }
.speech-points { margin-top: 22px; }
.speech-points > li { margin-bottom: 14px; }
.speech-subject { font-family: var(--f-display); font-size: 28px; line-height: 1.25; margin: 22px 0 0; color: var(--bone); }
.speech-subject .speech-sub { display: block; font-size: 20px; font-style: italic; color: var(--copper-light); margin-top: 4px; }
.speech-subject-s { margin-top: 6px; }
.speech-by { margin: 14px 0 0; color: var(--ash); font-size: 17px; }
.speech-lead { margin-top: 22px; padding-left: 16px; border-left: 2px solid var(--copper); font-family: var(--f-display); font-size: 22px; font-style: italic; }
.speech-lead .s { font-style: normal; }
