/* ==========================================================================
   Gayatri Rambhatla — style.css
   One page: hero, the gallery walk (3D room), works grid, about & connect.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --wall: #f5f3ef;
  --ink: #1b1917;
  --muted: #6f6a64;
  --line: #e6e2dc;
  --accent: #5b5382;
  --brass: #9c7c3c;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Albert Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --nav-h: 64px;
  --gutter: clamp(18px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button { font: inherit; color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }

h1, h2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

em { font-family: var(--serif); font-style: italic; font-weight: 400; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 14px;
}

.lead {
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--muted);
  line-height: 1.55;
  margin: 18px 0 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-inline: var(--gutter);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }

.wordmark {
  font-family: var(--serif); font-weight: 400; font-size: 1.15rem;
  letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
}

.nav-links { display: flex; gap: clamp(16px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); white-space: nowrap;
  padding-block: 6px; border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 560px) {
  :root { --nav-h: 82px; }
  .nav { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 11px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
/* Arrival: her portrait and details, her name, and one painting beside them */
.hero {
  padding-top: calc(var(--nav-h) + 6vh);
  padding-bottom: 8vh;
  min-height: 90vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.hero-text > * { max-width: 100%; }
.hero-byline { display: flex; align-items: center; gap: 24px; margin-bottom: 30px; }
.hero-portrait {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: 50% 38%; flex: 0 0 auto;
  background: #fff; filter: saturate(0.92) contrast(1.02);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line), 0 20px 36px -18px rgba(0, 0, 0, 0.4);
}
.hero-details {
  display: flex; flex-direction: column; gap: 4px; margin: 0;
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; line-height: 1.35;
  color: var(--muted);
}
.hero-details span:first-child { color: var(--ink); }
.hero-name { font-size: clamp(3rem, 8.5vw, 7.2rem); line-height: 0.95; }
.hero-tag {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.3;
  margin: 28px 0 10px; max-width: 22ch;
}
.hero-sub { color: var(--muted); margin: 0; max-width: 38ch; }
.hero-cue {
  margin-top: clamp(28px, 6vh, 64px);
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.hero-cue:hover { color: var(--accent); }
.hero-cue i { display: block; width: 1px; height: 44px; background: currentColor; opacity: 0.6; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: top; }
  48%  { transform: scaleY(1); transform-origin: top; }
  52%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* The hero painting: plain, with a soft shadow behind it. It tilts to follow the mouse. */
.hero-art { margin: 0; justify-self: end; width: 100%; max-width: 640px; perspective: 1100px; }
.hero-art img {
  --sx: 0px; --sy: 34px;
  width: 100%; height: auto; max-height: 76vh; object-fit: contain; background: #fff;
  transform-style: preserve-3d; will-change: transform;
  box-shadow:
    0 0 0 1px rgba(27, 25, 23, 0.07),
    var(--sx) var(--sy) 60px -22px rgba(27, 25, 23, 0.5),
    calc(var(--sx) * 1.6) calc(var(--sy) * 2) 110px -50px rgba(27, 25, 23, 0.45);
}
.hero-art figcaption { margin-top: 16px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav-h) + 40px); }
  .hero-art { justify-self: start; max-width: 520px; }
  .hero-portrait { width: 112px; height: 112px; }
  .hero-byline { gap: 18px; margin-bottom: 24px; }
  .hero-art { margin-top: 10px; }
}

/* --------------------------------------------------------------------------
   The gallery walk — a 3D room built from five flat surfaces
   Units: 1 cm of canvas = 2.2 px on the wall. Room is 300 cm wide, 282 cm high.
   -------------------------------------------------------------------------- */
