:root {
  --ivory: #f7f1e8;
  --paper: #fffaf2;
  --ink: #17120e;
  --muted: #756a5f;
  --line: rgba(23, 18, 14, 0.18);
  --red: #9f1f25;
  --red-dark: #631116;
  --gold: #b99b70;
  --charcoal: #11100f;
  --shadow: 0 28px 70px rgba(20, 14, 10, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--paper);
  mix-blend-mode: difference;
}

.brand,
.nav-cta,
.site-nav a,
.section-label,
.event-side,
.journal-card span,
.kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
}

.site-nav a,
.nav-cta {
  padding: 8px 0;
}

.nav-cta {
  justify-self: end;
  border-bottom: 1px solid currentColor;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(380px, 1.35fr);
  align-items: stretch;
  background: var(--paper);
}

.hero-copy {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: clamp(84px, 9vw, 132px) clamp(22px, 5vw, 72px) clamp(28px, 5vw, 62px);
  border-right: 1px solid var(--line);
}

.kicker {
  justify-self: end;
  color: var(--muted);
}

h1 {
  align-self: center;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 88px);
  font-weight: 400;
  line-height: 0.82;
}

.hero-line {
  max-width: 260px;
  margin: 0 0 30px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.15;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.7), rgba(17, 16, 15, 0.06) 45%, rgba(17, 16, 15, 0.36)),
    radial-gradient(circle at 20% 20%, rgba(185, 155, 112, 0.26), transparent 34%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.vertical-note {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(22px, 4vw, 54px);
  writing-mode: vertical-rl;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.intro-band,
.join-section {
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 110px);
  padding: clamp(74px, 10vw, 132px) clamp(22px, 7vw, 104px);
  border-top: 1px solid var(--line);
}

.section-label {
  color: var(--red);
}

.intro-text {
  max-width: 820px;
}

.lead-ja {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(31px, 5vw, 70px);
  line-height: 1.25;
}

.intro-text p:not(.lead-ja),
.join-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.55vw, 18px);
}

.event-section {
  padding: clamp(34px, 7vw, 92px) clamp(18px, 6vw, 92px);
  background: var(--charcoal);
  color: var(--paper);
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid rgba(255, 250, 242, 0.22);
  background:
    linear-gradient(115deg, rgba(255, 250, 242, 0.98), rgba(247, 241, 232, 0.9)),
    var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.event-side {
  display: grid;
  place-items: center;
  writing-mode: vertical-rl;
  color: var(--red);
  border-right: 1px solid var(--line);
}

.event-main {
  padding: clamp(34px, 7vw, 82px);
  text-align: center;
}

.event-eyebrow {
  margin: 8px 0 0;
  color: var(--red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(15px, 2vw, 20px);
}

.event-main h2 {
  margin: 8px 0 6px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 6.4vw, 66px);
  font-weight: 400;
  line-height: 1.02;
}

.event-subtitle {
  margin: 0 auto 24px;
  color: var(--red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3vw, 34px);
}

.event-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  margin: 28px auto;
  color: var(--red);
}

.event-date::before,
.event-date::after {
  width: min(14vw, 120px);
  height: 1px;
  content: "";
  background: currentColor;
}

.event-date strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 9vw, 108px);
  font-weight: 400;
  line-height: 1;
}

.event-date span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 640px;
  margin: 0 auto 28px;
  padding: 1px;
  background: var(--line);
}

.event-details div {
  min-width: 0;
  padding: 16px 12px;
  background: var(--paper);
}

.event-details dt,
.event-details dd {
  margin: 0;
}

.event-details dt {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-details dd {
  overflow-wrap: anywhere;
  color: var(--red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 2vw, 22px);
}

.event-lead {
  max-width: 620px;
  margin: 4px auto 26px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
}

.event-schedule {
  display: grid;
  gap: 0;
  max-width: 520px;
  margin: 0 auto 26px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.event-schedule li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(14px, 1.6vw, 16px);
}

.event-schedule li span {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--red);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.event-note {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.event-apply {
  background: var(--red);
  color: var(--paper);
  border-color: var(--red);
}

.event-apply:hover,
.event-apply:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.journal-section {
  padding: clamp(76px, 10vw, 136px) clamp(18px, 6vw, 92px);
  background: var(--ivory);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading h2,
.join-copy h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(32px, 5.3vw, 76px);
  font-weight: 400;
  line-height: 1.18;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(240px, auto);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.journal-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
}

.journal-card h3 {
  max-width: 430px;
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(26px, 3.6vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

.photo-card {
  grid-row: span 2;
  min-height: 534px;
  justify-content: end;
  color: var(--paper);
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(17, 16, 15, 0.08), rgba(17, 16, 15, 0.78));
}

.photo-card > div {
  position: relative;
  z-index: 1;
}

.cream {
  background: var(--paper);
}

.dark {
  background: var(--charcoal);
  color: var(--paper);
}

.red {
  background: var(--red);
  color: var(--paper);
}

.join-section {
  background: var(--paper);
}

.join-copy {
  max-width: 780px;
}

.join-copy h2 {
  margin: 12px 0 24px;
}

.join-panel {
  align-self: stretch;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border: 1px solid var(--line);
  background: var(--charcoal);
  color: var(--paper);
}

.join-panel p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

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

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

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

  .hero-copy {
    min-height: 72svh;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  h1 {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(58px, 17vw, 116px);
  }

  .hero-visual {
    min-height: 62svh;
  }

  .intro-band,
  .join-section {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-side {
    min-height: 54px;
    writing-mode: horizontal-tb;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .event-details {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 12px;
  }

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

  .photo-card {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 16px;
  }

  .nav-cta {
    font-size: 10px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .event-date {
    gap: 10px;
  }

  .event-date::before,
  .event-date::after {
    width: 34px;
  }
}
