/*
Theme Name: House of Art Academy
Theme URI: https://hofa.academy
Author: HOFA
Description: Λιτό marketing theme. Χωρίς page builder.
Version: 0.5.3
Text Domain: hofa
*/

:root {
  --bg: #ffffff;
  --bg-2: #f6f6f8;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --border: rgba(24, 24, 27, 0.14);
  --border-soft: rgba(24, 24, 27, 0.08);
  --text: #18181b;
  --text-dim: #52525b;
  --text-faint: #71717a;
  --primary: #ec297b;
  --primary-600: #d11f6c;
  --primary-soft: rgba(236, 41, 123, 0.12);
  --on-primary: #ffffff;
  --topbar-bg: rgba(255, 255, 255, 0.88);
  --star: #fbbc04;
  --link-google: #1a73e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-locked {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

main {
  flex: 1;
}

.wrap {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.wrap--wide {
  max-width: 80rem;
}

.wrap--prose {
  max-width: 48rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border-soft);
  background: var(--topbar-bg);
  backdrop-filter: blur(24px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.5rem max(0.75rem, env(safe-area-inset-right)) 0.5rem max(0.75rem, env(safe-area-inset-left));
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.site-header__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 0.5rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  margin-right: -0.35rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.05);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.site-header.is-nav-open .nav-toggle__bars {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .brand img {
    width: 75px;
    height: 75px;
  }
}

.brand__text {
  display: block;
  line-height: 1.2;
}

.brand__name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.site-nav {
  flex: 1;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.site-nav a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current-menu-parent > a {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 500;
}

.btn {
  display: inline-block;
  border-radius: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-weight: 500;
  border: 0;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--primary:hover {
  background: var(--primary-600);
}

.btn--ghost {
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

.btn--on-dark {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--nav {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

@media (max-width: 1023px) {
  .nav-toggle {
    order: 2;
  }

  .site-header__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    height: calc(100vh - 100%);
    height: calc(100dvh - 100%);
    overflow-y: auto;
    padding: 0.5rem max(0.75rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    border-bottom: 0;
    background: var(--bg);
  }

  .site-header.is-nav-open .site-header__panel {
    display: flex;
  }

  .site-nav {
    flex: none;
    width: 100%;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0.75rem;
  }

  .btn--nav {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
  min-height: min(70svh, 36rem);
}

.hero__media {
  display: block;
  width: 100%;
  height: auto;
  min-height: min(70svh, 36rem);
  object-fit: cover;
}

.hero__media--cover {
  min-height: min(70vh, 40rem);
}

.hero__shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.2));
}

.hero__shade--strong {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
}

.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__inner {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 4.5rem 1rem 3rem;
}

@media (min-width: 640px) {
  .hero__inner {
    padding: 7rem 1rem 4rem;
  }
}

.hero__inner--compact {
  padding-bottom: 3rem;
  padding-top: 6rem;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__lead,
.hero__crumb {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__crumb {
  margin-top: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero__crumb a:hover {
  text-decoration: underline;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 379px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
  }
}

.eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.page-title {
  margin: 0;
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lead,
.lead p,
.prose p {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 1.125rem;
}

.section {
  padding: 2.5rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 4rem 0;
  }
}

.section--tight {
  padding: 2.5rem 0;
}

.pillars {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: block;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.05);
}

.card:hover {
  border-color: var(--primary);
}

.card h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  display: block;
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.media-card__body {
  padding: 1.5rem;
}

.media-card h2 {
  font-size: 1.5rem;
}

.media-card .audience {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--primary);
}

.media-card .preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.75rem;
  font-size: 1rem;
}

.media-card .more {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.media-card:hover .more {
  text-decoration: underline;
}

.dept-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.dept-list .media-card--break {
  position: relative;
  margin-top: 3rem;
}

.dept-list .media-card--break::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.75rem;
  border-top: 1px solid var(--border-soft);
}

@media (min-width: 720px) {
  .media-card--row {
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) 1fr;
    align-items: stretch;
  }

  .media-card--row img {
    width: 100%;
    height: 100%;
    min-height: 14rem;
  }

  .media-card--row .media-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .media-card--row .preview {
    -webkit-line-clamp: 4;
  }
}

.cards-2 {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .cards-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cards-3 {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-3 .media-card img {
  height: 9rem;
}

.join-aside {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  background: var(--bg-2);
}

.join-aside h2 {
  margin: 0;
  font-size: 1.25rem;
}

.join-aside p {
  margin: 0.5rem 0 0;
  color: var(--text-dim);
}

.join-aside .btn {
  margin-top: 1rem;
}

.prose {
  max-width: 48rem;
  margin: 0 auto;
  padding: 5rem 1rem;
}

.prose h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.prose h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.prose ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.prose .meta {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-faint);
}

.part {
  border-top: 1px solid var(--border-soft);
}

.part--alt {
  background: var(--bg-2);
}

.part__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .part__inner {
    grid-template-columns: 1fr 1fr;
  }

  .part--flip .part__media {
    order: 2;
  }
}

.part__media {
  width: 100%;
  height: 18rem;
  border-radius: 1rem;
  object-fit: cover;
}

.part h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.part p {
  margin: 0.75rem 0 0;
  color: var(--text-dim);
}

.gnoriste {
  position: relative;
  isolation: isolate;
  min-height: min(100vh, 66rem);
  min-height: min(100dvh, 66rem);
  overflow: hidden;
  background: #000;
}

@media (min-width: 640px) {
  .gnoriste {
    min-height: min(127.5vh, 66rem);
  }
}

.gnoriste__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.gnoriste__bg.is-active {
  opacity: 1;
}

.gnoriste__bg.is-top {
  object-position: top;
}

.gnoriste__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.55);
}

.gnoriste.is-bottom .gnoriste__shade {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2));
}

