/* NU-ARC — colors taken from the logo */
:root {
  --green-900: #022b22;
  --green-800: #033429;
  --green-700: #0b4a3a;
  --gold: #e8b04b;
  --gold-soft: #f3d79a;
  --cream: #f6f0e1;
  --paper: #fbf8f1;
  --ink: #1d2622;
  --ink-soft: #4d5a54;
  --line: #e2dccb;
  --radius: 14px;
  --header-h: 64px;
  --font: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  --font-display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; }
p { margin: 0; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2, 43, 34, 0.94);
  backdrop-filter: blur(8px);
  color: var(--cream);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; }
.brand img { border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--cream); text-decoration: none; font-size: .92rem; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.site-nav a:hover { background: rgba(255, 255, 255, .08); }
.site-nav .nav-cta { background: var(--gold); color: var(--green-900); font-weight: 700; margin-left: 6px; }
.site-nav .nav-cta:hover { background: var(--gold-soft); }
.site-nav .lang-switch { border: 1px solid rgba(246, 240, 225, .4); margin-left: 6px; font-size: .85rem; }
.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 80% 20%, var(--green-700), var(--green-800) 55%, var(--green-900));
  color: var(--cream);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero-lead { color: var(--gold); font-weight: 700; letter-spacing: .06em; }
.hero-title { font-family: var(--font-display); font-size: clamp(3.2rem, 9vw, 6rem); letter-spacing: .02em; line-height: 1.05; margin-top: 8px; }
.hero-sub { font-family: var(--font-display); font-size: 1.05rem; opacity: .85; letter-spacing: .08em; }
.hero-tagline { font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 700; margin-top: 28px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-logo img { width: 100%; max-width: 440px; margin-left: auto; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; text-decoration: none; font-weight: 700; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: var(--green-900); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost { border: 1.5px solid rgba(246, 240, 225, .6); color: var(--cream); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--green-800); color: var(--cream); }
.kicker { font-family: var(--font-display); color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; }
.section:not(.section-dark) .kicker { color: #b07d1c; }
.section h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-top: 6px; }
.lead { font-size: 1.1rem; color: var(--ink-soft); margin-top: 18px; max-width: 46em; }
.section-dark .lead { color: rgba(246, 240, 225, .85); }
.sub-heading { font-size: 1.15rem; margin-top: 56px; }

.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card h3 { font-size: 1.1rem; color: var(--green-800); }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }
.card-num { font-family: var(--font-display); color: var(--gold); font-weight: 700; font-size: .9rem; display: block; margin-bottom: 6px; }


/* Why */
.why-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-list li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(246, 240, 225, .14); border-radius: var(--radius); padding: 28px 24px; }
.why-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.why-list h3 { font-size: 1.15rem; margin-top: 14px; }
.why-list p { margin-top: 10px; color: rgba(246, 240, 225, .82); font-size: .95rem; }

/* About */
.prose { margin-top: 22px; max-width: 46em; display: grid; gap: 14px; font-size: 1.06rem; color: var(--ink-soft); }
.pillar { border-top: 3px solid var(--gold); padding-top: 20px; }
.pillar-sub { font-family: var(--font-display); color: #b07d1c; font-size: .85rem; letter-spacing: .1em; }
.pillar h3 { font-size: 1.5rem; margin-top: 2px; color: var(--green-800); }
.pillar p { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; }
.principles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 40px 0 0; }
.principles li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 18px; font-size: .92rem; font-weight: 500; color: var(--green-800); }
.principles li::before { content: "✓ "; color: #b07d1c; font-weight: 700; }

/* Hardware chips */
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--green-800); color: var(--cream); border-radius: 999px; padding: 8px 18px; font-size: .95rem; }

/* ---------- Team ---------- */
.team-group { margin-top: 48px; }
.team-group-title { font-size: 1rem; color: #b07d1c; letter-spacing: .06em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-top: 22px; }
.member-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.member-photo { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; background: var(--green-800); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--gold); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-initials { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.member-body { margin-top: 18px; }
.member-role { display: inline-block; background: var(--gold); color: var(--green-900); font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.member-name { font-size: 1.2rem; }
.member-grade { font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.member-name-sub { font-family: var(--font-display); font-size: .85rem; color: var(--ink-soft); }
.member-field { font-size: .92rem; color: var(--green-700); font-weight: 500; margin-top: 6px; }
.member-link { display: inline-block; margin-top: 10px; font-size: .85rem; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Join ---------- */
.join-box {
  background: var(--green-800); color: var(--cream);
  border-radius: 24px; padding: 56px 48px;
  background-image: radial-gradient(600px 300px at 90% 0%, var(--green-700), transparent);
}
.join-box .kicker { color: var(--gold) !important; }
.join-box .lead { color: rgba(246, 240, 225, .88); }
.join-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.join-contact { font-size: .9rem; color: rgba(246, 240, 225, .8); overflow-wrap: anywhere; }
.join-contact a { color: var(--gold-soft); }
.related ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.related a { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.related a:hover { border-color: var(--gold); }
.related span { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(246, 240, 225, .8); padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong { display: block; color: var(--cream); font-family: var(--font-display); letter-spacing: .04em; }
.footer-brand span { font-size: .85rem; }
.footer-copy { font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 180px; margin: 0; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 72px 0; }

  .nav-toggle-label { display: block; width: 40px; height: 40px; position: relative; cursor: pointer; }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    position: absolute; left: 9px; width: 22px; height: 2px; background: var(--cream); content: ""; transition: transform .2s;
  }
  .nav-toggle-label span { top: 19px; }
  .nav-toggle-label span::before { left: 0; top: -7px; }
  .nav-toggle-label span::after { left: 0; top: 7px; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--green-900); padding: 8px 16px 16px;
    display: none;
  }
  .site-nav a { padding: 12px 8px; border-radius: 8px; }
  .site-nav .nav-cta, .site-nav .lang-switch { margin: 8px 0 0; text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}
@media (max-width: 560px) {
  .member-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .member-card { padding: 20px 12px 18px; }
  .member-photo { width: 96px; height: 96px; }
  .member-initials { font-size: 1.8rem; }
  .member-name { font-size: 1.05rem; }
  .join-box { padding: 36px 22px; }
}