.museum {
  --len: 3200px;   /* corridor length */
  --back: 700px;   /* how far surfaces extend behind the start point */
  --wh: 620px;     /* wall height */
  --hw: 330px;     /* half the corridor width */
  --glow: 255, 249, 234;  /* warm lamp light */

  /* Room theme "daylight" (the original): white walls, pale oak floor, stone ceiling.
     Switch themes with data-theme="daylight" or data-theme="evening" on the section. */
  --room-bg: #f6f4f0;
  --wall-a: #fcfbf9; --wall-b: #f4f1eb; --wall-c: #e9e5de; --skirt: #e3ded5; --skirt-line: #d8d2c7;
  --floor-a: #eae3d6; --floor-b: #d5cbba; --plank: rgba(60, 45, 30, 0.07);
  --ceil-a: #d8d2c9; --ceil-b: #c9c2b7; --ceil-c: #b9b1a5; --ceil-line: rgba(60, 50, 40, 0.07); --cove: rgba(70, 58, 46, 0.22);
  --spot: rgba(255, 255, 255, 0.95);
  --room-text: var(--ink); --room-muted: var(--muted); --room-bar: var(--ink);
  --room-vignette: rgba(40, 30, 20, 0.14);

  position: relative;
  background: var(--room-bg);
}
/* Room theme "evening": deep green-teal walls, dark walnut floor, near-black ceiling */
.museum[data-theme="evening"] {
  --room-bg: #26312f;
  --wall-a: #3b4845; --wall-b: #303c3a; --wall-c: #27312f; --skirt: #1d2523; --skirt-line: #161c1b;
  --floor-a: #5e4737; --floor-b: #3c2c22; --plank: rgba(0, 0, 0, 0.28);
  --ceil-a: #232927; --ceil-b: #1b201e; --ceil-c: #141817; --ceil-line: rgba(255, 255, 255, 0.04); --cove: rgba(0, 0, 0, 0.45);
  --spot: rgba(255, 236, 200, 0.26);
  --room-text: #efe9df; --room-muted: #b8b1a5; --room-bar: #efe9df;
  --room-vignette: rgba(0, 0, 0, 0.45);
}
.museum-track { height: 480vh; }
.museum-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  perspective: 760px; perspective-origin: 50% 50%;
  background: var(--room-bg);
  touch-action: pan-y;
}
.museum-stage::before, .museum-stage::after {
  content: ""; position: absolute; left: 0; right: 0; height: 110px; z-index: 3; pointer-events: none;
}
.museum-stage::before { top: 0; height: 70px; background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)); }
.museum-stage::after { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
/* the dark room meets the white page with a clean edge, not a white haze */
.museum[data-theme="evening"] .museum-stage::before { height: 34px; opacity: 0.5; }
.museum[data-theme="evening"] .museum-stage::after { display: none; }

@media (max-width: 640px) {
  .museum { --hw: 210px; }
  .museum-stage { perspective: 600px; }
}

.scene {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0;
  transform-style: preserve-3d; will-change: transform;
}
.surf { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

.wall {
  width: calc(var(--len) + var(--back)); height: var(--wh);
  background: linear-gradient(180deg, var(--wall-a) 0%, var(--wall-b) 70%, var(--wall-c) 100%);
}
.wall::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px;
  background: var(--skirt); border-top: 1px solid var(--skirt-line);
}
.wall-left  { transform: translate3d(calc(-1 * var(--hw)), calc(var(--wh) / -2), var(--back)) rotateY(90deg); }
.wall-right { transform: translate3d(var(--hw), calc(var(--wh) / -2), calc(-1 * var(--len))) rotateY(-90deg); }

.floor, .ceiling { width: calc(2 * var(--hw)); height: calc(var(--len) + var(--back)); }
.floor {
  transform: translate3d(calc(-1 * var(--hw)), calc(var(--wh) / 2), var(--back)) rotateX(-90deg);
  background:
    repeating-linear-gradient(90deg, var(--plank) 0 1px, transparent 1px 66px),
    linear-gradient(180deg, var(--floor-a), var(--floor-b));
}
/* Ceiling: a quiet warm stone grey, darker toward the far end and where it meets the walls */
.ceiling {
  transform: translate3d(calc(-1 * var(--hw)), calc(var(--wh) / -2), var(--back)) rotateX(-90deg);
  background:
    repeating-linear-gradient(180deg, transparent 0 398px, var(--ceil-line) 398px 400px),
    linear-gradient(180deg, var(--ceil-a), var(--ceil-b) 55%, var(--ceil-c));
}
.ceiling::before, .ceiling::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 140px;
}
.ceiling::before { left: 0;  background: linear-gradient(90deg, var(--cove), transparent); }
.ceiling::after  { right: 0; background: linear-gradient(270deg, var(--cove), transparent); }
/* pools of lamplight on the floor beneath each painting */
.pool {
  position: absolute; width: 300px; height: 190px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(var(--glow), 0.7), rgba(var(--glow), 0) 66%);
}
.pool-left  { left: 0;  transform: translate(-40%, -50%); }
.pool-right { right: 0; transform: translate(40%, -50%); }
.pool-end   { left: 50%; transform: translate(-50%, -50%); }
.endwall {
  width: calc(2 * var(--hw)); height: var(--wh);
  transform: translate3d(calc(-1 * var(--hw)), calc(var(--wh) / -2), calc(-1 * var(--len)));
  background: linear-gradient(180deg, var(--wall-a), var(--wall-c));
}

