:root {
  --ink: #1f1714;
  --text: #2e2722;
  --muted: #756961;
  --paper: #fffaf2;
  --paper-2: #f5eadf;
  --night: #12100f;
  --night-2: #211b18;
  --gold: #c9974a;
  --rose: #bd705d;
  --green: #607468;
  --line: rgba(46, 39, 34, 0.14);
  --line-dark: rgba(255, 250, 242, 0.16);
  --shadow: 0 28px 80px rgba(29, 21, 17, 0.28);
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --display: "Cinzel", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(96, 116, 104, 0.13), transparent 34%),
    linear-gradient(315deg, rgba(189, 112, 93, 0.14), transparent 40%),
    var(--paper);
  font-family: var(--serif);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: rgba(18, 16, 15, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  background: rgba(255, 250, 242, 0.1);
}

.mobile-action-bar {
  display: none;
}

main,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.72fr);
  gap: 30px;
  align-items: center;
  min-height: 760px;
  padding: 36px;
  margin: 24px 0 18px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(201, 151, 74, 0.15), transparent),
    var(--night);
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  font-weight: 800;
}

h1 span {
  font-size: 0.5em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.program-section p,
.story-section p,
.share-section p {
  line-height: 1.86;
}

.hero-copy p:not(.eyebrow) {
  max-width: 40rem;
  margin: 22px 0 0;
  color: rgba(255, 250, 242, 0.78);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #17110c;
  background: linear-gradient(135deg, var(--gold), #ffd985);
}

.button.ghost {
  border-color: rgba(255, 250, 242, 0.26);
  color: var(--paper);
  background: rgba(255, 250, 242, 0.07);
}

.hero-poster {
  margin: 0;
  justify-self: end;
}

.hero-poster img {
  width: min(100%, 470px);
  max-height: 690px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 74px;
  color: var(--paper);
  background: var(--line-dark);
}

.summary-strip article {
  padding: 24px;
  background: var(--night-2);
}

.summary-strip span {
  color: var(--gold);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 1.28rem;
}

.summary-strip p {
  margin: 9px 0 0;
  color: rgba(255, 250, 242, 0.68);
  line-height: 1.7;
}

.gallery-section,
.program-section,
.story-section,
.share-section {
  margin-bottom: 82px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 44rem;
  margin: 12px 0 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  margin: 0;
  background: #fff;
  box-shadow: 0 16px 42px rgba(34, 25, 19, 0.12);
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 640px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  cursor: zoom-in;
}

.gallery-item-large img {
  padding: 0;
  object-fit: cover;
  object-position: top center;
}

.gallery-item figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  color: var(--paper);
  background: rgba(18, 16, 15, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.88rem;
  font-weight: 800;
}

.program-section,
.story-section,
.share-section {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 42px;
  align-items: center;
  padding: 34px;
}

.program-section {
  background: #fff;
  border: 1px solid var(--line);
}

.program-section p {
  color: var(--muted);
}

.program-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.program-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.program-list dt,
.program-list dd {
  margin: 0;
}

.program-list dt {
  color: var(--muted);
  font-weight: 700;
}

.program-list dd {
  font-weight: 800;
}

.story-section,
.share-section {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(96, 116, 104, 0.22), transparent),
    var(--night);
}

.story-section figure {
  margin: 0;
  background: #fff;
}

.story-section img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  cursor: zoom-in;
}

.story-section p,
.share-section p {
  color: rgba(255, 250, 242, 0.72);
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.share-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.share-icon:hover,
.share-icon:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.share-icon img {
  width: 28px;
  height: 28px;
}

.x-icon {
  background: #000;
}

.facebook-icon {
  background: #0866ff;
}

.line-icon {
  background: #06c755;
}

.line-icon img {
  width: 32px;
  height: 32px;
}

.instagram-icon {
  background:
    radial-gradient(circle at 30% 105%, #fdf497 0 11%, #fdf49700 12%),
    radial-gradient(circle at 28% 88%, #fd5949 0 33%, #fd594900 34%),
    linear-gradient(135deg, #405de6, #833ab4 35%, #c13584 56%, #e1306c 74%, #fd1d1d);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px 84px;
  background: rgba(12, 10, 9, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.lightbox img {
  max-width: min(100%, 1200px);
  max-height: 82vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.lightbox figcaption {
  max-width: min(100%, 900px);
  color: rgba(255, 250, 242, 0.82);
  text-align: center;
  line-height: 1.6;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(18, 16, 15, 0.72);
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font: 400 2rem/1 Arial, sans-serif;
}

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  font: 400 2.4rem/1 Arial, sans-serif;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(201, 151, 74, 0.24);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .program-section,
  .story-section,
  .share-section {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero {
    min-height: 0;
  }

  .hero-poster {
    justify-self: center;
  }

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

@media (max-width: 700px) {
  html {
    scroll-padding-top: 110px;
  }

  body {
    padding-bottom: 74px;
  }

  main,
  .site-footer {
    width: min(100% - 18px, 1180px);
  }

  .site-header {
    padding: 10px 9px 8px;
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .site-nav {
    gap: 5px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .site-nav a {
    min-height: 34px;
    padding: 8px 11px;
    white-space: nowrap;
    font-size: 0.82rem;
    background: rgba(255, 250, 242, 0.07);
  }

  .mobile-action-bar {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 250, 242, 0.18);
    border-radius: 18px;
    background: rgba(18, 16, 15, 0.9);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    min-height: 52px;
    color: var(--paper);
    font-size: 0.82rem;
    font-weight: 800;
    background: rgba(255, 250, 242, 0.06);
  }

  .hero {
    gap: 22px;
    padding: 20px;
    margin-top: 9px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9.5vw, 2.55rem);
  }

  .hero-copy p:not(.eyebrow),
  .section-heading p,
  .program-section p,
  .story-section p,
  .share-section p {
    line-height: 1.76;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-poster img {
    width: 100%;
    max-height: 560px;
  }

  .summary-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .summary-strip,
  .gallery-section,
  .program-section,
  .story-section,
  .share-section {
    margin-bottom: 52px;
  }

  .summary-strip article {
    padding: 19px;
  }

  .gallery-item,
  .gallery-item-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .gallery-item-large {
    min-height: 560px;
  }

  .gallery-item img {
    padding: 12px;
  }

  .gallery-item-large img {
    object-fit: contain;
    padding: 0;
  }

  .program-section,
  .story-section,
  .share-section {
    padding: 20px;
  }

  .program-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .story-section figure {
    order: 2;
  }

  .share-links {
    justify-content: space-between;
    gap: 10px;
  }

  .share-icon {
    width: 58px;
    height: 58px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 26px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox img {
    max-height: 78vh;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    transform: none;
  }
}
