/* 株式会社マスノ — 共通スタイル
   ネイビー × ゴールド / Cormorant Garamond + Shippori Mincho + Noto Sans JP
   本文は .body-text、テキスト幅は .container (860px) で統一する。 */

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

:root {
  --navy: #0a1628;
  --navy-mid: #152240;
  --navy-deep: #060e1c;
  --gold: #b8975a;
  --gold-light: #d4b07a;
  --gold-soft: rgba(184,151,90,0.18);
  --cream: #f5f0e8;
  --paper: #faf8f3;
  --white: #ffffff;
  --gray: #8a8a8a;
  --ink: #4a4a4a;
  --light-gray: #e8e4dc;
  --font-latin: 'Cormorant Garamond', 'Shippori Mincho', 'Yu Mincho', serif;
  --font-serif: 'Shippori Mincho', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--gold); color: var(--navy); padding: .6rem 1rem; font-size: .8rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── HEADER ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid,
.site-header.is-static {
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(184,151,90,0.15);
}
.header-inner {
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-en { font-family: var(--font-latin); font-size: 1.12rem; letter-spacing: .2em; color: var(--gold); }
.brand-ja { font-size: .6rem; letter-spacing: .3em; color: rgba(255,255,255,.55); margin-top: .15rem; }

.global-nav ul { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.global-nav a {
  position: relative; font-size: .76rem; letter-spacing: .14em; color: rgba(255,255,255,.8);
  text-decoration: none; padding: .4rem 0; transition: color .2s;
}
.global-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.global-nav a:hover, .global-nav a[aria-current="page"] { color: var(--gold-light); }
.global-nav a:hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.global-nav .nav-cta {
  border: 1px solid rgba(184,151,90,.6); padding: .55rem 1.3rem; color: var(--gold-light);
  transition: background .25s, color .25s;
}
.global-nav .nav-cta::after { display: none; }
.global-nav .nav-cta:hover { background: var(--gold); color: var(--navy); }

.menu-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  position: relative; z-index: 120;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1px; background: var(--gold-light);
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO (TOP) ── */
.hero {
  min-height: 100vh; min-height: 100svh;
  background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 6rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 72% 45%, rgba(184,151,90,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 10% 100%, rgba(21,34,64,0.9) 0%, transparent 70%),
    linear-gradient(140deg, #0a1628 0%, #0f2040 55%, #0a1628 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(184,151,90,0.035) 0 1px, transparent 1px 96px);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.hero-map {
  position: absolute; right: 1%; top: 52%; transform: translateY(-50%);
  width: min(58vw, 820px); opacity: .95; pointer-events: none;
}
.hero-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }
.hero-content { max-width: 780px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--font-latin); font-size: .82rem; letter-spacing: .32em; color: var(--gold);
  margin-bottom: 2.2rem;
}
.hero-label::before { content: ''; width: 48px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1.45; color: var(--white);
  letter-spacing: .04em; margin-bottom: 2rem;
}
.hero-title em { font-style: normal; color: var(--gold-light); }
.hero-sub { font-size: .92rem; line-height: 2.1; color: rgba(255,255,255,.62); margin-bottom: 2.6rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll {
  position: absolute; left: 2.5rem; bottom: 2.2rem;
  font-family: var(--font-latin); font-size: .7rem; letter-spacing: .3em; color: rgba(255,255,255,.4);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: .8rem;
}
.hero-scroll::after { content: ''; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.4s var(--ease) infinite; }

.anim-in { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; }
.anim-d1 { animation-delay: .15s; } .anim-d2 { animation-delay: .35s; } .anim-d3 { animation-delay: .55s; } .anim-d4 { animation-delay: .75s; }

/* 地図の航路アニメーション */
.route { stroke-dasharray: 6 8; animation: dash 22s linear infinite; }
.node-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s var(--ease) infinite; }
.node-pulse.d2 { animation-delay: 1.1s; } .node-pulse.d3 { animation-delay: 2.2s; }

/* ── PAGE HERO (下層) ── */
.page-hero {
  background: var(--navy); position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 5.5rem) 0 5rem;
}
.page-hero .hero-grid-lines { opacity: .8; }
.page-hero-inner { position: relative; }
.page-hero .section-label { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-serif); font-weight: 400; color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.5; letter-spacing: .05em; margin-bottom: 1.2rem;
}
.page-hero p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 2; max-width: 640px; }
.breadcrumb { margin-top: 2.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; font-size: .7rem; letter-spacing: .1em; color: rgba(255,255,255,.4); }
.breadcrumb li + li::before { content: '/'; margin-right: .5rem; color: rgba(184,151,90,.5); }
.breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 2.4rem; font-size: .76rem; letter-spacing: .2em; text-decoration: none;
  border: 1px solid var(--gold); cursor: pointer; transition: background .25s, color .25s, border-color .25s;
  background: transparent; color: var(--gold-light); font-family: var(--font-sans); font-weight: 400;
}
.btn:hover { background: var(--gold); color: var(--navy); }
.btn-solid { background: var(--gold); color: var(--navy); }
.btn-solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-dark { border-color: var(--navy); color: var(--navy); }
.btn-dark:hover { background: var(--navy); color: var(--white); }
.btn .arrow { width: 18px; height: 8px; }

