:root {
  color-scheme: light;
  --ink: #181613;
  --paper: #f1eee6;
  --orange: #ff5b35;
  --muted: #61594e;
  --line: #bcb3a7;
  --edge: clamp(1.125rem, 5vw, 5rem);
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", "Batang", Georgia, serif;
  --sans: "Avenir Next", "Microsoft YaHei", "Malgun Gothic", "PingFang SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
#main:focus { outline: none; }
[id] { scroll-margin-top: 1.25rem; }
.wrap { width: min(100% - 2 * var(--edge), 89rem); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: .75rem; left: var(--edge); padding: .75rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; gap: .85rem; align-items: center; text-decoration: none; }
.wordmark span, .footer strong { font: 900 2.5rem/.86 "Arial Narrow", Haettenschweiler, var(--sans); letter-spacing: -.08em; }
.wordmark strong { max-width: 12rem; font-size: clamp(.95rem, 1.35vw, 1.25rem); line-height: 1.2; }
.site-nav, .language-switcher { display: flex; align-items: center; }
.site-nav { gap: clamp(1rem, 2.6vw, 2.5rem); }
.site-nav a, .language-switcher a { font-size: .875rem; font-weight: 700; text-decoration: none; }
.site-nav a { padding-block: .5rem; }
.site-nav a:hover, .footer a:hover, .email:hover { text-decoration: underline; text-underline-offset: .25em; }
.language-switcher { gap: .125rem; border: 1px solid var(--line); border-radius: 2rem; padding: .2rem; flex-shrink: 0; }
.language-switcher a { padding: .5rem .65rem; border-radius: 2rem; white-space: nowrap; }
.language-switcher a[aria-current] { background: var(--ink); color: var(--paper); }
.language-switcher a:not([aria-current]):hover { background: #e4ddd1; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; background: var(--ink); color: var(--paper); min-height: min(82svh, 49rem); overflow: hidden; }
.hero-art { position: absolute; z-index: -1; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #181613 0%, #181613e8 22%, #18161369 53%, transparent 77%),
    linear-gradient(0deg, #181613a0, transparent 24%);
}
.hero-art figcaption { position: absolute; z-index: 1; bottom: 1rem; right: var(--edge); color: var(--paper); background: var(--ink); padding: .35rem .55rem; font-size: .78rem; }
.hero-content { padding-block: clamp(4rem, 10vw, 9rem); }
.location { display: flex; align-items: center; gap: .65rem; font-size: clamp(1.05rem, 1.65vw, 1.4rem); font-weight: 750; letter-spacing: .07em; }
.location span { width: 2.25rem; height: 2px; background: var(--orange); }
h1, h2, h3 { font-family: var(--serif); text-wrap: balance; }
.festival[lang="en"] { --serif: "Baskerville", Georgia, serif; }
.festival[lang="ko"] { --serif: "Nanum Myeongjo", "Batang", Georgia, serif; word-break: keep-all; }
.hero h1 { font-size: clamp(3.15rem, 7.55vw, 8.25rem); font-weight: 750; line-height: .99; letter-spacing: -.07em; margin-top: 1.35rem; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--orange); }
.hero-lead { max-width: 27rem; font-size: clamp(1.03rem, 1.5vw, 1.27rem); line-height: 1.65; margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.button { min-height: 3rem; width: fit-content; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.2rem; border: 1px solid transparent; text-decoration: none; font-weight: 800; font-size: .94rem; transition: background .18s, color .18s; }
.button-orange { background: var(--orange); color: var(--ink); }
.button-orange:hover { background: var(--paper); }
.button-outline { color: var(--paper); border-color: var(--paper); }
.button-outline:hover { background: var(--paper); color: var(--ink); }
.button-ink { color: var(--paper); background: var(--ink); }
.button-ink:hover { background: var(--paper); color: var(--ink); }

.about, .faq, .industry-grid { display: grid; gap: clamp(2rem, 7vw, 6rem); }
.about { grid-template-columns: 1.2fr .8fr; padding-block: clamp(3.75rem, 8vw, 8rem); align-items: center; }
h2 { font-size: clamp(2.45rem, 5.1vw, 5.55rem); line-height: 1.04; letter-spacing: -.05em; }
.about-story p, .industry p, .programme-head p, .strand-content p, .questions p { font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.72; }
.about-story p { max-width: 37rem; margin-top: 1.25rem; }
.facts { border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(5rem, .45fr) 1fr; gap: .6rem; align-items: baseline; border-bottom: 1px solid var(--line); padding: .95rem 0; }
.facts dt { color: var(--muted); font-weight: 700; }
.facts dd { font-size: clamp(1.07rem, 1.55vw, 1.4rem); font-weight: 800; }

.programme { background: var(--ink); color: var(--paper); padding-block: clamp(3.75rem, 8vw, 7.5rem); }
.programme-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2rem, 5vw, 4rem); }
.programme-head p { max-width: 27rem; }
.strands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.75rem); }
.strand { border: 1px solid #82766a; min-width: 0; }
.strand-art {
  display: grid;
  place-items: center;
  aspect-ratio: 1.95;
  background: #211c17;
  border-bottom: 1px solid #82766a;
}
.strand-art svg {
  display: block;
  width: 92%;
  max-width: 25rem;
  stroke: var(--paper);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.strand-art .art-fill { fill: #2d251c; stroke: none; }
.strand-art .art-accent { stroke: var(--orange); }
.strand-art .art-wash { fill: #f4512c38; }
.strand-content { padding: clamp(1rem, 2.3vw, 2rem); }
.strand-content h3 { margin-block: .5rem .75rem; font-size: clamp(1.55rem, 2.5vw, 2.65rem); line-height: 1.08; letter-spacing: -.04em; }
.strand-content .genre { color: var(--orange); font-size: .88rem; font-weight: 700; }

.industry { background: var(--orange); }
.industry-grid { grid-template-columns: 1.1fr .9fr; padding-block: clamp(3.75rem, 8vw, 7.5rem); }
.industry-intro p { margin-block: 1.5rem; max-width: 32rem; }
.email { display: block; width: fit-content; max-width: 100%; margin-top: .8rem; font-size: 1rem; font-weight: 700; text-underline-offset: .22em; overflow-wrap: anywhere; }
.industry-details { align-self: center; border-top: 2px solid var(--ink); }
.industry-details h3 { margin-top: 1.35rem; font-family: var(--sans); font-size: 1.15rem; }
.industry-details ul { padding-left: 1.2rem; margin-block: .65rem 0; border-bottom: 1px solid var(--ink); padding-bottom: 1.25rem; }
.industry-details li { line-height: 1.65; padding: .18rem 0; }
.industry-details p { margin-top: .5rem; }

.faq { grid-template-columns: .7fr 1.3fr; padding-block: clamp(3.75rem, 8vw, 7.5rem); }
.questions { border-top: 2px solid var(--ink); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { cursor: pointer; font-size: clamp(1rem, 1.9vw, 1.35rem); font-weight: 750; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.questions summary::-webkit-details-marker { display: none; }
.questions p { color: var(--muted); padding-bottom: 1.15rem; max-width: 42rem; }
.disclosure { position: relative; width: 1.8rem; height: 1.8rem; flex: 0 0 1.8rem; border-radius: 50%; background: var(--ink); color: var(--paper); }
.disclosure::before, .disclosure::after { content: ''; position: absolute; width: .75rem; height: 2px; background: currentColor; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.disclosure::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .disclosure { background: var(--orange); color: var(--ink); }
details[open] .disclosure::after { display: none; }
.footer { color: var(--paper); background: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; font-size: .875rem; }
.footer-inner div { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; }
.footer a { text-decoration: none; white-space: nowrap; }

@media (max-width: 65rem) {
  .masthead-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-top: .8rem; gap: .45rem .7rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; border-top: 1px solid var(--line); }
  .site-nav a { padding-block: .72rem; }
  .hero h1 { font-size: clamp(3.2rem, 8.4vw, 6rem); }
}

@media (max-width: 44rem) {
  .wordmark { gap: .5rem; }
  .wordmark span { font-size: 1.9rem; }
  .wordmark strong { font-size: .875rem; }
  .site-nav { gap: .5rem; }
  .language-switcher a { padding: .4rem .45rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-art { position: relative; inset: auto; z-index: auto; order: 2; }
  .hero-art img { aspect-ratio: 2; object-position: center; height: auto; }
  .hero-art::after { display: none; }
  .hero-art figcaption { bottom: .5rem; }
  .hero-content { padding-block: 3rem 2.25rem; }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 4rem); letter-spacing: -.045em; }
  .about, .programme-head, .industry-grid, .faq { grid-template-columns: 1fr; }
  .strands { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-inner { justify-content: flex-start; flex-wrap: wrap; gap: .75rem 1.5rem; }
  .footer-inner div { width: 100%; }
}

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