:root {
  --ink: #252521;
  --muted: #6d675d;
  --paper: #f6f1e7;
  --paper-strong: #eee2cd;
  --moss: #5e6a52;
  --moss-dark: #394132;
  --wine: #7c3135;
  --brass: #b88b4a;
  --charcoal: #171714;
  --line: rgba(37, 37, 33, 0.16);
  --shadow: 0 22px 80px rgba(23, 23, 20, 0.22);
  --radius: 8px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-ui: Inter, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font-jp);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
  font-family: var(--font-jp);
  font-feature-settings: "palt" 0;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--brass);
  color: var(--charcoal);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 48px;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 52px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(246, 241, 231, 0.92);
  box-shadow: 0 1px 0 rgba(37, 37, 33, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-grid;
  grid-template-columns: 44px auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.55rem;
  font-style: italic;
  font-family: Georgia, serif;
  line-height: 1;
}

.brand-name,
.brand-sub {
  display: block;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.74rem;
  color: currentColor;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
}

.icon-button {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.icon-fallback {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
  padding: 124px clamp(18px, 6vw, 76px) 56px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/hero-vintage-shop.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.82), rgba(10, 10, 9, 0.34) 48%, rgba(10, 10, 9, 0.24)),
    linear-gradient(0deg, rgba(10, 10, 9, 0.48), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(840px, 100%);
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--brass);
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5.1rem;
  line-height: 1.08;
  font-weight: 800;
}

.hero-title span {
  display: block;
}

.title-keep {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 2;
  overflow-wrap: anywhere;
  line-break: strict;
}

.copy-break-narrow {
  display: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.button.primary {
  background: var(--brass);
  color: var(--charcoal);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary {
  border-color: var(--line);
  background: #fffaf0;
  color: var(--ink);
}

.open-panel {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 44px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 15, 13, 0.52);
  backdrop-filter: blur(12px);
  font-family: var(--font-ui);
  font-size: 0.82rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d5a34f;
  box-shadow: 0 0 0 5px rgba(213, 163, 79, 0.18);
}

.status-dot.is-open {
  background: #78b66a;
  box-shadow: 0 0 0 5px rgba(120, 182, 106, 0.2);
}

.intro-band,
.items-section,
.visit-section {
  padding: clamp(70px, 10vw, 124px) clamp(18px, 6vw, 76px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.intro-grid h2,
.section-heading h2,
.instagram-copy h2,
.journal-copy h2,
.visit-info h2 {
  margin: 0;
  font-size: 3.35rem;
  line-height: 1.22;
  font-weight: 700;
}

.intro-grid h2 {
  font-size: 2.85rem;
}

.intro-grid h2 span,
.section-heading h2 span,
.instagram-copy h2 span,
.journal-copy h2 span,
.visit-info h2 span {
  display: block;
}

.phrase-keep {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.intro-text p,
.section-heading p,
.instagram-copy p,
.journal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2;
}

.intro-text p + p {
  margin-top: 18px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--moss-dark);
  color: #f5efe2;
}

.feature-item {
  min-height: 136px;
  padding: 28px clamp(18px, 5vw, 52px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-label {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brass);
}

.feature-item strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
}

.items-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(124, 49, 53, 0.14), transparent 28%),
    linear-gradient(180deg, #f6f1e7, #e7dcc7);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-heading p {
  max-width: 620px;
  margin-top: 20px;
}

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

.item-card {
  overflow: hidden;
  border: 1px solid rgba(37, 37, 33, 0.14);
  border-radius: var(--radius);
  background: #fbf7ed;
  box-shadow: 0 18px 42px rgba(23, 23, 20, 0.08);
}

.item-image {
  aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(0deg, rgba(23, 23, 20, 0.28), rgba(23, 23, 20, 0.02)),
    url("./assets/hero-vintage-shop.png");
  background-size: 172%;
}

.crop-one {
  background-position: 18% 58%;
}

.crop-two {
  background-position: 62% 48%;
}

.crop-three {
  background-position: 88% 62%;
}

.item-body {
  min-height: 202px;
  padding: 24px;
}

.item-body span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--wine);
  text-transform: uppercase;
}

.item-body h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 500;
}

.item-body p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.instagram-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(320px, 560px);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
  padding: clamp(70px, 10vw, 118px) clamp(18px, 6vw, 76px);
  background: #fbf7ed;
}