.text-link {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; letter-spacing: .14em;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .3rem;
  transition: gap .25s var(--ease), color .2s;
}
.text-link:hover { gap: 1rem; color: var(--gold); }
.text-link .arrow { width: 16px; height: 8px; }

/* ── SECTIONS ── */
section { padding: 7.5rem 0; }
.container { max-width: 860px; margin: 0 auto; padding: 0 2.5rem; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }

.section-label {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--font-latin); font-size: .8rem; letter-spacing: .3em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 1.1rem;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.55; color: var(--navy);
  letter-spacing: .05em; margin-bottom: 1.8rem;
}
.bg-navy .section-title { color: var(--white); }
.section-head { margin-bottom: 3.5rem; }

/* 共通本文 */
.body-text {
  font-size: 0.92rem; font-weight: 300; color: var(--ink); line-height: 2;
  margin-bottom: 1.2rem; max-width: 640px;
}
.bg-navy .body-text { color: rgba(255,255,255,.65); }
.body-text strong { font-weight: 500; color: var(--navy); }

/* ── STATS ── */
.stats { background: var(--navy-deep); padding: 0; }
.stats-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat { padding: 2.6rem 2rem; border-right: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: 1.4rem; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-latin); font-size: 2.8rem; font-weight: 300; color: var(--gold); line-height: 1; }
.stat-num small { font-size: 1rem; margin-left: .2rem; }
.stat-text { font-size: .74rem; color: rgba(255,255,255,.55); line-height: 1.7; letter-spacing: .05em; }
.stat-text strong { display: block; color: var(--white); font-weight: 400; font-size: .84rem; margin-bottom: .15rem; }

/* ── INTRO / VALUE ── */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.value-card { padding: 2.2rem 1.8rem 2rem; background: var(--cream); border-top: 2px solid var(--gold); position: relative; }
.value-num { font-family: var(--font-latin); font-size: .85rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 1rem; }
.value-card h3 { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; color: var(--navy); margin-bottom: .8rem; letter-spacing: .05em; }
.value-card p { font-size: .8rem; color: var(--gray); line-height: 1.95; }

/* ── BUSINESS CARDS ── */
.biz-list { display: grid; gap: 1.5rem; }
.biz-row {
  display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 2rem;
  padding: 2.4rem 2.4rem; background: var(--white); text-decoration: none; color: inherit;
  border: 1px solid var(--light-gray); position: relative; overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.biz-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease);
}
.biz-row:hover { border-color: rgba(184,151,90,.5); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10,22,40,.35); }
.biz-row:hover::before { transform: scaleY(1); }
.biz-icon { width: 96px; height: 96px; border: 1px solid var(--light-gray); display: grid; place-items: center; background: var(--paper); }
.biz-icon svg { width: 52px; height: 52px; }
.biz-no { font-family: var(--font-latin); font-size: .78rem; letter-spacing: .25em; color: var(--gold); margin-bottom: .4rem; }
.biz-row h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; letter-spacing: .04em; margin-bottom: .55rem; }
.biz-row p { font-size: .8rem; color: var(--gray); line-height: 1.9; max-width: 480px; }
.biz-go { width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; transition: background .25s; }
.biz-go svg { width: 16px; height: 8px; color: var(--gold); }
.biz-row:hover .biz-go { background: var(--gold); }
.biz-row:hover .biz-go svg { color: var(--white); }