.gnoriste__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  max-width: 48rem;
  margin: 0 auto;
  padding: 5rem 1rem;
  text-align: center;
  color: #fff;
}

.gnoriste.is-bottom .gnoriste__copy {
  justify-content: flex-end;
  padding-bottom: 5rem;
}

.gnoriste__icon {
  width: 2rem;
  height: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.gnoriste__kicker {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
}

.gnoriste__title {
  margin: 1rem 0 0;
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gnoriste__body {
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.gnoriste__next {
  margin-top: 2.5rem;
  padding: 0.65rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.gnoriste__next:hover {
  background: rgba(255, 255, 255, 0.1);
}

.space-gallery {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem 5rem;
}

.space-gallery h2 {
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.masonry {
  column-count: 2;
  column-gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .masonry {
    column-count: 3;
  }
}

.masonry--wide {
  column-count: 2;
  column-gap: 0.75rem;
  margin-top: 0;
  padding: 0 0.5rem 2rem;
}

@media (min-width: 640px) {
  .masonry--wide {
    column-count: 3;
  }
}

@media (min-width: 768px) {
  .masonry--wide {
    column-count: 4;
  }
}

@media (min-width: 1024px) {
  .masonry--wide {
    column-count: 5;
  }
}

.masonry button,
.masonry a {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  border: 0;
  padding: 0;
  background: none;
  break-inside: avoid;
  cursor: pointer;
}

.masonry img,
.masonry video {
  width: 100%;
  border-radius: 0.75rem;
  transition: opacity 0.2s;
}

.masonry button:hover img,
.masonry a:hover img {
  opacity: 0.8;
}

.gallery-title {
  margin: 0;
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.gallery-sentinel {
  min-height: 2rem;
  padding: 1.5rem 1rem 3rem;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.875rem;
}

.empty {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  color: var(--text-dim);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__panel {
  position: relative;
  width: 100%;
  max-width: 64rem;
  max-height: 100%;
  overflow: auto;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  margin: 2rem auto 0;
}

.lightbox h2,
.lightbox h3 {
  margin: 1rem 0 0;
}

.lightbox p {
  color: var(--text-dim);
}

.reviews-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

@media (max-width: 479px) {
  .reviews-proof {
    flex-direction: column;
    gap: 1rem;
  }
}

.reviews-proof span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.reviews-proof strong {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}

.review-block {
  margin-top: 4rem;
}

.review-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.review-head__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
}

.review-head p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.review-head a {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--primary);
}

.review-head a:hover {
  text-decoration: underline;
}

.review-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .review-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card {
  padding: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.08);
}

.review-card header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.review-card .name {
  margin: 0;
  font-weight: 600;
}

.review-card .source {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-faint);
}

.review-card .source a {
  color: var(--link-google);
}

.stars {
  display: flex;
  gap: 0.125rem;
  margin: 0.75rem 0 0;
  color: var(--star);
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.review-quote {
  margin-top: 0.75rem;
}

.review-quote p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
}

.review-quote p.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-quote button {
  margin-top: 0.25rem;
  border: 0;
  padding: 0;
  background: none;
  color: var(--text-faint);
  font-size: 0.875rem;
  cursor: pointer;
}

.review-quote button:hover {
  color: var(--primary);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-grid h2 {
  margin: 0;
  font-size: 1.25rem;
}

.contact-grid h3 {
  margin: 2rem 0 0;
}

.contact-grid ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-grid li {
  margin: 0.25rem 0;
}

.contact-grid .muted {
  color: var(--text-faint);
}

.contact-grid a.accent,
.contact-links a {
  color: var(--primary);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.map {
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
}

.map iframe {
  display: block;
  width: 100%;
  height: 20rem;
  border: 0;
}

.form {
  position: relative;
}

.form__trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form label {
  display: block;
  margin: 1rem 0 0.35rem;
  font-size: 0.875rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface-2);
  color: var(--text);
}

.form button {
  margin-top: 1rem;
}

.notice {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--primary-soft);
}

.notice--ok {
  background: #ecfdf3;
  color: #166534;
}

.museums {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
  padding: 3rem 0;
}

.museums h2 {
  margin: 0;
  padding: 0 1rem;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
}

.museums-marquee {
  overflow: hidden;
  margin-top: 2rem;
}

.museums-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: museums-scroll 40s linear infinite;
}

.museums-marquee:hover .museums-track {
  animation-play-state: paused;
}

.museums-track li {
  flex-shrink: 0;
  padding: 0 1.5rem;
  list-style: none;
}

.museums-track img {
  height: 3.5rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
  opacity: 0.8;
}

.museums-track a:hover img {
  opacity: 1;
}

@keyframes museums-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .museums-track {
    animation: none;
  }
}

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
}

