/* ============================================
   Pont Miyabi — Stylesheet
   ============================================ */

:root {
  --navy: #0D1117;
  --navy-2: #141A22;
  --white: #FFFFFF;
  --gray: #F6F6F3;
  --gray-2: #E6E6E0;
  --text: #1a1a1a;
  --text-muted: #6a6a6a;
  --gold: #9CA56E;
  --gold-hover: #868E5C;
  --max: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   Navbar
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  padding: 1rem 2rem;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold);
  transition: color .35s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.nav-logo img,
.nav-logo svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
  flex-shrink: 0;
}
.nav.scrolled .nav-logo { color: var(--gold); }

/* Per-language hero title sizing */
body.lang-ja .hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}
body.lang-fr .hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}
/* SNS section h2: prevent 3-line wrap in Japanese */
body.lang-ja .sns-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.lang-switch {
  display: flex;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lang-switch button {
  background: none;
  border: 0;
  padding: .4rem .55rem;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color .3s var(--ease);
}
.lang-switch button:hover { color: var(--white); }
.lang-switch button.active { color: var(--gold); }
.lang-switch .divider { color: rgba(255,255,255,.3); align-self: center; }
.nav.scrolled .lang-switch button { color: var(--text-muted); }
.nav.scrolled .lang-switch button:hover { color: var(--navy); }
.nav.scrolled .lang-switch button.active { color: var(--gold); }
.nav.scrolled .lang-switch .divider { color: var(--gray-2); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color .3s var(--ease);
}
.nav.scrolled .nav-links a { color: var(--navy); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav.scrolled .nav-links a.active { color: var(--gold); }

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 32px; height: 32px;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: var(--white);
  transition: .3s var(--ease);
}
.nav.scrolled .hamburger span { background: var(--navy); }
.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 16px; }
.hamburger span:nth-child(3) { top: 22px; }
.hamburger.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 1.1rem 2.4rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201,168,76,.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: #16263f;
  transform: translateY(-2px);
}

/* ============================================
   Sections
   ============================================ */
section { position: relative; }
.section {
  padding: 8rem 0;
}
.section-sm { padding: 5rem 0; }
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-gold { background: var(--gold); color: var(--navy); }

/* Decorative section patterns */
.bg-white, .bg-gray { position: relative; }
.bg-white::before, .bg-gray::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(10,22,40,.06) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: .5;
  pointer-events: none;
}
.bg-gray::before {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(10,22,40,.08) 1px, transparent 0);
}
.bg-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201,168,76,.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(201,168,76,.05) 0%, transparent 40%),
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: auto, auto, 60px 60px, 60px 60px;
  pointer-events: none;
}
.bg-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(10,22,40,.04) 0 2px, transparent 2px 20px);
  pointer-events: none;
}
.bg-white > .container,
.bg-gray > .container,
.bg-navy > .container,
.bg-gold > .container { position: relative; z-index: 1; }

/* Section divider — gold line */
.divider-line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  opacity: .75;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.5rem;
}
.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 4rem;
}
.bg-navy .section-lead { color: rgba(255,255,255,.7); }

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: .45;
  transform: scale(1.05);
  animation: heroZoom 20s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.72) 50%, rgba(10,22,40,.88) 100%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  z-index: 2;
  pointer-events: none;
}
.hero-inner { z-index: 3; }