/* ── MESSAGE ── */
.message-block { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.motto {
  font-family: var(--font-serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--navy);
  line-height: 1.9; letter-spacing: .06em; padding: 2.2rem 0 2.2rem 2.2rem; border-left: 2px solid var(--gold);
  margin: 2.2rem 0;
}
.bg-navy .motto { color: var(--white); }
.signature { font-size: .82rem; color: var(--gray); letter-spacing: .1em; text-align: right; max-width: 640px; }
.signature strong { font-family: var(--font-serif); font-weight: 500; color: var(--navy); font-size: 1.05rem; margin-left: .8rem; letter-spacing: .15em; }

/* ── PARTNERS ── */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.partners-col h3 {
  font-family: var(--font-latin); font-size: .82rem; letter-spacing: .28em; color: var(--gold); font-weight: 400;
  margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(184,151,90,.25);
}
.partners-col ul { list-style: none; }
.partners-col li { font-size: .84rem; color: rgba(255,255,255,.72); padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.06); line-height: 1.6; }
.partners-col li span { display: block; font-size: .72rem; color: rgba(255,255,255,.4); margin-top: .1rem; }
.partners-note { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 2rem; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(120deg, #101d38 0%, var(--navy-mid) 100%); border-top: 1px solid rgba(184,151,90,.18); position: relative; overflow: hidden; padding: 6.5rem 0; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 90% at 85% 50%, rgba(184,151,90,.12), transparent 60%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-inner .section-title { color: var(--white); margin-bottom: .8rem; }
.cta-inner p { color: rgba(255,255,255,.6); font-size: .86rem; line-height: 2; max-width: 460px; }

/* ── DETAIL PAGES ── */
.feature-list { list-style: none; display: grid; gap: 1px; background: var(--light-gray); border: 1px solid var(--light-gray); margin-top: 2.5rem; }
.feature-list li { background: var(--white); padding: 1.6rem 1.8rem; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; }
.feature-list .fl-no { font-family: var(--font-latin); color: var(--gold); font-size: 1rem; letter-spacing: .1em; }
.feature-list h3 { font-size: .92rem; font-weight: 500; margin-bottom: .35rem; letter-spacing: .04em; }
.feature-list p { font-size: .8rem; color: var(--gray); line-height: 1.9; }

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.tag { font-size: .7rem; letter-spacing: .08em; color: var(--gold); border: 1px solid rgba(184,151,90,.35); padding: .3rem .85rem; background: var(--white); }

.flow { list-style: none; counter-reset: flow; display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: 2.5rem; }
.flow li { counter-increment: flow; background: var(--white); border: 1px solid var(--light-gray); padding: 1.6rem 1rem 1.4rem; text-align: center; position: relative; }
.flow li::before { content: counter(flow, decimal-leading-zero); display: block; font-family: var(--font-latin); color: var(--gold); font-size: 1.3rem; margin-bottom: .5rem; }
.flow li strong { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .3rem; }
.flow li span { font-size: .7rem; color: var(--gray); line-height: 1.7; display: block; }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.related a { display: block; padding: 2rem; background: var(--white); border: 1px solid var(--light-gray); text-decoration: none; transition: border-color .25s, transform .35s var(--ease); }
.related a:hover { border-color: var(--gold); transform: translateY(-2px); }
.related small { font-family: var(--font-latin); font-size: .75rem; letter-spacing: .25em; color: var(--gold); }
.related strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.02rem; margin-top: .4rem; }

/* ── COMPANY ── */
.story-block { max-width: 640px; border-left: 2px solid var(--gold); padding-left: 2rem; }
.story-block em { font-style: normal; color: var(--navy); font-weight: 400; }
.company-table { width: 100%; border-collapse: collapse; font-size: .88rem; border-top: 1px solid var(--light-gray); }
.company-table tr { border-bottom: 1px solid var(--light-gray); }
.company-table th { width: 180px; padding: 1.3rem 0; text-align: left; font-weight: 400; color: var(--gray); font-size: .78rem; letter-spacing: .1em; vertical-align: top; }
.company-table td { padding: 1.3rem 0 1.3rem 2rem; color: var(--navy); line-height: 1.9; }
.timeline { list-style: none; border-left: 1px solid rgba(184,151,90,.4); margin-left: .4rem; }
.timeline li { position: relative; padding: 0 0 2.2rem 2.2rem; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--cream); border: 1px solid var(--gold); }
.timeline li:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--font-latin); font-size: 1.25rem; color: var(--gold); letter-spacing: .06em; line-height: 1.3; }
.tl-text { font-size: .86rem; color: var(--ink); line-height: 1.9; margin-top: .2rem; }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.office-card { padding: 2.4rem; border: 1px solid var(--light-gray); background: var(--white); }
.office-tag { font-family: var(--font-latin); font-size: .75rem; letter-spacing: .28em; color: var(--gold); margin-bottom: .7rem; }
.office-name { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 1.1rem; }
.office-addr { font-size: .85rem; line-height: 1.9; margin-bottom: .4rem; }
.office-addr-en { font-size: .74rem; color: var(--gray); line-height: 1.8; }
.office-map { display: inline-flex; margin-top: 1.2rem; }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; }
.contact-points li { background: var(--white); border: 1px solid var(--light-gray); padding: 1.4rem 1.2rem; font-size: .78rem; color: var(--ink); line-height: 1.8; }
.contact-points strong { display: block; font-weight: 500; color: var(--navy); font-size: .84rem; margin-bottom: .3rem; }
.faq { border-top: 1px solid var(--light-gray); }
.faq details { border-bottom: 1px solid var(--light-gray); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; font-size: .9rem; font-weight: 400; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q.'; font-family: var(--font-latin); color: var(--gold); margin-right: .8rem; font-size: 1.05rem; }
.faq summary::after { content: ''; position: absolute; right: .4rem; top: 50%; width: 10px; height: 10px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { font-size: .84rem; color: var(--ink); line-height: 2; padding: 0 0 1.5rem 2rem; max-width: 640px; }

/* ── PROSE (プライバシーポリシー等) ── */
.prose h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.12rem; margin: 2.8rem 0 1rem; letter-spacing: .04em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.prose li { font-size: .9rem; color: var(--ink); line-height: 2; }

/* ── CHAT ── */
.chat-launcher {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 150;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.4rem .95rem 1.2rem; background: var(--navy); color: var(--gold-light);
  border: 1px solid rgba(184,151,90,.55); box-shadow: 0 16px 40px -14px rgba(6,14,28,.6);
  font-size: .78rem; letter-spacing: .14em; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, opacity .3s;
}
.chat-launcher:hover { background: var(--navy-mid); transform: translateY(-2px); }
.chat-launcher svg { width: 20px; height: 20px; }
.chat-launcher .dot { width: 7px; height: 7px; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 0 3px rgba(95,208,138,.2); }
.chat-launcher.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

.chat-panel {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 160;
  width: min(400px, calc(100vw - 2rem)); height: min(600px, calc(100vh - 3.2rem)); height: min(600px, calc(100dvh - 3.2rem));
  display: flex; flex-direction: column; background: var(--navy-mid);
  border: 1px solid rgba(184,151,90,.35); box-shadow: 0 30px 80px -20px rgba(6,14,28,.7);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-panel.is-inline {
  position: relative; right: auto; bottom: auto; width: 100%; height: 560px; opacity: 1; transform: none; pointer-events: auto;
  box-shadow: 0 30px 70px -40px rgba(6,14,28,.6); z-index: 1;
}
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid rgba(255,255,255,.08); background: var(--navy); }
.chat-title { display: flex; align-items: center; gap: .8rem; }
.chat-title .brand-mark { width: 30px; height: 30px; }
.chat-title strong { display: block; color: var(--white); font-weight: 400; font-size: .86rem; letter-spacing: .08em; }
.chat-title small { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.45); font-size: .66rem; letter-spacing: .08em; }
.chat-title small::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5fd08a; }
.chat-close { background: none; border: 0; color: rgba(255,255,255,.6); width: 36px; height: 36px; cursor: pointer; font-size: 1.3rem; line-height: 1; }
.chat-close:hover { color: var(--gold-light); }
.chat-window { flex: 1; overflow-y: auto; padding: 1.3rem 1.2rem 1rem; display: flex; flex-direction: column; gap: .9rem; overscroll-behavior: contain; }
.chat-msg { display: flex; }
.chat-msg.ai { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble { max-width: 84%; padding: .8rem 1rem; font-size: .84rem; line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.chat-msg.ai .chat-bubble { background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); border-left: 2px solid var(--gold); }
.chat-msg.user .chat-bubble { background: rgba(184,151,90,.2); color: var(--white); }
.chat-msg.system .chat-bubble { max-width: 100%; background: rgba(95,208,138,.1); border: 1px solid rgba(95,208,138,.35); color: #c9f0d6; font-size: .8rem; }
.chat-bubble a { color: var(--gold-light); }
.chat-typing { display: inline-flex; gap: 4px; padding: .3rem 0; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .4; animation: blink 1.2s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .2s; } .chat-typing i:nth-child(3) { animation-delay: .4s; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1.2rem .9rem; }
.chat-suggest button { background: transparent; border: 1px solid rgba(184,151,90,.4); color: var(--gold-light); font-size: .72rem; padding: .4rem .8rem; cursor: pointer; letter-spacing: .04em; transition: background .2s; }
.chat-suggest button:hover { background: rgba(184,151,90,.15); }
.chat-form { display: flex; border-top: 1px solid rgba(255,255,255,.08); }
.chat-input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; padding: 1rem 1.1rem; font-family: var(--font-sans); font-size: 16px; color: var(--white); font-weight: 300; resize: none; max-height: 120px; line-height: 1.6; }
.chat-input::placeholder { color: rgba(255,255,255,.35); }
.chat-send { background: var(--gold); border: 0; color: var(--navy); padding: 0 1.3rem; cursor: pointer; font-size: .76rem; letter-spacing: .14em; font-weight: 500; transition: background .2s; }
.chat-send:hover { background: var(--gold-light); }
.chat-send:disabled { opacity: .45; cursor: default; }
.chat-note { font-size: .62rem; color: rgba(255,255,255,.38); padding: .55rem 1.2rem .7rem; line-height: 1.6; border-top: 1px solid rgba(255,255,255,.05); }
.chat-note a { color: rgba(255,255,255,.6); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ── FOOTER ── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.55); padding: 4.5rem 0 2rem; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-about p { font-size: .76rem; line-height: 2; margin-top: 1.4rem; }
.footer-col h2 { font-family: var(--font-latin); font-weight: 400; font-size: .78rem; letter-spacing: .28em; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { font-size: .78rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: .68rem; letter-spacing: .1em; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -280; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(3.2); opacity: 0; } 100% { opacity: 0; } }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

@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, .anim-in { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-map { right: -20%; width: 90vw; opacity: .45; }
  .flow { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header-inner, .hero-inner, .stats-inner, .footer-inner { padding: 0 1.4rem; }
  .container { padding: 0 1.4rem; }
  .menu-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 0; background: rgba(6,14,28,.98); z-index: 110;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  .global-nav.is-open { opacity: 1; pointer-events: auto; }
  .global-nav ul { flex-direction: column; gap: 1.6rem; text-align: center; }
  .global-nav a { font-size: .95rem; }
  body.menu-open { overflow: hidden; }
  section { padding: 5rem 0; }
  .hero { padding-bottom: 5rem; }
  .hero-map { top: auto; bottom: -6%; transform: none; right: -30%; width: 130vw; opacity: .3; }
  .hero-scroll { display: none; }
  .hero-label { letter-spacing: .2em; font-size: .72rem; }
  .hero-label::before { width: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); padding: 1.6rem 0; }
  .stat:last-child { border-bottom: 0; }
  .value-grid, .partners-grid, .office-grid, .related, .contact-points { grid-template-columns: 1fr; }
  .partners-grid { gap: 2.5rem; }
  .biz-row { grid-template-columns: 1fr; gap: 1.2rem; padding: 2rem 1.6rem; }
  .biz-icon { width: 72px; height: 72px; }
  .biz-icon svg { width: 40px; height: 40px; }
  .biz-go { position: absolute; right: 1.4rem; top: 2rem; }
  .flow { grid-template-columns: 1fr 1fr; }
  .company-table th { width: 96px; font-size: .74rem; }
  .company-table td { padding-left: 1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.4rem; }
  .chat-launcher { right: 1rem; bottom: 1rem; }
  .chat-panel { right: .5rem; bottom: .5rem; width: calc(100vw - 1rem); height: calc(100dvh - 1rem); }
  .chat-panel.is-inline { height: 540px; }
  .page-hero { padding: calc(var(--header-h) + 3.5rem) 0 3.5rem; }
}

/* ── COLUMN ── */
.column-list { display: grid; gap: 1.2rem; }
.column-card { display: block; padding: 2rem 2.2rem; background: var(--white); border: 1px solid var(--light-gray); text-decoration: none; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.column-card:hover { border-color: rgba(184,151,90,.5); transform: translateY(-2px); box-shadow: 0 18px 40px -26px rgba(10,22,40,.35); }
.column-meta { display: flex; gap: 1rem; align-items: center; font-size: .72rem; letter-spacing: .1em; color: var(--gray); margin-bottom: .6rem; }
.column-meta span { color: var(--gold); border: 1px solid rgba(184,151,90,.4); padding: .1rem .6rem; }
.column-card h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.12rem; line-height: 1.7; margin-bottom: .5rem; }
.column-card p { font-size: .8rem; color: var(--gray); line-height: 1.9; }
.column-more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .74rem; letter-spacing: .12em; color: var(--gold); }
.column-more .arrow { width: 16px; height: 8px; }
.article-body { max-width: 760px; }
.article-lead { font-size: 1rem; line-height: 2.1; color: var(--navy); padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--light-gray); }
.article-body h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.6; margin: 3.5rem 0 1.2rem; padding-left: 1rem; border-left: 2px solid var(--gold); scroll-margin-top: calc(var(--header-h) + 1rem); }
.article-body h3 { font-size: 1rem; font-weight: 500; margin: 2.2rem 0 .8rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.4rem; max-width: 640px; }
.article-body li { font-size: .92rem; color: var(--ink); line-height: 2; }
.article-body .body-text a, .article-body li a { color: var(--navy); text-decoration-color: var(--gold); }
.toc { background: var(--paper); border: 1px solid var(--light-gray); padding: 1.6rem 2rem; margin-bottom: 2rem; }
.toc p { font-family: var(--font-latin); letter-spacing: .25em; color: var(--gold); font-size: .8rem; margin-bottom: .6rem; }
.toc ol { margin: 0 0 0 1.2rem; }
.toc a { font-size: .86rem; color: var(--navy); text-decoration: none; }
.toc a:hover { color: var(--gold); }
.article-cta { margin-top: 4rem; padding: 2.4rem; background: var(--cream); border-top: 2px solid var(--gold); display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.article-cta p { font-size: .88rem; line-height: 1.9; max-width: 420px; }
@media (max-width: 860px) { .column-card { padding: 1.6rem 1.4rem; } .article-cta { padding: 1.8rem 1.4rem; } }
article.bg-white { padding: 5rem 0 6.5rem; }
@media (max-width: 860px) { article.bg-white { padding: 3.5rem 0 4.5rem; } }
