:root {
  --paper: #ffffff;
  --paper-deep: #ffffff;
  --ink: #27231f;
  --muted: #746b61;
  --line: #d8cbb6;
  --leaf: #6f8d61;
  --blue: #28699c;
  --coral: #de765e;
  --gold: #c9a34f;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(48, 37, 24, 0.14);
  --max-width: 1160px;
  --header-height: 76px;
  --font-heading: "Barlow", "Barlow ExtraLight", "Avenir Light", Avenir, "Helvetica Neue",
    Arial, sans-serif;
  --font-body: Lato, "Avenir Light", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-nav: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --type-hero: clamp(3rem, 6vw, 4rem);
  --type-section-heading: clamp(2.35rem, 5vw, 3.5rem);
  --type-card-heading: 1.25rem;
  --hero-image-position: center 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
}

body::before {
  content: none;
}

.pigment-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.pigment-mark {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.08) rotate(var(--rotate));
  opacity: var(--start-opacity);
  filter: blur(0.7px);
  animation: pigment-bloom var(--duration) ease-out forwards;
}

@keyframes pigment-bloom {
  0% {
    transform: translate(-50%, -50%) scale(0.08) rotate(var(--rotate));
    opacity: var(--start-opacity);
  }

  32% {
    opacity: 0.24;
  }

  100% {
    transform: translate(-50%, -50%) scale(1) rotate(var(--rotate));
    opacity: var(--final-opacity);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pigment-mark {
    animation: none;
    opacity: var(--final-opacity);
    transform: translate(-50%, -50%) scale(1) rotate(var(--rotate));
  }
}

@media (hover: none) {
  .experience-cover-overlay {
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 28%, rgba(20, 18, 16, 0.72));
    opacity: 1;
    transform: none;
  }
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(39, 35, 31, 0.1);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.nav-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  position: relative;
  flex: 0 0 auto;
  min-width: 4.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--muted);
  font-family: var(--font-nav);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
}

.nav-tab:hover,
.nav-tab:focus-visible,
.nav-tab.is-active {
  border-color: rgba(39, 35, 31, 0.16);
  background: var(--white);
  color: var(--ink);
}

.section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section-inner {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: clamp(34rem, 72vh, 48rem);
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-image-position);
}

.hero-shade {
  display: none;
}

.hero-copy {
  position: relative;
  width: min(34rem, calc(100% - 2rem));
  padding-top: clamp(5.5rem, 12vh, 8.5rem);
  margin-left: clamp(1rem, 7vw, 6rem);
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  font-size: var(--type-hero);
  font-weight: 200;
  line-height: 0.98;
}

.hero-copy p:last-child {
  max-width: 31rem;
  margin: 1.2rem 0 0;
  color: #4c433b;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.gallery-section,
.teaching-section,
.workshop-section,
.about-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading h2,
.about-copy h2 {
  font-size: var(--type-section-heading);
  font-weight: 200;
}

.section-heading p:last-child {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.teaching-gallery,
.workshop-gallery {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

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

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

.experience-cover-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--white);
  color: var(--white);
  text-decoration: none;
}

.experience-cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.experience-cover-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.experience-cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  background: rgba(20, 18, 16, 0.58);
  opacity: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  transform: translateY(0.75rem);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.experience-cover-overlay strong {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 300;
  line-height: 1.05;
}

.experience-cover-overlay span {
  max-width: 30rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.5;
}

.experience-cover-card:hover img,
.experience-cover-card:focus-visible img {
  transform: scale(1.035);
}

.experience-cover-card:hover .experience-cover-overlay,
.experience-cover-card:focus-visible .experience-cover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}

.detail-link,
.explore-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(39, 35, 31, 0.22);
  border-radius: 999px;
  background: var(--white);
  padding: 0.6rem 1.2rem;
  color: var(--ink);
  font-family: var(--font-nav);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.explore-more-button {
  margin-top: 0;
  cursor: pointer;
}

.explore-more-button[hidden] {
  display: none;
}