/* Decorative corner accents */
.hero-accent {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(201,168,76,.3);
  z-index: 2;
  pointer-events: none;
}
.hero-accent.tl { top: 6rem; left: 2rem; border-right: 0; border-bottom: 0; }
.hero-accent.br { bottom: 3rem; right: 2rem; border-left: 0; border-top: 0; }
@media (max-width: 900px) {
  .hero-accent { width: 80px; height: 80px; }
  .hero-accent.tl { top: 5rem; left: 1rem; }
  .hero-accent.br { bottom: 1.5rem; right: 1rem; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero.hero-center { text-align: center; }
.hero.hero-center .hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero.hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: .9;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.hero.hero-center .hero-inner { max-width: 1100px; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 3rem;
  max-width: 640px;
}
.hero-jp {
  font-family: 'Fraunces', 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  z-index: 2;
}
.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.4);
  margin: .75rem auto 0;
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   Who We Are
   ============================================ */
.intro {
  text-align: left;
}
.intro h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
}
.intro p {
  font-size: 1.2rem;
  max-width: 680px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--navy);
  transition: gap .3s var(--ease);
}
.bg-navy .link-arrow { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover { gap: 1.25rem; }

/* ============================================
   SNS Mockup
   ============================================ */
.sns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.sns-text h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.sns-text p { color: var(--text-muted); font-size: 1.075rem; }

.phones {
  display: flex;
  justify-content: center;
  gap: 2rem;
  perspective: 1000px;
}
.phone {
  width: 220px;
  height: 440px;
  background: var(--navy);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(10,22,40,.18), 0 10px 20px rgba(10,22,40,.1);
  transform: rotate(-4deg);
  transition: transform .5s var(--ease);
}
.phone:nth-child(2) {
  transform: translateY(24px) rotate(4deg);
}
.phones:hover .phone { transform: rotate(0); }
.phones:hover .phone:nth-child(2) { transform: translateY(0); }

.phone-screen {
  width: 100%; height: 100%;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  width: 80px; height: 18px;
  background: var(--navy);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}
.phone-header {
  padding: 1rem .9rem .6rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-bottom: 1px solid var(--gray-2);
}
.phone-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e8c876);
}
.phone-user { font-size: .75rem; font-weight: 600; }
.phone-user span { display: block; font-weight: 400; color: var(--text-muted); font-size: .65rem; }
.phone-post {
  flex: 1;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2e4d 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.phone-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.phone-post::before {
  content: '▶';
  color: rgba(255,255,255,.95);
  font-size: 1.75rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  z-index: 2;
  border: 2px solid rgba(255,255,255,.4);
}
.phone-post.grid-feed::before { display: none; }
.phone-post.grid-feed {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  padding: 2px;
}
.phone-post.grid-feed img {
  position: static;
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
}
.phone-footer {
  padding: .75rem .9rem;
  display: flex;
  gap: .75rem;
  font-size: 1rem;
}

/* ============================================
   Service Cards
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  padding: 3rem 2.5rem;
  background: var(--white);
  border: 1px solid var(--gray-2);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(10,22,40,.08);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(156,165,110,.12);
  color: var(--gold);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.bg-gray .card { background: var(--white); }

/* ============================================
   Blog
   ============================================ */
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.blog-card .blog-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-2);
}
.blog-card .blog-body { padding: 2.25rem 2rem 2.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .blog-cat {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.blog-card h3 { font-size: 1.35rem; line-height: 1.35; margin-bottom: .9rem; }
.blog-card p { flex: 1; }
.blog-card .blog-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: 1rem; }

/* Article detail page */
.article-hero {
  padding: 10rem 0 4rem;
  background: var(--gray);
  position: relative;
}
.article-hero .container { max-width: 820px; }
.article-hero .blog-cat {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.article-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.article-hero .article-meta {
  font-size: .85rem;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.article-cover {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  background-size: cover;
  background-position: center;
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.85;
}
.article-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 500;
  margin: 3rem 0 1.25rem;
  color: var(--navy);
}
.article-body p { margin-bottom: 1.5rem; color: #2a2e36; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
}
.article-body ul { margin: 0 0 1.5rem 1.25rem; }
.article-body li { margin-bottom: .6rem; }
.article-back {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold);
}
.article-back:hover { color: var(--gold-hover); }

/* ============================================
   Mission / Vision Cards
   ============================================ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1rem;
  align-items: start;
}
.mv-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10,22,40,.12);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(10,22,40,.18);
}
.mv-header {
  padding: 3rem 2.75rem 3rem;
  position: relative;
}
.mv-mission .mv-header {
  background: linear-gradient(135deg, var(--gold) 0%, #7a8550 100%);
}
.mv-vision .mv-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3050 100%);
}
.mv-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--white);
  backdrop-filter: blur(4px);
}
.mv-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: .75rem;
  display: block;
}
.mv-header h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.35;
}

/* ============================================
   Values Cards
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  overflow: hidden;
  transition: all .4s var(--ease);
  position: relative;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10,22,40,.08);
  border-color: transparent;
}
.value-header {
  padding: 2.5rem 2.25rem 1.25rem;
}
.value-icon {
  width: 52px;
  height: 52px;
  background: rgba(156,165,110,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.value-header h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}
.value-body {
  padding: 0 2.25rem 2.5rem;
}
.value-body p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================
   Platform Pills
   ============================================ */
.platform-row {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  margin-top: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.platform-row::-webkit-scrollbar { display: none; }
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .8rem;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(10,22,40,.05);
  transition: all .3s var(--ease);
  flex-shrink: 0;
}
.platform-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(156,165,110,.15);
}
.platform-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 4px;
  color: inherit;
}
.bg-gray .platform-pill {
  background: var(--white);
}
/* Brand-color pill hover accents */
.pill-instagram:hover { border-color: #d6249f; color: #d6249f; box-shadow: 0 4px 16px rgba(214,36,159,.15); }
.pill-tiktok:hover    { border-color: #010101; color: #010101; box-shadow: 0 4px 16px rgba(1,1,1,.12); }
.pill-youtube:hover   { border-color: #FF0000; color: #FF0000; box-shadow: 0 4px 16px rgba(255,0,0,.15); }
.pill-linkedin:hover  { border-color: #0077B5; color: #0077B5; box-shadow: 0 4px 16px rgba(0,119,181,.15); }
.pill-x:hover         { border-color: #000000; color: #000000; box-shadow: 0 4px 16px rgba(0,0,0,.12); }

/* Services page: hide the gold prefix line before section-labels */
.service-head .section-label::before { display: none; }

/* ============================================
   Why Choose Us
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}
.why-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.why-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-style: italic;
  flex-shrink: 0;
  padding-top: .3rem;
}
.why-item h3 {
  font-size: 1.35rem;
  margin-bottom: .75rem;
  color: var(--white);
}
.why-item p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  padding: 6rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 2.5rem;
  color: var(--navy);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}
.footer-tagline { font-size: .95rem; max-width: 320px; }
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .75rem; }
.footer ul a { font-size: .9rem; transition: color .3s var(--ease); }
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
}

/* ============================================
   About Page Specifics
   ============================================ */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.mission-block {
  padding-top: 2rem;
  border-top: 2px solid var(--gold);
}
.mission-block .label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.mission-block h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.35;
}

.story-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}
.story-block:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}
.story-block:nth-child(even) .story-text { order: 2; }
.story-block:last-child { margin-bottom: 0; }
.story-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.story-text h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}
.story-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.story-text .jp {
  font-family: 'Fraunces', 'Noto Serif JP', serif;
  font-size: .95rem;
  color: var(--text-muted);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--gray-2);
  line-height: 1.9;
}
.story-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2e4d 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10,22,40,.2);
}
.story-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,.55) 100%);
}
.story-image::after {
  content: attr(data-initials);
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  font-style: italic;
  letter-spacing: .1em;
  z-index: 2;
}

