/* =============================================
   PANA CONSULTING & TRADING — STYLES
   Palette: Black · White · Soft Gold · Subtle Green
   Typography: Cormorant Garamond (display) + Inter Tight (body)
   ============================================= */

:root {
  /* Colors */
  --black: #0c0c0d;
  --ink: #1a1a1c;
  --charcoal: #2a2a2d;
  --slate: #5b5b62;
  --mist: #8a8a92;
  --line: #e6e3dd;
  --paper: #faf8f4;
  --white: #ffffff;

  --gold: #c9a86a;
  --gold-soft: #e0cfa3;
  --gold-deep: #a08648;

  --green: #4a6b54;
  --green-soft: #8aa48f;

  /* Type */
  --serif: "Cormorant Garamond", "Noto Serif JP", Georgia, serif;
  --sans: "Inter Tight", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 10vw, 8rem);

  /* Motion */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================= RESET */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section.dark { background: var(--black); color: var(--paper); }

/* ============================================= TYPOGRAPHY */
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  font-weight: 400;
  max-width: 18ch;
}
.section-title.light { color: var(--paper); }

.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 28px;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--gold);
}
.kicker.light { color: var(--gold-soft); }
.kicker.gold { color: var(--gold); }
.kicker.light::before { background: var(--gold-soft); }

.section-head { margin-bottom: 4rem; }
.section-head.centered { text-align: center; }
.section-head.centered .kicker { padding-left: 28px; }
.section-head.centered .section-title { margin: 0 auto; }

/* ============================================= BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost.light {
  color: var(--paper);
  border-color: var(--paper);
}
.btn-ghost.light:hover { background: var(--paper); color: var(--black); }

.btn-link {
  padding: 0.95rem 0;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
.btn-link:hover { border-bottom-color: var(--gold); color: var(--gold-deep); }
.btn-link.light { color: var(--paper); }
.btn-link.light:hover { border-bottom-color: var(--gold-soft); color: var(--gold-soft); }

/* ============================================= HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 248, 244, 0.95);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  border: 1px solid var(--ink);
  transition: all 0.4s var(--ease);
}
.brand:hover .brand-mark { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

.nav-desktop ul {
  display: flex;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a:hover { color: var(--gold-deep); }

.header-right { display: flex; align-items: center; gap: 1.25rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.lang-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mist);
  padding: 0.15rem 0.25rem;
  transition: color 0.3s var(--ease);
}
.lang-btn.active { color: var(--ink); }
.lang-btn:hover { color: var(--gold-deep); }
.lang-sep { color: var(--line); font-size: 0.7rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 18px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  top: 78px; left: 0; right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease);
  padding: 2rem var(--gutter) 3rem;
  z-index: 99;
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-drawer a {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-drawer a:hover { color: var(--gold-deep); }

/* ============================================= HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, #f5f1e8 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, var(--green-soft) 0%, transparent 70%);
  opacity: 0.25;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.06;
  mix-blend-mode: multiply;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}
.hero-eyebrow .line {
  width: 36px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 5.75rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 2rem;
}
.hero-title span {
  display: block;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) forwards;
}
.hero-title span:nth-child(1) { animation-delay: 0.35s; }
.hero-title span:nth-child(2) { animation-delay: 0.5s; }
.hero-title span:nth-child(3) { animation-delay: 0.65s; }
.hero-title em {
  font-style: italic;
  color: var(--gold-deep);
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--charcoal);
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.85s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1s forwards;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}
.meta-item { display: flex; flex-direction: column; gap: 0.35rem; }
.meta-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: "lnum";
}
.meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================= INTRO */
.intro { background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.intro-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  padding-top: 0.5rem;
}
.intro-label .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.intro-text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* ============================================= PILLARS */
.pillars { background: var(--white); border-top: 1px solid var(--line); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.pillar {
  display: flex;
  flex-direction: column;
  padding: 3rem 2.5rem 2.75rem;
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar:last-child { border-right: none; }
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(201, 168, 106, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.pillar:hover { background: var(--paper); }
.pillar:hover::before { opacity: 1; }
.pillar-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  position: relative;
}
.pillar-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  position: relative;
}
.pillar-desc {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  position: relative;
}
.pillar-arrow {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  transition: transform 0.4s var(--ease);
  position: relative;
}
.pillar:hover .pillar-arrow { transform: translateX(8px); color: var(--gold-deep); }

.pillar-featured { background: var(--ink); color: var(--paper); }
.pillar-featured .pillar-num { color: var(--gold); }
.pillar-featured .pillar-desc { color: var(--mist); }
.pillar-featured .pillar-arrow { color: var(--gold); }
.pillar-featured:hover { background: var(--charcoal); }
.pillar-featured:hover::before { opacity: 0; }

/* ============================================= ABOUT */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: 5rem;
}
.about-text p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}
.about-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.about-card {
  background: var(--white);
  padding: 2rem 2.25rem;
  border-left: 2px solid var(--gold);
  transition: all 0.4s var(--ease);
}
.about-card:hover {
  border-left-width: 4px;
  padding-left: 2.5rem;
  box-shadow: 0 12px 40px rgba(12, 12, 13, 0.05);
}
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.about-card p {
  margin: 0;
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 0.98rem;
}

