/* Shared chrome for every page built on _layouts/site.html.
   Page stylesheets in assets/css/pages/ load after this file and
   override only where a page deliberately differs.

   Design: plain and print-like, in the logo's navy (#043c68) and gray (#888888).
   No gradient heroes, glows, pills, icon cards, shadows or hover lifts;
   serif headings, hairline rules between sections. */

/* ---------- Design tokens ---------- */
:root{
  --logo-navy:#043c68;
  --logo-gray:#888888;
  --navy-900:#032b4b;        /* footer */
  --navy-800:#043c68;
  --navy-700:#043c68;
  --navy-600:#1d5384;
  --accent:#043c68;
  --accent-strong:#043c68;
  --ink:#1d2433;
  --muted:#545b66;
  --line:#d9dde3;
  --bg-soft:#f5f6f8;
  --radius:3px;
  --shadow:none;
  --serif:"Source Serif 4",Georgia,"Noto Serif JP",serif;
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,"Helvetica Neue","Segoe UI","Noto Sans JP",Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:var(--serif)}
a{color:inherit}
img{max-width:100%;display:block}
.container{width:min(1120px,92vw);margin-inline:auto}

/* ---------- Nav ---------- */
.nav{position:sticky;top:0;z-index:50;background:var(--logo-navy)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:.55rem;color:#fff;font-weight:700;letter-spacing:.01em;text-decoration:none;font-size:1.1rem}
.brand-logo{height:32px;width:auto}
.nav-links{display:flex;gap:1.4rem;align-items:center}
.nav-links a{color:#c9d3df;text-decoration:none;font-size:.92rem;font-weight:500;transition:color .15s}
.nav-links a:hover{color:#fff}
.nav-links a.active{color:#fff;font-weight:700}
.nav-cta{padding:.45rem .9rem !important;border-radius:3px;background:#fff;color:var(--logo-navy) !important;font-weight:700 !important}
.nav-cta:hover{background:#e6e9ee}

/* ---------- Hero (page title) ---------- */
.hero{background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
.hero-body{text-align:left;padding:2.8rem 0 2.4rem}
.headline{
  font-family:var(--serif);font-weight:600;color:var(--logo-navy);
  font-size:clamp(1.8rem,3.6vw,2.5rem);line-height:1.2;margin:0;
}
.headline .accent{color:var(--logo-navy);font-style:italic;font-weight:400}
.tagline{margin-top:.6rem;font-size:1rem;color:var(--muted);font-style:italic}
.hero-wave{display:none}

/* ---------- Sections and headings ---------- */
section{padding:4rem 0}
section.hero{padding:0}
h2.title{
  font-size:clamp(1.5rem,2.8vw,2rem);font-weight:600;color:var(--logo-navy);
  margin:0 0 1.2rem;letter-spacing:0;
}
h3.subtitle{
  font-size:1.3rem;font-weight:600;color:var(--logo-navy);
  margin:2.4rem 0 .4rem;
}

/* ---------- Prose ---------- */
.prose p{color:var(--ink);font-size:1.05rem;margin:0 0 1.1rem}
.prose strong{color:var(--ink)}
.prose a,.note a{color:var(--logo-navy);text-decoration:underline;text-decoration-color:var(--logo-gray);text-underline-offset:.18em}
.prose a:hover,.note a:hover{text-decoration-color:var(--logo-navy)}
.prose ul:not([class]){margin:0 0 1.1rem;padding-left:1.3rem;color:var(--ink);font-size:1.05rem}
.prose ul:not([class]) li{margin:.4rem 0}
.prose ul:not([class]) ul{margin:.3rem 0 0}

/* ---------- Jump links (under a page title) ---------- */
.jump{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;list-style:none;padding:0;margin:1.2rem 0 0}
.jump a{color:var(--logo-navy);font-size:.95rem;text-decoration:underline;text-decoration-color:var(--logo-gray);text-underline-offset:.18em}
.jump a:hover{text-decoration-color:var(--logo-navy)}

/* ---------- Footer ---------- */
footer{background:var(--navy-900);color:#a9b6c6;padding:2.4rem 0}
.foot-inner{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}
.foot-inner .brand{color:#fff}
footer small{color:#8d9bad}

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .nav-links{display:none}
  section{padding:3rem 0}
}

/* Shared responsive navigation */
.mobile-menu{display:none;position:relative;color:#fff}
.mobile-menu summary{
  display:grid;place-items:center;width:42px;height:42px;padding:0;
  border:1px solid rgba(255,255,255,.22);border-radius:10px;
  cursor:pointer;list-style:none;background:rgba(255,255,255,.06);
}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu summary span,
.mobile-menu summary span::before,
.mobile-menu summary span::after{
  display:block;width:20px;height:2px;border-radius:999px;background:#fff;
  transition:transform .18s ease,opacity .18s ease;
}
.mobile-menu summary span{position:relative}
.mobile-menu summary span::before,.mobile-menu summary span::after{content:"";position:absolute;left:0}
.mobile-menu summary span::before{top:-6px}
.mobile-menu summary span::after{top:6px}
.mobile-menu[open] summary span{background:transparent}
.mobile-menu[open] summary span::before{top:0;transform:rotate(45deg)}
.mobile-menu[open] summary span::after{top:0;transform:rotate(-45deg)}
.mobile-menu-panel{
  position:absolute;right:0;top:calc(100% + 10px);z-index:100;
  display:flex;flex-direction:column;min-width:220px;padding:.55rem;
  border:1px solid rgba(255,255,255,.14);border-radius:12px;
  background:var(--logo-navy);box-shadow:0 8px 20px rgba(0,0,0,.18);
}
.mobile-menu-panel a{
  padding:.7rem .85rem;border-radius:8px;color:#dbe4f7;
  font-size:.95rem;font-weight:600;text-decoration:none;
}
.mobile-menu-panel a:hover,.mobile-menu-panel a.active{color:#fff;background:rgba(255,255,255,.1)}

@media (max-width:860px){
  .mobile-menu{display:block}
}
