/* ============================================================
   Suin Paper — Ha Hyojin Profile
   Pure HTML/CSS/JS · Mobile-first responsive
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --c-base:    #F7F3EC;   /* 한지 미색 */
  --c-base-2:  #EFEAE0;   /* 한지 그림자 */
  --c-ink:     #1A1A1A;   /* 먹 */
  --c-sub:     #6B6259;   /* 옅은 먹 */
  --c-mute:    #A39C92;   /* 더 옅은 회색 */
  --c-line:    #D8D2C5;   /* 구분선 */
  --c-accent1: #C75B2A;   /* Joie 주황 */
  --c-accent2: #1F3A6B;   /* 담음 청 */
  --c-overlay: rgba(15, 13, 10, 0.94);

  --max-w:     1280px;
  --gutter:    clamp(1.5rem, 5vw, 4rem);

  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast:    180ms;
  --t-mid:     400ms;
  --t-slow:    900ms;

  --ff-sans-kr: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --ff-sans-en: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  --ff-sans-jp: "Noto Sans JP", -apple-system, "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --ff-serif-kr: "Nanum Myeongjo", "Noto Serif KR", "Apple SD Gothic Neo", serif;
  --ff-serif-en: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --ff-serif-jp: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

html[lang="ko"] { --ff-sans: var(--ff-sans-kr); --ff-serif: var(--ff-serif-kr); }
html[lang="en"] { --ff-sans: var(--ff-sans-en); --ff-serif: var(--ff-serif-en); }
html[lang="ja"] { --ff-sans: var(--ff-sans-jp); --ff-serif: var(--ff-serif-jp); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-ink);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent1); outline-offset: 4px; border-radius: 2px; }

/* Hide scrollbar styling polish (still scrollable) */
::selection { background: var(--c-accent1); color: var(--c-base); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(5rem, 12vh, 9rem);
}
.section + .section { border-top: 1px solid var(--c-line); }
.section-label {
  display: block;
  font-family: var(--ff-serif-en);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 2.5rem;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--c-mute);
  vertical-align: middle;
  margin-right: 0.9rem;
  transform: translateY(-2px);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }

.t-display {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.t-headline {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  font-weight: 500;
}
.t-eyebrow {
  font-family: var(--ff-serif-en);
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 500;
}
.t-meta {
  font-size: 0.86rem;
  color: var(--c-sub);
  letter-spacing: 0.02em;
}
.t-quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--c-ink);
}

/* ---------- Top bar (logo + lang switcher) ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.4rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transition: background var(--t-mid) var(--ease), backdrop-filter var(--t-mid) var(--ease);
}
.topbar > * { pointer-events: auto; }
.topbar.scrolled {
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.brand {
  font-family: var(--ff-serif-en);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--c-ink);
  mix-blend-mode: multiply;
}
.lang-switch {
  display: flex;
  gap: 0;
  font-family: var(--ff-serif-en);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.lang-switch a {
  padding: 0.4rem 0.7rem;
  color: var(--c-sub);
  transition: color var(--t-fast) var(--ease);
}
.lang-switch a:hover { color: var(--c-ink); }
.lang-switch a.is-active { color: var(--c-ink); }
.lang-switch .sep { color: var(--c-mute); padding: 0.4rem 0; }

/* Hero topbar — text on photo wall, no background */
.hero ~ * { /* placeholder */ }
.topbar.on-hero .brand,
.topbar.on-hero .lang-switch a { color: var(--c-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-base);
}

/* Top text area — title block sits on plain white, above the photo */
.hero__intro {
  position: relative;
  z-index: 2;
  width: 100%;
  background: #fff;
}
.hero__intro-row {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(7rem, 16vh, 11rem) var(--gutter) clamp(1.5rem, 3vh, 2.5rem);
  display: flex;
  justify-content: flex-end;
}

