:root {
  --purple: #9464cb;
  --purple-dark: #68409d;
  --lavender: #ddd3ef;
  --green: #5fc094;
  --green-dark: #28795b;
  --yellow: #ffd260;
  --pink: #c94c9d;
  --ink: #272330;
  --muted: #706a77;
  --paper: #fffefa;
  --cream: #faf7f0;
  --line: rgba(39, 35, 48, .13);
  --sans: "DM Sans", "Noto Sans SC", sans-serif;
  --display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  height: 108px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 254, 250, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: .25s;
}
.site-header.scrolled { height: 92px; border-color: var(--line); }
.brand { display: flex; align-items: center; }
.brand-logo-crop { width: 320px; height: 92px; display: block; overflow: hidden; position: relative; }
.brand-logo-crop img {
  width: 600px;
  max-width: none;
  height: auto;
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-43%);
}
.nav { display: flex; align-items: center; gap: clamp(13px, 1.55vw, 26px); font-size: 14px; font-weight: 800; }
.nav a { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.nav-initial {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--purple);
  font: 700 18px var(--display);
  letter-spacing: 0;
}
.nav > a:not(.nav-cta) { position: relative; }
.nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; border-radius: 2px; background: var(--green); transition: width .2s; }
.nav > a:hover::after, .nav > a.active::after { width: 0; }
.nav > a.active {
  padding: 10px 22px 10px 11px;
  border-radius: 999px;
  color: white;
  background: var(--purple);
}
.nav > a.active .nav-initial {
  color: var(--purple-dark);
  background: white;
}
.nav-cta { padding: 10px 22px; border-radius: 999px; color: white; background: var(--purple); transition: .2s; }
.nav-cta .nav-initial { color: var(--purple-dark); background: white; }
.nav-cta:not(.active) {
  padding: 0;
  color: var(--ink);
  background: transparent;
}
.nav-cta:not(.active) .nav-initial {
  color: white;
  background: var(--purple);
}
.nav-cta:hover { background: var(--purple-dark); transform: translateY(-1px); }
.contact-link {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--purple-dark);
  background: white;
  font-size: 12px;
  font-weight: 800;
  transition: border-color .2s, transform .2s, background .2s;
}
.contact-link:hover {
  border-color: var(--purple);
  background: #fbf8ff;
  transform: translateY(-1px);
}
.language-toggle { padding: 7px 11px; display: flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 999px; background: white; color: #aaa4af; font-size: 10px; font-weight: 700; cursor: pointer; transition: border-color .2s, transform .2s; }
.language-toggle:hover { border-color: var(--purple); transform: translateY(-1px); }
.language-toggle [data-language-label].active { color: var(--purple-dark); }
.menu-button { display: none; border: 0; background: none; padding: 8px; }

.hero {
  min-height: calc(100vh - 108px);
  padding: clamp(70px, 8vw, 120px) clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 8vw;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: radial-gradient(var(--purple) .8px, transparent .8px); background-size: 19px 19px; }
.hero::after {
  content: "";
  position: absolute;
  right: clamp(24px, 8vw, 120px);
  top: 50%;
  width: min(520px, 36vw);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(4deg);
  background: url("/assets/logo.jpg") center / contain no-repeat;
  opacity: .48;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-copy, .hero-brand-card, .hero-sticker { position: relative; z-index: 2; }
.kicker { margin: 0 0 20px; color: var(--pink); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, h2 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(56px, 6.5vw, 98px); line-height: .98; }
.hero h1 em { color: var(--purple); font-weight: 600; white-space: nowrap; }
.hero-copy > p:not(.kicker) { max-width: 540px; margin: 30px 0 0; color: var(--muted); line-height: 1.9; font-size: 15px; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; border: 0; border-radius: 999px; color: white; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(104,64,157,.18); }
.button b { font-size: 17px; }
.button-purple { background: var(--purple); }
.button-green { background: var(--green-dark); margin-top: 30px; }
.text-link { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; }
.hero-brand-card { justify-self: end; width: min(450px, 100%); aspect-ratio: .92; border-radius: 48% 52% 45% 55% / 46% 43% 57% 54%; overflow: hidden; background: white; box-shadow: 22px 28px 0 var(--lavender), 0 25px 60px rgba(70,45,87,.12); transform: rotate(2deg); }
.hero-brand-card { display: none; }
.hero-brand-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticker { position: absolute; right: 43%; bottom: 9%; width: 145px; height: 145px; padding: 25px; border-radius: 50%; display: flex; align-items: center; gap: 10px; color: var(--ink); background: var(--yellow); transform: rotate(-9deg); box-shadow: 0 12px 30px rgba(39,35,48,.1); }
.hero-sticker span { font: 600 48px var(--display); }
.hero-sticker small { font-size: 9px; line-height: 1.4; font-weight: 700; }
.hero-shape { position: absolute; z-index: 1; }
.shape-one { width: 170px; height: 90px; right: -45px; top: 9%; border-radius: 50%; background: var(--green); transform: rotate(-35deg); }
.shape-two { width: 105px; height: 105px; left: 43%; top: 7%; border: 26px solid var(--pink); border-radius: 48% 52% 44% 56%; transform: rotate(24deg); }

.brand-strip { min-height: 58px; padding: 15px 5vw; display: flex; align-items: center; justify-content: space-around; gap: 25px; overflow: hidden; white-space: nowrap; color: white; background: var(--purple); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.brand-strip i { color: var(--yellow); font-style: normal; font-size: 15px; }

.home-portals { background: var(--paper); }
.portal-heading { max-width: 760px; margin-bottom: 58px; }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portal-card { min-height: 305px; padding: 34px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.portal-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(39,35,48,.1); }
.portal-card > span {
  position: absolute;
  right: 20px;
  top: 0;
  color: rgba(255, 255, 255, .55);
  font: 600 clamp(120px, 11vw, 178px)/.8 var(--display);
  letter-spacing: 0;
}
.portal-card h3 { margin: auto 0 10px; font: 600 30px var(--display); position: relative; z-index: 2; }
.portal-card h3 .nav-initial { display: none; }
.portal-card p { max-width: 370px; margin: 0; color: rgba(39,35,48,.66); font-size: 12px; line-height: 1.7; }
.portal-card b { position: absolute; right: 30px; top: 28px; font-size: 22px; }
.portal-about, .portal-museum { background: var(--lavender); }
.portal-garden, .portal-projects { background: var(--yellow); }
.portal-classes { background: var(--green); }
.portal-contact { background: #fff1f8; }
.portal-students, .portal-notable { background: #eadfff; }
.portal-merch { background: #fff1f8; }
.portal-gallery { background: #fff9ef; }

.framework-page {
  min-height: calc(100vh - 82px);
  display: grid;
  align-content: center;
  position: relative;
  overflow: hidden;
}
.framework-page::before {
  content: attr(data-letter);
  position: absolute;
  left: clamp(44px, 5vw, 104px);
  top: 55%;
  transform: translateY(-50%);
  color: rgba(148, 100, 203, .13);
  font: 600 clamp(260px, 31vw, 620px)/.8 var(--display);
  letter-spacing: 0;
  pointer-events: none;
}
.framework-page::after {
  content: none;
  display: none;
  position: absolute;
  left: clamp(150px, 15vw, 300px);
  top: 49%;
  width: min(980px, 62vw);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(4deg);
  background: url("/assets/logo.jpg") center / contain no-repeat;
  opacity: .32;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.framework-page > * { position: relative; z-index: 2; }
.framework-page .section-tag,
.framework-page > p {
  display: none;
}
.framework-page h2 { max-width: 760px; font-size: clamp(78px, 9vw, 150px); line-height: .9; }
.empty-frame {
  width: min(620px, 100%);
  min-height: 96px;
  margin-top: 44px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  border-left: 6px solid var(--purple);
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.coming-soon {
  position: absolute;
  right: clamp(90px, 12vw, 220px);
  top: 52%;
  transform: translateY(-50%) rotate(-2deg);
  color: rgba(39, 35, 48, .42);
  font: 600 clamp(46px, 5.8vw, 104px)/.9 var(--display);
  letter-spacing: 0;
  text-align: right;
}
.artwork-carousel {
  width: min(640px, 48vw);
  margin-top: 42px;
  position: relative;
  overflow: visible;
}
.carousel-stage {
  min-height: min(720px, calc(100vh - 210px));
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 18px;
}
.artwork-slides {
  min-width: 0;
  position: relative;
}
.artwork-slide {
  display: none;
  margin: 0;
}
.artwork-slide.active {
  display: block;
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(39, 35, 48, .12);
}
.artwork-slide.active::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 7%;
  width: min(440px, 76%);
  aspect-ratio: 1;
  transform: rotate(-5deg);
  border-radius: 50%;
  background: url("/assets/logo.jpg") center / contain no-repeat;
  opacity: .62;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 3;
}
.artwork-slide img {
  width: auto;
  max-width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  background: transparent;
}
.carousel-arrow {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: white;
  background: var(--purple);
  font: 600 34px/1 var(--display);
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.carousel-arrow:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}
.artwork-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  color: white;
  background: var(--purple);
  box-shadow: 0 3px 14px rgba(39, 35, 48, .2);
  opacity: 0;
  transition: opacity .2s;
  cursor: zoom-in;
}
.artwork-slide:hover .artwork-zoom,
.artwork-slide:focus-within .artwork-zoom {
  opacity: 1;
}
@media (hover: none), (pointer: coarse) {
  .artwork-zoom { opacity: 1; }
}
.artwork-viewer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 60px 24px 24px;
  border: 0;
  background: rgba(20, 15, 26, .94);
}
.artwork-viewer[open] {
  display: grid;
  place-items: center;
}
.artwork-viewer::backdrop { background: rgba(20, 15, 26, .9); }
.artwork-viewer-content { max-width: 100%; }
.artwork-viewer .artwork-slide { width: fit-content; margin: auto; }
.artwork-viewer .artwork-slide img {
  width: auto;
  max-width: min(1400px, calc(100vw - 48px));
  max-height: calc(100dvh - 84px);
  margin: auto;
}
.artwork-viewer .unwatermarked::after { content: none; display: none; }
.artwork-viewer .artwork-slide:not(.unwatermarked)::after {
  content: "";
  display: block;
  right: 5%;
  bottom: 5%;
  width: min(396px, 68%);
  opacity: .62;
}
.artwork-viewer-close {
  position: absolute;
  top: 12px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: 32px;
  cursor: pointer;
}
.carousel-meta {
  margin-left: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 14px 22px;
}
.section-museum .artwork-credit,
.section-showcase .artwork-credit {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: center;
}
.carousel-meta p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--pink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.carousel-meta h3 {
  margin: 0;
  font: 600 clamp(28px, 3vw, 46px)/1.05 var(--display);
}
.carousel-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.section-museum,
.section-showcase {
  min-height: calc(100vh - 204px);
  grid-template-columns: minmax(360px, .72fr) minmax(480px, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 58px);
}
.section-museum {
  background: var(--paper);
}
.section-museum::before,
.section-showcase::before {
  left: clamp(28px, 3vw, 72px);
  top: 62%;
  color: rgba(148, 100, 203, .13);
  font-size: clamp(190px, 24vw, 460px);
}
.section-museum h2,
.section-showcase h2 {
  grid-column: 1;
}
.section-museum .artwork-carousel,
.section-showcase .artwork-carousel {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: min(820px, 54vw);
  margin-top: 0;
  justify-self: start;
  transform: translateX(18px);
}
.section-museum::after,
.section-showcase::after {
  display: none;
}
.section-projects { background: var(--yellow); }
.section-projects.section-showcase::after,
.section-projects .artwork-slide::after,
[data-watermark="none"] .artwork-slide::after {
  content: none;
  display: none;
}
.section-projects .artwork-slide img {
  background: transparent;
}
.section-notable { background: var(--lavender); }
.section-classes { background: var(--green); }
.section-merch { background: #fff1f8; }
.section-gallery { background: var(--cream); }

.page-hero { min-height: 520px; padding: 105px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: 8vw; position: relative; overflow: hidden; background: var(--cream); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(var(--purple) .8px, transparent .8px); background-size: 19px 19px; }
.page-hero-copy, .page-hero-art { position: relative; z-index: 2; }
.page-hero h1 { margin: 0; font: 600 clamp(58px, 7vw, 104px)/.96 var(--display); letter-spacing: -.05em; }
.page-hero h1 em { color: var(--purple); font-weight: 600; }
.page-hero-copy > p:not(.kicker) { max-width: 580px; color: var(--muted); line-height: 1.9; font-size: 14px; }
.page-hero-art { justify-self: end; width: min(390px, 100%); aspect-ratio: 1; overflow: hidden; border-radius: 48% 52% 45% 55%; box-shadow: 20px 22px 0 var(--lavender); }
.page-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.page-main { min-height: 55vh; }
.page-main > .section:first-child { padding-top: 90px; }
.page-main .garden, .page-main .art-program, .page-main .contact { min-height: 680px; }

.student-works { background: var(--paper); }
.student-section-heading { max-width: 760px; margin-bottom: 58px; }
.student-section-heading .section-tag { margin-bottom: 28px; }
.student-section-heading > p { max-width: 620px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { min-width: 0; }
.work-placeholder { aspect-ratio: 4 / 5; padding: 25px; display: flex; align-items: flex-end; position: relative; overflow: hidden; background: var(--lavender); }
.work-card:nth-child(2) .work-placeholder { background: var(--yellow); }
.work-card:nth-child(3) .work-placeholder { background: var(--green); }
.work-card:nth-child(4) .work-placeholder { background: #f9d6e9; }
.work-card:nth-child(5) .work-placeholder { background: #d8eee6; }
.work-card:nth-child(6) .work-placeholder { background: #eee8d9; }
.work-placeholder::before, .work-placeholder::after { content: ""; position: absolute; border-radius: 50%; opacity: .8; }
.work-placeholder::before { width: 65%; height: 45%; top: 12%; left: -17%; background: var(--purple); transform: rotate(-25deg); }
.work-placeholder::after { width: 48%; height: 36%; top: 34%; right: -13%; background: var(--pink); transform: rotate(20deg); }
.work-placeholder span { position: relative; z-index: 2; padding: 8px 11px; border-radius: 999px; background: rgba(255,255,255,.88); font-size: 9px; font-weight: 700; }
.work-card h3 { margin: 16px 0 4px; font: 600 18px var(--display); }
.work-card p { margin: 0; color: var(--muted); font-size: 10px; }
.awards-section { color: white; background: var(--purple-dark); }
.awards-section .student-section-heading > p { color: rgba(255,255,255,.65); }
.awards-list { display: grid; gap: 13px; }
.award-row { min-height: 135px; padding: 25px 30px; display: grid; grid-template-columns: 75px 1fr auto; align-items: center; gap: 25px; color: var(--ink); background: var(--paper); }
.award-medal { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--purple-dark); background: var(--yellow); font: 600 24px var(--display); }
.award-row h3 { margin: 0 0 8px; font: 600 22px var(--display); }
.award-row p { margin: 0; color: var(--muted); font-size: 10px; }
.award-row > span { color: rgba(39,35,48,.16); font: italic 600 34px var(--display); }

.section { padding: 120px clamp(24px, 7vw, 110px); }
.section-tag { margin-bottom: 54px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.section-tag span { color: var(--pink); font-weight: 700; }
.section-tag::after { content: ""; width: 43px; height: 1px; background: var(--pink); }
.section-tag.light { color: rgba(255,255,255,.65); }
.script-note { margin: 0 0 13px; color: var(--pink); font: italic 600 18px var(--display); transform: rotate(-1deg); transform-origin: left; }
h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.08; }

.about { background: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.about-copy > p { max-width: 590px; margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 2; }
.color-key { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 22px 35px; }
.color-key span { display: flex; align-items: center; gap: 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.color-key i { width: 13px; height: 13px; border-radius: 50%; }
.color-key .purple { background: var(--purple); }.color-key .green { background: var(--green); }.color-key .yellow { background: var(--yellow); }.color-key .pink { background: var(--pink); }

.garden { color: white; background: var(--purple-dark); position: relative; overflow: hidden; }
.garden::before { content: ""; position: absolute; width: 480px; height: 480px; border: 90px solid rgba(255,210,96,.08); border-radius: 50%; top: -300px; right: -120px; }
.garden-heading { max-width: 820px; margin-bottom: 70px; position: relative; }
.garden-heading .section-tag { margin-bottom: 25px; }
.garden-heading > p { max-width: 570px; color: rgba(255,255,255,.62); line-height: 1.9; font-size: 14px; }
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; position: relative; }
.sector-card { min-height: 430px; padding: 45px; display: flex; flex-direction: column; position: relative; overflow: hidden; color: var(--ink); background: white; transition: transform .25s; }
.sector-card:hover { transform: translateY(-7px) rotate(-.35deg); }
.sector-m { background: var(--lavender); }
.sector-o { background: var(--yellow); }
.sector-n { background: var(--green); }
.sector-a { background: #fff9ef; }
.sector-letter { position: absolute; right: 18px; bottom: -53px; color: rgba(255,255,255,.47); font: 600 250px/1 var(--display); }
.sector-m .sector-letter, .sector-a .sector-letter { color: rgba(148,100,203,.12); }
.sector-icon { width: 65px; height: 65px; border-radius: 50%; overflow: hidden; margin-bottom: 45px; box-shadow: 0 8px 20px rgba(39,35,48,.1); }
.sector-icon img { width: 100%; height: 100%; object-fit: cover; }
.abstract-icon { width: 65px; height: 65px; margin-bottom: 45px; position: relative; }
.icon-o { border-radius: 50%; background: var(--purple); }
.icon-o span { position: absolute; width: 25px; height: 25px; border-radius: 50%; background: var(--yellow); top: 20px; left: 20px; }
.icon-n { border-radius: 50% 50% 20% 50%; background: white; transform: rotate(12deg); }
.icon-n span, .icon-n i { position: absolute; width: 25px; height: 10px; border-radius: 90% 10%; background: var(--green-dark); left: 18px; top: 20px; transform: rotate(-30deg); }
.icon-n i { top: 36px; transform: rotate(28deg); }
.icon-a { border-radius: 50%; border: 15px solid var(--pink); }
.icon-a span { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); top: 12px; left: 12px; }
.sector-overline { margin: 0 0 13px; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sector-card h3 { max-width: 380px; margin: 0 0 16px; font: 600 30px/1.15 var(--display); }
.sector-card > p:not(.sector-overline) { max-width: 480px; margin: 0 0 30px; color: rgba(39,35,48,.67); font-size: 13px; line-height: 1.8; }
.sector-card > a { width: fit-content; margin-top: auto; padding-bottom: 3px; border-bottom: 1px solid currentColor; position: relative; z-index: 2; font-size: 11px; font-weight: 700; }

.art-program { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; background: var(--cream); position: relative; overflow: hidden; }
.art-program::before {
  content: attr(data-letter);
  position: absolute;
  left: clamp(12px, 3vw, 52px);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(148, 100, 203, .1);
  font: 600 clamp(220px, 24vw, 430px)/.8 var(--display);
  pointer-events: none;
}
.art-program::after {
  content: "";
  position: absolute;
  left: clamp(36px, 7vw, 120px);
  top: 52%;
  width: min(340px, 28vw);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-5deg);
  background: url("/assets/logo.jpg") center / contain no-repeat;
  opacity: .07;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.art-program > * { position: relative; z-index: 2; }
.art-program .section-tag,
.art-program .script-note,
.program-copy > p:not(.script-note) {
  display: none;
}
.program-copy > p:not(.script-note) { max-width: 540px; color: var(--muted); line-height: 1.9; font-size: 14px; }
.program-pills { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 9px; }
.program-pills span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 10px; font-weight: 600; }
.rate-card { padding: 15px; border: 0; background: white; cursor: zoom-in; box-shadow: 20px 20px 0 var(--lavender), 0 20px 50px rgba(39,35,48,.12); transform: rotate(1.2deg); position: relative; transition: transform .2s; }
.rate-card:hover { transform: rotate(0) scale(1.01); }
.rate-card span { position: absolute; right: 25px; bottom: 24px; padding: 8px 12px; border-radius: 999px; color: white; background: rgba(39,35,48,.83); font-size: 9px; }

.identity { padding-top: 0; display: grid; grid-template-columns: 1.25fr .75fr; gap: 7vw; align-items: center; background: var(--cream); }
.identity-image { height: 520px; overflow: hidden; border-radius: 52% 48% 46% 54% / 42% 56% 44% 58%; }
.identity-image img { width: 100%; height: 100%; object-fit: cover; }
.identity-copy > p:not(.kicker) { color: var(--muted); line-height: 1.9; font-size: 14px; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; color: var(--ink); background: #dce8da; position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  left: clamp(30px, 6vw, 90px);
  top: 50%;
  width: min(330px, 28vw);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(-6deg);
  background: url("/assets/logo.jpg") center / contain no-repeat;
  opacity: .08;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.contact::after { content: ""; position: absolute; width: 340px; height: 180px; border-radius: 50%; background: var(--yellow); right: -170px; bottom: -80px; transform: rotate(-30deg); }
.contact-intro, .qr-grid { position: relative; z-index: 2; }
.contact-intro .section-tag { margin-bottom: 35px; }
.contact-intro > p:not(.kicker) { max-width: 490px; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.9; }
.contact-meta { margin-top: 35px; display: flex; flex-direction: column; gap: 10px; color: rgba(255,255,255,.7); font-size: 11px; }
.contact-details { display: flex; align-items: center; gap: 24px; margin-top: 20px; }
.contact-poster { width: auto; max-width: 42%; max-height: 260px; object-fit: contain; }
.contact-poster-column { display: flex; justify-content: center; min-width: 0; }
.contact-poster-column .contact-poster { width: min(100%, 360px); max-width: 100%; max-height: none; }
.contact-details .contact-meta { margin: 0; line-height: 1.7; }
.contact-meta a { overflow-wrap: anywhere; }
.contact-meta a:hover { color: white; text-decoration: underline; }
.qr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.qr-card { padding: 22px; color: var(--ink); background: white; box-shadow: 10px 10px 0 rgba(0,0,0,.08); }
.qr-card:nth-child(2) { transform: none; }
.qr-image { padding: 8px; background: white; border: 1px solid var(--line); }
.qr-image img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.xiaohongshu-qr-crop { display: block; position: relative; aspect-ratio: 1; overflow: hidden; background: white; }
.xiaohongshu-qr-crop img {
  position: absolute;
  width: 304.4177%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  left: -177.9116%;
  top: -204.8193%;
}
.qr-card > div:last-child { padding: 18px 5px 2px; }
.qr-card span { color: var(--pink); font-size: 9px; font-weight: 700; }
.qr-card h3 { margin: 5px 0; font: 600 24px var(--display); }
.qr-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

footer { min-height: 96px; padding: 28px clamp(24px, 7vw, 110px); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--ink); background: var(--lavender); font-size: 9px; }
body:has(.section-museum) footer,
body:has(.section-showcase) footer {
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 16px;
}
.footer-logo { display: none; }
.footer-logo img { width: 100%; height: 100%; object-fit: cover; }

.image-modal { position: fixed; inset: 0; z-index: 100; padding: 60px 20px 20px; display: none; align-items: center; justify-content: center; background: rgba(20,15,26,.9); backdrop-filter: blur(8px); }
.image-modal.open { display: flex; }
.image-modal img { max-width: min(900px, 95vw); max-height: 86vh; object-fit: contain; }
.image-modal button { position: absolute; right: 30px; top: 20px; border: 0; color: white; background: transparent; font-size: 38px; cursor: pointer; }

@media (min-width: 1101px) {
  .site-header { height: 97px; padding-inline: clamp(20px, 4.5vw, 68px); }
  .site-header.scrolled { height: 83px; }
  .brand-logo-crop { width: 288px; height: 83px; }
  .brand-logo-crop img { width: 540px; left: -22px; }
  .nav { gap: clamp(12px, 1.4vw, 23px); font-size: 13px; }
  .nav-initial { width: 31px; height: 31px; font-size: 16px; }
  .nav > a.active { padding: 9px 20px 9px 10px; }
  .nav-cta { padding: 9px 20px; }
  .contact-link { padding: 9px 16px; font-size: 11px; }
  .language-toggle { padding: 6px 10px; font-size: 9px; }
  .section { padding: 108px clamp(22px, 6.3vw, 99px); }
  .framework-page { min-height: calc(100vh - 74px); }
  .framework-page::before { font-size: clamp(234px, 27.9vw, 558px); }
  .framework-page::after { width: min(882px, 55.8vw); }
  .framework-page h2 { max-width: 684px; font-size: clamp(70px, 8.1vw, 135px); }
  .section-museum,
  .section-showcase { min-height: calc(100vh - 184px); }
  .section-museum::before,
  .section-showcase::before { font-size: clamp(171px, 21.6vw, 414px); }
  .section-museum .artwork-carousel,
  .section-showcase .artwork-carousel { width: min(738px, 49vw); }
  .carousel-stage {
    min-height: min(648px, calc(100vh - 189px));
    grid-template-columns: 49px minmax(0, 1fr) 49px;
    gap: 16px;
  }
  .carousel-arrow { width: 49px; height: 49px; font-size: 31px; }
  .artwork-slide img { max-height: min(70vh, 738px); }
  .artwork-slide.active::after { width: min(396px, 68%); }
  footer {
    min-height: 86px;
    padding: 25px clamp(22px, 6.3vw, 99px);
  }
  body:has(.section-museum) footer,
  body:has(.section-showcase) footer {
    min-height: 58px;
    padding-top: 11px;
    padding-bottom: 14px;
  }
}

@media (min-width: 1101px) {
  body:has(.framework-page, .contact) {
    height: 100dvh;
    display: grid;
    grid-template-rows: 97px minmax(0, 1fr) 58px;
  }
  body:has(.framework-page, .contact) .page-main {
    min-height: 0;
  }
  .page-main > :is(.framework-page, .contact):first-child {
    height: 100%;
    min-height: 0;
    padding-block: 24px;
    grid-template-rows: minmax(0, 1fr);
  }
  .framework-page h2 {
    grid-row: 1;
    margin: 0;
    font-size: clamp(58px, min(8.1vw, 16dvh), 135px);
  }
  :is(.section-museum, .section-showcase) .artwork-carousel {
    grid-row: 1;
    min-height: 0;
  }
  :is(.section-museum, .section-showcase) .carousel-stage {
    min-height: 0;
  }
  :is(.section-museum, .section-showcase) .artwork-slide img {
    max-height: calc(100dvh - 235px);
  }
  body:has(.framework-page, .contact) footer {
    min-height: 0;
    padding-block: 11px 14px;
  }
  .page-main > .contact:first-child {
    align-items: center;
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
    gap: 4vw;
  }
  .contact h2 {
    font-size: clamp(32px, min(4vw, 6dvh), 60px);
    margin: 0;
  }
  .contact-intro > p:not(.kicker) { line-height: 1.6; }
  .contact .contact-intro .section-tag,
  .contact .contact-meta {
    margin-block: 16px;
  }
  .contact .contact-intro .section-tag { margin-top: 0; }
  .contact .contact-details .contact-meta { margin: 0; }
  .contact .qr-grid {
    width: 100%;
    justify-self: center;
    gap: 12px;
    align-items: center;
  }
  .contact .qr-card:first-child { transform: translateY(-24px); }
  .contact .qr-card:last-child { transform: translateY(-8px); }
  .contact .contact-poster-column .contact-poster {
    width: auto;
    max-width: 100%;
    max-height: calc(100dvh - 215px);
  }
  .contact .qr-card h3 { font-size: clamp(17px, 1.5vw, 24px); }
  .contact .qr-card {
    padding: 14px;
  }
  .contact .qr-card:nth-child(2) {
    transform: translateY(24px);
  }
  .contact .qr-card > div:last-child {
    padding-top: 10px;
  }
}

@media (min-width: 1101px) and (max-width: 1450px) {
  .site-header { min-width: 0; padding-inline: 24px; gap: 18px; }
  .brand-logo-crop { width: clamp(180px, calc(100vw - 1100px), 240px); height: 70px; }
  .brand-logo-crop img { width: 440px; left: -18px; }
  .nav { gap: 8px; font-size: clamp(10px, .84vw, 12px); }
  .nav a { gap: 6px; }
  .nav-initial { width: 26px; height: 26px; font-size: 14px; }
  .nav > a.active { padding: 8px 12px 8px 8px; }
  .nav-cta { padding: 8px 12px; }
  .contact-link { padding: 8px 12px; }
}

@media (max-width: 1100px) {
  .site-header { backdrop-filter: none; overflow: visible; }
  .menu-button { display: block; z-index: 3; cursor: pointer; }
  .menu-button span { display: block; width: 24px; height: 2px; margin: 6px; background: var(--ink); transition: .2s; }
  .menu-button.open span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; height: 100dvh; flex-direction: column; align-items: stretch; justify-content: center; padding: 84px 22px 16px; gap: clamp(4px, 1dvh, 10px); background: var(--paper); font-size: 18px; visibility: hidden; transform: translateY(-100%); transition: transform .25s; }
  .nav.open { visibility: visible; transform: translateY(0); }
  .nav > a,
  .nav-cta:not(.active),
  .nav > a.active {
    flex-shrink: 0;
    width: 100%;
    min-height: clamp(40px, 6dvh, 52px);
    padding: 6px 16px;
    justify-content: flex-start;
    border-radius: 999px;
  }
  .nav .language-toggle { align-self: flex-start; flex-shrink: 0; margin-top: 0; }
  .language-toggle { margin-top: 10px; font-size: 13px; padding: 10px 15px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 90px; }
  .portal-grid { grid-template-columns: 1fr 1fr; }
  .section-museum,
  .section-showcase {
    grid-template-columns: 1fr;
  }
  .section-museum h2,
  .section-showcase h2,
  .section-museum .artwork-carousel,
  .section-showcase .artwork-carousel {
    grid-column: 1;
    grid-row: auto;
  }
  .section-museum .artwork-carousel,
  .section-showcase .artwork-carousel {
    width: 100%;
    margin-top: 44px;
    transform: none;
  }
  .page-hero { grid-template-columns: 1fr; padding-top: 90px; }
  .page-hero-art { justify-self: center; width: min(450px, 82vw); }
  .hero-copy { max-width: 730px; }
  .hero-brand-card { justify-self: center; width: min(520px, 85vw); }
  .hero-sticker { right: auto; left: 10%; bottom: 5%; }
  .about-layout, .art-program, .identity, .contact { grid-template-columns: 1fr; }
  .identity-image { order: 2; }
  .identity-copy { order: 1; }
  .rate-card { max-width: 650px; justify-self: center; }
  .qr-grid { max-width: 700px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .coming-soon {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 42px;
    transform: rotate(-2deg);
    text-align: left;
  }
}

@media (max-width: 650px) {
  .site-header {
    height: 76px;
    padding: 0 16px;
    overflow: visible;
  }
  .site-header.scrolled { height: 76px; }
  .brand-logo-crop { width: 210px; height: 70px; }
  .brand-logo-crop img { width: 410px; left: -19px; transform: translateY(-43%); }
  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
  }
  .nav {
    gap: clamp(4px, 1dvh, 8px);
    padding: 84px 22px 16px;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible;
    font-size: 18px;
  }
  .nav a,
  .nav-cta:not(.active),
  .nav > a.active,
  .contact-link {
    width: 100%;
    min-height: clamp(40px, 6dvh, 52px);
    padding: 6px 16px;
    justify-content: flex-start;
    border-radius: 999px;
  }
  .language-toggle {
    align-self: flex-start;
    margin-top: 0;
  }
  .hero::after, .framework-page::after, .art-program::after { width: 230px; opacity: .14; }
  .framework-page::after { left: 42%; right: auto; top: 43%; }
  .framework-page::before {
    left: -22px;
    top: 50%;
    font-size: clamp(190px, 72vw, 320px);
  }
  .section-museum::before,
  .section-showcase::before {
    left: -28px;
    top: 44%;
    font-size: clamp(170px, 64vw, 290px);
  }
  .section { padding: 72px 20px 62px; }
  .framework-page {
    min-height: calc(100vh - 76px);
    align-content: center;
  }
  .framework-page h2 {
    max-width: 100%;
    font-size: clamp(54px, 17vw, 82px);
    line-height: .9;
  }
  .section-museum,
  .section-showcase {
    min-height: auto;
    gap: 28px;
  }
  .section-museum h2,
  .section-showcase h2 {
    max-width: 330px;
  }
  .section-museum .artwork-carousel,
  .section-showcase .artwork-carousel {
    width: min(100%, 430px);
    margin: 8px auto 0;
  }
  .artwork-carousel {
    overflow: visible;
  }
  .hero { padding: 70px 22px 100px; gap: 60px; }
  .page-hero { min-height: auto; padding: 75px 22px 95px; gap: 55px; }
  .page-hero h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero h1 { font-size: clamp(50px, 15vw, 70px); }
  .hero h1 em { white-space: normal; }
  .hero-copy > p:not(.kicker) { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-brand-card { width: 88vw; }
  .hero-sticker { width: 115px; height: 115px; padding: 18px; left: 3%; bottom: 2%; }
  .hero-sticker span { font-size: 37px; }
  .hero-sticker small { font-size: 7px; }
  .shape-two { left: auto; right: 15px; top: 40%; }
  .brand-strip { justify-content: flex-start; }
  .portal-grid { grid-template-columns: 1fr; }
  .carousel-stage {
    position: relative;
    min-height: auto;
    display: block;
  }
  .carousel-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    font-size: 28px;
    transform: translateY(-50%);
    z-index: 5;
    box-shadow: 0 8px 24px rgba(39, 35, 48, .14);
  }
  .carousel-arrow:hover {
    transform: translateY(calc(-50% - 2px));
  }
  .carousel-prev {
    left: -10px;
  }
  .carousel-next {
    right: -10px;
  }
  .artwork-slide img {
    width: auto;
    max-width: 100%;
    max-height: 54vh;
    margin: 0 auto;
  }
  .artwork-slide.active::after {
    right: 5%;
    bottom: 5%;
    width: min(210px, 58%);
    opacity: .58;
  }
  .carousel-meta {
    margin-left: 52px;
  }
  .coming-soon {
    margin-top: 34px;
    color: rgba(39, 35, 48, .5);
    font-size: clamp(36px, 13vw, 58px);
  }
  .section-tag { margin-bottom: 35px; }
  h2 { font-size: 42px; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { min-height: 390px; padding: 32px; }
  .sector-card h3 { font-size: 27px; }
  .identity-image { height: 350px; border-radius: 40px; }
  .qr-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-placeholder { aspect-ratio: 5 / 4; }
  .award-row { grid-template-columns: 55px 1fr; padding: 22px 18px; gap: 15px; }
  .award-medal { width: 48px; height: 48px; }
  .award-row > span { display: none; }
  .qr-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; }
  .qr-card:nth-child(2) { transform: none; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 1100px) and (max-height: 480px) {
  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 8px 14px;
    padding: 64px 22px 12px;
    font-size: 15px;
  }
  .nav .language-toggle { align-self: center; justify-self: start; }
  .nav-initial { width: 28px; height: 28px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
