:root {
  --bg: #f8f4ed;
  --paper: #fffdf9;
  --ink: #2b2b2b;
  --muted: #6f6a63;

  --accent: #2b8fdc;
  --accent-dark: #1f6fb2;
  --accent-soft: rgba(43, 143, 220, 0.08);

  --green: #4f7b57;
  --gold: #d5a64c;
  --line: #e7ded1;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --max: 1180px;

  --logo-blue: #1f8ae6;
  --logo-red: #dd3741;
  --logo-purple: #7b2f97;
  --logo-orange: #f06a2a;
  --logo-green: #3f8b52;

  --cream-1: #f8f4ed;
  --cream-2: #f3ede3;
  --cream-3: #ece4d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 138, 230, 0.06), transparent 18%),
    radial-gradient(circle at 100% 0%, rgba(221, 55, 65, 0.05), transparent 18%),
    radial-gradient(circle at 100% 100%, rgba(123, 47, 151, 0.05), transparent 20%),
    linear-gradient(180deg, var(--cream-1), var(--cream-2));
  line-height: 1.55;
}

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

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.topbar {
  background: linear-gradient(90deg, rgba(255,255,255,0.96), rgba(249,245,239,0.96));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-flag {
  width: 54px;
  height: 74px;
  display: flex;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.brand-flag span {
  flex: 1;
  display: block;
}

.flag-green { background: #2fa24d; }
.flag-white { background: #f6f4ef; }
.flag-red   { background: #dc403a; }

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  justify-content: center;
  line-height: 1.1;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.045em;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 3.15rem;
  line-height: 0.9;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-wordmark .c1 { color: #1f86df; }
.brand-wordmark .c2 { color: #dd3741; }
.brand-wordmark .c3 { color: #7d2f98; }
.brand-wordmark .c4 { color: #ef7128; }
.brand-wordmark .c5 { color: #d13540; }

.brand-subline {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-top: 2px;
  margin-left: 4px;
  white-space: nowrap;
}

.brand-pizza-house {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: #1f1f1f;
}

.brand-katakana {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #1f1f1f;
}

.top-info-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px 12px;
  align-content: center;
  justify-content: center;
  min-width: 0;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  line-height: 1.1;
  white-space: nowrap;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.top-info-grid .info-pill:nth-child(1) {
  border-color: rgba(31, 138, 230, 0.18);
  background: rgba(31, 138, 230, 0.05);
}

.top-info-grid .info-pill:nth-child(2) {
  border-color: rgba(123, 47, 151, 0.18);
  background: rgba(123, 47, 151, 0.05);
}

.top-info-grid .info-pill:nth-child(3) {
  border-color: rgba(63, 139, 82, 0.18);
  background: rgba(63, 139, 82, 0.05);
}

.info-link {
  transition: 0.2s ease;
}

.info-link:hover {
  border-color: rgba(31, 134, 223, 0.32);
  color: #1f86df;
  background: rgba(31, 134, 223, 0.05);
}

.info-subtle {
  color: var(--muted);
}

.info-closed {
  border-color: rgba(100, 150, 90, 0.25);
  background: rgba(95, 140, 85, 0.05);
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

/* Buttons */

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn {
  background: linear-gradient(135deg, #2b8fdc, #1f6fb2);
  color: white;
  border: 1px solid #1f6fb2;
}

.btn:hover {
  background: linear-gradient(135deg, #247fc5, #195f99);
  border-color: #195f99;
  transform: translateY(-1px);
}

.btn-outline {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: #faf7f1;
  border-color: rgba(31, 138, 230, 0.3);
  color: var(--logo-blue);
  transform: translateY(-1px);
}

.btn-sea {
  background: linear-gradient(135deg, #2b8fdc, #1f6fb2);
  border-color: #1f6fb2;
  color: white;
}

.btn-sea:hover {
  background: linear-gradient(135deg, #247fc5, #195f99);
  border-color: #195f99;
}

/* Sticky section nav */

.section-nav {
  position: sticky;
  top: 91px;
  z-index: 999;
  background: rgba(248, 244, 237, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.section-nav-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.section-nav-inner a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.section-nav-inner a:hover,
.section-nav-inner a.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Hero */

.hero {
  padding: 34px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.hero-copy {
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,248,243,0.94));
  border: 1px solid #eadfce;
  border-radius: calc(var(--radius) + 4px);
  padding: 34px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240,106,42,0.12), rgba(221,55,65,0.08));
  color: #9c341f;
  border: 1px solid rgba(240,106,42,0.25);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 58ch;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.tag {
  background: linear-gradient(180deg, #fff, #fcf8f2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.92rem;
  color: #534f49;
}

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

.hero-image-wrap {
  position: relative;
  min-height: 480px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #e7dfd3;
}

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

.hero-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px 18px;
  max-width: 320px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.hero-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Generic sections */

section {
  padding: 28px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  position: relative;
}

.section-head h3::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--logo-blue),
    var(--logo-red),
    var(--logo-purple),
    var(--logo-orange)
  );
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 12px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

/* Gallery */

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

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: #efe6d8;
  min-height: 190px;
  border: 1px solid var(--line);
  position: relative;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Popular */

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.popular-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.popular-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.popular-body {
  padding: 18px;
}

.popular-body h4 {
  margin: 10px 0 2px;
  font-size: 1.2rem;
}

.popular-body p {
  margin: 0;
  color: var(--muted);
}

.popular-badge {
  display: inline-block;
  background: linear-gradient(90deg, rgba(240,106,42,0.14), rgba(221,55,65,0.1));
  color: #a03624;
  border: 1px solid #edd7c0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
}

/* Menu */

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

.menu-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.menu-section:nth-child(1) .menu-title h4 { color: var(--logo-red); }
.menu-section:nth-child(2) .menu-title h4 { color: var(--logo-green); }
.menu-section:nth-child(3) .menu-title h4 { color: var(--logo-purple); }
.menu-section:nth-child(4) .menu-title h4 { color: var(--logo-orange); }

.menu-image {
  aspect-ratio: 16 / 9;
  background: #ede4d5;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

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

.menu-content {
  padding: 22px;
}

.menu-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.menu-title h4 {
  margin: 0;
  font-size: 1.35rem;
}

.menu-note {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 16px;
}

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

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e9dfd1;
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item-name {
  font-weight: 700;
  margin-bottom: 2px;
}

.menu-item-desc {
  color: var(--muted);
  font-size: 0.92rem;
}

.menu-item-price {
  font-weight: 800;
  white-space: nowrap;
  color: #9c341f;
}

.jp-sub {
  color: var(--logo-green);
  font-size: 0.9rem;
  margin: 2px 0 4px;
  letter-spacing: 0.02em;
}

/* Feature strip */

.featured-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.feature-panel {
  background: linear-gradient(135deg, #fffaf3, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-panel:first-child {
  background: linear-gradient(135deg, rgba(255,250,243,1), rgba(255,255,255,1));
}

.feature-panel:last-child {
  background: linear-gradient(135deg, rgba(248,244,255,0.7), rgba(255,255,255,1));
}

.feature-panel .card-body {
  padding: 26px;
}

.feature-panel h4 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.feature-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.feature-list div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

/* Aki */

.aki-panel {
  overflow: hidden;
  padding: 0;
}

.aki-top-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
}

.aki-top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aki-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.aki-body {
  padding: 24px 28px 28px;
}

.aki-body h4 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.aki-body p {
  margin: 0 0 14px;
  color: var(--muted);
}

.aki-body p:last-child {
  margin-bottom: 0;
}

/* Visit / map */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.details-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.details-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #eadfce;
}

.details-row:last-child {
  border-bottom: none;
}

.details-row strong {
  color: var(--ink);
}

.details-row span {
  color: var(--muted);
}

.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #ece3d6;
  min-height: 100%;
  height: 100%;
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 14, 0.86);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 78vh;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  color: white;
  margin-top: 14px;
  font-size: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.24);
}

/* Footer */

.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.015));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Responsive */

@media (max-width: 1200px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .top-info-grid,
  .top-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .featured-strip,
  .visit-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

  .map-box iframe {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .popular-grid {
    grid-template-columns: 1fr;
  }

  .section-nav {
    top: 72px;
  }

  .brand-wordmark {
    font-size: 2.5rem;
    letter-spacing: 0.05em;
  }

  .brand-pizza-house,
  .brand-katakana {
    font-size: 0.92rem;
  }

  .brand-flag {
    width: 46px;
    height: 62px;
  }
}

@media (max-width: 820px) {
  .menu-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-image-wrap {
    min-height: 340px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .top-info-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 20px));
  }

  .topbar-inner {
    grid-template-columns: 1fr;
  }

  .brand {
    gap: 12px;
    align-items: center;
  }

  .brand-wordmark {
    font-size: 2rem;
    letter-spacing: 0.045em;
  }

  .brand-subline {
    gap: 10px;
  }

  .brand-pizza-house,
  .brand-katakana {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .brand-flag {
    width: 38px;
    height: 54px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-card {
    position: static;
    margin: 14px;
    max-width: none;
  }

  .hero-image-wrap {
    display: flex;
    flex-direction: column;
  }

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

  .menu-item {
    grid-template-columns: 1fr;
  }

  .menu-item-price {
    font-size: 0.98rem;
  }

  .info-pill {
    white-space: normal;
    justify-content: flex-start;
  }
}

/* === LOGO TIGHTENING === */

/* Pull CABIN letters closer together */
.brand-wordmark {
  letter-spacing: 0.08em; /* try 0.05–0.1 range */
}

/* Make letters feel more like a unit */
.brand-wordmark span {
  margin-right: -2px; /* slightly overlaps spacing */
}

/* Tighten spacing below CABIN */
.brand-subline {
  margin-top: 2px;
}

/* Make subline more compact */
.brand-pizza-house {
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

/* Katakana closer to pizza house */
.brand-subline span {
  margin-left: 6px;
}

/* === MOBILE HEADER FIX === */
@media (max-width: 640px) {
  .topbar {
    position: static;
    top: auto;
    padding: 6px 0;
  }

  .topbar-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 0;
  }

  .brand {
    gap: 10px;
    align-items: center;
  }

  .brand-flag {
    width: 28px;
    height: 40px;
  }

  .brand-wordmark {
    font-size: 1.45rem;
    letter-spacing: 0.03em;
    gap: 0.02em;
  }

  .brand-subline {
    gap: 8px;
    margin-top: 0;
    margin-left: 2px;
  }

  .brand-pizza-house {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .brand-katakana {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
  }

  .top-info-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .info-pill {
    min-height: 0;
    padding: 10px 14px;
    font-size: 0.9rem;
    justify-content: flex-start;
  }

  .top-actions {
    justify-content: flex-start;
    gap: 10px;
  }

  .btn,
  .btn-outline {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .section-nav {
    position: static;
    top: auto;
  }

  .hero {
    padding-top: 14px;
  }
}

@media (max-width: 640px) {
  .info-subtle,
  .top-info-grid .info-link:last-child {
    display: none;
  }
}