.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  padding-block: clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: -20%;
  right: -8%;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(92, 39, 127, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  width: min(calc(100% - 64px), var(--max-width));
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  grid-template-areas:
    "logo logo"
    "copy image"
    "actions image";
  align-items: center;
  gap: 28px 72px;
  margin-inline: auto;
}

.hero-top-logo {
  display: grid;
  grid-area: logo;
  justify-items: center;
  padding-bottom: clamp(10px, 2vw, 22px);
}

.hero-top-logo img {
  width: clamp(260px, 34vw, 420px);
  height: auto;
}

.hero-top-logo::after {
  width: 120px;
  height: 3px;
  margin-top: 18px;
  background: linear-gradient(
    90deg,
    var(--flower-purple) 0 33.333%,
    var(--flower-yellow) 33.333% 66.666%,
    var(--flower-salmon) 66.666% 100%
  );
  content: "";
}

.hero-copy {
  grid-area: copy;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--flower-purple);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero-date {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.02em;
}

.hero-place {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.admission-note {
  display: inline-block;
  margin-bottom: 0;
  padding: 7px 14px;
  border-left: 3px solid var(--flower-yellow);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  grid-area: image;
  margin: 0;
}

.hero-visual::after {
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border: 1px solid rgba(223, 128, 120, 0.58);
  content: "";
}

.hero-visual-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-visual-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.hero-visual img {
  width: 100%;
/*  max-height: min(68vh, 720px);*/
  aspect-ratio: 765 / 1080;
  background: #ffffff;
  object-fit: contain;
}

.poster-dialog {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  overflow: auto;
}

.poster-dialog::backdrop {
  background: rgba(20, 22, 18, 0.82);
}

.poster-dialog-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 1;
  min-width: 56px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid rgba(36, 37, 31, 0.3);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  cursor: pointer;
}

.poster-dialog-image {
  width: 100vw;
  max-width: 800px;
  height: auto;
  margin: 0 auto;  
  
}

.hero-actions {
  display: flex;
  grid-area: actions;
  flex-wrap: wrap;
  gap: 12px;
  align-self: start;
}

.section-introduction {
  background:
    linear-gradient(rgba(251, 250, 246, 0.55), rgba(251, 250, 246, 0.55)),
    url("../katen20260916.jpg") center 58% / contain  no-repeat;
  text-align: center;
}

.introduction-copy {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 2;
}

.introduction-copy p {
  margin-bottom: 28px;
}

.introduction-copy p:last-child {
  margin-bottom: 0;
}

.overview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
}

.overview-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 24px 18px;
  border-bottom: 1px solid var(--line);
}

.overview-list > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.overview-list dt {
  color: var(--green);
  font-weight: 700;
}

.overview-list dd {
  margin: 0;
}

.free-entry-callout {
  margin: 36px 0 0;
  padding: 18px 22px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 700;
  text-align: center;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.highlight-card {
  position: relative;
  min-height: 320px;
  padding: 38px 32px;
  border-top: 3px solid var(--ink);
  background: var(--white);
}

.highlight-card:nth-child(1) {
  border-top-color: var(--flower-purple);
}

.highlight-card:nth-child(2) {
  border-top-color: var(--flower-yellow);
}

.highlight-card:nth-child(3) {
  border-top-color: var(--flower-salmon);
}

.highlight-number {
  display: block;
  margin-bottom: 52px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
}

.highlight-card:nth-child(1) .highlight-number {
  color: var(--flower-purple);
}

.highlight-card:nth-child(2) .highlight-number {
  color: var(--flower-yellow-ink);
}

.highlight-card:nth-child(3) .highlight-number {
  color: #b85852;
}

.section-introduction .section-kicker,
.section-faq .section-kicker {
  color: var(--flower-purple);
}

.section-overview .section-kicker,
.section-access .section-kicker {
  color: #b85852;
}

.section-highlights .section-kicker {
  color: var(--flower-yellow-ink);
}

.highlight-card h3 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
}

.highlight-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-special-event {
  color: #f7f5ef;
  background: var(--green-dark);
}

.special-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(48px, 8vw, 100px);
}

.special-intro h2 {
  margin-bottom: 32px;
}

.special-intro > p:not(.section-kicker) {
  max-width: 600px;
  color: #dedfd8;
}

.special-intro .special-lead {
  color: var(--white) !important;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.special-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(108px, 12vw, 150px);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  margin-top: 32px;
}

.special-profile + .special-profile {
  margin-top: 36px;
}

.special-profile-name {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
}

.special-profile-copy p {
  margin: 0;
  color: #dedfd8;
}

.special-profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.special-details {
  padding: 36px;
  color: var(--ink);
  background: var(--paper);
  border-top: 3px solid var(--flower-salmon);
}

.special-details dl {
  margin: 0 0 28px;
}

.special-details dl > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}

.special-details dt {
  color: var(--green);
  font-weight: 700;
}

.special-details dd {
  margin: 0;
}

