@property --ambient-a {
  syntax: "<color>";
  inherits: true;
  initial-value: #17120e;
}

@property --ambient-b {
  syntax: "<color>";
  inherits: true;
  initial-value: #34382a;
}

@property --ambient-c {
  syntax: "<color>";
  inherits: true;
  initial-value: #b4945d;
}

@property --page-base {
  syntax: "<color>";
  inherits: true;
  initial-value: #f5f0e6;
}

:root {
  --parchment: #e8ded0;
  --stone: #c8b89e;
  --cream: #f5f0e6;
  --gold: #b4945d;
  --brass: #7a633b;
  --espresso: #17120e;
  --olive: #34382a;
  --rust: #7a2e24;
  --oxblood: #4a1e1c;
  --ink: #221a14;
  --shadow: rgba(23, 18, 14, 0.28);
  --soft-shadow: rgba(23, 18, 14, 0.14);
  --ambient-a: #17120e;
  --ambient-b: #34382a;
  --ambient-c: #b4945d;
  --page-base: #f5f0e6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--page-base);
  color: var(--espresso);
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0;
  transition: background-color 900ms ease;
}

body.is-transitioning {
  cursor: progress;
}

body.is-transitioning .ambient-wash {
  opacity: 0.22;
}

.ambient-wash {
  position: fixed;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--ambient-c) 42%, transparent), transparent 32%),
    radial-gradient(circle at 84% 70%, color-mix(in srgb, var(--ambient-b) 32%, transparent), transparent 36%),
    linear-gradient(135deg, color-mix(in srgb, var(--ambient-a) 28%, transparent), color-mix(in srgb, var(--ambient-b) 18%, transparent));
  mix-blend-mode: soft-light;
  opacity: 0.16;
  pointer-events: none;
  transition: background 900ms ease, opacity 900ms ease;
}

main {
  position: relative;
  z-index: 1;
}

img,
video {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

.site-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 42px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(23, 18, 14, 0.78), rgba(23, 18, 14, 0));
  pointer-events: none;
}

.site-nav a {
  pointer-events: auto;
}

.site-nav.is-light {
  color: var(--espresso);
  background: rgba(245, 240, 230, 0.82);
  box-shadow: 0 12px 34px rgba(23, 18, 14, 0.08);
  backdrop-filter: blur(14px);
}

.nav-mark {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding-bottom: 5px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  align-items: end;
  padding: 120px 7vw 96px;
  background: var(--espresso);
}

.hero,
.profile-section,
.gallery-entry,
.room,
.contact-section {
  transition: background 900ms ease, background-color 900ms ease, color 600ms ease;
}

.profile-section,
.gallery-entry,
.room,
.contact-section {
  scroll-margin-top: 72px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vh;
  height: 100vw;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  filter: saturate(0.9) contrast(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 18, 14, 0.42) 0%, rgba(23, 18, 14, 0.08) 38%, rgba(23, 18, 14, 0.88) 100%),
    linear-gradient(90deg, rgba(23, 18, 14, 0.62), rgba(23, 18, 14, 0.06) 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: var(--cream);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brass);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--stone);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1.02;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.2;
}

p {
  font-size: 1rem;
  line-height: 1.65;
}

.hero-copy p:last-child {
  margin: 18px 0 0;
  width: min(560px, 100%);
  color: rgba(245, 240, 230, 0.88);
  font-size: 1.18rem;
}

.profile-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  gap: 7vw;
  padding: 156px 7vw 130px;
  background:
    linear-gradient(180deg, var(--espresso) 0, var(--cream) 118px, var(--cream) 100%);
}

.profile-portrait {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.portrait-frame {
  width: min(490px, 100%);
  padding: 18px;
  background:
    linear-gradient(145deg, #d0bb83, var(--brass) 34%, #f0dba4 48%, #6b542c 100%);
  border: 1px solid rgba(53, 41, 23, 0.42);
  box-shadow: 0 32px 80px var(--soft-shadow), inset 0 0 0 2px rgba(245, 240, 230, 0.2);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border: 18px solid var(--parchment);
  box-shadow: inset 0 0 0 1px rgba(122, 99, 59, 0.38);
}

.profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.lead {
  margin-top: 26px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.72;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 42px;
  font-family: Arial, Helvetica, sans-serif;
}

.profile-tags span {
  border: 1px solid rgba(122, 99, 59, 0.42);
  padding: 10px 13px;
  background: rgba(232, 222, 208, 0.72);
  color: var(--olive);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.experience-list {
  display: grid;
  gap: 24px;
  border-top: 1px solid rgba(122, 99, 59, 0.38);
  padding-top: 26px;
}

.experience-list article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px 26px;
  align-items: start;
}

.experience-list span {
  color: var(--brass);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.experience-list p {
  grid-column: 2;
  margin: -4px 0 0;
  color: rgba(23, 18, 14, 0.72);
  font-size: 0.95rem;
}

.gallery-entry {
  position: relative;
  overflow: hidden;
  padding: 116px 7vw 140px;
  background:
    linear-gradient(90deg, rgba(122, 99, 59, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, var(--parchment), #d8cab7);
  background-size: 92px 100%, auto;
}

.gallery-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(245, 240, 230, 0.88), rgba(245, 240, 230, 0.18) 32%, rgba(23, 18, 14, 0.08));
  pointer-events: none;
}

.gallery-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 0.8fr);
  gap: 6vw;
  align-items: end;
  margin-bottom: 86px;
}

.gallery-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -44px;
}