.closing-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.closing-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.closing-text .jp {
  font-family: 'Fraunces', 'Noto Serif JP', serif;
  font-size: 1.02rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--gray-2);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.founder-card {
  background: var(--white);
  padding: 3rem;
  border: 1px solid var(--gray-2);
  transition: all .4s var(--ease);
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10,22,40,.08);
}
.founder-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy), #1a2e4d);
  background-size: cover;
  background-position: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}
.founder-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,.6) 100%);
}
.founder-photo::after {
  content: attr(data-initials);
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-style: italic;
  letter-spacing: .1em;
  z-index: 2;
}
.founder-card h3 {
  font-size: 1.65rem;
  margin-bottom: .35rem;
}
.founder-card .title {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}
.founder-card p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
}

/* ============================================
   Services Page
   ============================================ */
.service-section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--gray-2);
}
.service-section:last-of-type { border-bottom: 0; }
.service-section .service-head {
  max-width: 820px;
  margin: 0 auto 4rem;
  text-align: center;
}
.service-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 1rem;
  display: block;
}
.service-head .section-label { display: block; margin-bottom: 1rem; }
.service-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}
.service-head p {
  font-size: 1.075rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}
.service-note {
  text-align: center;
  font-size: .875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 3rem;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}
.snapshot-item {
  padding: 2rem 0;
  border-top: 2px solid var(--gold);
}
.snapshot-item .label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .75rem;
  display: block;
}
.snapshot-item .value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.5;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.contact-form .form-group {
  margin-bottom: 1.75rem;
}
.contact-form label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .6rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--gray-2);
  outline: none;
  transition: border-color .3s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 120px; padding: 1rem 0; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--gold);
}
.contact-info {
  padding: 3rem;
  background: var(--navy);
  color: var(--white);
}
.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.contact-info .info-item {
  margin-bottom: 2rem;
}
.contact-info .label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
  display: block;
}
.contact-info .value {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
}

/* ============================================
   Scroll animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive — mobile-first breakpoints
   ============================================
   xl : ≥1440  (large desktop)
   lg : ≥1200  (desktop — base/default)
   md : ≤1024  (tablet landscape)
   sm : ≤900   (tablet portrait / mobile nav)
   xs : ≤600   (mobile)
   xxs: ≤380   (small mobile)
   ============================================ */

/* Large desktop — generous spacing */
@media (min-width: 1440px) {
  :root { --max: 1280px; }
  .section { padding: 9rem 0; }
  .hero h1 { font-size: 5.5rem; }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .section { padding: 6rem 0; }
  .container { padding: 0 2rem; }
  .cards-grid { gap: 1.5rem; }
  .card { padding: 2.5rem 2rem; }
  .sns-grid,
  .mission-grid,
  .contact-grid { gap: 3rem; }
  .story-block,
  .story-block:nth-child(even) { gap: 3rem; }
  .service-head { gap: 2.5rem; }
  .why-grid { gap: 2.5rem 3rem; }
  .footer-grid { gap: 2rem; }
  .hero-inner { max-width: 720px; }
}