.site-footer__inner {
  display: grid;
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer .brand-name {
  margin: 0;
  font-weight: 600;
}

.site-footer .tagline {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.site-footer nav,
.site-footer nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.site-footer nav a {
  color: var(--text-dim);
}

.site-footer nav a:hover {
  color: var(--text);
}

.site-footer address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.site-footer address a {
  display: block;
  margin-top: 0.25rem;
  color: var(--primary);
}

.gallery-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 2.5rem 1rem 1.5rem;
}

.gallery-head .gallery-title {
  grid-column: 2;
  justify-self: center;
  padding: 0;
}

.gallery-head .btn {
  grid-column: 3;
  justify-self: end;
}

@media (max-width: 639px) {
  .gallery-head {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .gallery-head .gallery-title,
  .gallery-head .btn {
    grid-column: auto;
    justify-self: center;
  }
}

.exhibit-cards {
  padding: 0 1rem 3rem;
}

.exhibit-hero {
  position: relative;
  padding: 4.5rem 1rem 3.5rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(24, 24, 27, 0.35), rgba(24, 24, 27, 0.72)),
    var(--exhibit-cover, none) center / cover no-repeat,
    #18181b;
}

.exhibit-hero__inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.exhibit-hero .eyebrow,
.exhibit-hero .eyebrow a {
  color: rgba(255, 255, 255, 0.78);
}

.exhibit-hero .eyebrow a:hover {
  color: #fff;
}

.exhibit-hero h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.exhibit-hero__lead {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.exhibit-hero__lead p {
  margin: 0 0 0.75rem;
}

.exhibit-hero__lead p:last-child {
  margin-bottom: 0;
}

.exhibit-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem 1rem;
}

.exhibit-tabs button {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.exhibit-tabs button:hover {
  border-color: var(--primary);
}

.exhibit-tabs button[aria-selected="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

body.is-promo-open {
  overflow: hidden;
}

.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
}

.promo-popup__dialog {
  position: relative;
  width: min(660px, calc(100vw - 2rem), calc(100dvh - 2rem));
}

.promo-popup__link {
  display: block;
}

.promo-popup img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0.35rem;
}

.promo-popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.promo-popup__close:hover {
  background: var(--bg-2);
}

.cookie-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.cookie-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.85rem 1rem;
}

.cookie-bar p {
  margin: 0;
  flex: 1 1 16rem;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.45;
}

.cookie-bar a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-bar a:hover {
  color: var(--primary);
}

.cookie-bar .btn {
  flex: 0 0 auto;
}