/* Photo area — fills remaining height */
.hero__photo-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 80%;       /* keep artist visible (lower-left of frame) */
  filter: brightness(1.04) contrast(0.96);
  z-index: 0;
}
.hero__photo-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(247,243,236,0.10) 0%, rgba(247,243,236,0) 35%, rgba(247,243,236,0) 70%, rgba(247,243,236,0.28) 100%),
    linear-gradient(to right, rgba(247,243,236,0.32) 0%, rgba(247,243,236,0) 35%, rgba(247,243,236,0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Title block: right-aligned within the intro area */
.hero__title-block {
  text-align: right;
  max-width: min(36ch, 90vw);
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__name {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}
.hero__name-sub {
  display: block;
  font-family: var(--ff-serif);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--c-sub);
  margin-top: 0.65em;
  font-weight: 400;
  white-space: nowrap;
}
/* CJK glyphs are full-width and visually heavier than Latin — scale down. */
html[lang="ko"] .hero__name {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.01em;
}
html[lang="ja"] .hero__name {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  letter-spacing: -0.04em;       /* tighten kana + middle-dot spacing */
}
html[lang="ja"] .hero__name-sub {
  letter-spacing: 0.01em;
}
.hero__roles {
  margin-top: 1.6rem;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.85;
  color: var(--c-sub);
  letter-spacing: 0.01em;
}
.hero__roles span { display: block; }

/* Quote: anchored to bottom-left of the photo area.
   Subtle weight so it doesn't compete with the title block. */
.hero__quote-block {
  position: absolute;
  z-index: 2;
  bottom: clamp(2.5rem, 5vh, 4.5rem);
  left: var(--gutter);
  max-width: min(40ch, 50vw);
  border-left: 1px solid var(--c-ink);
  border-right: 0;
  padding-left: 1.2rem;
  padding-right: 0;
  text-align: left;
}
.hero__quote {
  font-family: var(--ff-serif);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  font-style: italic;
  color: var(--c-ink);
  margin: 0;
}
/* CJK quote can take more width since glyphs are full-width */
html[lang="ko"] .hero__quote-block,
html[lang="ja"] .hero__quote-block {
  max-width: min(28ch, 50vw);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--ff-serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-sub);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 36px;
  background: var(--c-sub);
  animation: scrollHint 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(36px); opacity: 0; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.about__name {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.about__name span {
  display: block;
  color: var(--c-sub);
  font-size: 0.86em;
  margin-top: 0.4em;
}
.about__roles {
  margin-top: 1.4rem;
  color: var(--c-sub);
  font-size: 0.95rem;
  line-height: 1.85;
}
.about__roles span { display: block; }

.about__exhibitions {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about__exhibitions li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.2rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--c-line);
  font-size: 0.98rem;
  line-height: 1.55;
}
.about__exhibitions li:last-child { border-bottom: 1px solid var(--c-line); }
.about__exhibitions .year {
  font-family: var(--ff-serif-en);
  color: var(--c-sub);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum";
}
.about__exhibitions .title {
  color: var(--c-ink);
}

/* ---------- Statement ---------- */
.statement {
  background: var(--c-base);
}
.statement__body {
  max-width: 56ch;
  margin-inline: auto;
}
.statement__body p {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 2.05;
  margin-bottom: 1.7em;
  color: var(--c-ink);
}
.statement__body p:last-child { margin-bottom: 0; }
.statement__body p:first-child {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.65;
  font-style: italic;
  color: var(--c-ink);
  margin-bottom: 2.4em;
}

/* ---------- Works ---------- */
.work {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 8vh, 7rem);
  align-items: center;
}
.work + .work { border-top: 1px solid var(--c-line); }
.work__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.work__image {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  box-shadow: 0 30px 80px -40px rgba(26,26,26,0.35);
}
.work__caption {
  text-align: center;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--c-sub);
}
.work__caption strong {
  display: block;
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--c-ink);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.work__body {
  max-width: 52ch;
  margin-inline: auto;
}
.work__body p {
  margin-bottom: 1.4em;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--c-ink);
}
.work__body p:last-child { margin-bottom: 0; }

/* Works section header */
.works-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 5vh, 4rem);
}