/* Tablet portrait / start mobile layout */
@media (max-width: 900px) {
  .section { padding: 5rem 0; }
  .service-section { padding: 5rem 0; }
  .container { padding: 0 1.5rem; }
  .nav { padding: 1.25rem 1.5rem; }
  .nav.scrolled { padding: 1rem 1.5rem; }

  /* Mobile drawer nav */
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 82%; max-width: 340px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,.25);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a,
  .nav.scrolled .nav-links a { color: var(--white); font-size: 1rem; }
  .hamburger { display: block; z-index: 101; }

  .nav-right { gap: 1rem; }
  .lang-switch {
    position: fixed;
    top: 1.25rem;
    right: 4.5rem;
    z-index: 101;
  }
  .lang-switch button { color: var(--white); }

  /* Body-lock when drawer is open */
  body.nav-open { overflow: hidden; }

  /* Collapse multi-column grids to single column */
  .sns-grid,
  .mission-grid,
  .mv-grid,
  .values-grid,
  .story-block,
  .story-block:nth-child(even),
  .founders-grid,
  .contact-grid,
  .cards-grid,
  .why-grid,
  .snapshot-grid,
  .service-head,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
  .story-block:nth-child(even) .story-text { order: 0; }
  .story-block { margin-bottom: 4rem; }

  .hero { min-height: 88vh; padding: 7rem 0 5rem; }
  .section-lead { margin-bottom: 3rem; font-size: 1rem; }
  .section-title { margin-bottom: 1rem; }

  .phones { transform: scale(.9); }
  .footer { padding: 4rem 0 2rem; }
  .footer-grid { margin-bottom: 3rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .contact-info { padding: 2.25rem; }
  .cta-banner { padding: 4.5rem 0; }

  /* Story image height cap on small screens */
  .story-image { aspect-ratio: 16/10; }
  .story-image::after { font-size: 4.5rem; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { font-size: 15px; }
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .service-section { padding: 4rem 0; }
  .nav { padding: 1rem 1.25rem; }

  .btn { padding: 1rem 2rem; font-size: .8rem; width: 100%; text-align: center; }
  .cta-banner .btn,
  .hero .btn { width: auto; }

  .hero { min-height: 82vh; padding: 6rem 0 4rem; }
  .hero h1 { font-size: 2.25rem; line-height: 1.1; }
  .hero-jp { font-size: 1.75rem; line-height: 1.45; }
  .hero-sub { font-size: 1rem; margin-bottom: 2.25rem; }
  .hero-label { margin-bottom: 1.5rem; font-size: .7rem; }
  .scroll-indicator { bottom: 1.5rem; font-size: .65rem; }
  .scroll-indicator::after { height: 28px; }

  .section-title { font-size: 1.9rem; }
  .intro h2 { font-size: 2.1rem; }
  .card { padding: 2.25rem 1.75rem; }
  .card h3 { font-size: 1.3rem; }
  .card p { font-size: .9rem; }

  .phones { flex-direction: column; align-items: center; transform: none; gap: 1.5rem; }
  .phone, .phone:nth-child(2) { transform: none; width: 200px; height: 400px; }

  .founder-card { padding: 2rem 1.75rem; }
  .founder-card h3 { font-size: 1.4rem; }
  .founder-photo::after { font-size: 4rem; }

  .story-text h3 { font-size: 1.65rem; }
  .story-text p { font-size: .95rem; }
  .story-text .jp { font-size: .85rem; }
  .closing-text p { font-size: 1.05rem; }
  .closing-text .jp { font-size: .9rem; }

  .mission-block h3 { font-size: 1.4rem; }
  .snapshot-item { padding: 1.5rem 0; }
  .snapshot-item .value { font-size: 1.1rem; }

  .contact-info { padding: 2rem 1.5rem; }
  .contact-info h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }

  .cta-banner h2 { font-size: 1.9rem; margin-bottom: 2rem; }
  .footer-logo { font-size: 1.3rem; }
}

/* Small mobile */
@media (max-width: 380px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero-jp { font-size: 1.5rem; }
  .section-title { font-size: 1.65rem; }
  .phone { width: 180px; height: 360px; }
}

/* Landscape phone — trim vertical space */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 100vh; padding: 6rem 0 3rem; }
  .scroll-indicator { display: none; }
}

/* Accessibility — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
