/*
Theme Name: VCC Corporate
Theme URI: https://vcc.co.jp
Author: Alliance Mount / VCC
Author URI: https://vcc.co.jp
Description: Trilingual (JA/EN/VI) corporate theme for VCC Co., Ltd. (Vietnam Challenge Corporation) — Vietnam M&A and market entry advisory. Modern Japanese corporate design with a native WordPress contact form delivering to info@vcc.co.jp. Install and activate — the homepage renders automatically.
Version: 3.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vcc
/* ============================================================
   VCC Co., Ltd. — Corporate Site
   Japanese corporate style: restraint, whitespace, precision.
   ============================================================ */

:root {
  --red: #A62C2B;
  --red-dark: #832120;
  --red-deep: #6E1B1A;
  --ink: #191B1F;
  --ink-soft: #33363C;
  --gray: #6E7278;
  --line: #E4E1DA;
  --paper: #FBFAF7;
  --paper-warm: #F5F3EE;
  --white: #FFFFFF;

  --serif: "Noto Serif", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ---------- Language switching ---------- */
body.lang-en .lang-vi, body.lang-en .lang-ja,
body.lang-vi .lang-en, body.lang-vi .lang-ja,
body.lang-ja .lang-en, body.lang-ja .lang-vi { display: none; }

/* Japanese typography */
body.lang-ja {
  --serif: "Noto Serif JP", "Noto Serif", serif;
  --sans: "Noto Sans JP", "Be Vietnam Pro", "Helvetica Neue", sans-serif;
  font-family: var(--sans);
}
body.lang-ja .hero-title,
body.lang-ja .insight-title { line-height: 1.5; letter-spacing: 0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 13px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 16px 42px; font-size: 15px; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--red-deep);
  border-color: var(--white);
}
.btn-light:hover { background: transparent; color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.4s, background 0.4s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { height: 30px; width: auto; color: var(--red); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; }
.brand-sub { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }

.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 22px; }

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.lang-switch button {
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray);
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.25s;
}
.lang-switch button.active { color: var(--red); }
.lang-switch button:hover { color: var(--ink); }
.lang-divider { color: var(--line); }

.btn-header { padding: 10px 24px; font-size: 13px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  padding-top: 48px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}
.hero-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 34px 80px -34px rgba(25, 27, 31, 0.5);
}
.hero-photo::after {
  /* thin gold frame + a whisper of brand warmth to seat it in the palette */
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(188, 156, 80, 0.55);
  border-radius: 8px;
  box-shadow: inset 0 0 90px rgba(110, 27, 26, 0.18);
  pointer-events: none;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* shippō (七宝) pattern patches behind the circular scene */
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%23A62C2B' stroke-opacity='.14'%3E%3Ccircle cx='24' cy='24' r='24'/%3E%3Ccircle cx='0' cy='0' r='24'/%3E%3Ccircle cx='48' cy='0' r='24'/%3E%3Ccircle cx='0' cy='48' r='24'/%3E%3Ccircle cx='48' cy='48' r='24'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 48px 48px;
  z-index: 0;
}
.hero-visual::before {
  top: -28px;
  right: -24px;
  width: 210px;
  height: 210px;
}
.hero-visual::after {
  bottom: -22px;
  left: -28px;
  width: 160px;
  height: 160px;
}
.hero-tategaki {
  position: absolute;
  top: 14px;
  right: -46px;
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--gray);
  z-index: 2;
}
.hero-tategaki::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-bottom: 16px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 30px;
}
.hero-kicker::before {
  content: "";
  width: 44px; height: 1.5px;
  background: var(--red);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(31px, 3.7vw, 52px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 17em;
  margin-bottom: 32px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
  position: relative;
}

.hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 24px 30px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat + .stat { padding-left: 32px; }
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  color: var(--red);
  line-height: 1.15;
}
.stat-label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-top: 6px;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: 110px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
}
/* hinomaru dot */
.section-head::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  align-self: center;
  flex-shrink: 0;
}
.section-no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--red);
  letter-spacing: 0.1em;
}
.section-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--line);
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.35;
  margin-bottom: 18px;
  max-width: 20em;
}
.section-lead {
  font-size: 16.5px;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 40em;
  margin-bottom: 56px;
}

/* ============================================================
   INSIGHT
   ============================================================ */