.instagram-copy {
  max-width: 720px;
}

.instagram-copy h2 {
  font-size: 3rem;
}

.instagram-copy p {
  max-width: 560px;
  margin-top: 22px;
}

.instagram-embed-shell {
  min-height: 540px;
  padding: 22px;
  border: 1px solid rgba(37, 37, 33, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(94, 106, 82, 0.12), transparent 44%),
    #f1eadc;
  box-shadow: 0 20px 60px rgba(23, 23, 20, 0.1);
}

.instagram-media {
  width: 100%;
  max-width: 540px;
  min-width: 0 !important;
  margin: 0 auto !important;
  border-radius: var(--radius) !important;
  background: #fffaf2 !important;
}

.instagram-media a {
  display: grid;
  min-height: 280px;
  place-items: center;
  padding: 28px;
  color: var(--moss-dark);
  font-family: var(--font-ui);
  font-weight: 800;
  text-align: center;
}

.journal-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(30px, 6vw, 76px);
  align-items: stretch;
  padding: clamp(70px, 10vw, 118px) clamp(18px, 6vw, 76px);
  background: #18201b;
  color: #f8f0df;
}

.journal-copy {
  max-width: 760px;
}

.journal-copy p {
  margin-top: 22px;
  color: rgba(248, 240, 223, 0.78);
}

.journal-note {
  display: grid;
  align-content: end;
  min-height: 340px;
  padding: 30px;
  border: 1px solid rgba(248, 240, 223, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(184, 139, 74, 0.2), rgba(124, 49, 53, 0.18)),
    rgba(255, 255, 255, 0.04);
}

.journal-note span {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brass);
  text-transform: uppercase;
}

.journal-note strong {
  display: block;
  margin-top: 18px;
  font-size: 1.8rem;
  line-height: 1.35;
  font-weight: 500;
}

.journal-note p {
  margin: 20px 0 0;
  color: rgba(248, 240, 223, 0.74);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 82px);
  align-items: center;
}

.visit-info h2 {
  font-size: 2.65rem;
}

dl {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  line-height: 1.7;
}

.map-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(94, 106, 82, 0.9), rgba(23, 23, 20, 0.94)),
    #2b332a;
  box-shadow: var(--shadow);
}

.map-canvas {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.map-fallback {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(300px, calc(100% - 48px));
  transform: translate(-50%, -50%);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(246, 241, 231, 0.92);
  color: var(--ink);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.map-fallback.is-hidden {
  display: none;
}

.map-fallback::after {
  content: attr(data-note);
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
}

.map-fallback::before {
  content: "";
  position: absolute;
  top: -42px;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 7px solid var(--wine);
  border-radius: 50% 50% 50% 0;
  background: var(--paper);
  transform: translateX(-50%) rotate(-45deg);
}

.map-fallback span,
.map-fallback small {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--moss);
  text-transform: uppercase;
}

.map-fallback strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 1.6rem;
  line-height: 1.25;
}

.map-fallback a {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--moss-dark);
  color: #fffaf0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 6vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: #f8f0df;
  font-family: var(--font-ui);
  font-size: 0.82rem;
}

.site-footer div,
.site-footer span {
  display: flex;
  gap: 12px;
  align-items: center;
}

.site-footer span {
  color: rgba(248, 240, 223, 0.62);
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding-bottom: 112px;
  }

  .open-panel {
    left: 18px;
    right: 18px;
    bottom: 28px;
  }

  .intro-grid,
  .instagram-section,
  .journal-section,
  .visit-section {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .item-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  .map-card {
    min-height: 380px;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .intro-grid h2,
  .section-heading h2,
  .instagram-copy h2,
  .journal-copy h2,
  .visit-info h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 560px) {
  .hero-content {
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
  }

  .brand {
    grid-template-columns: 38px auto;
  }

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

  .site-header .icon-button {
    display: none;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: 2.55rem;
    line-height: 1.14;
  }

  .hero-copy {
    max-width: 19.5em;
    font-size: 0.95rem;
    line-height: 1.8;
    word-break: break-all;
  }

  .copy-break-wide {
    display: none;
  }

  .copy-break-narrow {
    display: block;
  }

  .intro-grid h2 {
    font-size: 1.72rem;
  }

  .instagram-embed-shell {
    min-height: 430px;
    padding: 14px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer,
  .site-footer div {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
