/* ── Design tokens ───────────────────────────────────────── */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #445468;
  --navy-light: #E6E9ED;
  --white:      #FFFFFF;
  --off-white:  #F7F8FA;
  --text:       #1A2533;
  --text-muted: #556070;
  --border:     #DDE1E6;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 80px;
  --nav-secondary-h: 48px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* ── HEADER ──────────────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.nav-primary { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.logo-mark { display: flex; align-items: center; cursor: pointer; }

.menu-btn { background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--navy); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.menu-btn .bars { display: flex; flex-direction: column; gap: 5px; }
.menu-btn .bars span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; transform-origin: center; }
.menu-btn.open .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open .bars span:nth-child(2) { opacity: 0; }
.menu-btn.open .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-secondary { background: var(--off-white); border-top: 1px solid var(--border); overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.nav-secondary.open { max-height: 60px; }
.nav-secondary ul { list-style: none; display: flex; align-items: center; justify-content: flex-end; height: var(--nav-secondary-h); }
.nav-secondary ul li a { display: flex; align-items: center; height: var(--nav-secondary-h); padding: 0 24px; color: var(--text-muted); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; border-bottom: 2px solid transparent; transition: color .15s; }
.nav-secondary ul li a:hover { color: var(--navy); }
.nav-secondary ul li a.active { color: var(--navy); border-bottom-color: var(--navy); }

.nav-about-wrap { position: relative; }
.nav-about-btn { display: flex; align-items: center; height: var(--nav-secondary-h); padding: 0 24px; color: var(--text-muted); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; border-bottom: 2px solid transparent; cursor: pointer; gap: 5px; transition: color .15s; user-select: none; }
.nav-about-btn:hover { color: var(--navy); }
.nav-about-btn.active { color: var(--navy); border-bottom-color: var(--navy); }
.nav-about-btn .chevron { font-size: 10px; transition: transform .2s; opacity: 0.5; }
.nav-about-btn.open .chevron { transform: rotate(180deg); }

.nav-about-dropdown { position: fixed; top: calc(var(--nav-h) + var(--nav-secondary-h) + 1px); background: var(--white); border: 1px solid var(--border); border-top: 2px solid var(--navy); min-width: 160px; display: none; flex-direction: column; box-shadow: 0 4px 12px rgba(0,0,0,0.08); z-index: 300; }
.nav-about-dropdown.open { display: flex; }
.nav-about-dropdown a { display: block; padding: 12px 20px; font-size: 14px; color: var(--text-muted); font-weight: 400; border-left: 2px solid transparent; transition: color .15s, background .15s, border-color .15s; }
.nav-about-dropdown a:hover, .nav-about-dropdown a.active { color: var(--navy); background: var(--off-white); border-left-color: var(--navy-mid); }

/* ── HOME ────────────────────────────────────────────────── */
.hero { background: var(--navy); padding: 100px 0 96px; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; line-height: 1.08; color: var(--white); margin-bottom: 12px; letter-spacing: -1px; }
.hero h1 .accent { color: rgba(255,255,255,0.4); }
.hero-divider { width: 40px; height: 2px; background: var(--navy-mid); margin: 32px auto; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto; line-height: 1.65; font-style: italic; }

.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 48px; }
.focus-card { background: var(--white); padding: 32px 28px; }
.focus-card .fc-number { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--navy-mid); margin-bottom: 14px; }
.focus-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.focus-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.approach { padding: 52px 0; background: var(--off-white); }
.approach h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.approach p { color: var(--text-muted); margin-bottom: 12px; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about-hero { padding: 64px 0 56px; }
.about-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--navy); margin-bottom: 20px; letter-spacing: -0.3px; }
.about-hero p { font-size: 17px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; padding-bottom: 56px; }
.detail-item dt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-mid); margin-bottom: 6px; }
.detail-item dd { font-size: 15px; color: var(--text); }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-hero { padding: 64px 0 56px; }
.contact-hero h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--navy); margin-bottom: 16px; letter-spacing: -0.3px; }
.contact-hero .lead { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 48px; }
.contact-block { display: flex; flex-direction: column; gap: 24px; max-width: 400px; }
.contact-line dt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-mid); margin-bottom: 6px; }
.contact-line dd a { font-size: 17px; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--border); padding-bottom: 1px; transition: border-color .15s; }
.contact-line dd a:hover { border-color: var(--navy); }

/* ── CAPTCHA ─────────────────────────────────────────────── */
.captcha-box { margin-bottom: 40px; max-width: 400px; }
.captcha-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.captcha-question { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-input { width: 80px; height: 40px; border: 1px solid var(--border); border-radius: 3px; padding: 0 12px; font-size: 16px; font-family: var(--font); color: var(--navy); outline: none; transition: border-color .15s; }
.captcha-input:focus { border-color: var(--navy-mid); }
.captcha-input.shake { animation: shake .35s ease; border-color: #c0392b; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-6px)} 40%{transform:translateX(6px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(4px)} }
.captcha-btn { height: 40px; padding: 0 20px; background: var(--navy); color: var(--white); border: none; border-radius: 3px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font); transition: background .15s; }
.captcha-btn:hover { background: var(--navy-mid); }
.captcha-error { font-size: 13px; color: #c0392b; margin-top: 10px; min-height: 18px; }
.contact-revealed { display: none; animation: fadeIn .4s ease; }
.contact-revealed.show { display: block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.subject-note { margin-top: 36px; padding: 16px 20px; background: var(--off-white); border-left: 3px solid var(--navy-mid); font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 400px; }
.subject-note strong { color: var(--navy); }

/* ── POLICY PAGES ────────────────────────────────────────── */
.policy-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.policy-hero h1 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.3px; }
.policy-hero .policy-meta { font-size: 13px; color: var(--text-muted); }
.policy-body { padding: 48px 0 80px; }
.policy-body h2 { font-size: 15px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin: 40px 0 12px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.policy-body ul { margin: 0 0 12px 0; padding-left: 20px; }
.policy-body ul li { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 4px; }
.policy-body a { color: var(--navy); border-bottom: 1px solid var(--border); }
.policy-body a:hover { border-color: var(--navy); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 40px 0; margin-top: 80px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { display: flex; align-items: flex-start; }
.footer-nav { display: flex; gap: 24px; list-style: none; }
.footer-nav li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .15s; }
.footer-nav li a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); width: 100%; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 8px; text-align: center; }
.footer-copy a { color: rgba(255,255,255,0.4); border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-copy a:hover { color: rgba(255,255,255,0.7); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .nav-secondary.open { max-height: 60px; }
}