/* ---------- Gallery (mosaic + lightbox) ---------- */
.gallery__intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.gallery__sub {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--c-sub);
  font-size: 1rem;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 16vw;
  grid-auto-flow: dense;
  gap: 10px;
}
.gallery__tile {
  position: relative;
  overflow: hidden;
  background: var(--c-base-2);
  cursor: zoom-in;
  display: block;
}
.gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-mid) var(--ease), filter var(--t-mid) var(--ease);
}
@media (hover: hover) {
  .gallery__tile:hover img { transform: scale(1.025); filter: brightness(0.94); }
}
.gallery__tile.is-2x1 { grid-column: span 2; }
.gallery__tile.is-1x2 { grid-row: span 2; }
.gallery__tile.is-2x2 { grid-column: span 2; grid-row: span 2; }

.gallery__empty {
  grid-column: 1 / -1;
  padding: 3.5rem 1rem;
  text-align: center;
  color: var(--c-mute);
  border: 1px dashed var(--c-line);
  font-family: var(--ff-serif);
  font-style: italic;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  background: var(--c-overlay);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top, 1rem) env(safe-area-inset-right, 1rem) env(safe-area-inset-bottom, 1rem) env(safe-area-inset-left, 1rem);
}
.lightbox.is-open {
  display: flex;
  animation: fadeIn var(--t-mid) var(--ease);
}
.lightbox__inner {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  cursor: grab;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6);
  animation: zoomIn var(--t-mid) var(--ease);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  touch-action: pan-y pinch-zoom;
  will-change: transform, opacity;
}
.lightbox__img:active { cursor: grabbing; }
@media (max-width: 640px) {
  .lightbox__img { touch-action: none; }
}
.lightbox__caption {
  color: rgba(247,243,236,0.86);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 56ch;
}
.lightbox__caption strong {
  display: block;
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--c-base);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  top: 1rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: rgba(247,243,236,0.78);
  border-radius: 50%;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(247,243,236,0.12);
  color: var(--c-base);
}
.lightbox__close { right: 1rem; }
.lightbox__close::before,
.lightbox__close::after {
  content: ""; position: absolute;
  width: 18px; height: 1px; background: currentColor;
}
.lightbox__close::before { transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }

.lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav::before {
  content: "";
  width: 12px; height: 12px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}
.lightbox__nav--prev::before { transform: rotate(-45deg); margin-left: 4px; }
.lightbox__nav--next::before { transform: rotate(135deg); margin-right: 4px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  padding-block: clamp(5rem, 12vh, 8rem);
}
.contact__lead {
  font-family: var(--ff-serif);
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  font-style: italic;
  color: var(--c-sub);
  margin-bottom: 1.4rem;
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-serif-en);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  padding: 0.55rem 0.1rem;
  position: relative;
  transition: color var(--t-fast) var(--ease);
}
.contact__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.25rem;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform var(--t-mid) var(--ease);
}
.contact__link:hover { color: var(--c-accent1); }
.contact__link:hover::after { transform-origin: left; transform: scaleX(0.001); animation: underlineRedraw 600ms var(--ease) 200ms forwards; }
@keyframes underlineRedraw {
  0%   { transform-origin: left; transform: scaleX(0); }
  100% { transform-origin: left; transform: scaleX(1); }
}
.contact__icon {
  width: 1.05em; height: 1.05em;
  flex-shrink: 0;
  stroke-width: 1.2;
}

/* ---------- Scroll-to-top floating button ---------- */
.scroll-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vh, 2rem);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-ink);
  z-index: 40;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  pointer-events: none;
  cursor: pointer;
  box-shadow: 0 8px 24px -12px rgba(26, 26, 26, 0.18);
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background: #fff;
  color: var(--c-accent1);
}
.scroll-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 2.5rem var(--gutter);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--c-mute);
  border-top: 1px solid var(--c-line);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive — Mobile first refinements
   ============================================================ */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 21vw;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Mobile (≤640px) — separate, recomposed layout */
