:root {
  --ink: #4d4446;
  --muted: #7b6d70;
  --paper: #fffafa;
  --soft: #f8edf0;
  --accent: #d88999;
  --accent-strong: #c96f82;
  --line: #eadde0;
  --white: #fff;
  --shadow: 0 20px 48px rgba(117, 73, 82, 0.14);
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Segoe UI", sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

body.is-menu-open,
body.is-loading {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--soft);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.splash__logo {
  display: grid;
  gap: 10px;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
  text-align: center;
}

.splash__logo small {
  color: var(--muted);
  font-family: "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slide-mask {
  display: inline-block;
  overflow: hidden;
}

.slide-mask span {
  display: inline-block;
  animation: slideMaskText 1.1s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.splash-panel {
  position: fixed;
  top: 0;
  z-index: 90;
  width: 50vw;
  height: 100vh;
  background: var(--accent);
  pointer-events: none;
  transform: scaleX(0);
}

.splash-panel--left {
  left: 0;
  transform-origin: left center;
}

.splash-panel--right {
  right: 0;
  transform-origin: right center;
}

body.is-ready .splash-panel--left,
body.is-ready .splash-panel--right {
  animation: splitPanel 1.05s cubic-bezier(0.68, 0, 0.26, 1) both;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(18px, 4vw, 48px);
  color: var(--ink);
  transition: background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 250, 0.9);
  box-shadow: 0 10px 28px rgba(117, 73, 82, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
}

.global-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.global-nav a {
  position: relative;
  padding: 8px 0;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span:not(.visually-hidden) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 7px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button.is-active span:nth-child(1) {
  transform: translateY(4.5px) rotate(35deg);
}

.menu-button.is-active span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-35deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(255, 250, 250, 0.82), rgba(255, 250, 250, 0.2) 46%, rgba(255, 250, 250, 0.04));
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero.png");
  background-position: center;
  background-size: cover;
  transform: translateY(var(--hero-shift, 0px)) scale(var(--hero-scale, 1.04));
  transition: transform 0.12s linear;
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(720px, 100%);
  padding: 8vh clamp(24px, 8vw, 96px);
}

.hero__lead {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.glow-text .char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.25em);
}

body.is-ready .glow-text .char {
  animation: glowIn 0.8s ease both;
  animation-delay: var(--delay);
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: 34px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scroll-cue::after {
  width: 1px;
  height: 62px;
  content: "";
  background: currentColor;
  transform-origin: top;
  animation: scrollLine 1.6s ease-in-out infinite;
}

.lead-section,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(20px, 7vw, 96px);
}

.lead-section__image img,
.contact-band__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-section__body,
.contact-band__body {
  max-width: 620px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide-title {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transform: translateX(-16px);
  transition: clip-path 0.8s cubic-bezier(0.2, 0.9, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.9, 0.2, 1);
  vertical-align: top;
}

.text-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 8px 4px;
  color: var(--accent-strong);
  font-weight: 800;
}

.text-button::before,
.text-button::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 0.26s ease;
}

.text-button::before {
  top: 0;
  transform-origin: left;
}

.text-button::after {
  bottom: 0;
  transform-origin: right;
}

.text-button:hover::before,
.text-button:focus-visible::before {
  transform: scaleX(0.2);
}

.text-button:hover::after,
.text-button:focus-visible::after {
  transform: scaleX(0.2);
}

.menu-section,
.journal-section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 7vw, 96px);
}

.menu-section {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.menu-slider {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
}

.menu-track {
  display: flex;
  gap: 22px;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform;
}

.menu-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(117, 73, 82, 0.08);
}

.menu-card figure {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 22px 22px 0;
}

.menu-card img {
  width: min(250px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.menu-card:hover img {
  transform: scale(1.06) rotate(1deg);
}

.menu-card__body {
  padding: 22px;
}

.menu-card__body p {
  color: var(--muted);
  font-size: 0.94rem;
}

.menu-card__body span {
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.slider-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.slider-arrow {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: var(--accent);
  transform: translateY(-2px);
}

.slider-arrow::before {
  position: absolute;
  inset: 15px 14px;
  content: "";
  border-top: 2px solid var(--accent-strong);
  border-left: 2px solid var(--accent-strong);
}

.slider-arrow:hover::before,
.slider-arrow:focus-visible::before {
  border-color: var(--white);
}

.slider-arrow--prev::before {
  transform: rotate(-45deg);
}

.slider-arrow--next::before {
  transform: rotate(135deg);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dbc6cb;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--accent-strong);
}

.contact-band {
  background: linear-gradient(180deg, #fffafa, #fff);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.contact-list div {
  padding: 14px 16px;
  background: var(--soft);
  border-radius: 8px;
}

.contact-list dt {
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.contact-list dd {
  margin: 0;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.journal-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(117, 73, 82, 0.07);
}

.journal-card a {
  display: block;
}

.journal-card figure {
  margin: 0;
  overflow: hidden;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.journal-card:hover img {
  transform: scale(1.06);
}

.journal-card time,
.journal-card h3 {
  display: block;
  padding-right: 18px;
  padding-left: 18px;
}

.journal-card time {
  padding-top: 18px;
  color: var(--accent-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.journal-card h3 {
  padding-bottom: 20px;
}

.site-footer {
  padding: 62px 20px 80px;
  background: var(--soft);
  text-align: center;
}

.footer-copy {
  margin-bottom: 6px;
  color: var(--muted);
}

.footer-brand {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.site-footer address {
  margin-bottom: 20px;
  color: var(--muted);
  font-style: normal;
}

.page-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top::before {
  position: absolute;
  inset: 17px 15px;
  content: "";
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: rotate(45deg);
}

.reveal {
  opacity: 0;
  transition: opacity 0.78s ease, transform 0.78s ease, filter 0.78s ease;
}

.fade-in {
  transform: translateY(28px);
}

.zoom-out {
  transform: scale(1.08);
}

.reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

.slide-title-wrap.is-visible .slide-title,
.reveal.is-visible .slide-title,
body.is-ready .site-footer .slide-title {
  clip-path: inset(0);
  transform: translateX(0);
}

@keyframes slideMaskText {
  from {
    transform: translateX(-108%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes splitPanel {
  0% {
    transform: scaleX(0);
  }
  46% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

@keyframes glowIn {
  0% {
    opacity: 0;
    filter: blur(10px);
    text-shadow: 0 0 0 rgba(216, 137, 153, 0);
    transform: translateY(0.35em);
  }
  55% {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0 18px rgba(216, 137, 153, 0.42);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    text-shadow: none;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  46% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@media (max-width: 980px) {
  .lead-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-band__image {
    order: -1;
  }

  .menu-card {
    flex-basis: calc((100% - 22px) / 2);
  }

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

@media (max-width: 720px) {
  .menu-button {
    display: block;
  }

  .global-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 18px clamp(20px, 7vw, 44px);
    background: rgba(255, 250, 250, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-nav a {
    padding: 12px 0;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 250, 250, 0.86), rgba(255, 250, 250, 0.36));
  }

  .hero__content {
    align-self: end;
    padding-bottom: 18vh;
  }

  .lead-section,
  .contact-band,
  .menu-section,
  .journal-section {
    padding: 64px 20px;
  }

  .menu-card {
    flex-basis: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .glow-text .char,
  .slide-title {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

h1 span, h1 p, h2 span, h2 p { font-size: inherit; }

.hero h1 .glow-text { display: block; }
