:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #52615a;
  --paper: #f6f1e8;
  --surface: #fffaf0;
  --line: rgba(23, 32, 28, 0.15);
  --red: #9f2f27;
  --green: #1e6d59;
  --gold: #c09345;
  --night: #0c1513;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(12, 21, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: #fff;
  background: rgba(12, 21, 19, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  font-size: 0.76rem;
  font-weight: 820;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(159, 47, 39, 0.95), rgba(30, 109, 89, 0.94)),
    var(--night);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 26px);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.subpage-hero {
  min-height: 84vh;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(12, 21, 19, 0.8), rgba(12, 21, 19, 0.3) 54%, rgba(12, 21, 19, 0.74)),
    url("assets/jhoon-rhee-heritage-system-hero-2026-06-03.jpg") center / cover no-repeat;
  transform: scale(1.012);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(12, 21, 19, 0.25), rgba(12, 21, 19, 0.94)),
    radial-gradient(circle at 18% 42%, rgba(192, 147, 69, 0.16), transparent 36%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 170px 0 120px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e7c176;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 34px rgba(159, 47, 39, 0.26);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 5vw, 58px);
  bottom: 32px;
  z-index: 2;
  width: min(420px, calc(100% - 36px));
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(12, 21, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 122px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1;
  font-weight: 700;
}

h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.intro-grid,
.cinema-grid,
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid article,
.cinema-grid article,
.program-list article,
.source-grid a,
.contact-form,
.status-list,
.archive-columns > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(12, 21, 19, 0.05);
}

.intro-grid article,
.cinema-grid article,
.program-list article,
.archive-columns > div {
  padding: 24px;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 5vw, 70px);
  padding-left: clamp(18px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(30, 109, 89, 0.09), transparent 48%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.8), rgba(246, 241, 232, 1));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band > * {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.visual-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding-right: clamp(18px, 5vw, 70px);
  padding-left: clamp(18px, 5vw, 70px);
  color: #fff;
  background: var(--night);
}

.visual-section::before,
.visual-section::after {
  position: absolute;
  inset: 0;
  content: "";
}

.visual-section::before {
  z-index: -2;
  background-image: url("assets/jhoon-rhee-heritage-system-hero-2026-06-03.jpg");
  background-repeat: no-repeat;
  background-position: var(--visual-position, center);
  background-size: cover;
  background-attachment: fixed;
  transform: scale(1.04);
}

.visual-section::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 21, 19, 0.9), rgba(12, 21, 19, 0.62)),
    linear-gradient(180deg, rgba(12, 21, 19, 0.24), rgba(12, 21, 19, 0.92));
}

.visual-section > * {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.visual-section.split > * {
  width: auto;
  margin-right: 0;
  margin-left: 0;
}

.visual-section .eyebrow {
  color: #e7c176;
}

.visual-section h2,
.visual-section h3,
.visual-section dt,
.visual-section label {
  color: #fff;
}

.visual-section p,
.visual-section li,
.visual-section dd {
  color: rgba(255, 255, 255, 0.78);
}

.visual-section .intro-grid article,
.visual-section .cinema-grid article,
.visual-section .program-list article,
.visual-section .status-list,
.visual-section .archive-columns > div {
  background: rgba(12, 21, 19, 0.72);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.visual-section .status-list div {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.visual-heritage {
  --visual-position: center 30%;
}

.visual-network {
  --visual-position: center 44%;
}

.visual-cinema {
  --visual-position: center 58%;
}

.visual-programs {
  --visual-position: center 72%;
}

.visual-archive {
  --visual-position: center 86%;
}

.network-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.network-copy {
  display: grid;
  gap: 18px;
}

.status-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.status-list div {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.status-list div:last-child {
  border-bottom: 0;
}

.status-list dt {
  margin-bottom: 6px;
  font-weight: 820;
}

.status-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.program-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.archive-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.72;
}

.wide-copy {
  max-width: 860px;
  font-size: 1.12rem;
}

.source-status {
  padding-top: 0;
}

.source-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.source-grid a {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.source-grid a:hover {
  border-color: rgba(159, 47, 39, 0.38);
}

.contact {
  padding-top: 0;
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  border: 1px solid rgba(23, 32, 28, 0.22);
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

.email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.email-row a {
  padding: 10px 12px;
  color: var(--green);
  font-weight: 760;
  text-decoration: none;
  background: rgba(255, 250, 240, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fact-strip article,
.timeline-list li,
.chapter-grid article,
.constellation-grid article,
.rights-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(12, 21, 19, 0.05);
}

.fact-strip article {
  padding: 22px;
}

.fact-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-strip strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.life-layout,
.chapter-grid,
.constellation-grid,
.library-layout {
  display: grid;
  gap: 18px;
}

.life-layout,
.constellation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.life-layout article,
.constellation-grid article {
  padding: 24px;
}

.visual-section .life-layout article,
.visual-section .constellation-grid article {
  background: rgba(12, 21, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.timeline-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  display: grid;
  grid-template-columns: minmax(84px, 0.2fr) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 22px;
}

.timeline-list time {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.chapter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chapter-grid article {
  padding: 22px;
}

.library-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.biography-sources {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rights-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.rights-note strong {
  flex: 0 0 auto;
  color: var(--ink);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 100vh;
  }

  .subpage-hero {
    align-items: start;
    min-height: 900px;
  }

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

  .subpage-hero .hero-content {
    padding-top: 210px;
    padding-bottom: 300px;
  }

  .hero-note {
    right: 18px;
    bottom: 18px;
  }

  .intro-grid,
  .cinema-grid,
  .source-grid,
  .network-layout,
  .contact-layout,
  .split,
  .program-list,
  .archive-columns,
  .fact-strip,
  .life-layout,
  .chapter-grid,
  .constellation-grid,
  .library-layout,
  .biography-sources {
    grid-template-columns: 1fr;
  }

  .visual-section::before {
    background-attachment: scroll;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 0.92rem;
  }

  .hero-content {
    width: calc(100% - 28px);
    max-width: calc(100vw - 28px);
    padding-top: 154px;
    padding-bottom: 190px;
    overflow: hidden;
  }

  .subpage-hero {
    min-height: 890px;
  }

  .subpage-hero .hero-content {
    padding-top: 230px;
    padding-bottom: 310px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 11vw, 3.95rem);
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero .eyebrow {
    max-width: 100%;
    font-size: 0.66rem;
    line-height: 1.45;
    overflow-wrap: break-word;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 28px, 1180px);
  }

  .hero-note {
    right: 14px;
    left: 14px;
    width: auto;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
  }

  .rights-note {
    display: grid;
  }
}
