:root {
  --forest: #20392f;
  --forest-dark: #14251f;
  --cream: #f7f1e6;
  --paper: #fbf8f1;
  --wood: #9a6b45;
  --wine: #79313a;
  --ink: #263128;
  --muted: #6f766d;
  --line: #e2d8c8;
  --white: #ffffff;
  --shadow: 0 22px 68px rgba(35, 45, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 248, 241, 0.9);
  border-bottom: 1px solid rgba(226, 216, 200, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--forest);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.global-nav a {
  padding: 10px 12px;
  border-radius: 8px;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  background: var(--cream);
}

.global-nav .reserve-link {
  color: var(--white);
  background: var(--forest);
}

.global-nav .reserve-link:hover {
  background: var(--forest-dark);
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 70px);
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 37, 31, 0.78), rgba(20, 37, 31, 0.38) 54%, rgba(20, 37, 31, 0.12)),
    url("../images/hero-interior.webp") center/cover;
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--wood);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ead0a8;
}

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

h1,
h2,
.page-title {
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 1.02;
}

h2,
.page-title {
  margin-bottom: 18px;
  color: var(--forest-dark);
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.16;
}

h3 {
  margin-bottom: 10px;
  color: var(--forest-dark);
  font-size: 23px;
  line-height: 1.35;
}

.hero-copy,
.lead {
  font-size: clamp(16px, 2vw, 19px);
}

.lead {
  color: var(--muted);
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
}

.actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--forest);
  box-shadow: var(--shadow);
}

.hero .button.primary {
  color: var(--forest-dark);
  background: var(--cream);
}

.button.secondary {
  color: var(--forest);
  background: var(--cream);
  border: 1px solid var(--line);
}

.hero .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.section {
  padding: clamp(70px, 9vw, 118px) 0;
}

.section.alt {
  background: var(--cream);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.single {
  display: block;
  max-width: 820px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(35, 45, 36, 0.08);
  overflow: hidden;
}

.card-body {
  padding: clamp(22px, 3vw, 32px);
}

.feature-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
}

.feature-card span,
.menu-tag,
.price,
.gallery-label {
  color: var(--wine);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.split img,
.wide-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split img {
  aspect-ratio: 4 / 3;
}

.wide-image img {
  aspect-ratio: 16 / 7;
}

.page-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(44px, 6vw, 70px);
  background: var(--cream);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu-list {
  display: grid;
  gap: 18px;
}

.menu-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 16px;
}

.menu-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.price {
  display: inline-block;
  margin-top: 10px;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--forest-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.94;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--forest-dark);
  background: var(--cream);
  border-radius: 8px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-row dt {
  color: var(--forest);
  font-weight: 900;
}

.info-row dd {
  margin: 0;
  color: var(--muted);
}

.map-box {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 26px;
  color: var(--forest);
  background:
    linear-gradient(135deg, rgba(32, 57, 47, 0.1), rgba(121, 49, 58, 0.08)),
    var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.cta-band {
  margin: clamp(34px, 5vw, 72px) 0 0;
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  padding: 32px 0;
  color: var(--cream);
  background: var(--forest-dark);
}

/* Home only: photographs and a small sequence of words lead before any conversion action. */
.morioka-home .site-header {
  position: absolute;
  width: 100%;
  background: linear-gradient(180deg, rgba(16, 25, 20, 0.48), transparent);
  border-color: transparent;
  backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease;
}

.morioka-home .site-header.is-scrolled {
  position: fixed;
  background: rgba(251, 248, 241, 0.95);
  border-color: rgba(226, 216, 200, 0.85);
  backdrop-filter: blur(16px);
}

.morioka-home .site-header:not(.is-scrolled) .brand,
.morioka-home .site-header:not(.is-scrolled) .global-nav { color: var(--white); }
.morioka-home .site-header:not(.is-scrolled) .brand small { color: rgba(255, 255, 255, 0.74); }
.morioka-home .site-header:not(.is-scrolled) .global-nav a:hover,
.morioka-home .site-header:not(.is-scrolled) .global-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); }
.morioka-home .site-header:not(.is-scrolled) .global-nav .reserve-link { color: var(--forest-dark); background: var(--cream); }

.sequence-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(110px, 14vh, 160px) clamp(24px, 6vw, 86px) clamp(38px, 7vh, 76px);
  color: var(--white);
  background: var(--forest-dark);
}

.sequence-visuals,
.sequence-frame,
.sequence-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sequence-frame { margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.sequence-frame.is-current { opacity: 1; }
.sequence-frame::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(15, 29, 23, 0.64), rgba(15, 29, 23, 0.19) 56%, rgba(15, 29, 23, 0.34)); }
.sequence-frame img { object-fit: cover; object-position: center; }
.sequence-copy { position: relative; z-index: 1; max-width: 860px; font-family: Georgia, "Times New Roman", serif; }
.sequence-copy > p:not(.sequence-japanese):not(.sequence-est) { margin: 0; font-size: clamp(26px, 4.1vw, 61px); font-weight: 700; line-height: 1.02; letter-spacing: .035em; }
.sequence-copy h1 { margin: 0; color: var(--white); font-size: clamp(62px, 11.5vw, 168px); line-height: .84; letter-spacing: .015em; }
.sequence-japanese { margin: clamp(20px, 3vw, 36px) 0 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(21px, 3.4vw, 42px); line-height: 1.45; letter-spacing: .1em; }
.sequence-est { margin: 19px 0 0; color: rgba(255, 255, 255, .79); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.sequence-progress { position: absolute; z-index: 1; right: clamp(24px, 5vw, 72px); bottom: clamp(42px, 7vh, 78px); display: flex; gap: 9px; }
.sequence-progress span { display: block; width: 26px; height: 2px; background: rgba(255, 255, 255, .36); transition: background .3s ease, width .3s ease; }
.sequence-progress span.is-current { width: 56px; background: var(--cream); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .section-heading,
  .split,
  .page-hero .container,
  .grid-2,
  .grid-3,
  .menu-item {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(86vh - 76px);
  }

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

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item.large img,
  .gallery-item img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

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

  .morioka-home .site-header:not(.is-scrolled) .nav-toggle { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); }
  .morioka-home .site-header:not(.is-scrolled) .nav-toggle span { background: var(--white); }
  .morioka-home .site-header:not(.is-scrolled) .global-nav.is-open { color: var(--forest); }
  .sequence-hero { min-height: 720px; padding: 120px 24px 52px; }
  .sequence-frame::after { background: linear-gradient(180deg, rgba(15, 29, 23, 0.25), rgba(15, 29, 23, 0.68)); }
  .sequence-copy > p:not(.sequence-japanese):not(.sequence-est) { font-size: 30px; }
  .sequence-copy h1 { font-size: clamp(70px, 22vw, 110px); }
  .sequence-progress { right: 24px; bottom: 30px; }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 68px;
  }

  .global-nav {
    top: 68px;
  }

  .brand {
    font-size: 21px;
  }

  .button {
    width: 100%;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sequence-frame { transition: none; }
}