.values {
  border-top: 1px solid var(--line);
  padding-top: 3.5rem;
}
.values-title {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  font-family: var(--sans);
  font-weight: 500;
  margin-bottom: 2rem;
}
.values-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.values-list li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}
.values-list li:hover { padding-top: 1rem; padding-left: 0.5rem; }
.value-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-style: italic;
}
.value-name {
  font-family: var(--serif);
  font-size: 1.625rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ============================================= PRODUCTS */
.products { background: var(--black); position: relative; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.product-card {
  background: var(--ink);
  border: 1px solid #2a2a2d;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.product-card:hover {
  border-color: var(--gold-deep);
  transform: translateY(-6px);
}
.product-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-visual-1 { background: linear-gradient(135deg, #3a2a1a 0%, #5a3d22 50%, #2a1f12 100%); }
.product-visual-2 { background: linear-gradient(135deg, #2d4030 0%, #4a6b54 50%, #1f2e23 100%); }
.product-visual-3 { background: linear-gradient(135deg, #1f2a3a 0%, #2d4a6b 50%, #15202e 100%); }

.visual-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201,168,106,0.15) 0%, transparent 40%);
  mix-blend-mode: overlay;
}
.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.15;
}
.visual-label {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-soft);
  letter-spacing: 0.15em;
  z-index: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.product-body {
  padding: 2rem 2rem 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-origin {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.product-name {
  font-size: 1.625rem;
  color: var(--paper);
  margin-bottom: 0.875rem;
}
.product-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--mist);
  margin: 0 0 1.75rem;
  flex: 1;
}
.btn-inquire {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: all 0.3s var(--ease);
  align-self: flex-start;
  font-weight: 500;
}
.btn-inquire:hover { border-bottom-color: var(--gold); letter-spacing: 0.15em; }

/* ---- Product actions row (Buy + Inquire) ---- */
.product-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
  width: 100%;
}
.shopify-mount {
  width: 100%;
  min-height: 0;
  transition: min-height 0.3s var(--ease);
}
/* When the mount is empty (Shopify not configured), collapse it
   and keep the inquire link as the standalone CTA. */
.shopify-mount:empty {
  display: none;
}
/* When Shopify IS mounted, downgrade the inquire link to secondary */
.product-actions:has(.shopify-mount:not(:empty)) .btn-inquire {
  font-size: 0.72rem;
  color: var(--mist);
}
.product-actions:has(.shopify-mount:not(:empty)) .btn-inquire:hover {
  color: var(--gold);
}

/* ---- Shopify Buy Button host overrides ----
   The SDK renders inside the .shopify-mount div. These rules
   tighten the host container so the rendered button matches our
   layout (full width inside the dark card, no extra margins). */
.shopify-mount .shopify-buy-frame,
.shopify-mount .shopify-buy-frame--product {
  width: 100% !important;
  margin: 0 !important;
}
.shopify-mount .shopify-buy__product {
  text-align: left;
}
.shopify-mount iframe { width: 100% !important; }

/* ============================================= SERVICES */
.services { background: var(--white); }
.services-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
.services-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 480px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-item {
  padding: 2.5rem 2rem 2.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 0.4s var(--ease);
  position: relative;
}
.service-item::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.service-item:hover::after { width: 100%; }
.service-item:hover { background: var(--paper); }
.service-num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}
.service-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.service-item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--slate);
}

/* ============================================= HUB */
.hub {
  background: linear-gradient(180deg, var(--ink) 0%, var(--black) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hub-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201, 168, 106, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(74, 107, 84, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hub .container { position: relative; z-index: 1; }

.hub-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 5rem;
}
.hub-head .kicker { padding-left: 28px; }
.hub-title {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 1.05;
  color: var(--paper);
  margin: 1rem 0 1.75rem;
}
.hub-title em {
  font-style: italic;
  color: var(--gold);
}
.hub-sub {
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--mist);
  max-width: 620px;
  margin: 0 auto;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4.5rem;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(201, 168, 106, 0.2);
  border-radius: 2px;
}
.hub-block-title {
  font-size: 0.78rem;
  font-family: var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 168, 106, 0.25);
}
.hub-list { display: flex; flex-direction: column; gap: 0.5rem; }
.hub-list li {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--paper);
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  transition: padding 0.3s var(--ease);
}
.hub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hub-list li:hover { padding-left: 2rem; color: var(--gold-soft); }

