:root {
  --bg: var(--brand-color-bg, #ffffff);
  --bg-soft: var(--brand-color-bg-soft, #f5f5f2);
  --bg-card: var(--brand-color-surface, #fbfbf8);
  --bg-dark: #0a0a0a;
  --text: var(--brand-color-text, #111111);
  --text-muted: var(--brand-color-text-muted, rgba(17, 17, 17, 0.66));
  --text-light: var(--brand-color-text-inverse, rgba(255, 255, 255, 0.84));
  --line: var(--brand-color-line, rgba(17, 17, 17, 0.08));
  --line-strong: var(--brand-color-line-strong, rgba(17, 17, 17, 0.14));
  --container: 1240px;
  --header-height: var(--brand-header-height, 84px);
  --radius-lg: var(--brand-radius-lg, 28px);
  --radius-md: var(--brand-radius-md, 20px);
  --radius-sm: var(--brand-radius-sm, 14px);
  --shadow-lg: var(--brand-shadow-lg, 0 24px 60px rgba(0, 0, 0, 0.15));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--brand-font-sans, "Inter", "Noto Sans JP", sans-serif);
  line-height: var(--brand-body-line, 1.7);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  letter-spacing: -0.05em;
}

h1 {
  font-size: var(--brand-h1-size, clamp(54px, 9vw, 128px));
  line-height: var(--brand-h1-line, 0.88);
  font-weight: var(--brand-h1-weight, 900);
}

h2 {
  font-size: var(--brand-h2-size, clamp(34px, 4.5vw, 72px));
  line-height: var(--brand-h2-line, 0.95);
  font-weight: var(--brand-h2-weight, 800);
}

h3 {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.05;
  font-weight: 800;
}

p {
  font-size: var(--brand-body-size, 16px);
  color: var(--text-muted);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: var(--brand-eyebrow-size, 11px);
  font-weight: var(--brand-eyebrow-weight, 700);
  letter-spacing: var(--brand-eyebrow-spacing, 0.22em);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================
   Header
========================= */

.products-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 60%),
    url("/img/philosophy-final.jpg") center/cover no-repeat;
}

.products-hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
}

.products-hero .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.products-hero__copy h1 {
  margin-bottom: 0;
  color: #fff;
}

.products-hero__lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.84);
}

/* =========================
   Purpose Nav
========================= */

.purpose-nav {
  padding: 88px 0 24px;
}

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

.purpose-nav__card {
  display: block;
  padding: 30px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 245, 239, 0.98));
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.purpose-nav__card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 17, 0.18);
  box-shadow: 0 24px 46px rgba(17, 17, 17, 0.08);
}

.purpose-nav__label {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(17, 17, 17, 0.42);
}

.purpose-nav__card h3 {
  margin-bottom: 14px;
}

.purpose-nav__card p:last-child {
  margin-bottom: 0;
  color: rgba(17, 17, 17, 0.64);
}

/* =========================
   Location Guide
========================= */

.location-guide {
  padding: 96px 0 32px;
}

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

.location-guide__card {
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.location-guide__label {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.location-guide__card h3 {
  margin-bottom: 12px;
}

.location-guide__address {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

/* =========================
   Detail
========================= */

.series-detail {
  padding: 110px 0 130px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  max-width: 10ch;
}

.detail-grid {
  display: grid;
  gap: 24px;
}

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

.detail-panel {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 241, 0.98));
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.05);
}

.detail-panel__media {
  position: relative;
}

.detail-panel__media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.detail-panel__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: rgba(17, 17, 17, 0.8);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.detail-panel__badge--gold {
  background: rgba(250, 245, 233, 0.88);
  color: rgba(112, 85, 45, 0.92);
  border-color: rgba(142, 108, 57, 0.16);
}

.detail-panel__body {
  padding: 32px 30px 30px;
}

.detail-panel__eyebrow {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
}

.detail-panel__body h3 {
  margin: 0;
}