/* One hung painting: light cone, glow, the canvas, and its picture lamp */
.hang { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: opacity 0.35s ease; }
.hang.lifted { opacity: 0; }   /* the canvas has left the wall for the close-up */
.beam {
  position: absolute; left: 50%; top: -34px; width: 200%; height: calc(100% + 120px);
  transform: translateX(-50%); pointer-events: none;
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(var(--glow), 0.8), rgba(var(--glow), 0.28) 50%, rgba(var(--glow), 0));
}
.spot {
  position: absolute; left: 50%; top: 50%; width: 240%; height: 220%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse at 50% 38%, var(--spot), rgba(255, 255, 255, 0) 62%);
}
.art {
  position: absolute; inset: 0; border: 0; padding: 6px; background: #fff; cursor: pointer;
  box-shadow: 0 22px 40px -8px rgba(30, 25, 20, 0.34), 0 0 0 1px rgba(30, 25, 20, 0.06);
  transition: box-shadow 0.25s;
}
.art img { width: 100%; height: 100%; object-fit: cover; }
.art:hover { box-shadow: 0 26px 48px -8px rgba(30, 25, 20, 0.42), 0 0 0 1px rgba(30, 25, 20, 0.08); }
/* "Click" badge on every painting: translucent, low and centred on the canvas,
   a white dot with two rings pulsing outward. Always on. */
.tag {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(22, 18, 14, 0.42); color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 6px 16px -8px rgba(0, 0, 0, 0.5);
}
.tag b {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  line-height: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.tag i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: 0 0 auto; }
.tag i::before, .tag i::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  animation: ring 2.4s ease-out infinite;
}
.tag i::after { animation-delay: 1.2s; }
@keyframes ring {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.3); opacity: 0; }
}
.lamp {
  position: absolute; left: 50%; top: -30px; width: 56%; min-width: 34px; height: 7px;
  transform: translateX(-50%); border-radius: 4px; pointer-events: none;
  background: linear-gradient(180deg, #d4b072, #8a6a30);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.lamp::before {
  content: ""; position: absolute; left: 50%; top: -16px; width: 3px; height: 16px; margin-left: -1.5px;
  background: linear-gradient(180deg, #7a5c28, #a4813f);
}
.lamp::after {
  content: ""; position: absolute; left: 6%; right: 6%; top: 7px; height: 14px;
  background: radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%);
}

.museum-vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 55%, var(--room-vignette) 100%);
}
.museum-label {
  position: absolute; z-index: 4; left: var(--gutter); top: calc(var(--nav-h) + 22px); margin: 0;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--room-muted);
}
.museum-intro {
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 12vh;
  text-align: center; pointer-events: none;
}
.museum-intro p {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--room-text);
}
.museum-bar {
  position: absolute; z-index: 4; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--room-bar); opacity: 0.45; transform-origin: left; transform: scaleX(0);
}
/* a gentle reminder while walking, until the first close-up */
.museum-cue {
  position: absolute; z-index: 4; left: 50%; bottom: clamp(22px, 5vh, 52px);
  transform: translate(-50%, 8px); pointer-events: none;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  font-size: 13px; letter-spacing: 0.03em; white-space: nowrap;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease;
}
.museum-cue.show { opacity: 1; transform: translate(-50%, 0); }
.museum-cue i {
  width: 10px; height: 10px; border-radius: 50%; background: var(--brass); flex: 0 0 auto;
  animation: cue-dot 2.4s ease-out infinite;
}
@keyframes cue-dot {
  0%   { box-shadow: 0 0 0 0 rgba(201, 168, 102, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(201, 168, 102, 0); }
  100% { box-shadow: 0 0 0 10px rgba(201, 168, 102, 0); }
}
@media (max-width: 480px) { .museum-cue { font-size: 12px; padding: 9px 14px 9px 12px; } }

/* Close-up: the room dims, light falls from above, the painting comes forward */
.focus-layer {
  position: absolute; inset: 0; z-index: 6;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
}
.focus-layer:not(.on) { pointer-events: none; }   /* never sit between the visitor and the paintings */
.focus-dim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 42%, rgba(28, 22, 16, 0.6), rgba(28, 22, 16, 0.86));
  opacity: 0; transition: opacity 0.55s ease;
}
.focus-cone {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 75% at 50% 0%, rgba(var(--glow), 0.45), rgba(var(--glow), 0));
  opacity: 0; transition: opacity 0.8s ease 0.15s;
}
.focus-body {
  position: relative; display: flex; align-items: center; justify-content: center;
  gap: clamp(24px, 4vw, 56px); max-width: 100%;
}
.focus-frame {
  position: relative; margin: 0; padding: 10px; background: #fff; flex: 0 1 auto;
  box-shadow: 0 60px 110px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.1);
  opacity: 0; transform: translateY(28px) scale(0.92);
  transition: opacity 0.45s ease 0.1s, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s;
}
.focus-frame img { display: block; width: auto; height: auto; max-width: min(60vw, 880px); max-height: min(68vh, 760px); }
.focus-layer.on .focus-dim, .focus-layer.on .focus-cone { opacity: 1; }
.focus-layer.on .focus-frame { opacity: 1; transform: none; }

