@import url("https://use.typekit.net/yyb2pbm.css");
/* DOYEUN KIM / WEBSITE V3 — DESIGN SETTINGS
   Change just these colors first. All regular page backgrounds remain white. */
:root {
  --white: #ffffff;
  --ink: #1b1d1b;
  --muted: #767a76;
  --line: #e4e7e4;
  --accent: #5E8DA4;             /* blue accent across the white website */
  --accent-light: #edf3f6;
  --image-bg: #ffffff;
  --gutter: clamp(22px, 4.7vw, 84px);
  --site-width: 1560px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 15px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.intro-active { overflow: hidden; }
button,input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: #d4e6d8; color: #1b1d1b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -80px; left: var(--gutter); z-index: 200; background: white; padding: 10px 16px; }
.skip-link:focus { top: 10px; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--site-width)); margin-inline: auto; }

/* Persistent, minimal navigation (real HTML pages, NOT scroll anchors) */
.site-header { position: relative; z-index: 10; background: #fff; }
.header-inner { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: baseline; font-size: 17px; font-weight: 600; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.brand-dot { color: var(--accent); font-size: 11px; margin-left: 3px; transform: translateY(-1px); }
.main-nav { display: flex; gap: clamp(10px,2.4vw,38px); align-items: center; }
.main-nav a { position: relative; display: inline-flex; align-items: center; padding: 8px 0; font-size: 13px; letter-spacing: -.015em; transition: color .22s ease; }
.main-nav a::after { content: ''; position: absolute; bottom: 3px; left: 0; height: 1px; width: 0; background: var(--accent); transition: width .23s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.menu-toggle { display: none; border: 0; padding: 9px 0; background: transparent; font-size: 13px; }
.menu-toggle span { display: inline-block; transition: transform .25s ease; color: var(--accent); font-size: 18px; margin-left: 5px; }
.menu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.mobile-nav { display: none; }

/* Page rhythm */
.page-heading { padding-top: clamp(56px, 8vw, 116px); padding-bottom: clamp(39px, 5.5vw, 72px); }
.page-kicker, .micro, .art-index { font-size: 10px; font-weight: 500; line-height: 1.6; letter-spacing: .145em; text-transform: uppercase; }
.page-kicker { color: var(--accent); margin: 0 0 21px; }
.page-title { margin: 0; letter-spacing: -.065em; font-weight: 400; font-size: clamp(52px, 8.1vw, 116px); line-height: .99; }
.page-title em, .hero-title em { font-family: Georgia,"Times New Roman",serif; font-weight: 400; letter-spacing: -.07em; }
.page-intro { font-size: 14px; line-height: 1.7; color: #656965; margin: 26px 0 0; max-width: 480px; }
.section-line { border-top: 1px solid var(--line); padding-top: 15px; margin-bottom: 32px; display: flex; justify-content: space-between; gap: 15px; color: #6e736f; }
.section-line .micro:first-child { color: var(--ink); }
.page-main { min-height: calc(100vh - 260px); }

/* Home is a short, editorial landing page — other sections are separate pages */
.hero { min-height: min(750px, calc(100svh - 92px)); padding-block: clamp(44px, 6vw, 88px) 72px; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(38px, 7vw, 110px); align-items: center; }
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-left .page-kicker { margin-bottom: 30px; }
.hero-title { font-size: clamp(55px, 7.8vw, 119px); font-weight: 400; letter-spacing: -.075em; line-height: .98; margin: 0; }
.hero-sub { max-width: 305px; margin: 30px 0 44px; color: #6c716d; font-size: 14px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--ink); padding: 0 0 7px; font-size: 13px; transition: color .2s, gap .2s, border-color .2s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); gap: 38px; }
.text-link .arrow { font-size: 18px; }
.hero-art { min-width: 0; }
.hero-art .art-frame { width: 100%; aspect-ratio: 1.22; }
.art-caption-row { padding-top: 13px; display: flex; gap: 12px; justify-content: space-between; color: #69706a; font-size: 11px; line-height: 1.5; }
.art-caption-row span:last-child { text-align: right; }
.home-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(74px, 10vw, 160px); }
.home-tile { padding: 30px 0 36px; min-height: 134px; display: flex; justify-content: space-between; gap: 20px; transition: color .2s; }
.home-tile:first-child { border-right: 1px solid var(--line); padding-right: 34px; }
.home-tile:last-child { padding-left: 34px; }
.home-tile:hover { color: var(--accent); }
.home-tile h2 { font-size: clamp(24px, 3vw, 41px); letter-spacing: -.052em; font-weight: 400; margin: 8px 0 0; }
.home-tile .micro { color: var(--muted); }
.home-tile .tile-arrow { align-self: flex-end; font-size: 23px; transition: transform .2s; }
.home-tile:hover .tile-arrow { transform: translate(3px,-3px); }

/* Blank image placeholders are deliberate; no artwork is fabricated */
.art-frame { position: relative; display: grid; place-items: center; background: var(--image-bg); overflow: hidden; border: 1px solid #f0f1f0; }
.art-frame img { display: block; height: 100%; width: 100%; object-fit: contain; opacity: 0; transition: opacity .3s ease; }
.art-frame img.is-loaded { opacity: 1; }
.art-frame:has(img.is-loaded) { background: white; border-color: transparent; }
.art-frame .placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; pointer-events: none; color: #9aa29d; }
.art-frame:has(img.is-loaded) .placeholder { display: none; }
.placeholder-shape { width: 33%; aspect-ratio: 1.23; border: 1px solid #d7dcd8; background: #fbfcfb; box-shadow: 13px 12px 0 #eff1ee; }
.placeholder-title { margin-top: 10px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.placeholder-path { font-size: 10px; letter-spacing: 0; color: #a3a9a4; }

/* Works: STRICT two-column grid, same frame sizes, all artwork images contain (never crop) */
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: clamp(23px, 5vw, 88px); row-gap: clamp(57px, 7vw, 104px); margin-bottom: clamp(75px, 10vw, 150px); }
.work-card { min-width: 0; }
.work-button { width: 100%; text-align: left; display: block; background: transparent; border: 0; padding: 0; color: inherit; }
.work-button .art-frame { width: 100%; aspect-ratio: 1.25; transition: background .23s ease; }
.work-button:hover .art-frame { background: #f0f4f1; }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 17px; }
.work-name { font-size: 17px; font-weight: 400; letter-spacing: -.035em; line-height: 1.3; }
.work-number { color: var(--accent); font-size: 11px; white-space: nowrap; }
.work-details { color: #7d817d; font-size: 12px; margin: 5px 0 0; }
.work-button:hover .work-name { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.work-outro { margin: -70px 0 125px; font-size: 12px; color: var(--muted); }

/* Exhibitions */
.exhibition-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px, 5vw, 88px); padding-bottom: 100px; }
.exhibition-card { min-width: 0; }
.exhibition-card .art-frame { aspect-ratio: 1.4; }
.exhibition-card h2 { font-size: clamp(18px,2.2vw,28px); font-weight: 400; letter-spacing: -.04em; line-height: 1.25; margin: 15px 0 6px; }
.exhibition-card p { font-size: 12px; color: var(--muted); margin: 0; }
.exhibition-card .art-index { color: var(--accent); margin: 18px 0 0; }
.exhibition-list { border-top: 1px solid var(--line); margin-bottom: 100px; }
.exhibition-list h2 { font-size: 13px; font-weight: 500; margin: 27px 0; }
.exhibition-row { display: grid; grid-template-columns: 80px minmax(100px,1fr) minmax(150px,1.2fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; }
.exhibition-row span:first-child { color: var(--muted); }
.exhibition-row span:last-child { color: var(--muted); }

/* About and contact */
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: clamp(50px, 9vw, 150px); margin: 0 0 140px; }
.about-mark { font-size: clamp(31px, 4.4vw, 70px); line-height: 1.12; font-weight: 400; letter-spacing: -.057em; margin: 0; }
.about-mark em { font-family: Georgia,serif; font-weight: 400; }
.about-copy { max-width: 640px; }
.about-copy p { font-size: 15px; line-height: 2; margin: 0 0 24px; word-break: keep-all; }
.about-copy .draft-note { font-size: 11px; color: #929892; margin-top: 12px; }
.cv-block { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 50px; }
.cv-block h2 { font-size: 12px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; margin: 0 0 25px; }
.cv-line { display: grid; grid-template-columns: 68px 1fr; gap: 18px; font-size: 13px; line-height: 1.7; padding: 8px 0; }
.cv-line span:first-child { color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; padding: 40px 0 140px; }
.contact-aside { font-size: 14px; color: #727972; }
.contact-lines { border-top: 1px solid var(--line); }
.contact-line { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-line span { font-size: 12px; color: var(--muted); }
.contact-line a, .contact-line strong { font-size: 17px; font-weight: 400; letter-spacing: -.035em; }
.contact-line a:hover { color: var(--accent); }

/* Footer */
.site-footer { padding: 21px 0 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; align-items: center; color: #8b908b; font-size: 10px; letter-spacing: .035em; }
.footer-links { display: flex; gap: 22px; }
.site-footer a:hover, .site-footer button:hover { color: var(--accent); }
.site-footer button { border: 0; background: none; padding: 0; color: inherit; font-size: inherit; letter-spacing: inherit; }

/* V4 INTRO ONLY — exact V2 bold type / positioning and upward curtain motion.
   Leave the other V3 site styles above and below this block unchanged. */
.intro {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px,3.5vw,54px);
  color: #fff;
  background: #192D50; /* user-selected navy intro */
  overflow: hidden;
  transform: translateY(0);
  transition: transform 1000ms cubic-bezier(.77,0,.18,1);
}
.intro.is-visible { display: flex; }
.intro.is-leaving { transform: translateY(-105%); pointer-events: none; }
.intro-top, .intro-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
}
.intro-center {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-left: clamp(0px,12vw,190px);
}
.intro-caption {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(11px,1vw,14px);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 20px;
}
.intro-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(95px,20vw,340px);
  font-weight: 600;
  line-height: .76;
  letter-spacing: -.105em;
}
.intro-dot { color: var(--accent); }
.intro-enter {
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 60px;
  color: white;
  padding: 10px 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s,color .2s;
}
.intro-enter:hover { background: white; color: #192D50; }

/* Artwork detail modal */
.work-dialog { border: 0; padding: 0; width: min(1020px,calc(100% - 40px)); max-height: calc(100dvh - 38px); background: #fff; color: var(--ink); box-shadow: 0 20px 90px #1112; }
.work-dialog::backdrop { background: rgba(24,32,26,.62); }
.dialog-inner { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 480px; }
.dialog-art { display: grid; place-items: center; padding: 34px; background: var(--image-bg); }
.dialog-art img { display: none; width: 100%; height: 100%; max-height: 67vh; object-fit: contain; }
.dialog-art img.is-loaded { display: block; }
.dialog-art:has(img.is-loaded) .dialog-no-image { display: none; }
.dialog-no-image { font-size: 11px; color: #9aa29d; text-align: center; }
.dialog-side { display: flex; flex-direction: column; padding: 55px 45px 38px; position: relative; }
.dialog-close { position: absolute; right: 24px; top: 17px; border: 0; background: transparent; font-size: 29px; font-weight: 300; }
.dialog-side .page-kicker { margin-bottom: 45px; }
.dialog-side h2 { font-size: clamp(30px,3vw,50px); line-height: 1.16; letter-spacing: -.065em; font-weight: 400; margin: 0 0 30px; }
.dialog-side p { font-size: 13px; color: #6e736f; margin: 5px 0; }
.dialog-nav { display: flex; gap: 25px; align-items: center; margin-top: auto; padding-top: 50px; }
.dialog-nav button { padding: 7px 0; border: 0; background: transparent; font-size: 12px; }
.dialog-nav button:hover { color: var(--accent); }

@media (max-width: 900px) {
  .hero { grid-template-columns: .9fr 1.1fr; gap: 36px; min-height: 570px; }
  .hero-title { font-size: clamp(50px, 7.8vw, 80px); }
  .about-layout { gap: 50px; }
}
@media (max-width: 700px) {
  /* V2 intro: keep the giant letters readable on phones */
  .intro-center { margin-left: 0; }
  .intro-name { font-size: clamp(78px,20vw,145px); }
  .header-inner { min-height: 71px; }
  .brand { font-size: 16px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-block: 15px 28px; }
  .mobile-nav a { font-size: 26px; padding: 11px 0; letter-spacing: -.052em; }
  .mobile-nav a[aria-current="page"] { color: var(--accent); }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 40px; padding-block: 67px 64px; }
  .hero-title { font-size: clamp(72px, 16vw, 118px); }
  .hero-left .page-kicker { margin-bottom: 17px; }
  .hero-sub { margin: 23px 0 24px; }
  .hero-art .art-frame { aspect-ratio: 1.25; }
  .home-links { margin-bottom: 80px; }
  .home-tile { min-height: 123px; }
  .home-tile:first-child { padding-right: 19px; }
  .home-tile:last-child { padding-left: 19px; }
  .home-tile h2 { font-size: 24px; }
  .page-heading { padding-block: 72px 52px; }
  .page-title { font-size: clamp(65px, 14vw, 95px); }
  .works-grid, .exhibition-grid { gap: 56px 22px; }
  .work-name { font-size: 15px; }
  .work-details { font-size: 11px; }
  .work-meta { margin-top: 10px; }
  .placeholder-shape { box-shadow: 7px 7px 0 #eff1ee; }
  .placeholder-path { font-size: 8px; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 46px; }
  .about-layout { margin-bottom: 90px; }
  .contact-layout { padding-bottom: 110px; }
  .dialog-inner { grid-template-columns: 1fr; }
  .dialog-art { min-height: 250px; padding: 22px; }
  .dialog-art img { max-height: 44vh; }
  .dialog-side { padding: 34px 25px 24px; }
  .dialog-side .page-kicker { margin-bottom: 18px; }
  .dialog-side h2 { margin-bottom: 14px; }
  .dialog-nav { padding-top: 24px; }
}
@media (max-width: 490px) {
  .works-grid, .exhibition-grid { grid-template-columns: 1fr; row-gap: 45px; }
  .works-grid { margin-bottom: 100px; }
  .work-button .art-frame { aspect-ratio: 1.28; }
  .work-name { font-size: 17px; }
  .exhibition-grid { padding-bottom: 75px; }
  .exhibition-row { grid-template-columns: 52px 1fr; gap: 6px 12px; }
  .exhibition-row span:last-child { grid-column: 2; }
  .site-footer { flex-wrap: wrap; }
  .site-footer > span:nth-child(2) { display: none; }
  .art-caption-row { font-size: 10px; }
  .intro-top,.intro-bottom { font-size: 10px; }
  .intro-center { margin-left: 0; }
  .intro-name { font-size: clamp(78px,20vw,145px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}


/* =======================================================
   V5: GALLERY HOME + SEPARATE ARTWORK PAGES
   All regular pages remain pure white. V6 navy intro is adapted from V4.
   ======================================================= */
[hidden] { display: none !important; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* HOME — first image fills the screen below navigation. */
.home-cover { width: 100%; }
.home-cover-frame { height: calc(100svh - 91px); min-height: 400px; width: 100%; border: 0; }
.home-cover-frame img { width:100%; height:100%; object-fit:cover; object-position:center; }
.home-cover-caption { display:flex; justify-content:space-between; gap:20px; padding-top:16px; padding-bottom:clamp(100px,12vw,190px); font-size:12px; color:var(--muted); }

/* HOME — only two works, one large artwork per row. */
.home-selected { padding-bottom:clamp(90px,12vw,180px); }
.home-selected-header { border-top:1px solid var(--line); padding-top:20px; padding-bottom:60px; display:flex; justify-content:space-between; align-items:baseline; gap:20px; }
.home-selected-header h2 { margin:0; font-size:clamp(22px,2.7vw,37px); font-weight:400; letter-spacing:-.045em; }
.home-selected-header span { color:var(--muted); font-size:12px; }
.home-selected-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(90px,12vw,180px); }
.home-preview-card { width:100%; }
.home-preview-card a { display:block; width:min(100%,1180px); margin-inline:auto; }
.home-preview-card .art-frame { width:100%; min-height:180px; aspect-ratio:auto; background:#fff; border:0; display:block; }
.home-preview-card .art-frame img { display:block; width:100%; height:auto; object-fit:contain; }
.home-preview-card .art-frame img.is-loaded { opacity:1; }
.home-preview-card .art-frame:has(img.is-loaded) .placeholder { display:none; }
.home-preview-card .art-frame:not(:has(img.is-loaded)) { min-height:350px; background:var(--image-bg); }
.home-preview-caption { display:flex; justify-content:space-between; align-items:baseline; gap:20px; margin-top:15px; font-size:13px; }
.home-preview-caption span:last-child { color:var(--muted); }
.home-preview-card a:hover img.is-loaded { opacity:.7; }
.home-preview-card img.is-loaded { transition:opacity .32s ease; }
.home-selected-more { display:block; width:fit-content; margin:90px 0 0 auto; font-size:13px; border-bottom:1px solid var(--ink); padding-bottom:6px; }
.home-selected-more:hover { color:var(--accent); border-color:var(--accent); }

/* WORKS — quiet artist archive, no card backgrounds or hover outlines. */
.works-heading { padding:clamp(65px,7vw,105px) 0 clamp(65px,8vw,120px); }
.works-heading h1 { margin:0; font-size:clamp(40px,7vw,96px); font-weight:400; letter-spacing:-.065em; line-height:1; }
.works-heading p { margin:20px 0 0; font-size:13px; color:var(--muted); }
.gallery-works-grid { row-gap:clamp(70px,8vw,130px); }
.work-link { display:block; }
.work-link .art-frame { width:100%; aspect-ratio:1.25; background:#fff; border:0; }
.work-link .art-frame img { width:100%; height:100%; object-fit:contain; }
.work-link .art-frame:has(img.is-loaded) { background:#fff; border:0; }
.work-link .art-frame:not(:has(img.is-loaded)) { background:var(--image-bg); }
.work-link img.is-loaded { transition:opacity .32s ease; }
.work-link:hover img.is-loaded { opacity:.65; }
.work-link:focus-visible { outline:1px solid var(--ink); outline-offset:8px; }
.work-caption { display:flex; justify-content:space-between; gap:15px; margin-top:18px; font-size:13px; }
.work-caption span:last-child { color:var(--muted); }

/* A single artwork has its own spacious, editorial page. */
.detail-page { padding-top:clamp(34px,4vw,70px); }
.detail-topline { display:flex; justify-content:space-between; gap:16px; color:var(--muted); font-size:12px; padding-bottom:clamp(35px,5vw,70px); }
.detail-topline a { color:var(--ink); }
.detail-topline a:hover { color:var(--accent); }
.detail-main-image { margin:0 auto; width:min(100%,1290px); }
.detail-art-frame { display:block; width:100%; aspect-ratio:auto; min-height:200px; border:0; background:#fff; }
.detail-art-frame img { display:block; width:100%; height:auto; max-height:85svh; object-fit:contain; margin-inline:auto; }
.detail-art-frame:not(:has(img.is-loaded)) { background:var(--image-bg); min-height:450px; }
.detail-information { display:grid; grid-template-columns:minmax(0,1fr) minmax(210px,.5fr); align-items:start; gap:clamp(35px,7vw,130px); margin:clamp(55px,8vw,125px) 0 clamp(115px,14vw,220px); }
.detail-information h1 { margin:0; font-weight:400; letter-spacing:-.055em; line-height:1.17; font-size:clamp(35px,5vw,76px); overflow-wrap:anywhere; }
.detail-facts { padding-top:8px; font-size:13px; color:var(--muted); }
.detail-facts p { margin:0 0 8px; }
.process-section { padding-bottom:clamp(100px,12vw,180px); }
.process-section h2 { font-size:clamp(24px,3.2vw,44px); font-weight:400; letter-spacing:-.04em; margin:0 0 50px; border-top:1px solid var(--line); padding-top:20px; }
.process-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(22px,5vw,80px); }
.process-figure { margin:0; }
.process-figure img { display:block; width:100%; height:auto; }
.process-figure figcaption { font-size:12px; color:var(--muted); margin-top:12px; }
.detail-bottom-nav { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; border-top:1px solid var(--line); padding:26px 0 clamp(85px,10vw,140px); font-size:13px; }
.detail-bottom-nav a:hover { color:var(--accent); }

@media (max-width:700px) {
 .home-cover-frame { height:calc(100svh - 71px); min-height:340px; }
 .home-cover-caption { padding-bottom:90px; }
 .home-selected-header { padding-bottom:36px; }
 .home-selected-grid { gap:85px; }
 .home-preview-card .art-frame:not(:has(img.is-loaded)) { min-height:200px; }
 .works-heading { padding:65px 0 80px; }
 .detail-information { grid-template-columns:1fr; gap:24px; margin:55px 0 115px; }
 .detail-topline { padding-bottom:35px; }
 .process-grid { grid-template-columns:1fr; gap:55px; }
 .detail-art-frame img { max-height:none; }
}
@media (prefers-reduced-motion:reduce) {
 .home-preview-card img.is-loaded,.work-link img.is-loaded { transition:none; }
}


/* ================================================================
   V6 / CUSTOMIZABLE CHOICES — EDIT THIS SECTION FIRST
   Intro navy #192D50 is set above in .intro, accent #5E8DA4 in :root.
   Works: 3 columns on wide screens, 2 on tablets, 1 on phones.
   Exhibitions: always ONE large image per row.
   ================================================================ */

/* INTRO — retain the existing upward curtain transition, smaller centered text. */
.intro { background:#192D50; }
.intro-center { flex:1; justify-content:center; align-items:center; margin-left:0; width:100%; }
.intro-name { font-size:clamp(74px, 11vw, 178px); font-weight:400; line-height:.93; letter-spacing:-.065em; text-align:center; }
.intro-top,.intro-bottom { flex-shrink:0; }

/* WORKS — an image archive, not product cards; no year limit. */
.compact-works-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:clamp(24px,3.6vw,65px); row-gap:clamp(60px,6vw,110px); padding-bottom:clamp(120px,12vw,170px); }
.compact-works-grid .art-frame { aspect-ratio: 1 / 1.05; border:0; background:white; }
.compact-works-grid .art-frame img { object-fit:contain; }
.compact-works-grid .work-caption { font-size:12px; margin-top:12px; }
.compact-works-grid .work-caption span:last-child { color:var(--muted); }
.compact-works-grid .work-link img.is-loaded { transition:opacity .3s ease; }
.compact-works-grid .work-link:hover img.is-loaded { opacity:.7; }

/* EXHIBITIONS — 1 exhibition / 1 row, clickable entry leading to a full page. */
.exhibition-archive-heading { padding:clamp(66px,7vw,110px) 0 clamp(65px,8vw,120px); }
.exhibition-archive-heading h1 { margin:0; font-size:clamp(40px,7vw,96px); line-height:1; font-weight:400; letter-spacing:-.065em; }
.exhibition-archive-heading p { margin:20px 0 0; font-size:13px; color:var(--muted); }
.exhibition-archive-list { display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(95px,11vw,170px); padding-bottom:clamp(120px,14vw,210px); }
.exhibition-feature { min-width:0; }
.exhibition-feature-link { display:block; }
.exhibition-feature-frame { display:block; border:none; width:100%; aspect-ratio: 16/9; background:var(--image-bg); }
.exhibition-feature-frame img { width:100%; height:100%; object-fit:contain; }
.exhibition-feature-caption { display:flex; justify-content:space-between; align-items:baseline; gap:14px 35px; margin-top:19px; font-size:clamp(13px,1.25vw,17px); }
.exhibition-feature-caption span:last-child { color:var(--muted); font-size:12px; text-align:right; }
.exhibition-feature-link img.is-loaded { transition:opacity .32s ease; }
.exhibition-feature-link:hover img.is-loaded { opacity:.7; }

/* EXHIBITION DETAIL — a separate page per show, large full images below. */
.exhibition-detail-page { padding-top:clamp(35px,4vw,70px); }
.exhibition-detail-cover { margin:0; }
.exhibition-detail-frame { border:0; width:100%; aspect-ratio:16/9; background:var(--image-bg); }
.exhibition-detail-frame img { width:100%; height:100%; object-fit:contain; }
.exhibition-detail-information { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(210px,.65fr); gap:clamp(35px,7vw,130px); padding:clamp(75px,8vw,145px) 0 clamp(90px,10vw,160px); border-bottom:1px solid var(--line); }
.exhibition-detail-information h1 { margin:0; font-size:clamp(34px,5vw,73px); font-weight:400; letter-spacing:-.053em; line-height:1.15; overflow-wrap:anywhere; }
.exhibition-type { font-size:12px; color:var(--muted); margin-top:20px; }
.exhibition-details-list { font-size:13px; margin:0; }
.exhibition-details-list div { display:grid; grid-template-columns:65px 1fr; gap:20px; margin-bottom:18px; }
.exhibition-details-list dt { color:var(--muted); }
.exhibition-details-list dd { margin:0; }
.exhibition-about { display:grid; grid-template-columns: minmax(160px,.65fr) minmax(0,1fr); gap:clamp(25px,6vw,120px); padding:clamp(70px,8vw,130px) 0; }
.exhibition-about h2, .exhibition-photographs h2 { margin:0; font-size:clamp(22px,2.6vw,34px); font-weight:400; letter-spacing:-.045em; }
.exhibition-about p { margin:0; max-width:730px; font-size:15px; line-height:1.95; word-break:keep-all; }
.exhibition-photographs { padding:20px 0 clamp(100px,14vw,180px); border-top:1px solid var(--line); }
.exhibition-photographs-list { margin-top:clamp(40px,5vw,80px); display:grid; grid-template-columns: minmax(0,1fr); gap:clamp(70px,10vw,140px); }
.exhibition-photographs figure { margin:0; }
.exhibition-photographs img { width:100%; height:auto; max-height:95svh; object-fit:contain; }
.exhibition-photographs figcaption { color:var(--muted); font-size:11px; margin-top:12px; }

@media (max-width:900px) {
 .compact-works-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
 .intro-name { font-size:clamp(58px,13vw,92px); line-height:.95; }
 .intro-center { margin-left:0; }
 .compact-works-grid { column-gap:18px; row-gap:48px; }
 .exhibition-detail-information, .exhibition-about { grid-template-columns:1fr; gap:28px; }
 .exhibition-detail-information { padding:65px 0 75px; }
 .exhibition-archive-list { gap:90px; }
 .exhibition-feature-frame { aspect-ratio:4/3; }
 .exhibition-feature-caption { flex-direction:column; gap:5px; }
 .exhibition-feature-caption span:last-child { text-align:left; }
}
@media (max-width:490px) {
 .compact-works-grid { grid-template-columns:1fr; gap:60px; }
 .intro-name { font-size:clamp(56px,13vw,73px); }
}

/* V7 / Pages CMS — dynamic pages share the V6 visual language. */
.cms-loading,.cms-error { color:var(--muted); font-size:14px; padding:22px 0 100px; }
.cms-error { max-width:700px; line-height:1.85; }
.cms-detail-page { padding-top:clamp(35px,4vw,70px); }
.cms-description { white-space:pre-line; }
.cms-gallery-section { border-top:1px solid var(--line); margin-top:clamp(65px,7vw,110px); padding-top:21px; }
.cms-gallery-section h2 { font-size:15px; font-weight:500; margin:0 0 40px; }
.cms-gallery-list { display:grid; grid-template-columns:minmax(0,1fr); gap:clamp(50px,8vw,120px); }
.cms-gallery-figure { width:100%; max-width:1280px; margin:0 auto; }
.cms-gallery-figure img { width:100%; height:auto; display:block; object-fit:contain; }
.cms-gallery-figure figcaption { margin-top:10px; color:var(--muted); font-size:12px; }
.cms-cover-link { display:block; width:100%; }
.cms-detail-nav { margin-top:clamp(60px,8vw,130px); }
.cms-empty { color:var(--muted); font-size:13px; padding:20px 0 120px; }
.cms-description-block { border-top:1px solid var(--line); padding-top:24px; }
.cms-detail-page .detail-facts .cms-description { margin-top:26px; }
@media(max-width:700px){.cms-gallery-section h2{margin-bottom:24px}.cms-gallery-list{gap:45px}}


/* ============================================================
   WORKS / ONE IMAGE PER ROW — WHITE GALLERY UPDATE
   Edit this block to change the new layout. (November 2026)
   Existing CMS configuration is unchanged.
   ============================================================ */

/* Keep the entire site white, including image containers. */
:root { --image-bg: #ffffff; }
body, .site-header, .page-main { background-color: #ffffff; }

/* One artwork on each row, on desktop, tablet, and mobile. */
.compact-works-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(90px, 11vw, 170px);
}

/* Give every artwork generous space, but avoid overwhelming width. */
.compact-works-grid .work-link {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

/* Preserve each painting's original proportions without cropping. */
.compact-works-grid .art-frame {
  width: 100%;
  aspect-ratio: auto;
  min-height: 0;
  border: 0;
  background: #ffffff;
}
.compact-works-grid .art-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 85svh;
  object-fit: contain;
  margin-inline: auto;
}

/* The empty image placeholder is white until a photo is uploaded. */
.compact-works-grid .art-frame:not(:has(img.is-loaded)) {
  min-height: 320px;
  background: #ffffff;
}

/* Gentle artwork hover, without a colored rectangle. */
.compact-works-grid .work-link:hover img.is-loaded { opacity: 0.72; }

@media (max-width: 700px) {
  .compact-works-grid { gap: 68px; }
  .compact-works-grid .art-frame img { max-height: none; }
}
/* INTRO — Original V4 typography, slightly smaller */

.intro-center {
  align-items: flex-start;
  justify-content: center;
  margin-left: clamp(0px, 12vw, 190px);
  width: auto;
}

.intro-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(90px, 17vw, 300px);
  font-weight: 600;
  line-height: .76;
  letter-spacing: -.105em;
  text-align: left;
}

/* Mobile */
@media (max-width: 700px) {
  .intro-center {
    margin-left: 0;
  }

  .intro-name {
    font-size: clamp(68px, 17vw, 125px);
  }
}
/* ======================================
   FINAL DESIGN — WHITE / SINGLE COLUMN
   ====================================== */

/* Website background: pure white */

:root {
  --white: #ffffff;
  --image-bg: #ffffff;
}

body,
.site-header,
.page-main,
.site-footer {
  background-color: #ffffff;
}

/* Works — one artwork per row */

.compact-works-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 130px;
  padding-bottom: 150px;
}

/* Artwork image size */

.compact-works-grid .work-link {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

/* Maintain original artwork proportions */

.compact-works-grid .art-frame {
  width: 100%;
  aspect-ratio: auto;
  min-height: 0;
  background: #ffffff;
  border: none;
}

.compact-works-grid .art-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 85svh;
  object-fit: contain;
  margin-inline: auto;
}

/* White backgrounds for artwork and exhibition images */

.art-frame,
.exhibition-feature-frame,
.exhibition-detail-frame {
  background-color: #ffffff;
}

/* Empty image placeholders */

.compact-works-grid .art-frame:not(:has(img.is-loaded)) {
  min-height: 320px;
  background-color: #ffffff;
}

/* Subtle hover effect */

.compact-works-grid .work-link:hover img.is-loaded {
  opacity: 0.72;
}

/* Mobile */

@media (max-width: 700px) {
  .compact-works-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .compact-works-grid .art-frame img {
    max-height: none;
  }
}
/* Artwork Details & Process — 2 columns */

body[data-page="work-detail"] .cms-gallery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

body[data-page="work-detail"] .cms-gallery-figure {
  width: 100%;
  max-width: none;
  margin: 0;
}

body[data-page="work-detail"] .cms-gallery-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile — 1 column */

@media (max-width: 700px) {
  body[data-page="work-detail"] .cms-gallery-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
/* MOBILE HOME — Show the entire main artwork */

@media (max-width: 700px) {

  body[data-page="home"] .home-cover-frame {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    display: block;
  }

  body[data-page="home"] .home-cover-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

}

/* =========================================
   CLEAN WHITE WEBSITE
   ========================================= */

/* Pure white backgrounds */

html,
body,
main,
.site-header,
.site-footer,
.page-main,
.page-content,
.works-section,
.exhibitions-section,
.art-frame,
.cms-gallery-list,
.cms-gallery-figure,
.exhibition-feature-frame,
.exhibition-detail-frame {
  background-color: #ffffff !important;
}

/* Remove horizontal divider elements */

hr,
.divider,
.section-divider,
.section-rule,
.page-divider,
.header-divider,
.hairline {
  display: none !important;
}

/* Remove section separator borders */

.site-header,
.site-footer,
.page-header,
.section-header,
.section-heading,
.section-head,
.works-section,
.exhibitions-section,
.page-main > section {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Remove header underline */

.site-header::before,
.site-header::after {
  display: none !important;
}
/* INTRO — PC & Mobile */

.intro-name {
  line-height: 0.88;
}
/* INTRO — Refined letter spacing */

.intro-name {
  letter-spacing: -0.035em;
}

/* Mobile */
@media (max-width: 700px) {
  .intro-name {
    letter-spacing: -0.035em;
  }
}

/* NEUE HAAS GROTESK — WEBSITE TYPOGRAPHY */

/* Website text */
body,
button,
input,
textarea,
select {
  font-family:
    "neue-haas-grotesk-text",
    "Apple SD Gothic Neo",
    sans-serif;
}

/* Intro typography */
.intro-name {
  font-family:
    "neue-haas-grotesk-display",
    "Apple SD Gothic Neo",
    sans-serif;
}

/* Artwork & Exhibition Detail — Smaller Titles */

body[data-page="work-detail"] main h1,
body[data-page="exhibition-detail"] main h1 {
  font-size: 26px !important;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Mobile */
@media (max-width: 700px) {
  body[data-page="work-detail"] main h1,
  body[data-page="exhibition-detail"] main h1 {
    font-size: 21px !important;
    line-height: 1.4;
  }
}

/* About — Profile Image */

.about-layout .about-profile {
  width: 100%;
  max-width: 440px;
  margin: 0;
}

.about-layout .about-profile img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 700px) {
  .about-layout .about-profile {
    max-width: 320px;
  }
}

/* About — Language Switch */

.about-language-switch {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.about-language-switch a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-language-switch a[aria-current="page"] {
  color: #191919;
  font-weight: 600;
}

.about-language-switch a:hover {
  color: #191919;
}

/* TEXTS */

body[data-page="texts"] {
  background: #fff;
}

.texts-page {
  padding-bottom: 120px;
}

.texts-heading {
  padding: 80px 0 60px;
}

.texts-kicker {
  color: var(--accent, #6194aa);
  font-size: 12px;
  letter-spacing: 0.12em;
  margin: 0 0 28px;
}

.texts-title {
  font-size: clamp(64px, 9vw, 140px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0;
}

.texts-dot {
  color: var(--accent, #6194aa);
}

.texts-subtitle {
  margin-top: 28px;
  font-size: 15px;
  color: #888;
}

.texts-language {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 24px 0 50px;
  font-size: 13px;
}

.texts-language a {
  text-decoration: none;
  color: #999;
}

.texts-language a[aria-current="page"] {
  color: #191919;
  font-weight: 600;
}

.texts-list {
  width: 100%;
}

.texts-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 28px 0;
  color: inherit;
  text-decoration: none;
}

.texts-category {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent, #6194aa);
  margin-bottom: 12px;
}

.texts-entry-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.texts-meta {
  font-size: 13px;
  color: #888;
  margin: 10px 0 0;
}

.texts-arrow {
  font-size: 20px;
  color: #888;
  flex-shrink: 0;
}

.texts-entry:hover .texts-entry-title,
.texts-entry:hover .texts-arrow {
  color: var(--accent, #6194aa);
}

/* TEXT DETAIL */

.texts-back {
  display: inline-block;
  margin-top: 60px;
  color: #888;
  text-decoration: none;
  font-size: 13px;
}

.texts-article {
  padding-top: 30px;
}

.texts-article-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0;
}

.texts-article-meta {
  font-size: 14px;
  color: #888;
  margin-top: 20px;
}

.texts-body {
  max-width: 780px;
  margin-top: 75px;
}

.texts-paragraph {
  font-size: 17px;
  line-height: 1.95;
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: anywhere;
  margin: 0 0 30px;
}

.texts-empty,
.texts-notice {
  font-size: 14px;
  color: #888;
  margin-top: 35px;
}

/* MOBILE */

@media (max-width: 700px) {
  .texts-heading {
    padding: 50px 0 35px;
  }

  .texts-language {
    margin-bottom: 30px;
  }

  .texts-entry {
    padding: 22px 0;
  }

  .texts-body {
    margin-top: 45px;
  }

  .texts-paragraph {
    font-size: 15px;
    line-height: 1.85;
  }
}


/* Texts title — responsive dot spacing */

body[data-page="texts"] .texts-title {
  display: inline-flex;
  align-items: baseline;
  column-gap: 0.07em;
  white-space: nowrap;
}

body[data-page="texts"] .texts-title .texts-dot {
  display: inline-block;
  margin-left: 0;
  letter-spacing: 0;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  body[data-page="texts"] .texts-title {
    column-gap: 0.1em;
  }
}

/* Remove title dots from CV, Texts and Contact */

body[data-page="about"] .page-title > span,
body[data-page="texts"] .texts-title .texts-dot,
body[data-page="contact"] .page-title > span {
  display: none !important;
}


/* Main page headings — unified size */

body[data-page="works"] .page-title,
body[data-page="exhibitions"] .page-title,
body[data-page="about"] .page-title,
body[data-page="contact"] .page-title,
body[data-page="texts"] .texts-title {
  font-size: clamp(32px, 3.2vw, 44px) !important;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* Mobile */
@media (max-width: 700px) {
  body[data-page="works"] .page-title,
  body[data-page="exhibitions"] .page-title,
  body[data-page="about"] .page-title,
  body[data-page="contact"] .page-title,
  body[data-page="texts"] .texts-title {
    font-size: 32px !important;
    line-height: 1.2;
  }
}

/* Works & Exhibitions — heading size */

h1.portfolio-index-title {
  font-size: clamp(32px, 3.2vw, 44px) !important;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

@media (max-width: 700px) {
  h1.portfolio-index-title {
    font-size: 32px !important;
  }
}

/* HOME — Main artwork responsive sizing */

.home-artwork-responsive {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

.home-artwork-responsive img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

/* HOME — Prevent main artwork cropping */

body[data-page="home"] .home-cover {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body[data-page="home"] #home-cover-frame {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}

body[data-page="home"] #home-cover-frame img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  transform: none !important;
}


/* HOME — Selected Works responsive sizing */

#home-selected-grid .art-frame {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}

#home-selected-grid img {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 900px) !important;
  max-height: 650px !important;
  object-fit: contain !important;
  transform: none !important;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile */
@media (max-width: 700px) {
  #home-selected-grid img {
    max-width: 100% !important;
    max-height: 70svh !important;
  }
}

/* CONTACT — Minimal layout */

.contact-minimal {
  padding-top: clamp(70px, 7vw, 110px);
  padding-bottom: 100px;
}

.contact-minimal-heading {
  width: 100%;
}

.contact-minimal-heading .page-title {
  margin: 0 0 26px;
}

.contact-minimal-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #858985;
  margin: 0;
}

/* Centered contact information */

.contact-minimal-details {
  width: 100%;
  max-width: 580px;
  margin: clamp(110px, 15vh, 180px) auto 120px;
}

.contact-minimal-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
}

.contact-minimal-label {
  font-size: 15px;
  color: #858985;
}

.contact-minimal-row a {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1b1d1c;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.contact-minimal-row a:hover {
  color: #6194aa;
}

/* Mobile */

@media (max-width: 700px) {
  .contact-minimal {
    padding-top: 60px;
  }

  .contact-minimal-details {
    max-width: 100%;
    margin: 100px auto 90px;
  }

  .contact-minimal-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .contact-minimal-row a {
    font-size: 18px;
  }
}

/* Exhibition photography credit */

.exhibition-photo-credit {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: #888888;
  text-align: right;
  margin: 18px 0 45px;
  letter-spacing: 0;
}

@media (max-width: 700px) {
  .exhibition-photo-credit {
    font-size: 11px;
    margin: 14px 0 32px;
  }
}

/* 1. CV — Typography */

body[data-page="about"] .cv-line {
  font-size: 14px;
  grid-template-columns: 90px minmax(0, 1fr);
}

body[data-page="about"] .cv-block h2 {
  font-size: 14px;
  font-weight: 600;
}


/* 2. EXHIBITIONS — Preserve original image ratio */

body[data-page="exhibition-detail"]
.exhibition-detail-cover .exhibition-detail-frame {
  display: block !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}

body[data-page="exhibition-detail"]
.exhibition-detail-cover .exhibition-detail-frame img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 90svh !important;
  object-fit: contain !important;
  margin-left: auto;
  margin-right: auto;
}


/* 3. EXHIBITIONS — Smaller About heading */

body[data-page="exhibition-detail"] .exhibition-about h2 {
  font-size: clamp(20px, 2vw, 28px);
}

/* EXHIBITIONS — Larger images on tall desktop screens */

@media (min-width: 901px) and (min-height: 800px) {

  body[data-page="exhibitions"] .exhibition-feature-frame {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: visible;
  }

  body[data-page="exhibitions"] .exhibition-feature-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

}

/* WORKS — List / Grid view controls */

body[data-page="works"] .works-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

body[data-page="works"] .works-year-filter,
body[data-page="works"] .works-view-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-page="works"] .works-controls button {
  border: 1px solid #e4e7e4;
  border-radius: 3px;
  padding: 7px 12px;
  background: #fff;
  color: #888;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}

body[data-page="works"] .works-controls button[aria-pressed="true"] {
  color: #1b1d1b;
  border-color: #1b1d1b;
}

body[data-page="works"] .works-controls button:hover {
  color: #5e8da4;
}


/* WORKS — Grid mode, desktop 3 columns */

body[data-page="works"] #works-grid.is-grid-view {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 65px 30px;
  align-items: start;
}

body[data-page="works"] #works-grid.is-grid-view .work-link {
  width: 100%;
  max-width: none;
}

body[data-page="works"] #works-grid.is-grid-view .art-frame {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: hidden;
}

body[data-page="works"] #works-grid.is-grid-view .art-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
}

body[data-page="works"] #works-grid.is-grid-view
.art-frame:not(:has(img.is-loaded)) {
  min-height: 140px;
}

body[data-page="works"] #works-grid.is-grid-view .work-caption {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  gap: 8px;
}


/* Tablet — 2 columns */

@media (max-width: 1000px) {
  body[data-page="works"] #works-grid.is-grid-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 22px;
  }
}


/* Mobile — 2 columns */

@media (max-width: 700px) {
  body[data-page="works"] #works-grid.is-grid-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 14px;
  }

  body[data-page="works"] #works-grid.is-grid-view .art-frame img {
    max-height: 240px;
  }

  body[data-page="works"] #works-grid.is-grid-view .work-caption {
    display: block;
    margin-top: 8px;
    font-size: 10px;
  }

  body[data-page="works"] #works-grid.is-grid-view .work-caption span {
    display: block;
  }
}

/* WORKS — Centered two-column grid */

body[data-page="works"] #works-grid.is-grid-view {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 48px;
  row-gap: 75px;
  align-items: start;
}

/* Artwork frame: equal height, centered images */

body[data-page="works"] #works-grid.is-grid-view .art-frame {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(320px, 36vw, 520px) !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden;
  background: #fff;
}

/* Keep each artwork's original proportions */

body[data-page="works"] #works-grid.is-grid-view .art-frame img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center;
  margin: 0 auto;
}

/* Consistent caption positioning */

body[data-page="works"] #works-grid.is-grid-view .work-caption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
}

/* Mobile — two columns */

@media (max-width: 700px) {
  body[data-page="works"] #works-grid.is-grid-view {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 14px;
    row-gap: 38px;
  }

  body[data-page="works"] #works-grid.is-grid-view .art-frame {
    height: clamp(150px, 38vw, 240px) !important;
  }

  body[data-page="works"] #works-grid.is-grid-view .work-caption {
    font-size: 10px;
    margin-top: 8px;
  }
}
