:root {
  --ink: #2f2722;
  --muted: #695f56;
  --paper: #fffaf2;
  --soft: #f4efe6;
  --sage: #71856a;
  --sage-deep: #405a46;
  --clay: #b9674f;
  --rose: #d8a39b;
  --cream: #fff6dc;
  --line: rgba(47, 39, 34, 0.16);
  --shadow: 0 18px 50px rgba(58, 43, 32, 0.18);
  --hero-image: url("../assets/images/hero-cafe-komorebi-clean.png");
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf2 0%, #f3f6ee 46%, #fffaf2 100%);
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", system-ui, sans-serif;
  line-height: 1.8;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: #fff;
  background: var(--sage-deep);
  clip: auto;
  border-radius: 6px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 54px);
  color: #fff;
  background: linear-gradient(180deg, rgba(35, 27, 22, 0.54), rgba(35, 27, 22, 0));
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 10px 28px rgba(47, 39, 34, 0.10);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.brand-name,
.brand-copy {
  display: block;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  margin-top: -3px;
  font-size: 0.72rem;
  opacity: 0.82;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled .site-nav a,
.site-header.is-open .site-nav a {
  text-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid currentColor;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 118px clamp(20px, 6vw, 80px) 78px;
  color: #fff;
  background-image:
    linear-gradient(100deg, rgba(39, 28, 22, 0.78) 0%, rgba(66, 45, 32, 0.56) 38%, rgba(57, 45, 36, 0.25) 68%, rgba(57, 45, 36, 0.45) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(47, 39, 34, 0.46), rgba(47, 39, 34, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f9cf9d;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 6.6rem);
  line-height: 1.04;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.34);
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.52rem);
  font-weight: 700;
  line-height: 1.85;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42);
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 28px;
}

.hero-info p,
.hero-notice {
  margin: 0;
  padding: 14px 16px;
  background: rgba(32, 24, 18, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero-info span {
  display: block;
  color: #ffe7bf;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-info strong {
  display: block;
  margin-top: 2px;
  font-size: 1.04rem;
}

.hero-notice {
  max-width: 680px;
  margin-top: 14px;
  background: rgba(119, 49, 36, 0.74);
}

.hero-notice span {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 8px;
  color: #582a20;
  background: #ffe2b7;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-notice strong,
.hero-notice p {
  display: block;
  margin: 0;
}

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

.hero-actions {
  margin-top: 26px;
}

.hero-socials {
  margin-top: 18px;
}

.hero-socials a {
  color: #fff8e8;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero-menu-link {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 5vw, 60px);
  bottom: 26px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.hero-menu-link::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 8px auto 0;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 39, 34, 0.18);
}

.button-primary {
  color: #fff;
  background: var(--sage-deep);
  border-color: rgba(255, 255, 255, 0.22);
}

.button-light {
  color: #3a2a22;
  background: #fff3d1;
}

.button-ghost {
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
  border-color: currentColor;
}

.section {
  padding: clamp(66px, 9vw, 112px) clamp(20px, 6vw, 80px);
}

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

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.25;
  letter-spacing: 0;
}

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

.concept-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  background: #fffaf2;
}

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

.concept-notes article,
.menu-card,
.notice-card,
.special-card,
.shop-info,
.access-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(47, 39, 34, 0.08);
}

.concept-notes article {
  padding: 22px 18px;
}

.concept-notes span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  color: #fff;
  background: var(--sage);
  border-radius: 8px;
  font-weight: 800;
}

.concept-notes h3,
.menu-card h4,
.notice-card h3,
.hours-layout h3,
.access-panel h3 {
  margin: 0 0 8px;
  line-height: 1.35;
}

.concept-notes p,
.menu-card p,
.notice-card p {
  margin: 0;
}

.menu-section {
  background:
    radial-gradient(circle at top left, rgba(216, 163, 155, 0.22), transparent 34%),
    #f5f8ee;
}

.status-message {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 14px 16px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-message:empty {
  display: none;
}

.menu-categories {
  display: grid;
  gap: 42px;
}

.menu-category {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.menu-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 1.32rem;
}

.menu-category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

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

.menu-card {
  position: relative;
  overflow: hidden;
}

.menu-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e4ead8, #f7d7c9);
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--sage-deep);
  font-weight: 800;
}

.menu-card-body {
  padding: 18px;
}

.menu-card h4 {
  padding-right: 60px;
  font-size: 1.14rem;
}

.menu-description {
  min-height: 4.8em;
}

.menu-price {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 800;
}

.menu-price span {
  margin-left: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.menu-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  color: #fff;
  background: var(--clay);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.badge.sold-out {
  background: #5d5149;
}

.menu-card.is-sold-out img {
  filter: grayscale(0.78);
  opacity: 0.64;
}

.notices-section {
  background: #fffaf2;
}

.notice-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.notice-card {
  padding: 18px 20px;
}

.notice-card.is-strong {
  border-color: rgba(185, 103, 79, 0.46);
  background: #fff3e4;
}

.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hours-section {
  background:
    linear-gradient(180deg, rgba(113, 133, 106, 0.12), rgba(113, 133, 106, 0)),
    #f4efe6;
}

.hours-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.hours-table-wrap,
.special-days {
  padding: 24px;
  background: rgba(255, 250, 242, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hours-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hours-list div,
.shop-info div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(47, 39, 34, 0.18);
}

.hours-list div:last-child,
.shop-info div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--sage-deep);
  font-weight: 800;
}

dd {
  margin: 0;
}

.special-days {
  display: grid;
  align-content: start;
  gap: 12px;
}

.special-card {
  padding: 14px 16px;
  box-shadow: none;
}

.special-card strong {
  display: block;
  margin-bottom: 3px;
}

.shop-section {
  background: #fffaf2;
}

.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.shop-info {
  margin: 0;
  padding: 22px 24px;
}

.shop-photo {
  overflow: hidden;
  border-radius: 8px;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.shop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access-section {
  background:
    radial-gradient(circle at top right, rgba(113, 133, 106, 0.22), transparent 30%),
    #f5f8ee;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.access-grid iframe {
  width: 100%;
  min-height: 390px;
  border: 0;
  border-radius: 8px;
  background: #e4ead8;
  box-shadow: var(--shadow);
}

.access-panel {
  align-self: stretch;
  padding: 24px;
}

.access-panel .button {
  margin-top: 12px;
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(64, 90, 70, 0.94), rgba(91, 67, 57, 0.92)),
    url("../assets/images/cinnamon-roll.png") center / cover;
}

.contact-section .eyebrow,
.contact-section p {
  color: #fff3d1;
}

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

.contact-actions {
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.small-note {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
}

.sample-note {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 12px 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
}

.site-footer {
  padding: 34px 20px;
  color: #fffaf2;
  background: #2f2722;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.empty-message {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 250, 242, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

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

  .site-nav a {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(47, 39, 34, 0.10);
    text-shadow: none;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: grid;
  }

  .hero-info,
  .concept-section,
  .hours-layout,
  .shop-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 100svh;
    padding: 100px 18px 62px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.25rem);
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .hero-menu-link {
    display: none;
  }

  .section {
    padding: 58px 18px;
  }

  .concept-notes,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-description {
    min-height: auto;
  }

  .hours-list div,
  .shop-info div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .shop-photo,
  .access-grid iframe {
    min-height: 280px;
  }
}