.section-insight {
  background-color: var(--ink);
  background-image:
    linear-gradient(105deg, rgba(20, 15, 15, 0.86) 0%, rgba(28, 22, 22, 0.68) 48%, rgba(110, 27, 26, 0.42) 100%),
    image-set(url("assets/img/insight.webp") type("image/webp"), url("assets/img/insight.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
/* ensō circle accent */
.section-insight::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.section-insight .insight-grid { position: relative; z-index: 1; }
.section-insight .section-no { color: #D98A89; }
.section-insight .section-label { color: #9CA0A8; }
.section-insight .section-label::before { background: #3A3D44; }

.insight-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: start;
  padding-top: 16px;
}
.insight-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.45;
}
.insight-title em {
  font-style: normal;
  color: #E4A5A4;
  border-bottom: 1px solid rgba(228, 165, 164, 0.4);
}
.insight-body {
  padding-top: 10px;
  font-weight: 300;
  font-size: 16.5px;
  color: #C9CBD0;
}
.insight-body p + p { margin-top: 22px; }

/* ============================================================
   JAPAN × VIETNAM BRIDGE
   ============================================================ */
.bridge {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  padding: 84px 0 56px;
}
.bridge-caption {
  text-align: center;
  margin-bottom: 30px;
}
.bridge-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--red);
  margin-bottom: 14px;
}
.bridge-caption h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.5;
  color: var(--ink);
}
.bridge-art {
  display: block;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  height: auto;
}
.ba-line { stroke: var(--line); stroke-width: 1.5; }
.ba-sil { fill: var(--ink); opacity: 0.16; }
.ba-snow { fill: var(--paper-warm); }
.ba-torii rect { fill: var(--red); opacity: 0.85; }
.ba-tower path, .ba-tower rect { fill: var(--red); opacity: 0.8; }
.ba-vn { fill: var(--red); opacity: 0.88; }
.ba-sun { fill: var(--red); }
.ba-arc {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
}
.ba-dot { fill: var(--red); }
.ba-plane { fill: var(--ink); opacity: 0.8; }
.ba-star { fill: #BC9C50; }
.ba-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  fill: var(--gray);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 48px 44px 44px;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-card:hover {
  box-shadow: 0 24px 60px -24px rgba(25, 27, 31, 0.18);
  transform: translateY(-4px);
}
.service-index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
}
.service-card h3 {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  margin: 16px 0 26px;
}
.service-list li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

/* ============================================================
   WHY VCC
   ============================================================ */
.section-why {
  background-color: var(--paper-warm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23A62C2B' stroke-opacity='.05'%3E%3Ccircle cx='28' cy='28' r='28'/%3E%3Ccircle cx='0' cy='0' r='28'/%3E%3Ccircle cx='56' cy='0' r='28'/%3E%3Ccircle cx='0' cy='56' r='28'/%3E%3Ccircle cx='56' cy='56' r='28'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  margin-top: 40px;
}
.why-item {
  padding: 44px 34px;
  border-right: 1px solid var(--line);
}
.why-item:last-child { border-right: none; }
.why-num {
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
  margin-bottom: 22px;
}
.why-item h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.why-item p {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 56px 60px;
  margin-top: 40px;
  position: relative;
}
.case-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--red);
}
.case-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.case-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(166, 44, 43, 0.35);
  padding: 5px 14px;
}
.case-loc {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gray);
}
.case-card h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
  max-width: 26em;
}
.case-body {
  columns: 2;
  column-gap: 48px;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
}
.case-body p { break-inside: avoid; margin-bottom: 18px; }

.case-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.ch-num {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--red);
  line-height: 1.2;
}
.ch-label {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-top: 6px;
  line-height: 1.6;
}

/* ============================================================
   ALLIANCE
   ============================================================ */
.section-alliance {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red-dark) 55%, var(--red) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-alliance::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.section-alliance::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -360px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.section-alliance .section-no { color: rgba(255,255,255,0.75); }
.section-alliance .section-label { color: rgba(255,255,255,0.65); }
.section-alliance .section-label::before { background: rgba(255,255,255,0.3); }

.alliance-inner { max-width: 880px; position: relative; z-index: 1; }
.alliance-partner {
  margin-bottom: 34px;
}
.am-logo {
  display: block;
  height: 150px;
  width: auto;
  margin-left: -14px; /* optically align the logo's internal padding with the text edge */
}
.alliance-inner h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  margin-bottom: 26px;
}
.alliance-inner strong { font-weight: 700; letter-spacing: 0.03em; }
.alliance-tagline {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.alliance-tagline::before {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   COMPANY
   ============================================================ */
.company-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin-top: 30px;
}
.company-table { border-top: 1px solid var(--ink); }
.company-table .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.company-table dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 3px;
}
.company-table dd { font-size: 15px; line-height: 1.8; }

.business-activities {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 38px;
  align-self: start;
}
.business-activities h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.business-activities ul { margin-top: 6px; }
.business-activities li {
  position: relative;
  padding: 11px 0 11px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--paper-warm);
}
.business-activities li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

/* ============================================================
   PROFILE
   ============================================================ */
.section-profile {
  background-color: var(--paper-warm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cg fill='none' stroke='%23A62C2B' stroke-opacity='.05'%3E%3Ccircle cx='28' cy='28' r='28'/%3E%3Ccircle cx='0' cy='0' r='28'/%3E%3Ccircle cx='56' cy='0' r='28'/%3E%3Ccircle cx='0' cy='56' r='28'/%3E%3Ccircle cx='56' cy='56' r='28'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 56px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  margin-top: 30px;
  align-items: start;
}
.profile-side {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.profile-quote {
  position: relative;
  background: var(--white);
  border-top: 3px solid var(--red);
  padding: 46px 34px 34px;
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.62;
  color: var(--ink);
  box-shadow: 0 24px 60px -30px rgba(25, 27, 31, 0.28);
}
.profile-quote .quote-mark {
  position: absolute;
  top: 12px;
  left: 28px;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
  color: var(--red);
  opacity: 0.9;
}
.profile-ident {
  margin-top: 28px;
  padding-left: 22px;
  position: relative;
}
.profile-ident::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--red);
}
.profile-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.profile-role {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 10px;
}