.gallery-heading p:last-child {
  margin: 0;
  color: rgba(23, 18, 14, 0.72);
}

.gallery-wall {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 86px 54px;
}

.exhibit-button {
  position: relative;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.gallery-light {
  position: absolute;
  z-index: 3;
  top: -50px;
  left: 50%;
  width: 118px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 50px 50px 8px 8px;
  background: linear-gradient(180deg, #f0d89e, #8a6c36 68%, #463015);
  box-shadow: 0 8px 18px rgba(23, 18, 14, 0.22), inset 0 1px rgba(255, 248, 221, 0.5);
}

.gallery-light::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 18px;
  height: 14px;
  transform: translateX(-50%);
  background: var(--brass);
}

.wall-glow {
  position: absolute;
  z-index: 0;
  top: -28px;
  left: 50%;
  width: 68%;
  height: 130px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(255, 236, 176, 0.54), rgba(255, 236, 176, 0.12) 45%, rgba(255, 236, 176, 0) 72%);
  opacity: 0.86;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.exhibit-button:hover .wall-glow,
.exhibit-button:focus-visible .wall-glow {
  opacity: 1;
}

.museum-frame,
.art-frame {
  position: relative;
  z-index: 1;
  padding: var(--frame-pad, 18px);
  background: var(--frame-bg);
  border: var(--frame-border, 1px solid rgba(23, 18, 14, 0.46));
  box-shadow:
    0 34px 74px rgba(23, 18, 14, 0.24),
    var(--frame-inner-shadow, inset 0 0 0 1px rgba(255, 245, 210, 0.42), inset 0 0 0 8px rgba(68, 48, 22, 0.28));
  filter: saturate(0.96);
}

.museum-frame::before,
.museum-frame::after,
.art-frame::before,
.art-frame::after {
  content: "";
  position: absolute;
  inset: var(--frame-line-inset, 9px);
  border: var(--frame-line, 1px solid rgba(255, 246, 214, 0.52));
  pointer-events: none;
}

.museum-frame::after,
.art-frame::after {
  inset: var(--frame-line-inset-2, 15px);
  border-color: var(--frame-line-2, rgba(40, 27, 11, 0.55));
  border-style: double;
}

.museum-frame img,
.art-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border: var(--mat-width, 13px) solid var(--mat-color, var(--parchment));
  background: var(--espresso);
  box-shadow: inset 0 0 0 1px rgba(23, 18, 14, 0.22);
}

.museum-frame img {
  aspect-ratio: 4 / 5;
}