.detail-link:hover,
.detail-link:focus-visible,
.explore-more-button:hover,
.explore-more-button:focus-visible {
  border-color: var(--ink);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.art-card,
.teaching-card {
  border: 1px solid rgba(39, 35, 31, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(48, 37, 24, 0.08);
  overflow: hidden;
}

.art-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.image-button {
  position: relative;
  width: 100%;
  margin: 0;
  border: 0;
  background: var(--white);
  cursor: zoom-in;
  overflow: hidden;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.image-button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.image-button:hover img {
  transform: scale(1.025);
}

.art-card .image-button {
  aspect-ratio: 4 / 3;
}

.card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.card-copy h3,
.teaching-copy h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--type-card-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.meta {
  margin: 0.35rem 0 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.description {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.teaching-section,
.workshop-section {
  background: var(--white);
}

.teaching-list {
  display: grid;
  gap: 1.35rem;
}

.teaching-card {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
}

.teaching-media {
  display: grid;
  min-height: 18rem;
  background: var(--white);
}

.teaching-media .image-button {
  min-height: 18rem;
}

.teaching-media.has-multiple {
  grid-template-columns: 1fr 8rem;
  gap: 0.35rem;
  padding: 0.35rem;
}

.teaching-media.has-multiple .image-button {
  min-height: 0;
  border-radius: 6px;
}

.teaching-media.has-multiple .image-button:first-child {
  grid-row: span 3;
}

.teaching-copy {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.teaching-copy p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.teaching-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
}

.teaching-details span {
  border: 1px solid rgba(39, 35, 31, 0.12);
  border-radius: 999px;
  background: var(--white);
  padding: 0.25rem 0.65rem;
  color: #544b43;
  font-size: 0.84rem;
  font-weight: 700;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.rich-text p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-figure {
  margin: 0;
  text-align: center;
}

.about-figure img {
  width: min(100%, 36rem);
  height: auto;
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.about-figure figcaption {
  display: none;
}

.detail-main {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.detail-hero,
.detail-section,
.detail-gallery-section {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.detail-hero-copy h1,
.detail-section h2,
.detail-gallery-section h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-hero-copy h1 {
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.12;
}

.detail-hero-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.detail-meta span {
  border: 1px solid rgba(39, 35, 31, 0.13);
  border-radius: 999px;
  padding: 0.26rem 0.7rem;
  color: #544b43;
  font-size: 0.84rem;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.detail-links .detail-link {
  margin-top: 1.2rem;
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-section {
  max-width: 880px;
  padding-top: clamp(3rem, 7vw, 5rem);
}

.detail-section h2,
.detail-gallery-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.detail-rich-text p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.detail-gallery-section {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.detail-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 1.5rem;
}

.detail-image-grid figure {
  margin: 0;
}

.detail-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--white);
  overflow: hidden;
}

.detail-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-image-grid figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-footer {
  border-top: 1px solid rgba(39, 35, 31, 0.1);
  padding: 2rem 1rem;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  width: min(92vw, 62rem);
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(20, 18, 16, 0.72);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: var(--white);
}

.lightbox p {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(39, 35, 31, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.load-error {
  border: 1px solid rgba(222, 118, 94, 0.35);
  border-radius: 8px;
  background: rgba(222, 118, 94, 0.08);
  padding: 1rem;
  color: #7d3326;
}

@media (max-width: 880px) {
  :root {
    --header-height: 112px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 40rem;
  }

  .hero-image {
    --hero-image-position: 58% 68%;
  }

  .hero-shade {
    display: none;
  }

  .hero-copy {
    padding-top: 4rem;
    margin-left: 1rem;
  }

  .about-layout,
  .detail-hero,
  .teaching-card {
    grid-template-columns: 1fr;
  }

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

  .teaching-media.has-multiple {
    grid-template-columns: repeat(3, 1fr);
  }

  .teaching-media.has-multiple .image-button:first-child {
    grid-column: span 3;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .nav-tab {
    min-width: 4.55rem;
    padding-inline: 0.65rem;
  }

  .hero {
    min-height: 34rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
  }

  .gallery-section,
  .teaching-section,
  .workshop-section,
  .about-section {
    padding: 3.25rem 0;
  }

  .art-grid,
  .teaching-gallery,
  .workshop-gallery,
  .detail-image-grid {
    grid-template-columns: 1fr;
  }

  .teaching-media.has-multiple {
    grid-template-columns: 1fr;
  }

  .teaching-media.has-multiple .image-button:first-child {
    grid-column: auto;
  }
}
