:root {
  color-scheme: dark;
  --bg: #0a120e;
  --panel: #111c16;
  --text: #f1f5f2;
  --muted: #acb9b0;
  --green: #32d471;
  --green-soft: #b9e7c6;
  --orange: #e99b53;
  --blue: #65b5e5;
  --line: rgba(255, 255, 255, .10);
}
* { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
main { flex: 1; min-width: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px max(24px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.brand-avatar { flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { padding: 9px 0; color: var(--muted); font-size: .9rem; font-weight: 600; border-bottom: 2px solid transparent; transition: color 160ms; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); border-bottom-color: var(--green); }
.menu-toggle { display: none; }
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(115deg, #102b1d, #0d1912); }
.hero-content, .page-hero, .section, .banner-strip, .footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.hero-content { padding: 76px 0 64px; }
.hero-avatar { display: block; width: 128px; height: 128px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; object-fit: cover; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { font-weight: 700; }
.eyebrow, .section-kicker { margin: 22px 0 12px; color: var(--green-soft); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
h1 { margin-bottom: 20px; font-size: clamp(1.65rem, 4.2vw, 3.8rem); line-height: 1.35; }
h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.5; }
h3 { font-size: 1.15rem; }
.lead { max-width: 710px; margin-bottom: 0; color: #cad7ce; font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.9; }
.activity-lead { max-width: 980px; }
.activity-lead span, .activity-card p span { display: inline-block; max-width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 104px; min-height: 48px; padding: 10px 24px; border: 1px solid transparent; border-radius: 9px; font-weight: 600; transition: background-color 160ms, border-color 160ms; }
.button.primary { background: var(--green); color: #07180d; }
.button.primary:hover { background: #58df8c; }
.button.secondary { background: #14231a; border-color: rgba(255,255,255,.2); }
.button.secondary:hover { background: #1c2c22; border-color: var(--muted); }
.stats { width: min(420px, calc(100% - 48px)); margin: 28px auto 56px; border-block: 1px solid var(--line); }
.stats div { padding: 22px 0; text-align: center; }
.stats strong, .stats span { display: block; }
.stats strong { color: var(--green); font-size: clamp(1.8rem, 2.6vw, 2.35rem); line-height: 1.2; }
.stats span { margin-top: 8px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.page-hero { margin-bottom: 48px; padding: 64px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-top: 0; }
.page-hero h1 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.6rem); }
.page-hero .contact-title { font-size: clamp(1.65rem, 3.3vw, 3rem); }
.section { margin-bottom: 72px; }
.intro-grid, .activity-grid, .link-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-link, .activity-card, .link-list a { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.feature-link { display: flex; flex-direction: column; justify-content: center; min-height: 164px; padding: 26px; border-width: 1px 0 0; border-radius: 0; background: transparent; }
.feature-link, .link-list a { transition: border-color 160ms, background-color 160ms; }
.feature-link:hover, .link-list a:hover { border-color: var(--green); background: #142219; }
.feature-link span { color: var(--green-soft); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.feature-link strong { margin-top: 8px; font-size: 1.25rem; line-height: 1.5; }
.feature-link small, .link-list small { margin-top: 8px; color: var(--muted); font-size: .9rem; font-weight: 400; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 48px; align-items: start; }
.section-copy .section-kicker { margin-top: 0; }
.section-copy p:not(.section-kicker), .activity-card p { color: var(--muted); font-size: 1rem; line-height: 1.9; }
.profile-title span { display: inline-block; }
.profile-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
dl { margin: 0; }
.profile-panel dl > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 22px; border-bottom: 1px solid var(--line); align-items: baseline; }
.profile-panel dl > div:last-child { border-bottom: 0; }
dt { color: var(--muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; }
dd { margin: 0; font-weight: 500; }
.activity-card { padding: 28px 24px; }
.activity-card h2 { font-size: 1.35rem; line-height: 1.4; }
.activity-card p { margin-bottom: 0; }
.icon-dot { display: block; width: 28px; height: 3px; margin-bottom: 24px; }
.icon-dot.green { background: var(--green); }
.icon-dot.orange { background: var(--orange); }
.icon-dot.blue { background: var(--blue); }
.banner-strip { margin-bottom: 72px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.banner-strip img { display: block; width: 100%; height: auto; }
.link-list a { display: flex; flex-direction: column; justify-content: center; min-height: 140px; padding: 26px; }
.link-list span { font-size: 1.25rem; font-weight: 600; }
.contact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer { margin-top: auto; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; text-align: center; }
/* Shallow raised surfaces: a lit top edge and a darker lower edge. */
.feature-link, .activity-card, .link-list a, .profile-panel {
  border: 1px solid rgba(255, 255, 255, .12);
  border-top-color: rgba(255, 255, 255, .20);
  border-bottom-color: #07100b;
  border-radius: 10px;
  background: #15221a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 4px 0 #070e0a, 0 7px 12px rgba(0, 0, 0, .18);
}
.button {
  border-top-color: rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 4px 0 #07140b, 0 6px 10px rgba(0, 0, 0, .18);
}
.button.primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 0 #19753d, 0 6px 10px rgba(0, 0, 0, .18); }
.button, .feature-link, .link-list a {
  transition: background-color 160ms, border-color 160ms, transform 160ms, box-shadow 160ms;
}
@media (hover: hover) and (pointer: fine) {
  .button:hover, .feature-link:hover, .link-list a:hover { transform: translateY(-1px); }
}
.button:active, .feature-link:active, .link-list a:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12), 0 2px 0 #070e0a;
}
.button.primary:active { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12), 0 2px 0 #19753d; }

@media (max-width: 820px) {
  .site-header { flex-wrap: wrap; padding: 12px 24px; gap: 0 12px; }
  .brand { font-size: .95rem; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; }
  .menu-toggle span { width: 20px; height: 2px; background: currentColor; transition: transform 180ms, opacity 180ms; }
  .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); }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
  .nav a { min-height: 44px; padding: 10px 12px; border-bottom: 0; border-left: 2px solid transparent; }
  .nav a.is-active { border-left-color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
  .hero-content { padding: 48px 0; }
  .hero-avatar { width: 112px; height: 112px; }
  .intro-grid, .activity-grid, .link-list, .split { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 28px; }
  .page-hero { padding-top: 44px; margin-bottom: 32px; }
  .section, .banner-strip { margin-bottom: 48px; }
  .feature-link { min-height: 140px; padding: 22px 16px; }
  .activity-card { padding: 24px; }
}
@media (max-width: 380px) {
  .site-header { padding-inline: 16px; gap: 8px; }
  .brand { gap: 8px; font-size: .85rem; }
  .brand-avatar { width: 32px; height: 32px; }
  .hero-content, .page-hero, .section, .banner-strip, .footer { width: calc(100% - 32px); }
  .profile-panel dl > div { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 18px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.profile-title span { display: block; }