.hub-statement {
  position: relative;
  max-width: 780px;
  margin: 0 auto 4rem;
  padding: 2.5rem 3rem;
  text-align: center;
}
.statement-mark {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
}
.hub-statement p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
  color: var(--paper);
  font-style: italic;
  margin: 0;
}

.hub-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================= WHY */
.why { background: var(--paper); border-top: 1px solid var(--line); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.why-item {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.why-item:nth-child(odd) { padding-right: 3rem; border-right: 1px solid var(--line); }
.why-item:nth-child(even) { padding-left: 3rem; }
.why-item h3 {
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.why-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate);
}

/* ============================================= PARTNERS */
.partners { background: var(--white); text-align: center; }
.partners .section-head { display: flex; flex-direction: column; align-items: center; }
.partners-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal);
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 3.5rem;
}
.partner-tag {
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  transition: all 0.3s var(--ease);
  background: var(--white);
}
.partner-tag:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--paper);
  transform: translateY(-2px);
}
.partners-cta { margin-top: 1rem; }

/* ============================================= CONTACT */
.contact { background: var(--black); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 5rem);
}
.contact-info .section-title { margin-bottom: 1.5rem; }
.contact-lead {
  color: var(--mist);
  line-height: 1.7;
  margin-bottom: 2.75rem;
  font-size: 1.02rem;
  max-width: 460px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.contact-details li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.cd-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  padding-top: 0.25rem;
}
.cd-value {
  color: var(--paper);
  font-size: 0.98rem;
  line-height: 1.6;
}
.cd-link { color: var(--gold-soft); transition: color 0.3s var(--ease); }
.cd-link:hover { color: var(--gold); }

.contact-form {
  background: var(--ink);
  padding: 2.75rem;
  border: 1px solid #2a2a2d;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-form label span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 0.75rem 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-bottom-color: var(--gold); }
.contact-form select option { background: var(--ink); color: var(--paper); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-submit {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--green-soft);
  min-height: 1.2em;
}
.form-status.error { color: #e8a98a; }

/* Honeypot — invisible to humans, attracts bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* ============================================= FOOTER */
.site-footer { background: var(--black); color: var(--paper); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding: 4rem 0 3rem;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.footer-brand .brand-mark {
  width: 44px; height: 44px;
  font-size: 1.5rem;
  border-color: var(--gold-deep);
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--paper);
  margin: 0 0 0.25rem;
}
.footer-tag {
  font-size: 0.8rem;
  color: var(--mist);
  margin: 0;
  letter-spacing: 0.05em;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col li, .footer-col a {
  font-size: 0.92rem;
  color: var(--mist);
  line-height: 1.6;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.75rem 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--mist);
  letter-spacing: 0.04em;
}

/* ============================================= REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================= RESPONSIVE */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: none; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .values-list { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 760px) {
  .header-inner { height: 68px; }
  .mobile-drawer { top: 68px; }
  .brand-sub { display: none; }
  .lang-switch { padding: 0.35rem 0.7rem; }

  .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .values-list { grid-template-columns: 1fr 1fr; }

  .hub-grid { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2.5rem; }
  .hub-statement { padding: 2rem 1rem; }

  .why-grid { grid-template-columns: 1fr; }
  .why-item { grid-template-columns: 1fr; gap: 0.75rem; padding: 2rem 0 !important; border-right: none !important; padding-left: 0 !important; padding-right: 0 !important; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 1.5rem; }

  .hero { min-height: auto; padding-top: 130px; padding-bottom: 5rem; }
  .hero-meta { gap: 2rem; }
  .meta-num { font-size: 2rem; }

  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hub-actions { flex-direction: column; }
  .hub-actions .btn { justify-content: center; width: 100%; }
}

/* JP / FR adjustments — slightly tighter serif sizing for CJK */
html[lang="jp"] body { font-family: "Noto Sans JP", var(--sans); }
html[lang="jp"] .hero-title,
html[lang="jp"] .section-title,
html[lang="jp"] .hub-title,
html[lang="jp"] .pillar-title,
html[lang="jp"] .product-name,
html[lang="jp"] .value-name,
html[lang="jp"] .footer-name,
html[lang="jp"] .intro-text,
html[lang="jp"] .about-text p,
html[lang="jp"] .hub-list li,
html[lang="jp"] .hub-statement p {
  font-family: "Noto Serif JP", "Cormorant Garamond", serif;
  letter-spacing: 0;
}
html[lang="jp"] .hero-title { font-size: clamp(2rem, 5.5vw, 4.5rem); line-height: 1.2; }
html[lang="jp"] .section-title { font-size: clamp(1.75rem, 3.8vw, 2.75rem); line-height: 1.3; }

html[lang="fr"] .hero-title { font-size: clamp(2.25rem, 6vw, 5rem); }