/* Plaque: shared by the close-up and the lightbox */
.plaque {
  position: relative; flex: 0 0 auto;
  width: min(320px, 100%);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brass);
  padding: 18px 44px 20px 22px;
  box-shadow: 0 24px 50px -14px rgba(0, 0, 0, 0.3);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s ease 0.35s, transform 0.6s ease 0.35s;
}
.focus-layer.on .plaque { opacity: 1; transform: none; }
@media (max-width: 720px) {
  .focus-layer { align-content: start; padding-top: calc(var(--nav-h) + 14px); }
  .focus-body { flex-direction: column; gap: 18px; }
  .focus-frame img { max-width: 84vw; max-height: 46vh; }
  .plaque { width: min(360px, 100%); padding: 14px 40px 16px 18px; }
}
.plaque-title, .plaque-meta, .plaque-price { display: block; }
.plaque-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.plaque-meta { font-size: 12.5px; color: var(--muted); letter-spacing: 0.03em; margin-top: 6px; }
.plaque-price { font-size: 13.5px; margin-top: 6px; }
.plaque-close, .lb-close {
  position: absolute; right: 8px; top: 6px; width: 34px; height: 34px;
  border: 0; background: transparent; cursor: pointer; font-size: 26px; line-height: 1; color: var(--muted);
}
.plaque-close:hover, .lb-close:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Works grid
   -------------------------------------------------------------------------- */
.works { padding-block: clamp(72px, 12vh, 140px); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 60px clamp(24px, 3vw, 48px);
  margin-top: 56px;
  align-items: end;
}
.work { margin: 0; }
.work-btn {
  display: block; width: 100%; padding: 8px; border: 1px solid var(--line); background: #fff;
  cursor: zoom-in;
  box-shadow: 0 26px 40px -26px rgba(27, 25, 23, 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.work-btn:hover { transform: translateY(-4px); box-shadow: 0 34px 50px -26px rgba(27, 25, 23, 0.45); }
.work-btn img { width: 100%; height: auto; }
.work figcaption { margin-top: 14px; display: grid; gap: 2px; font-size: 13.5px; color: var(--muted); }
.work-title { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); line-height: 1.25; }
.work-price a { color: var(--accent); }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0;
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  background: rgba(255, 255, 255, 0.97); color: var(--ink);
}
.lightbox::backdrop { background: rgba(255, 255, 255, 0.5); }
.lb-close { right: 14px; top: 12px; font-size: 32px; width: 44px; height: 44px; }
.lb-body {
  height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 5vw, 72px);
}
.lb-body img {
  max-height: 84vh; max-width: 100%; width: auto; height: auto; margin: auto; object-fit: contain;
  padding: 10px; background: #fff; box-shadow: 0 40px 70px -30px rgba(27, 25, 23, 0.45), 0 0 0 1px var(--line);
}
.lb-plaque { border-top: 3px solid var(--brass); padding-top: 16px; }
@media (max-width: 720px) {
  .lb-body { grid-template-columns: 1fr; align-content: center; gap: 20px; padding-top: 64px; }
  .lb-body img { max-height: 58vh; }
}

/* --------------------------------------------------------------------------
   About & Connect
   -------------------------------------------------------------------------- */
.about { background: var(--wall); padding-block: clamp(72px, 12vh, 140px); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.portrait {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  filter: saturate(0.78) contrast(0.95) sepia(0.14);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line), 0 18px 30px -14px rgba(0, 0, 0, 0.35);
}
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; max-width: 320px; }
.facts li { border-top: 1px solid var(--line); padding-top: 10px; font-size: 15px; }
.facts b { display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.about-text p { max-width: 60ch; margin: 0 0 1.1em; font-size: 1.05rem; }
.about-text h2 { margin-bottom: 22px; }

.connect { margin-top: clamp(56px, 10vh, 110px); padding-top: clamp(40px, 6vh, 64px); border-top: 1px solid var(--line); }
.links { list-style: none; padding: 0; margin: 28px 0 0; max-width: 760px; }
.links li { border-bottom: 1px solid var(--line); }
.links a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap;
  padding: 18px 0; text-decoration: none;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.6vw, 2rem);
  transition: color 0.2s;
}
.links a span { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.links a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
}

.footer {
  padding-block: 40px 48px; font-size: 13px; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
}

/* --------------------------------------------------------------------------
   Reveal on scroll (only when JS is running) and reduced motion
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cue i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .work-btn, .art { transition: none; }
  .plaque, .focus-frame, .focus-dim, .focus-cone, .hang, .museum-cue { transition: none; }
  .tag i::before, .tag i::after, .museum-cue i { animation: none; }
  /* The walk relies on motion, so it steps aside and the grid does the work. */
  .museum, .nav-gallery { display: none; }
}