.seat-note {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-special-event .section-kicker {
  color: var(--flower-yellow);
}

.access-card {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.access-place {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.access-card address {
  margin-bottom: 28px;
  font-style: normal;
}

.access-map {
  width: 100%;
  margin-inline: auto;
  text-align: left;
}

.access-map__label {
  margin-bottom: 8px;
  color: var(--flower-purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.access-map__canvas {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--base);
}

.access-map__actions {
  margin-top: 12px;
  text-align: center;
}

.access-map__open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--flower-purple);
  color: var(--flower-purple);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.access-map__open-link:hover,
.access-map__open-link:focus-visible {
  background: var(--flower-purple);
  color: var(--white);
}

.access-map__info {
  min-width: 220px;
  max-width: 280px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--text);
  font-size: 0.75rem;
  line-height: 1.6;
}

.access-map__info-title {
  display: block;
  margin-bottom: 4px;
  color: var(--flower-purple);
  font-size: 0.82rem;
  font-weight: 700;
}

.access-map__info-row {
  margin-top: 2px;
}

.access-map__info-link-wrap {
  margin-top: 8px;
}

.access-map__info-link-wrap a {
  color: var(--flower-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 8px 24px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--green);
}

.faq-toggle {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding-bottom: 24px;
}

.faq-answer p {
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: var(--muted);
}

.footer-url {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-inner {
    gap: 32px 42px;
  }

  .overview-list {
    grid-template-columns: 1fr;
  }

  .overview-list > div:nth-child(odd) {
    border-right: 0;
  }

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

@media (max-width: 800px) {
  .hero {
    min-height: 0;
    padding-top: 54px;
  }

  .hero-inner {
    width: min(calc(100% - 40px), var(--max-width));
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "copy"
      "image"
      "actions";
  }

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

  .hero-visual {
    width: min(100%, 560px);
    margin-top: 10px;
  }

  .hero-visual img {
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .hero-actions {
    display: grid;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    min-height: 0;
  }

  .highlight-number {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .hero-actions .button {
    width: 100%;
  }

  .overview-list > div,
  .special-details dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .special-details,
  .highlight-card {
    padding: 28px 22px;
  }

  .access-card {
    padding: 28px 20px;
  }

  .access-map__canvas {
    height: 280px;
  }
}

.section-past-gallery {
  overflow-x: clip;
}

.section-past-gallery .section-kicker {
  color: var(--flower-purple);
}

.past-gallery-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 3vw, 36px);
  margin-bottom: clamp(52px, 8vw, 96px);
}

.past-gallery-event {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(36, 37, 31, 0.08);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.past-gallery-event--first,
.past-gallery-event--second {
    max-width: 400px;
    margin: 0 auto;	
  grid-column: auto;
}

.past-gallery-event:hover {
  transform: translateY(-4px);
}

.past-gallery-event.is-active,
.past-gallery-event[aria-selected="true"] {
  border: 3px solid var(--green);
  background: #f7faf5;
  box-shadow: 0 18px 42px rgba(44, 85, 56, 0.18);
}

.past-gallery-event:focus-visible,
.past-gallery-item:focus-visible,
.past-gallery-dialog button:focus-visible {
  outline: 3px solid var(--flower-yellow);
  outline-offset: 4px;
}

.past-gallery-event-image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--base);
}

.past-gallery-event-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.past-gallery-event-body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 7px;
  min-height: clamp(142px, 15vw, 175px);
  padding: clamp(18px, 3vw, 30px);
}

.past-gallery-event-number {
  color: var(--flower-purple);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.past-gallery-event-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.45;
}

.past-gallery-event-venue {
  color: var(--muted);
  font-size: 0.9rem;
}

.past-gallery-count {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: right;
}

.past-gallery-panel {
  min-height: 1px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.past-gallery-panel-title {
  margin: 0 0 clamp(22px, 4vw, 36px);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.past-gallery-grid {
  column-count: 3;
  column-gap: clamp(12px, 2vw, 20px);
}

.past-gallery-item {
  display: block;
  width: 100%;
  margin: 0 0 clamp(12px, 2vw, 20px);
  padding: 0;
  break-inside: avoid;
  overflow: hidden;
  border: 0;
  background: var(--white);
  box-shadow: 0 7px 20px rgba(36, 37, 31, 0.1);
  cursor: zoom-in;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.past-gallery-item:hover {
  box-shadow: 0 12px 28px rgba(36, 37, 31, 0.17);
  transform: translateY(-3px);
}

.past-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.past-gallery-dialog {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 2vw, 24px);
  border: 0;
  color: var(--white);
  background: rgba(14, 16, 14, 0.97);
  overflow: hidden;
}

.past-gallery-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
}

.past-gallery-dialog::backdrop {
  background: rgba(8, 10, 8, 0.9);
}

.past-gallery-dialog-topbar {
  display: flex;
  justify-content: flex-end;
}

.past-gallery-dialog-close,
.past-gallery-dialog-nav {
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  cursor: pointer;
}

.past-gallery-dialog-close:hover,
.past-gallery-dialog-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.past-gallery-dialog-stage {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.past-gallery-dialog-image {
  display: block;
  width: auto;
  max-width: min(92vw, 1400px);
  height: auto;
  max-height: 78vh;
  max-height: min(78dvh, calc(100dvh - 170px));
  object-fit: contain;
}

.past-gallery-dialog-controls {
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-inline: auto;
}

.past-gallery-dialog-meta {
  min-width: 0;
  text-align: center;
}

.past-gallery-dialog-title,
.past-gallery-dialog-count {
  margin: 0;
}

.past-gallery-dialog-title {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2vw, 1.12rem);
  line-height: 1.4;
}

.past-gallery-dialog-count {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

@media (max-width: 800px) {
  .past-gallery-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .past-gallery-event--first,
  .past-gallery-event--second {
    grid-column: auto;
    margin-top: 0;
  }

  .past-gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  .past-gallery-selector {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .past-gallery-dialog {
    padding: 10px;
  }

  .past-gallery-dialog-image {
    max-width: 96vw;
    max-height: 68vh;
    max-height: min(68dvh, calc(100dvh - 210px));
  }

  .past-gallery-dialog-controls {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .past-gallery-dialog-meta {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .past-gallery-dialog-nav {
    grid-row: 2;
  }
}

@media (max-width: 380px) {
  .past-gallery-grid {
    column-count: 1;
  }
}