.frame-baroque {
  --frame-pad: 22px;
  --mat-width: 11px;
  --frame-bg:
    radial-gradient(circle at 10% 12%, rgba(255, 230, 150, 0.95) 0 8px, transparent 9px),
    radial-gradient(circle at 90% 12%, rgba(255, 230, 150, 0.95) 0 8px, transparent 9px),
    radial-gradient(circle at 12% 88%, rgba(99, 63, 23, 0.9) 0 7px, transparent 8px),
    radial-gradient(circle at 88% 88%, rgba(99, 63, 23, 0.9) 0 7px, transparent 8px),
    linear-gradient(145deg, #3d2a12, #d7ad57 14%, #7e5b24 28%, #f0d28a 48%, #5f411b 66%, #c09445 100%);
  --frame-inner-shadow: inset 0 0 0 2px rgba(255, 244, 205, 0.58), inset 0 0 0 11px rgba(66, 42, 16, 0.34), inset 0 0 26px rgba(40, 24, 8, 0.42);
}

.frame-louis {
  --frame-pad: 20px;
  --mat-width: 12px;
  --frame-bg:
    repeating-linear-gradient(90deg, rgba(255, 231, 158, 0.12) 0 8px, transparent 8px 18px),
    linear-gradient(145deg, #4f3515, #e0bc6c 18%, #8f6b32 34%, #f6dc98 52%, #6b4a20 75%, #c7a160);
  --frame-line: 1px solid rgba(255, 246, 205, 0.78);
  --frame-line-2: rgba(88, 56, 20, 0.72);
}

.frame-aged {
  --frame-pad: 17px;
  --mat-width: 12px;
  --mat-color: #d8cab7;
  --frame-bg:
    radial-gradient(circle at 18% 20%, rgba(23, 18, 14, 0.22), transparent 20%),
    radial-gradient(circle at 84% 75%, rgba(255, 232, 145, 0.24), transparent 24%),
    linear-gradient(145deg, #2e2518, #8c6d35 12%, #b4945d 29%, #6c5228 52%, #c8ad76 68%, #3d2b16);
  --frame-inner-shadow: inset 0 0 0 1px rgba(245, 240, 230, 0.32), inset 0 0 0 7px rgba(23, 18, 14, 0.25), inset 0 0 30px rgba(23, 18, 14, 0.32);
}

.frame-brass {
  --frame-pad: 13px;
  --mat-width: 14px;
  --mat-color: #f0e6d6;
  --frame-bg: linear-gradient(145deg, #372617, #8d6f3c 18%, #c6a66c 50%, #755a32 78%, #271b12);
  --frame-inner-shadow: inset 0 0 0 2px rgba(245, 240, 230, 0.24), inset 0 0 0 5px rgba(52, 56, 42, 0.16);
}

.frame-ebony {
  --frame-pad: 20px;
  --mat-width: 10px;
  --mat-color: #c8b89e;
  --frame-bg:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 9px),
    linear-gradient(145deg, #060504, #1b1714 20%, #4a3728 42%, #100d0b 70%, #2d2119);
  --frame-line: 1px solid rgba(180, 148, 93, 0.5);
  --frame-line-2: rgba(0, 0, 0, 0.76);
  --frame-inner-shadow: inset 0 0 0 2px rgba(180, 148, 93, 0.18), inset 0 0 0 12px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(0, 0, 0, 0.55);
}

.frame-walnut {
  --frame-pad: 15px;
  --mat-width: 13px;
  --mat-color: #e8ded0;
  --frame-bg:
    repeating-linear-gradient(90deg, rgba(245, 240, 230, 0.1) 0 4px, transparent 4px 12px),
    linear-gradient(145deg, #4b2b16, #8f5b2a 22%, #b27a3d 42%, #6b3d1e 70%, #2d1a10);
  --frame-line: 1px solid rgba(245, 240, 230, 0.4);
  --frame-line-2: rgba(69, 38, 19, 0.78);
}

.museum-plaque {
  width: fit-content;
  max-width: 92%;
  margin: 18px auto 0;
  border: 1px solid rgba(122, 99, 59, 0.5);
  padding: 10px 16px;
  background: rgba(245, 240, 230, 0.82);
  box-shadow: 0 12px 26px rgba(23, 18, 14, 0.12);
  text-align: center;
}

.museum-plaque strong {
  display: block;
  font-size: 1.06rem;
  font-weight: 400;
}

.museum-plaque span {
  display: block;
  margin-top: 4px;
  color: rgba(23, 18, 14, 0.64);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.room {
  min-height: 100vh;
  padding: 118px 0 112px 7vw;
  background-color: var(--room-bg, var(--cream));
  background-image: linear-gradient(180deg, rgba(245, 240, 230, 0.55), rgba(245, 240, 230, 0));
  border-top: 1px solid rgba(122, 99, 59, 0.25);
}

.room-head {
  width: min(920px, calc(100% - 7vw));
  margin-bottom: 50px;
}

.room-kicker {
  color: var(--room-accent, var(--brass));
}

.room-head p {
  width: min(690px, 100%);
  color: rgba(23, 18, 14, 0.7);
}

.room-dark {
  color: var(--cream);
}

.room-dark .room-head p,
.room-dark .case-panel dd {
  color: rgba(245, 240, 230, 0.72);
}

.room-dark .case-panel {
  border-left-color: var(--gold);
}

.room-dark .case-panel dt,
.room-dark .room-kicker {
  color: var(--stone);
}

.room-dark .room-actions button,
.room-dark .room-actions a,
.room-dark .art-plaque {
  background: rgba(245, 240, 230, 0.1);
  color: var(--cream);
}

.room-dark .room-actions button:hover,
.room-dark .room-actions a:hover,
.room-dark .room-actions button:focus-visible,
.room-dark .room-actions a:focus-visible {
  background: var(--cream);
  color: var(--espresso);
}

.room-dark .art-plaque span {
  color: rgba(245, 240, 230, 0.74);
}

.room-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.case-panel {
  position: sticky;
  top: 90px;
  border-left: 2px solid var(--room-accent, var(--gold));
  padding: 4px 28px 16px 24px;
}

.case-panel h3 {
  margin-bottom: 20px;
  font-size: 1.65rem;
}

.case-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.case-panel dt {
  color: var(--brass);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-panel dd {
  margin: 5px 0 0;
  color: rgba(23, 18, 14, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.room-actions button,
.room-actions a {
  border: 1px solid rgba(122, 99, 59, 0.46);
  padding: 10px 14px;
  background: rgba(245, 240, 230, 0.5);
  color: var(--espresso);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  cursor: pointer;
}

.room-actions button:hover,
.room-actions a:hover,
.room-actions button:focus-visible,
.room-actions a:focus-visible {
  background: var(--espresso);
  color: var(--cream);
}

.art-rail {
  display: flex;
  gap: 44px;
  overflow-x: auto;
  padding: 22px 7vw 64px 0;
  scroll-padding: 7vw;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--brass) rgba(122, 99, 59, 0.2);
}

.art-card {
  position: relative;
  flex: 0 0 390px;
  margin: 0;
  scroll-snap-align: center;
}

.art-card:nth-child(2n) {
  flex-basis: 440px;
  margin-top: 54px;
}

.art-card:nth-child(3n) {
  flex-basis: 350px;
}

.work-light {
  position: absolute;
  z-index: 4;
  top: -42px;
  left: 50%;
  width: 96px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 42px 42px 7px 7px;
  background: linear-gradient(180deg, #efd9a6, #8f6f39 68%, #3b2812);
  box-shadow: 0 11px 22px rgba(23, 18, 14, 0.18), inset 0 1px rgba(255, 248, 220, 0.58);
  pointer-events: none;
}

.work-light::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 15px;
  height: 12px;
  transform: translateX(-50%);
  background: var(--brass);
  box-shadow: inset 0 1px rgba(255, 248, 220, 0.42);
}

.work-glow {
  position: absolute;
  z-index: 0;
  top: -28px;
  left: 50%;
  width: 72%;
  height: 124px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(255, 238, 186, 0.5), rgba(255, 238, 186, 0.14) 48%, rgba(255, 238, 186, 0) 74%);
  opacity: 0.72;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.art-card:hover .work-glow {
  opacity: 0.96;
}

.art-frame img {
  aspect-ratio: 4 / 5;
  max-height: 620px;
}

.art-card:nth-child(2n) .art-frame img {
  aspect-ratio: 3 / 4;
}

.art-card:nth-child(3n) .art-frame img {
  aspect-ratio: 5 / 7;
}

.art-card:nth-child(5n) .art-frame img {
  aspect-ratio: 1 / 1;
}

.art-plaque {
  width: 88%;
  margin: 16px auto 0;
  border: 1px solid rgba(122, 99, 59, 0.48);
  padding: 11px 14px;
  background: rgba(245, 240, 230, 0.74);
  text-align: center;
}

.art-plaque span {
  color: rgba(23, 18, 14, 0.62);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.7fr);
  gap: 7vw;
  align-items: end;
  padding: 112px 7vw;
  background: var(--espresso);
  color: var(--cream);
}

.contact-section .eyebrow {
  color: var(--stone);
}

.contact-section h2 {
  width: min(740px, 100%);
}

address {
  display: grid;
  gap: 14px;
  font-style: normal;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

address a,
address span {
  border-top: 1px solid rgba(245, 240, 230, 0.28);
  padding-top: 14px;
}

address a:hover,
address a:focus-visible {
  color: var(--gold);
}

@media (max-width: 1080px) {
  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .gallery-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-layout {
    grid-template-columns: 1fr;
  }

  .case-panel {
    position: static;
    width: min(680px, calc(100% - 7vw));
  }
}

@media (max-width: 820px) {
  .site-nav {
    min-height: 62px;
    padding: 0 20px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 92vh;
    padding: 104px 24px 78px;
  }

  .hero-video {
    object-position: center center;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .profile-section {
    grid-template-columns: 1fr;
    padding: 112px 24px 84px;
  }

  .experience-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .experience-list p {
    grid-column: auto;
  }

  .gallery-entry {
    padding: 86px 24px 92px;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    margin-bottom: 72px;
  }

  .gallery-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .gallery-wall {
    grid-template-columns: 1fr;
    gap: 74px;
  }

  .room {
    padding: 84px 24px 84px;
  }

  .room-head,
  .case-panel {
    width: 100%;
  }

  .case-panel {
    padding-right: 0;
  }

  .art-rail {
    display: grid;
    gap: 58px;
    overflow: visible;
    padding: 34px 0 0;
  }

  .art-card,
  .art-card:nth-child(2n),
  .art-card:nth-child(3n) {
    width: 100%;
    margin-top: 0;
    flex-basis: auto;
  }

  .art-frame img {
    max-height: none;
  }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 82px 24px;
  }
}

@media (max-width: 520px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
  }

  .hero {
    min-height: 86vh;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-copy p:last-child,
  .lead {
    font-size: 1.02rem;
  }

  .portrait-frame {
    padding: 12px;
  }

  .portrait-frame img,
  .museum-frame img,
  .art-frame img {
    border-width: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
