@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");

:root {
  color-scheme: light;
  --ink: #132a28;
  --dark: #092322;
  --darkest: #061b1a;
  --gold: #f0c581;
  --paper: #f6f3eb;
  --line: #dcd8cb;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
  font: 100%/1.7 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .3em; }
button { font: inherit; }
:focus-visible { outline: 2px solid #b77720; outline-offset: 5px; }
html { scroll-padding-top: 1rem; }
.wrap { width: min(100% - 5rem, 1232px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); white-space: nowrap; }
.header { position: relative; z-index: 1; background: var(--darkest); color: #fff5e3; border-bottom: 1px solid #f0c58128; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 77px; }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; flex-shrink: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.brand img { mix-blend-mode: screen; }
.brand small { display: block; margin-top: .38rem; color: var(--gold); font-size: .64rem; letter-spacing: .16em; }
.header nav { display: flex; gap: 2rem; font-size: .9rem; }
.header nav a, .header-link { text-decoration: none; }
.header nav a:hover, .hero-link:hover, .hero-credit a:hover { color: var(--gold); }
.header-link { font-size: .86rem; border: 1px solid #f0c58157; border-radius: 5px; padding: .47rem .95rem; }
.header-link:hover, .outline:hover { background: #f0c58120; }
.hero { isolation: isolate; position: relative; overflow: hidden; color: #fff5e3; background: var(--dark); border-bottom: 3px solid #c99850; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 29%; background: url("/assets/ai-hong-hero.jpg") 57% 42% / cover no-repeat; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #061b1ae6 0%, transparent 37%), linear-gradient(90deg, var(--dark) 0%, #092322e8 10%, #0923224d 38%, transparent 68%); }
.hero-inner { display: flex; align-items: center; position: relative; min-height: 536px; padding-block: 4.5rem 5.5rem; }
.hero-copy { max-width: 630px; }
.eyebrow { display: flex; gap: .7rem; align-items: center; margin: 0 0 .9rem; font-size: .77rem; font-weight: 700; letter-spacing: .16em; color: #856032; }
.eyebrow::before { content: ""; display: inline-block; flex: 0 0 1.6rem; height: 1px; background: currentColor; }
.hero .eyebrow { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; line-height: 1.13; }
.hero h1 { font-size: clamp(3.4rem, 6.25vw, 5.55rem); letter-spacing: -.048em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 450px; color: #e2e3d7; margin: 1.65rem 0 1.75rem; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.45rem; }
.button { display: inline-flex; padding: .7rem 1.08rem; border: 1px solid transparent; border-radius: 5px; align-items: center; justify-content: center; text-decoration: none; font-size: .88rem; font-weight: 700; }
.gold { background: var(--gold); color: #182621; }
.gold:hover { background: #ffdcaa; }
.hero-link { color: #fff5e3; font-size: .88rem; font-weight: 600; }
.hero-credit { position: absolute; right: 0; bottom: 1.65rem; text-align: right; }
.hero-credit span { display: block; color: var(--gold); letter-spacing: .12em; font-size: .68rem; font-weight: 700; }
.hero-credit a { font-size: .87rem; text-decoration: none; }
.catalog { padding-block: 3.8rem 4.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
h2 { font-size: clamp(2.3rem, 4.25vw, 3.75rem); letter-spacing: -.04em; }
.filters { display: flex; gap: .25rem; flex-wrap: wrap; border: 1px solid var(--line); padding: .27rem; border-radius: 6px; }
.filters button { appearance: none; border: 0; border-radius: 4px; color: #384e46; background: transparent; cursor: pointer; font-size: .85rem; font-weight: 600; padding: .5rem .82rem; }
.filters button:hover { background: #ece8da; }
.filters button[aria-pressed="true"] { background: var(--dark); color: #fff8e8; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.project { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fffdf7; }
.card-image { display: grid; aspect-ratio: 1.84; overflow: hidden; place-items: center; background: #112b28; }
.card-image img { transition: transform .25s ease; width: 100%; height: 100%; object-fit: cover; }
.card-image:hover img { transform: scale(1.045); }
.novel-art { background: radial-gradient(ellipse at center, #24473b, #0b2825 65%, #061b1a); }
.novel-art img { width: 32%; height: auto; mix-blend-mode: screen; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1.15rem 1.35rem 1.38rem; }
.card-copy p { margin: .68rem 0 1.1rem; color: #42554f; font-size: .925rem; }
.card-copy .card-category { color: #785629; font-size: .72rem; font-weight: 700; letter-spacing: .09em; margin: 0 0 .45rem; }
.card-category span { margin-inline: .25rem; }
.card-copy h3 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); letter-spacing: -.025em; }
.card-copy h3 a { text-decoration: none; }
.card-copy h3 a:hover { text-decoration: underline; }
.card-copy .card-subtitle { margin: .24rem 0 0; font-weight: 600; }
.read-link { font-size: .85rem; font-weight: 700; margin-top: auto; }
.about { color: #fff5e3; background: var(--dark); border-top: 1px solid #f0c58144; }
.about-inner { padding-block: 3.85rem; display: grid; grid-template-columns: minmax(125px, 210px) minmax(0, 650px); gap: clamp(1.2rem, 6vw, 6.5rem); align-items: center; }
.about-inner img { width: 80%; margin-inline: auto; mix-blend-mode: screen; }
.about-inner p { color: #e1e3d6; }
.about-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.outline { border-color: #f0c58166; color: #fff5e3; }
.footer { background: var(--darkest); color: #d8ded2; border-top: 1px solid #f0c58128; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; font-size: .85rem; }
.post { padding-block: 2.7rem 4rem; }
.post > :not(.post-cover) { max-width: 740px; margin-inline: auto; }
.post .back { display: block; margin-bottom: 2.4rem; font-size: .9rem; font-weight: 700; }
.post h1 { font-size: clamp(2.8rem, 7vw, 5rem); letter-spacing: -.045em; }
.post .original { font-size: 1rem; font-weight: 600; color: #5b6258; }
.post .intro { font-size: 1.13rem; margin-top: 1.2rem; }
.post-cover { margin: 2rem auto; max-width: 925px; }
.post figure img { width: 100%; border-radius: 6px; }
.post figcaption { color: #4f5a50; font-size: .88rem; margin-top: .5rem; }
.post h2 { font-size: clamp(1.85rem, 4vw, 2.65rem); margin-top: 2rem; }
.post section figure { margin: 1.5rem 0; }
.post li + li { margin-top: .42rem; }
.post .external { margin-top: 1.55rem; background: var(--dark); color: #fff5e3; }
.post .external:hover { background: #24473b; }
@media (max-width: 900px) {
  .wrap { width: min(100% - 3rem, 1232px); }
  .hero-art { left: 19%; }
  .hero-art::after { background: linear-gradient(0deg, #061b1af0, transparent 38%), linear-gradient(90deg, var(--dark) 1%, #092322d1 23%, #0923222b 72%); }
  .project-grid { gap: .85rem; }
  .card-copy { padding-inline: 1rem; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 70px; gap: .75rem; flex-wrap: wrap; padding-block: .65rem; }
  .header nav { gap: .95rem; font-size: .86rem; }
  .header-link { display: none; }
  .brand { font-size: .96rem; gap: .45rem; }
  .brand img { width: 36px; }
  .brand small { font-size: .59rem; }
  .hero-art { inset: 0 0 auto; height: 330px; background-position: 58% 38%; }
  .hero-art::after { background: linear-gradient(0deg, var(--dark), #09232265 48%, #09232218 87%); }
  .hero-inner { align-items: start; min-height: auto; padding-block: 11.7rem 4.8rem; }
  .hero h1 { font-size: clamp(2.7rem, 8.75vw, 4.25rem); }
  .hero-copy > p:not(.eyebrow) { margin: 1rem 0 1.3rem; }
  .hero-credit { bottom: .85rem; }
  .hero-credit span { display: none; }
  .hero-credit a { font-size: .75rem; }
  .catalog { padding-block: 2.65rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner { padding-block: 2.35rem; grid-template-columns: 1fr; }
  .about-inner img { width: 105px; margin-inline: 0; }
}
@media (max-width: 460px) {
  .project-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
