/* The supplied artwork colors shape the header and section backgrounds.
   Muted text colors keep the paintings as the visual focus. */
:root {
  --ink: #183244;
  --paper: #f7fbfb;
  --cream: #e7f1f3;
  --line: #cbdfe1;
  --muted: #526e78;
  --accent: #137484;
  --white: #faffff;
  --marine: #123e59;
  --marine-light: #43859c;
  --orange: #edc782;
}
body { background: var(--paper); color: var(--ink); }
:focus-visible { outline-color: #147b89; }
.site-header {
  background:
    linear-gradient(rgba(249, 253, 253, .28), rgba(249, 253, 253, .28)),
    url('katarina-background-full.webp') center / cover no-repeat;
  color: #092336;
  border-bottom-color: rgba(13, 58, 74, .26);
}
.brand-text small { color: #184558; }
.nav a:not(.nav-cta):hover,
.exhibition-page .nav a:hover,
.exhibition-page .nav a[aria-current] { color: #0b4e61; }
.nav-cta { border-color: rgba(14, 54, 66, .55); background: rgba(250, 255, 255, .15); }
.nav-cta:hover,
.exhibition-page .nav .nav-cta:hover { background: rgba(250, 255, 255, .72); color: #092336; }
footer {
  background: #102b40;
  color: #c2dfe3;
  border-top: 1px solid rgba(190, 231, 231, .17);
}
/* Main gallery */
.home-page .hero {
  background:
    linear-gradient(100deg, rgba(11, 39, 59, .88) 0%, rgba(14, 52, 73, .72) 45%, rgba(14, 68, 79, .08) 100%),
    url('katarina-background-full.webp') center / cover no-repeat;
}
.home-page .hero .eyebrow { color: #d0e2e4; }
.home-page h1 em { color: #d9e7e8; }
.home-page .hero-lede { color: #e0f1f2; }
.home-page .hero-art { background: rgba(17, 71, 84, .06); }
.home-page .hero-art-frame { width: min(100%, 360px); background: #def1ef; }
.home-page .hero-art-label { color: #d6f4f2; }
.home-page .button { background: #a9e3df; border-color: #a9e3df; color: #143647; }
.home-page .button:hover { background: #cef2ee; border-color: #cef2ee; }
.home-page .quiet-link:hover { color: #b8eeea; }
.home-page .gallery-end .quiet-link:hover { color: #116b79; }
.home-page .section {
  background:
    radial-gradient(circle at 100% 0%, rgba(154, 215, 222, .15), transparent 31%),
    #f7fbfb;
}
.home-page .section-heading .eyebrow,
.home-page .about .eyebrow { color: #366878; }
.home-page .gallery {
  max-width: 900px;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.home-page .artwork:nth-child(even) { transform: none; }
.home-page .artwork h3 { font-size: clamp(1.25rem, 1.55vw, 1.55rem); line-height: 1.18; }
.home-page .artwork p { font-size: 14px; }
.home-page .gallery-end { max-width: 900px; margin: 60px auto 0; }
.home-page .section-intro,
.home-page .gallery-end { color: #506d78; }
.home-page .artwork-visual { position: relative; aspect-ratio: 1 / 1; background: #e0edef; }
.home-page .artwork-visual img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.home-page .artwork p { color: #55717d; }
.home-page .artwork .number { color: #548da1; }
.home-page .featured-exhibit {
  background:
    linear-gradient(110deg, rgba(236, 249, 249, .74), rgba(224, 246, 246, .42)),
    url('katarina-background-full.webp') center / cover no-repeat;
}
.home-page .featured-exhibit .eyebrow { color: #146c79; }
.home-page .featured-exhibit img { max-width: 360px; aspect-ratio: 1 / 1; justify-self: center; }
.home-page .featured-exhibit p:not(.eyebrow),
.home-page .featured-exhibit .quiet-link { color: #244f61; }
.home-page .featured-exhibit .quiet-link:hover { color: #0d7180; }
.home-page .about { background: #eaf3f4; }
.home-page .portrait-wrap { max-width: 320px; }
.home-page .portrait-wrap::after { border-color: #9ebfc8; }
.home-page .about-copy > p:not(.eyebrow),
.home-page .about-note { color: #455e6b; }
.home-page .about-note { border-top-color: #bfd5d9; }
.home-page .about-note span { color: #198b99; }
.home-page .contact {
  background:
    linear-gradient(105deg, rgba(12, 47, 67, .93), rgba(18, 64, 78, .76) 58%, rgba(18, 94, 104, .48)),
    url('katarina-background-full.webp') center / cover no-repeat;
}
.home-page .contact .eyebrow { color: #d0e3e5; }
.home-page .contact p:not(.eyebrow),
.home-page .contact-small { color: #d6e9ec; }
.home-page .contact .button { background: #d5f1ec; border-color: #d5f1ec; color: #183749; }
.home-page .contact .button:hover { background: #effffb; }
.home-page dialog { background: #f7fbfb; }
.home-page .dialog-image { background: #e0eef0; }
.home-page .dialog-copy .eyebrow { color: #137282; }
.home-page .dialog-copy p { color: #4b6472; }
.home-page .dialog-close { border-color: #bfd5d9; }

/* Exhibition */
.exhibition-page .hero {
  background:
    linear-gradient(100deg, rgba(10, 43, 63, .90), rgba(13, 58, 78, .69) 48%, rgba(12, 75, 84, .16)),
    url('katarina-background-full.webp') center / cover no-repeat;
}
.exhibition-page .hero .eyebrow { color: #d1e3e5; }
.exhibition-page .hero .subtitle { color: #e2f1f2; }
.exhibition-page .hero .year,
.exhibition-page .hero-art figcaption { color: #c6e8e9; }
.exhibition-page .hero-art { max-width: 480px; margin-inline: auto; }
.exhibition-page .hero-art img { box-shadow: 30px 30px 0 #257686; }
.exhibition-page .intro {
  background:
    radial-gradient(circle at 0% 100%, rgba(120, 202, 210, .13), transparent 38%),
    #f7fbfb;
}
.exhibition-page .intro .eyebrow,
.exhibition-page .bio .eyebrow { color: #137282; }
.exhibition-page .intro-copy p,
.exhibition-page .sequence p,
.exhibition-page .bio-copy p { color: #455d6a; }
.exhibition-page .sequence { border-top-color: #c5dadd; }
.exhibition-page .exhibit { background: linear-gradient(150deg, #e9f5f5 0%, #e3f0f3 55%, #eaf2f7 100%); }
.exhibition-page .exhibit-head,
.exhibition-page .exhibit-group { border-bottom-color: #bfd6dc; }
.exhibition-page .exhibit-head p { color: #4e6976; }
.exhibition-page .piece:not(.piece-wide) { max-width: 480px; }
.exhibition-page .piece-wide { max-width: 900px; width: 100%; margin-inline: auto; }
.exhibition-page .group-index,
.exhibition-page .piece-number { color: #347c94; }
.exhibition-page .piece-image { background: #d9e9ed; }
.exhibition-page figcaption small { color: #536f79; }
.exhibition-page .statement { background: linear-gradient(110deg, #123b58 0%, #175168 65%, #1c6872); }
.exhibition-page .statement .eyebrow { color: #b6e3e4; }
.exhibition-page .statement-copy p { color: #e0eff0; }
.exhibition-page .signature { border-top-color: #79acb7; color: #d0edef !important; }
.exhibition-page .bio { background: #ebf4f5; }
.exhibition-page .bio-portrait { width: min(100%, 245px); margin: 34px 0 0; }
.exhibition-page .bio-portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.exhibition-page .end {
  background:
    linear-gradient(105deg, rgba(14, 52, 73, .93), rgba(18, 70, 83, .70) 58%, rgba(19, 95, 105, .40)),
    url('katarina-background-full.webp') center / cover no-repeat;
}
.exhibition-page .end p { color: #e1eff0; }
.exhibition-page .end a { border-color: #b9e2e5; }
.exhibition-page .end a:hover { background: #d5f1ec; color: #17394b; }
@media (max-width: 1050px) {
  .home-page .gallery { max-width: 760px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .exhibition-page .bio-portrait { width: min(70%, 220px); margin-top: 24px; }
  .home-page .hero-art-frame { width: min(74%, 300px); }
  .home-page .artwork h3 { font-size: 1.15rem; }
  .home-page .hero {
    background-image:
      linear-gradient(rgba(11, 45, 64, .75), rgba(11, 45, 64, .68)),
      url('katarina-background-full.webp');
  }
  .exhibition-page .hero {
    background-image:
      linear-gradient(rgba(10, 45, 64, .78), rgba(10, 45, 64, .64)),
      url('katarina-background-full.webp');
  }
  .exhibition-page .hero-art img { box-shadow: 16px 16px 0 #257686; }
}
@media (max-width: 580px) {
  .home-page .gallery { max-width: 430px; grid-template-columns: 1fr; }
}
