:root {
  --bg: #100d0d;
  --panel: #1b1516;
  --panel-2: #26181d;
  --paper: #fff3d4;
  --ink: #f7ead4;
  --muted: #c6b49e;
  --red: #a91420;
  --red-2: #d12a3a;
  --gold: #c5a45b;
  --pink: #ad6a78;
  --green: #7dad8f;
  --line: rgba(255, 240, 210, .18);
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(169, 20, 32, .18), transparent 340px),
    radial-gradient(circle at 20% 10%, rgba(125, 173, 143, .15), transparent 260px),
    var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 13, 13, .88);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 120px;
  height: auto;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  font-size: 14px;
}

.site-nav a {
  color: var(--paper);
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 6vw, 72px) clamp(16px, 4vw, 48px) 38px;
}

.hero-simple {
  display: block;
  min-height: 42vh;
  background:
    linear-gradient(90deg, rgba(16, 13, 13, .96), rgba(16, 13, 13, .72)),
    url("/images/logo-generated.png") right 6vw center / min(46vw, 560px) auto no-repeat;
}

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 76px);
}

h2 {
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  color: var(--paper);
  font-size: 20px;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--red-2);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button.ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--gold);
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 86%);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 12px;
}

.carousel > * {
  scroll-snap-align: start;
}

.hero-carousel figure,
.image-carousel figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-carousel img,
.image-carousel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 46px clamp(16px, 4vw, 48px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.motto-grid,
.cast-grid,
.price-columns,
.contact-layout {
  display: grid;
  gap: 18px;
}

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

.motto article,
.price-panel,
.contact-box,
.article-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 243, 212, .06), rgba(0, 0, 0, .08)), var(--panel);
  box-shadow: var(--shadow);
}

.motto article {
  padding: 18px;
}

.motto p,
.price-panel p,
.article-card p,
.contact-box,
.single {
  color: var(--muted);
}

.image-carousel {
  grid-auto-columns: minmax(280px, 52%);
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  background: rgba(16, 13, 13, .75);
  color: var(--paper);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.cast-grid {
  grid-template-columns: repeat(5, minmax(170px, 1fr));
}

.cast-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.cast-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #160d10;
}

.cast-body {
  padding: 14px;
}

.cast-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cast-line span {
  flex: 0 0 auto;
  border: 1px solid rgba(125, 173, 143, .45);
  padding: 2px 7px;
  color: var(--green);
  font-size: 12px;
}

.meta {
  margin: 4px 0 8px;
  color: var(--gold);
  font-size: 13px;
}

.cast-body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.price-panel {
  padding: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  vertical-align: top;
}

th {
  color: var(--paper);
  font-weight: 600;
  text-align: left;
}

td {
  color: var(--gold);
  text-align: right;
  white-space: nowrap;
}

td span,
td small {
  display: block;
}

td small {
  max-width: 300px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  display: block;
  padding: 18px;
  text-decoration: none;
}

.article-card span {
  color: var(--pink);
  font-size: 13px;
}

.article-card h3,
.article-card h2 {
  margin: 6px 0 10px;
  font-family: inherit;
  font-size: 19px;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 700;
}

.contact-layout {
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
}

.contact-box {
  padding: 20px;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

dt {
  color: var(--gold);
  font-weight: 700;
}

dd {
  margin: 0;
}

.map {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.map img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-head,
.single {
  max-width: 900px;
  margin: 0 auto;
  padding: 54px clamp(16px, 4vw, 48px) 20px;
}

.page-head p,
.single header p {
  color: var(--muted);
}

.page-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.single h1 {
  font-size: clamp(32px, 5vw, 56px);
}

.prose {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.prose p {
  margin: 0 0 1.25em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0b0909;
}

.site-footer p {
  margin: 4px 0 0;
}

.fineprint {
  max-width: 420px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .contact-layout,
  .price-columns {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 104px;
  }

  .brand span {
    white-space: normal;
  }

  .site-nav {
    justify-content: flex-start;
    font-size: 13px;
  }

  .hero {
    padding-top: 22px;
  }

  .carousel,
  .image-carousel {
    grid-auto-columns: 88%;
  }

  .hero-simple {
    background:
      linear-gradient(180deg, rgba(16, 13, 13, .93), rgba(16, 13, 13, .83)),
      url("/images/logo-generated.png") right 16px bottom 12px / 210px auto no-repeat;
  }

  .motto-grid,
  .article-list,
  .page-list,
  .cast-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
  }
}