.profile-intro {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.profile-achievements li {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.profile-achievements h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  padding-left: 26px;
}
.profile-achievements h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.profile-achievements p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--gray);
  padding-left: 26px;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 38px;
  text-align: center;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.team-card:hover {
  box-shadow: 0 20px 50px -22px rgba(25, 27, 31, 0.16);
  transform: translateY(-4px);
}
.team-figure {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 18px;
}
.team-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 10px; }
.team-card p { font-size: 14px; font-weight: 300; color: var(--gray); }

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(16, 12, 12, 0.9) 0%, rgba(24, 18, 18, 0.86) 60%, rgba(110, 27, 26, 0.6) 100%),
    image-set(url("assets/img/contact.webp") type("image/webp"), url("assets/img/contact.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  color: var(--paper);
  position: relative;
}
.contact-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; }
.contact-inner h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.4;
  margin-bottom: 18px;
}
.contact-inner > p {
  font-size: 16px;
  font-weight: 300;
  color: #B9BCC2;
  margin-bottom: 48px;
}

.contact-form { text-align: left; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.contact-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9CA0A8;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.3s, background 0.3s;
}
.contact-form select { appearance: none; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #D98A89;
  background: rgba(255, 255, 255, 0.09);
}
.form-full { margin-bottom: 32px; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin: 0 auto; display: flex; }
.form-note {
  margin-top: 22px;
  text-align: center;
  font-size: 14px;
  color: #8FCF9C;
}
.form-note-fallback { color: #D9B36A; }
.form-honey { position: absolute; left: -9999px; opacity: 0; height: 0; }
.btn.sending { opacity: 0.55; pointer-events: none; }

.contact-direct {
  margin-top: 34px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 300;
  color: #B9BCC2;
}
.contact-direct a {
  color: var(--white);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.25s, color 0.25s;
}
.contact-direct a:hover { color: #D98A89; border-color: #D98A89; }

/* ============================================================
   SEIGAIHA BAND (青海波)
   ============================================================ */
.seigaiha-band {
  background: var(--ink);
  line-height: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #101216;
  color: #A7ABB2;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 56px;
}
.footer-mark { height: 26px; color: var(--red); margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6E7278;
  margin-bottom: 18px;
}
.footer-col p { font-size: 13.5px; line-height: 1.8; margin-bottom: 16px; }
.footer-col strong { color: #D5D7DB; font-weight: 600; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13.5px; transition: color 0.25s; }
.footer-nav a:hover { color: var(--white); }
.footer-email { color: #D5D7DB; transition: color 0.25s; }
.footer-email:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 12.5px;
  color: #6E7278;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .site-header .main-nav.open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 32px 20px;
    z-index: 99;
  }
  .main-nav.open a { padding: 14px 0; border-bottom: 1px solid var(--paper-warm); font-size: 15px; }

  .hero-inner { grid-template-columns: 1fr; gap: 12px; padding-top: 28px; }
  .hero-visual { justify-self: center; max-width: 440px; margin-top: 30px; }
  .hero-tategaki { display: none; }

  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); padding-left: 0 !important; }
  .stat:nth-child(2n) { border-right: none; padding-left: 32px !important; }
  .stat:nth-child(n+3) { border-bottom: none; }

  .insight-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item { border-bottom: 1px solid var(--line); }
  .why-item:nth-child(2n) { border-right: none; }
  .why-item:nth-child(n+3) { border-bottom: none; }
  .case-body { columns: 1; }
  .company-grid { grid-template-columns: 1fr; gap: 44px; }
  .profile-grid { grid-template-columns: 1fr; gap: 48px; }
  .profile-side { position: static; top: auto; }
  .team-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .header-inner { padding: 0 22px; gap: 18px; }
  .brand-text { display: none; }
  .btn-header { display: none; }
  .section { padding: 80px 0; }

  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .why-item:last-child { border-bottom: none !important; }
  .case-card { padding: 36px 26px; }
  .bridge { padding: 60px 0 40px; }
  .hero-visual { max-width: 320px; }
  .hero-visual::before { width: 140px; height: 140px; top: -18px; right: -14px; }
  .hero-visual::after { width: 110px; height: 110px; bottom: -14px; left: -16px; }
  .alliance-partner { margin-bottom: 24px; }
  .am-logo { height: 110px; margin-left: -10px; }
  .case-highlights { grid-template-columns: 1fr; gap: 20px; }
  .company-table .row { grid-template-columns: 1fr; gap: 4px; padding: 16px 2px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