.detail-panel__title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-panel__title-row h3,
.detail-panel__title-tag {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.detail-panel__title-tag {
  white-space: nowrap;
}

.detail-panel__address {
  margin: 14px 0 20px;
  color: rgba(17, 17, 17, 0.86);
  font-size: 0.92rem;
  font-weight: 600;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(17, 17, 17, 0.62);
}

.detail-list li {
  margin-bottom: 8px;
  line-height: 1.75;
  font-size: 0.93rem;
}

.detail-panel__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(17, 17, 17, 0.88);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.detail-panel__link::after {
  content: "→";
  margin-left: 8px;
  font-size: 0.9em;
}

.detail-panel__link:hover {
  background: rgba(17, 17, 17, 0.08);
  border-color: rgba(17, 17, 17, 0.2);
  color: rgba(17, 17, 17, 0.96);
  transform: translateY(-1px);
}

/* =========================
   Footer
========================= */

.site-footer {
  position: relative;
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-address {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 13px;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-nav a:hover {
  color: var(--text);
  opacity: 1;
}

/* =========================
   Reveal
========================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Mobile Nav
========================= */

.nav-booking {
  display: none;
}

/* =========================
   Responsive
========================= */

@media (max-width: 980px) {
  .purpose-nav__grid,
  .detail-grid--triple,
  .location-guide__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

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

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-self: auto;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .nav-primary,
  .header-actions {
    display: none;
  }

  .nav-primary.is-open {
    display: flex;
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 12px;
    left: auto;
    width: min(320px, calc(100vw - 24px));
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
      rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(16px);
    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: navFadeUp 0.28s ease;
  }

  .nav-primary.is-open a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 18px;
    border-radius: 16px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    transition:
      background 0.25s ease,
      border-color 0.25s ease,
      transform 0.2s ease,
      color 0.25s ease;
  }

  .nav-primary.is-open a::after {
    content: "→";
    font-size: 0.95rem;
    opacity: 0.5;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-primary.is-open a:hover,
  .nav-primary.is-open a:active {
    background: rgba(197, 31, 26, 0.12);
    border-color: rgba(197, 31, 26, 0.22);
    transform: translateX(2px);
  }

  .nav-primary.is-open a:hover::after,
  .nav-primary.is-open a:active::after {
    opacity: 1;
    transform: translateX(4px);
  }

  .nav-booking {
    display: inline-flex;
  }

  .products-hero {
    min-height: 72vh;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.8) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.16) 100%),
      url("/img/philosophy-final-r.jpg") center/cover no-repeat;
  }

  .products-hero__inner {
    padding-bottom: 40px;
  }

  .products-hero__lead,
  .detail-list li {
    font-size: 16px;
  }

  .location-guide {
    padding: 72px 0 12px;
  }

  .series-detail {
    padding: 82px 0;
  }

  .detail-panel__media img {
    height: 280px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .footer-brand strong {
    font-size: 16px;
  }

  .footer-brand p {
    font-size: 12px;
  }

  .footer-nav {
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
  }

  .footer-nav a {
    font-size: 12px;
  }

  .reveal,
  .reveal--delay-1,
  .reveal--delay-2 {
    transition-delay: 0s;
  }
}

@media (max-width: 640px) {
  .nav-primary.is-open {
    top: calc(var(--header-height) + 8px);
    right: 10px;
    width: min(300px, calc(100vw - 20px));
    padding: 12px;
    border-radius: 18px;
    gap: 6px;
  }

  .nav-primary.is-open a {
    min-height: 54px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .location-guide__card,
  .detail-panel__body {
    padding: 22px 20px;
  }
}

@keyframes navFadeUp {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* =========================
   Location Guide
========================= */

.location-guide {
  padding: 24px 0 32px;
}

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

.location-guide__card {
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.location-guide__label {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.location-guide__card h3 {
  margin-bottom: 12px;
}

.location-guide__address {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

/* =========================
   Detail Triple
========================= */

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

.detail-panel {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.detail-panel__media {
  position: relative;
}

.detail-panel__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.detail-panel__badge--gold {
  background: rgba(142, 108, 57, 0.92);
}

.detail-panel__eyebrow {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-panel__address {
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 700;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}
@media (max-width: 980px) {
  .location-guide__grid,
  .detail-grid--triple {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .location-guide {
    padding: 8px 0 12px;
  }

  .reveal--delay-2 {
    transition-delay: 0s;
  }
}

@media (max-width: 640px) {
  .location-guide__card {
    padding: 22px 20px;
  }
}
.featured-series {
  padding: 120px 0;
}

.featured-grid {
  display: grid;
  gap: 80px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.featured-card--reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.featured-card--reverse .featured-card__media {
  order: 2;
}

.featured-card--reverse .featured-card__body {
  order: 1;
}

.featured-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.featured-card__media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.featured-card:hover .featured-card__media img {
  transform: scale(1.03);
}

.featured-card__body {
  max-width: 560px;
}

.featured-card__kicker {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.featured-card__body h2 {
  margin-bottom: 18px;
}

.featured-card__lead {
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.35;
  color: var(--text);
}

.featured-card__body p:last-of-type {
  margin-bottom: 26px;
}

.featured-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: #111111;
  border: 1px solid #111111;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.featured-card__button::after {
  content: "→";
  margin-left: 10px;
  font-size: 0.92em;
}

.featured-card__button:hover {
  transform: translateY(-1px);
  background: #1d1d1d;
  border-color: #1d1d1d;
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.22);
}
@media (max-width: 980px) {
  .featured-card,
  .featured-card--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featured-card--reverse .featured-card__media,
  .featured-card--reverse .featured-card__body {
    order: initial;
  }

  .featured-card__body {
    max-width: none;
  }
}

@media (max-width: 920px) {
  .featured-series {
    padding: 82px 0;
  }

  .featured-grid {
    gap: 56px;
  }

  .featured-card__media img {
    height: 320px;
  }

  .featured-card__lead,
  .featured-card__body p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .featured-series {
    padding: 64px 0;
  }

  .featured-grid {
    gap: 40px;
  }

  .featured-card__media {
    border-radius: 20px;
  }

  .featured-card__media img {
    height: 260px;
  }
}