@media (max-width: 640px) {
  :root {
    --gutter: 1.5rem;
  }
  body { font-size: 17px; line-height: 1.7; }

  .topbar { padding: 1rem var(--gutter); }
  .brand { font-size: 0.9rem; letter-spacing: 0.16em; }
  .lang-switch { font-size: 0.78rem; }
  .lang-switch a { padding: 0.35rem 0.5rem; }

  .section { padding-block: 4.5rem; }

  /* Hero — stacked: title → photo → quote */
  .hero {
    display: block;
    min-height: auto;
  }
  .hero__intro-row {
    padding: 5.5rem var(--gutter) 1.5rem;
    justify-content: flex-start;
  }
  .hero__title-block {
    text-align: left;
    max-width: none;
  }
  /* Photo wrap holds photo + overlaid quote */
  .hero__photo-wrap {
    position: relative;
    height: auto;
  }
  .hero__photo {
    position: relative;
    width: 100%;
    height: 62svh;
    object-position: 35% 92%;
  }
  .hero__photo-veil { display: none; }
  .hero__name {
    font-size: 2.6rem !important;
    margin-bottom: 0;
    white-space: normal;          /* allow wrap on very narrow screens */
  }
  html[lang="ko"] .hero__name { font-size: 2.4rem !important; }
  html[lang="ja"] .hero__name { font-size: 2.1rem !important; }
  .hero__name-sub { margin-top: 0.7em; }
  .hero__roles { margin-top: 1.2rem; font-size: 0.92rem; }

  /* Quote overlays the photo's upper wall (empty area) */
  .hero__quote-block {
    position: absolute;
    top: clamp(1.5rem, 4vh, 3rem);
    bottom: auto;                    /* reset desktop rule */
    right: auto;                     /* reset desktop rule */
    left: var(--gutter);
    z-index: 2;
    margin: 0;
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 1px solid var(--c-ink);
    border-top: 0;
    border-right: 0;
    max-width: 78%;
    width: auto;
    height: auto;
    text-align: left;
    background: transparent;
  }
  .hero__quote { font-size: 1rem; line-height: 1.6; }
  .scroll-cue { display: none; }

  /* About */
  .about__exhibitions li {
    grid-template-columns: 5.5rem 1fr;
    gap: 0.9rem;
    padding: 0.9rem 0;
    font-size: 0.94rem;
  }

  /* Statement — wider column, larger body */
  .statement__body { max-width: none; }
  .statement__body p {
    font-size: 1.05rem;
    line-height: 1.95;
    margin-bottom: 1.5em;
  }
  .statement__body p:first-child {
    font-size: 1.3rem;
    line-height: 1.55;
    margin-bottom: 2em;
  }

  /* Works — image edge-to-edge, body reads comfortably */
  .work { gap: 2rem; padding-block: 3rem; }
  .work__image { max-height: none; width: 100%; }
  .work__caption strong { font-size: 1.05rem; }
  .work__body p { font-size: 1rem; line-height: 1.85; }

  /* Gallery — 2 cols, tighter gap */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 42vw;
    gap: 6px;
  }
  .gallery__tile.is-2x1 { grid-column: span 2; }
  .gallery__tile.is-1x2 { grid-row: span 2; }
  .gallery__tile.is-2x2 { grid-column: span 2; grid-row: span 2; }

  /* Lightbox — fill more of viewport */
  .lightbox__img { max-width: 94vw; max-height: 78vh; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
  .lightbox__close { right: 0.5rem; top: 0.5rem; }

  /* Contact — more breathing room */
  .contact { padding-block: 5rem; }
  .contact__link { font-size: 1.05rem; }

  /* Scroll-to-top — slightly smaller, anchored to safe-area */
  .scroll-top {
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 0));
    width: 40px;
    height: 40px;
  }
  .scroll-top svg { width: 16px; height: 16px; }
}

/* Very narrow phones */
@media (max-width: 360px) {
  :root { --gutter: 1.25rem; }
  .hero__name { font-size: 2.2rem; }
  .contact__link { font-size: 1rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* High-DPI / Retina sharpening for hero veil */
@media (min-resolution: 2dppx) {
  .hero__photo { image-rendering: -webkit-optimize-contrast; }
}
