/* ==========================================================================
   JIHDO — Japan International Human Capital Development Organization
   Modern, responsive design system (no framework dependency)
   ========================================================================== */

:root {
  --navy-900: #081a33;
  --navy-800: #0c2547;
  --navy-700: #123462;
  --navy-600: #1b4a85;
  --red-600: #c4162f;
  --red-500: #d9263f;
  --gold-500: #b8893b;
  --ink: #16202e;
  --ink-soft: #4a5668;
  --ink-mute: #77839a;
  --paper: #ffffff;
  --cream: #f6f4ef;
  --mist: #eef2f8;
  --line: #e1e6ee;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(8, 26, 51, .06), 0 2px 8px rgba(8, 26, 51, .05);
  --shadow-md: 0 6px 24px rgba(8, 26, 51, .09);
  --shadow-lg: 0 18px 50px rgba(8, 26, 51, .16);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", sans-serif;
  --font-serif: "Source Serif 4", "Noto Serif", Georgia, "Times New Roman", serif;
  --header-h: 72px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Google Translate injects a banner and shifts the body — neutralise it */
body { top: 0 !important; }
.skiptranslate > iframe, iframe.skiptranslate { display: none !important; }
#google_translate_element { position: absolute; left: -9999px; top: 0; height: 0; overflow: hidden; }
.goog-te-spinner-pos, .goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

img, svg { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--red-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px;
  font: 600 .95rem/1 var(--font-sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 8px 22px rgba(196, 22, 47, .35); }
.btn-primary:hover { background: var(--red-500); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(8, 26, 51, .06); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); margin-right: auto; min-width: 0; }

.nav { display: flex; align-items: center; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav a.nav-link {
  display: block; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  color: var(--ink-soft); font-size: .93rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s;
}
.nav a.nav-link:hover, .nav a.nav-link.is-active { color: var(--navy-900); background: var(--mist); }
.nav a.nav-cta { background: var(--navy-900); color: #fff; margin-left: 6px; font-weight: 600; }
.nav a.nav-cta:hover { background: var(--red-600); color: #fff; }

/* Language picker */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer;
  font: 600 .88rem/1 var(--font-sans); color: var(--navy-900); transition: border-color .2s, box-shadow .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(27, 74, 133, .1); }
.lang-btn svg { width: 18px; height: 18px; }
.lang-btn .caret { width: 12px; height: 12px; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 300px; max-height: min(70vh, 460px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px;
  display: none; grid-template-columns: 1fr 1fr; gap: 2px;
}
.lang-menu.is-open { display: grid; }
.lang-menu button {
  text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer;
  font: 500 .9rem/1.25 var(--font-sans); color: var(--ink);
}
.lang-menu button:hover { background: var(--mist); }
.lang-menu button[aria-current="true"] { background: var(--navy-900); color: #fff; }
.lang-note { grid-column: 1 / -1; font-size: .72rem; color: var(--ink-mute); padding: 8px 12px 4px; border-top: 1px solid var(--line); margin-top: 4px; line-height: 1.4; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(27, 74, 133, .75), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(196, 22, 47, .18), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #0a2a55 100%);
  padding: clamp(72px, 11vw, 150px) 0 clamp(110px, 14vw, 170px);
}
.hero::before { /* rising-sun motif */
  content: ""; position: absolute; z-index: -1; right: -10%; top: 46%; width: min(46vw, 520px); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 90, 100, .95), var(--red-600) 55%, #8f0f22 100%);
  opacity: .9; filter: saturate(1.05);
  box-shadow: 0 0 0 28px rgba(196, 22, 47, .09), 0 0 0 64px rgba(196, 22, 47, .05), 0 0 0 110px rgba(196, 22, 47, .03);
}
.hero::after { /* grid texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-content { max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero .eyebrow { color: #cfe0f7; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); padding: 8px 16px; border-radius: 999px; margin-bottom: 28px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 4px rgba(217, 38, 63, .3); }
.hero h1 { font: 600 clamp(2.4rem, 6vw, 4.4rem)/1.06 var(--font-serif); color: #fff; letter-spacing: -.025em; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: #ffc9d0; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d6e2f3; max-width: 60ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.stats {
  position: relative; z-index: 2; margin-top: -78px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 28px 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font: 600 clamp(2rem, 3.6vw, 2.9rem)/1 var(--font-serif); color: var(--navy-900); letter-spacing: -.02em; }
.stat-num sup { font-size: .5em; color: var(--red-600); margin-left: 2px; vertical-align: super; }
.stat-label { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--cream); }
.section-mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--red-600); margin-bottom: 14px; }
.section-head .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red-600); }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--red-600); }
.section-head h2 { font: 600 clamp(1.9rem, 4vw, 3rem)/1.1 var(--font-serif); letter-spacing: -.02em; margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* Intro / at a glance */
.glance { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.glance-text .lead { font: 400 clamp(1.25rem, 2.2vw, 1.65rem)/1.5 var(--font-serif); color: var(--navy-800); }
.glance-text p { color: var(--ink-soft); }
.facts { background: var(--cream); border-radius: var(--radius); padding: 8px 28px; border: 1px solid #ebe6da; }
.facts dl { margin: 0; }
.facts .row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e4dfd2; }
.facts .row:last-child { border-bottom: 0; }
.facts dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 500; color: var(--ink); }
.facts dd small { display: block; color: var(--ink-mute); font-weight: 400; font-size: .86rem; margin-top: 2px; }

/* News */
.news-list { list-style: none; display: grid; gap: 14px; max-width: 920px; }
.news-item {
  display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.news-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: transparent; }
.news-date { font-weight: 700; font-size: .85rem; color: var(--red-600); letter-spacing: .03em; padding-top: 3px; }
.news-item p { margin: 0; color: var(--ink); line-height: 1.6; }
.news-more { margin-top: 18px; }
.news-list .is-extra { display: none; }
.news-list.is-expanded .is-extra { display: grid; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font: 600 .95rem var(--font-sans); color: var(--navy-600);
  display: inline-flex; align-items: center; gap: 8px;
}
.link-btn:hover { color: var(--red-600); }
.link-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.link-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Operations */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px 32px; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy-700), var(--red-600)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-600)); color: #fff; box-shadow: 0 8px 20px rgba(18, 52, 98, .28);
}
.card-icon svg { width: 28px; height: 28px; }
.card:nth-child(2) .card-icon { background: linear-gradient(145deg, #8f0f22, var(--red-500)); box-shadow: 0 8px 20px rgba(196, 22, 47, .28); }
.card:nth-child(3) .card-icon { background: linear-gradient(145deg, #8a6420, var(--gold-500)); box-shadow: 0 8px 20px rgba(184, 137, 59, .3); }
.card:nth-child(4) .card-icon { background: linear-gradient(145deg, #0e6b6b, #1a9a94); box-shadow: 0 8px 20px rgba(26, 154, 148, .28); }
.card h3 { font: 600 1.55rem/1.2 var(--font-serif); margin-bottom: 8px; }
.card .intro { color: var(--ink-soft); font-size: .98rem; font-style: italic; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: .98rem; line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4162f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* About / governance */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.panel h3 { font: 600 1.4rem/1.2 var(--font-serif); margin-bottom: 20px; }
.panel.full { grid-column: 1 / -1; }
.def { margin: 0; }
.def .row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.def .row:first-child { padding-top: 0; }
.def .row:last-child { border-bottom: 0; padding-bottom: 0; }
.def dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); padding-top: 3px; }
.def dd { margin: 0; color: var(--ink); }
.def ul { list-style: none; display: grid; gap: 6px; }
.def ul li small { color: var(--ink-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { background: var(--mist); color: var(--navy-800); padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; }
.chips li.lead-role { background: var(--navy-900); color: #fff; }
.chips li span { opacity: .7; font-weight: 400; font-size: .8em; margin-left: 4px; }
.group-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin: 26px 0 12px; }
.group-label:first-of-type { margin-top: 0; }

/* Chairman */
.message { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.message-side { position: sticky; top: calc(var(--header-h) + 24px); }
.message-card { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--radius); padding: 40px 32px; position: relative; overflow: hidden; }
.message-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; bottom: -70px; background: var(--red-600); opacity: .85; }
.message-card .q { font: 700 6rem/0.6 var(--font-serif); color: rgba(255, 255, 255, .22); display: block; height: 44px; }
.message-card blockquote { margin: 0 0 28px; font: 400 1.35rem/1.45 var(--font-serif); position: relative; z-index: 1; }
.message-card .who { position: relative; z-index: 1; font-size: .92rem; color: #cfe0f7; }
.message-card .who strong { display: block; color: #fff; font-size: 1.05rem; }
.message-body p { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.85; }
.message-body p:first-child::first-letter { font: 600 4rem/.8 var(--font-serif); float: left; padding: 8px 12px 0 0; color: var(--red-600); }
.signature { font: italic 1.5rem/1.5 var(--font-serif); color: var(--navy-800); margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature small { display: block; font: 500 .95rem/1.5 var(--font-sans); font-style: normal; color: var(--ink-mute); margin-top: 8px; }

/* Timeline */
.timeline { list-style: none; position: relative; max-width: 940px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--navy-700), var(--red-600)); opacity: .25; }
.tl-item { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 44px; padding: 0 0 30px; }
.tl-year { font: 600 1.5rem/1.2 var(--font-serif); color: var(--navy-800); text-align: right; padding-top: 14px; }
.tl-item::before { content: ""; position: absolute; left: 111px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--navy-600); z-index: 1; transition: background .2s, border-color .2s, transform .2s; }
.tl-item:hover::before { background: var(--red-600); border-color: var(--red-600); transform: scale(1.2); }
.tl-item.is-major::before { background: var(--red-600); border-color: var(--red-600); }
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow-sm); }
.tl-body p { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--ink-soft); }
.tl-body p + p { margin-top: 8px; }
.tl-item.is-major .tl-body { border-color: rgba(196, 22, 47, .35); }
.tl-item.is-extra { display: none; }
.timeline.is-expanded .tl-item.is-extra { display: grid; }
.tl-more { text-align: center; margin-top: 12px; }
.tl-more .btn { background: #fff; color: var(--navy-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tl-more .btn:hover { border-color: var(--navy-600); }

/* Activities */
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.report { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; }
.report .num { font: 600 3.2rem/1 var(--font-serif); color: transparent; -webkit-text-stroke: 1.5px var(--red-600); margin-bottom: 14px; display: block; }
.report h3 { font: 600 1.25rem/1.3 var(--font-serif); margin-bottom: 12px; }
.report p { color: var(--ink-soft); font-size: .98rem; margin: 0 0 12px; }
.report p:last-child { margin-bottom: 0; }
.report-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border: 0; color: #fff; }
.report-wide .big { font: 600 clamp(3rem, 6vw, 5rem)/1 var(--font-serif); color: #fff; }
.report-wide .big sup { color: #ff8b99; font-size: .5em; }
.report-wide h3 { color: #fff; }
.report-wide p { color: #cfe0f7; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.05rem; color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123462' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s, background-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: #fde7ea; }
.faq .answer { padding: 0 24px 22px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 420px 1fr; gap: 24px; align-items: stretch; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.contact-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.contact-card .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--navy-700); display: grid; place-items: center; }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card h3 { font: 700 .78rem/1 var(--font-sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: 8px; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; font-weight: 500; color: var(--ink); line-height: 1.5; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--mist); box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9c8de; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.site-footer .brand { color: #fff; }
.footer-about { margin: 20px 0 0; font-size: .95rem; max-width: 42ch; }
.site-footer h4 { color: #fff; font: 700 .78rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #b9c8de; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .85rem; color: #8ea3c2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy-900); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-600); }
.to-top svg { width: 22px; height: 22px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav a.nav-link { padding: 10px 11px; font-size: .9rem; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .glance, .message, .contact-grid { grid-template-columns: 1fr; }
  .message-side { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .container { padding: 0 18px; }
  .cards, .about-grid, .report-grid { grid-template-columns: 1fr; }
  .card, .panel, .report { padding: 28px 24px; }
  .hero::before { right: -35%; width: 80vw; top: 30%; opacity: .5; }
  .stat { padding: 22px 18px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .facts .row, .def .row { grid-template-columns: 1fr; gap: 4px; }
  .facts { padding: 4px 22px; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding: 0 0 22px 34px; }
  .tl-item::before { left: 0; top: 6px; }
  .tl-year { text-align: left; padding-top: 0; font-size: 1.25rem; }
  .report-wide { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .lang-btn .lang-label { display: none; }
  .lang-btn { padding: 0 12px; }
  .lang-menu { right: -50px; }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .to-top, .hero::before, .map { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   Light theme override — all-white backgrounds, no sun motif
   ========================================================================== */
.brand-logo { height: 46px; width: auto; max-width: none; flex: none; }
.brand { flex: none; }
.site-footer .brand-logo { height: 40px; }

.hero { background: #fff; color: var(--ink); padding: clamp(64px, 9vw, 120px) 0 clamp(120px, 14vw, 170px); }
.hero::before { display: none; }
.hero::after { background-image: linear-gradient(rgba(8,26,51,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(8,26,51,.045) 1px, transparent 1px); opacity: .7; }
.hero .eyebrow { color: var(--red-600); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.hero h1 { color: var(--navy-900); }
.hero h1 em { color: var(--red-600); }
.hero-lead { color: var(--ink-soft); }
.btn-ghost { color: var(--navy-900); border-color: var(--line); background: #fff; }
.btn-ghost:hover { color: var(--navy-900); border-color: var(--navy-600); background: #fff; }

.section-alt, .section-mist { background: #fff; }
.section + .section { border-top: 1px solid var(--line); }
.facts { background: #fff; border-color: var(--line); }
.facts .row { border-color: var(--line); }

.message-card { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.message-card::after { display: none; }
.message-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red-600); }
.message-card .q { color: var(--red-600); opacity: .35; }
.message-card .who { color: var(--ink-mute); }
.message-card .who strong { color: var(--navy-900); }

.report-wide { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.report-wide .big { color: var(--navy-900); }
.report-wide .big sup { color: var(--red-600); }
.report-wide h3 { color: var(--navy-900); }
.report-wide p { color: var(--ink-soft); }

.site-footer { background: #fff; color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer h4 { color: var(--navy-900); }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--red-600); }
.footer-bottom { border-top-color: var(--line); color: var(--ink-mute); }

@media (max-width: 1240px) { .brand-logo { height: 40px; } }
@media (max-width: 960px) { .brand-logo { height: 34px; } }
@media (max-width: 400px) { .brand-logo { height: 28px; } }

.translated-ltr .hero h1 em, .translated-rtl .hero h1 em { font-style: normal; }
.translated-ltr .hero h1, .translated-rtl .hero h1 { font-weight: 700; }

.lang-menu a {
  display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none;
  font: 500 .9rem/1.25 var(--font-sans); color: var(--ink);
}
.lang-menu a:hover { background: var(--mist); color: var(--red-600); }

/* Compact desktop nav so the logo keeps its full size */
.nav ul { gap: 0; }
.nav a.nav-link { padding: 9px 10px; font-size: .86rem; }
.nav a.nav-cta { margin-left: 4px; padding: 9px 16px; }
.header-inner { gap: 14px; }
@media (max-width: 1140px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 20px 24px 40px; overflow: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav a.nav-link { padding: 18px 8px; font-size: 1.15rem; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
  .nav a.nav-cta { margin: 20px 0 0; text-align: center; border-radius: 999px; border: 0; background: var(--navy-900) !important; }
  .lang-menu { width: min(300px, calc(100vw - 32px)); right: -56px; }
  body.nav-open { overflow: hidden; }
}
