:root{
    --navy: #101E42;
    --navy-deep: #0A1531;
    --cream: #FBF6EC;
    --cream-2: #F3EAD7;
    --paper: #FFFDF8;
    --red: #C8443A;
    --red-dark: #A83730;
    --gold: #E3A83B;
    --ink: #1B2140;
    --muted: #6B7089;
    --line: #E4DAC4;
    --line-dark: rgba(255,255,255,0.12);
    --radius: 4px;
  }

  *{ box-sizing: border-box; margin:0; padding:0; }
  html{ scroll-behavior: smooth; }
  body{
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }
  .jp{ font-family: 'Shippori Mincho', serif; }
  img, svg{ display:block; max-width:100%; }
  a{ text-decoration:none; color:inherit; }
  ul{ list-style:none; }
  .wrap{
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
  }
  section{ position: relative; }
  .eyebrow-jp{
    font-family:'Shippori Mincho', serif;
    color: var(--red);
    font-size: 15px;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
  }
  h1,h2,h3,h4{ font-weight: 700; line-height: 1.18; }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid transparent;
    cursor:pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .btn-primary{ background: var(--red); color:#fff; }
  .btn-primary:hover{ background: var(--red-dark); box-shadow: 0 6px 18px rgba(200,68,58,.35); transform: translateY(-1px); }
  .btn-outline{ border-color: rgba(255,255,255,.55); color:#fff; }
  .btn-outline:hover{ background: rgba(255,255,255,.1); }
  .btn-outline-dark{ border-color: var(--ink); color: var(--ink); }
  .btn-outline-dark:hover{ background: var(--ink); color:#fff; }
  .btn-gold{ background: var(--gold); color: var(--navy-deep); }
  .btn-gold:hover{ background:#cf9628; box-shadow: 0 6px 18px rgba(227,168,59,.35); transform: translateY(-1px);}

  /* ---------- HEADER ---------- */
  header{
    position: sticky; top:0; z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding: 14px 32px;
    max-width: 1240px; margin:0 auto;
  }
  .logo{ display:flex; align-items:center; gap:11px; color:#fff; }
  .logo-mark{ width:38px; height:38px; flex-shrink:0; }
  .logo-text .name{ font-weight:700; font-size:17px; letter-spacing:.02em; color:#fff; }
  .logo-text .tag{ font-size:10px; color: var(--gold); letter-spacing:.03em; margin-top:1px; }
  .nav-links{ display:flex; align-items:center; gap:30px; }
  .nav-links a{ color: rgba(255,255,255,.82); font-size:14.5px; font-weight:500; transition:color .15s; }
  .nav-links a:hover{ color:#fff; }
  .nav-right{ display:flex; align-items:center; gap:22px; }
  .nav-login{ color:rgba(255,255,255,.82); font-size:14.5px; font-weight:500; }
  .burger{ display:none; width:24px; height:18px; position:relative; cursor:pointer; }
  .burger span{ position:absolute; left:0; width:100%; height:2px; background:#fff; }
  .burger span:nth-child(1){top:0;} .burger span:nth-child(2){top:8px;} .burger span:nth-child(3){top:16px;}

  /* ---------- HERO ---------- */
  .hero{
    background: var(--cream);
    color: var(--ink);
    position:relative;
  }
  .hero-media{ position:relative; width:100%; overflow:hidden; }
  .hero-media img{ width:100%; height:auto; display:block; }
  .hero-inner{
    position:absolute; z-index:2; top:0; left:0; height:100%; width:100%;
  }
  .hero-text{
    position:absolute; top:9%; left:6%; width:42%;
    max-width:560px;
  }
  .hero-text .jp-line{ font-family:'Shippori Mincho',serif; font-size:clamp(17px,2.5vw,32px); color: var(--ink); margin-bottom:1.1em; letter-spacing:.02em; line-height:1.15; }
  .hero-text h1{ font-size:clamp(18px,2.85vw,38px); color: var(--ink); margin-bottom:.6em; line-height:1.18; }
  .hero-text p.lead{ font-size:clamp(10.5px,1.05vw,16px); color: var(--muted); margin-bottom: .9em; line-height:1.5; }
  .hero-steps{ font-family:'Shippori Mincho',serif; font-size:clamp(12px,1.5vw,19px); color: var(--ink); margin-bottom: .3em; letter-spacing:.02em; }
  .hero-steps span{ color: var(--muted); margin: 0 .5em; font-family:'Poppins',sans-serif; }
  .hero-cta{ display:flex; align-items:center; gap:clamp(12px,1.8vw,26px); flex-wrap:wrap; margin-top: clamp(10px,1.6vw,26px); }
  .hero-cta .btn-primary{ padding: clamp(7px,1.05vw,13px) clamp(14px,2vw,26px); font-size: clamp(10.5px,1.1vw,15px); }
  .watch-link{ display:flex; align-items:center; gap:.55em; color: var(--ink); font-weight:500; font-size:clamp(10px,1.05vw,14.5px); }
  .watch-link .play-dot{
    width:clamp(18px,2vw,30px); height:clamp(18px,2vw,30px); border-radius:50%; border:1.4px solid var(--ink);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .watch-link .play-dot:after{ content:""; border-left:6px solid var(--ink); border-top:4px solid transparent; border-bottom:4px solid transparent; margin-left:2px; }

  .hero-strip{
    border-top: 1px solid rgba(255,255,255,.12);
    background: var(--navy-deep);
    position:relative; z-index:2;
  }
  .strip-grid{
    max-width:1240px; margin:0 auto; padding: 26px 32px;
    display:grid; grid-template-columns: repeat(4,1fr); gap:24px;
  }
  .strip-item{ display:flex; align-items:center; gap:13px; }
  .strip-item .ic{
    width:42px; height:42px; border-radius:50%; background: rgba(227,168,59,.14);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .strip-item .ic svg{ width:20px; height:20px; }
  .strip-item .t1{ font-size:14px; font-weight:600; color:#fff; }
  .strip-item .t2{ font-size:12px; color: rgba(255,255,255,.55); margin-top:1px; }

  /* ---------- SECTION HEADINGS ---------- */
  .sec-head{ text-align:center; max-width:640px; margin: 0 auto 46px; }
  .sec-head h2{ font-size:32px; color: var(--ink); margin-bottom:8px; }
  .sec-head p.sub{ color: var(--muted); font-size:15px; }

  /* ---------- ABOUT SOROBAN PREVIEW ---------- */
  .about-soroban{ padding: 88px 0; background: var(--cream); }
  .video-card{
    max-width: 900px; margin: 0 auto 52px;
    border-radius: 8px; overflow:hidden;
    background: linear-gradient(120deg,#1a2657,#0c1436);
    aspect-ratio: 16/6.2;
    position:relative;
    display:flex; align-items:flex-end;
    border: 1px solid rgba(0,0,0,.06);
  }
  .video-card .beads-bg{ position:absolute; inset:0; opacity:.5; }
  .play-btn{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-56%);
    width:70px; height:70px; border-radius:50%;
    background: rgba(255,255,255,.16); border:1.5px solid rgba(255,255,255,.7);
    display:flex; align-items:center; justify-content:center;
  }
  .play-btn:after{ content:""; border-left:16px solid #fff; border-top:10px solid transparent; border-bottom:10px solid transparent; margin-left:4px; }
  .video-caption{ position:relative; z-index:2; padding: 18px 26px; color:#fff; font-weight:600; font-size:15px; }

  .benefit-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
  .benefit-card{
    background: var(--paper); border:1px solid var(--line); border-radius:8px;
    padding: 26px 22px; text-align:center;
  }
  .benefit-card .ic{
    width:50px; height:50px; border-radius:50%; margin: 0 auto 14px;
    background: var(--cream-2); display:flex; align-items:center; justify-content:center;
    border: 1px solid #E9DCC0;
  }
  .benefit-card .ic svg{ width:23px; height:23px; }
  .benefit-card h4{ font-size:15.5px; margin-bottom:6px; }
  .benefit-card p{ font-size:13px; color: var(--muted); }
  .section-cta{ text-align:center; margin-top:42px; }

  /* ---------- FOUNDER TEASER ---------- */
  .founder{ background: var(--paper); padding: 84px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .founder-inner{ display:grid; grid-template-columns: 0.62fr 1fr; gap:56px; align-items:center; }
  .founder-photo{
    aspect-ratio: 4/4.6; border-radius:8px; overflow:hidden;
    background: linear-gradient(150deg,#eadfc5,#f6efdf);
    display:flex; align-items:center; justify-content:center;
    border: 1px solid var(--line);
    position:relative;
  }
  .founder-photo .seal{
    position:absolute; top:16px; left:16px; width:44px; height:44px; border-radius:6px;
    background: var(--red); color:#fff; display:flex; align-items:center; justify-content:center;
    font-family:'Shippori Mincho',serif; font-size:18px;
  }
  .founder-photo svg{ width:56%; opacity:.5; }
  .founder-text .name-sign{ font-family:'Shippori Mincho',serif; font-size:22px; color: var(--navy); margin-top:20px; }
  .founder-text h2{ font-size:30px; margin-bottom:4px; }
  .founder-text h3{ font-size:15px; color: var(--red); font-weight:600; margin-bottom:16px; }
  .founder-text p{ color: var(--muted); font-size:14.5px; margin-bottom:12px; max-width:520px; }
  .founder-stats{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; margin-top:26px; padding-top:26px; border-top:1px solid var(--line); }
  .founder-stats .stat .num{ font-weight:700; font-size:15px; color:var(--navy); }
  .founder-stats .stat .lbl{ font-size:12px; color:var(--muted); margin-top:2px; }
  .founder-stats .stat .ic{ margin-bottom:8px; }
  .founder-stats .stat .ic svg{ width:22px; height:22px; }

  /* ---------- PROGRAMMES ---------- */
  .programmes{ padding: 90px 0; background: var(--cream-2); }
  .prog-grid{ display:grid; grid-template-columns: repeat(5,1fr); gap:18px; }
  .prog-card{
    background: var(--paper); border:1px solid var(--line); border-radius:8px;
    padding: 24px 18px; text-align:center; display:flex; flex-direction:column; align-items:center;
  }
  .prog-card h4{ font-size:15px; margin-bottom:2px; }
  .prog-card .lvl{ font-size:12px; color: var(--muted); margin-bottom:16px; }
  .belt-row{ display:flex; flex-direction:column; align-items:flex-start; gap:8px; margin-bottom:6px; width:100%; padding: 0 6px; }
  .belt-row.center{ align-items:center; }
  .belt-line{ display:flex; align-items:center; gap:9px; }
  .belt-ribbon{ width:26px; height:15px; flex-shrink:0; }
  .belt-lbl{ font-size:11.5px; font-weight:600; color: var(--ink); }
  .prog-card .desc{ font-size:12.5px; color: var(--muted); margin: 14px 0 18px; min-height:36px; }
  .prog-card .btn{ padding:9px 20px; font-size:13px; margin-top:auto; }

  .badges-title{ text-align:center; font-size:19px; font-weight:600; margin: 60px 0 30px; }
  .badges-wrap{ display:flex; align-items:flex-end; justify-content:center; gap:36px; flex-wrap:wrap; }
  .badges-row{ display:flex; justify-content:center; gap:34px; flex-wrap:wrap; align-items:flex-start; }
  .badge{ text-align:center; width:120px; }
  .badge .medal{
    width:66px; height:66px; border-radius:50%; margin:0 auto 10px;
    display:flex; align-items:center; justify-content:center;
    border: 2.5px solid;
  }
  .badge .medal svg{ width:26px; height:26px; }
  .badge h5{ font-size:13px; margin-bottom:3px; }
  .badge p{ font-size:11px; color: var(--muted); }

  .mascot-slot{
    width:130px; height:200px; flex-shrink:0;
    border: none; border-radius:0;
    background: transparent;
    display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:8px;
    color: #9C8B66; text-align:center; padding:0 8px 6px;
  }
  .mascot-slot svg{ width:30px; height:30px; opacity:.55; }
  .mascot-slot span{ font-size:10px; line-height:1.4; font-weight:500; opacity:.7; }
  .mascot-slot.dark{ color: rgba(255,255,255,.55); }
  .mascot-slot img{ width:100%; height:100%; object-fit:contain; object-position:bottom center; }

  /* ---------- HOW IT WORKS ---------- */
  .how{ background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color:#fff; padding: 90px 0 0; position:relative; }
  .how .sec-head h2{ color:#fff; }
  .how .sec-head p.sub{ color: rgba(255,255,255,.65); }
  .how .sec-head .partner{ font-weight:600; color:var(--gold); font-size:16px; margin: 6px 0 10px; }
  .steps-row{ display:flex; align-items:stretch; margin-bottom:44px; }
  .step-card{
    flex:1; text-align:center; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.14);
    border-radius:10px; padding: 22px 10px 20px;
  }
  .step-arrow{ flex:0 0 auto; width:28px; display:flex; align-items:center; justify-content:center; color: rgba(255,255,255,.22); font-size:22px; }
  .step-card .ic-circ{
    width:44px; height:44px; border-radius:50%; margin: 0 auto 12px;
    background: rgba(227,168,59,.14); display:flex; align-items:center; justify-content:center;
  }
  .step-card .ic-circ svg{ width:20px; height:20px; }
  .step-card .num{ font-size:24px; font-weight:700; color:#fff; margin-bottom:6px; }
  .step-card h4{ font-size:13.5px; color: rgba(255,255,255,.85); font-weight:600; }
  .how-cta{ text-align:center; padding-bottom: 60px; }

  .pa-banner{
    background: var(--navy-deep);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 30px 0;
    position:relative;
    overflow:visible;
  }
  .pa-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; position:relative; }
  .pa-mascot-slot{ position:absolute; right: 4px; bottom:0; top:-58px; width:120px; }
  .pa-left{ display:flex; align-items:center; gap:18px; padding-right: 150px; }
  .pa-left .ic{
    width:52px; height:52px; border-radius:50%; background: rgba(227,168,59,.14);
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
  }
  .pa-left .ic svg{ width:24px; height:24px; }
  .pa-left h4{ color:#fff; font-size:16px; margin-bottom:3px; }
  .pa-left p{ color: rgba(255,255,255,.6); font-size:13px; max-width:480px; }

  /* ---------- REGISTER BAND ---------- */
  .register-band{
    background: var(--red);
    padding: 54px 0;
    text-align:center;
    color:#fff;
  }
  .register-band h3{ font-size:26px; margin-bottom:8px; }
  .register-band p{ color: rgba(255,255,255,.88); margin-bottom:22px; font-size:15px; }
  .register-band .btn-gold{ }

  /* ---------- FOOTER ---------- */
  footer{ background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 64px 0 0; }
  .foot-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom: 46px; border-bottom:1px solid rgba(255,255,255,.08); }
  .foot-logo{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
  .foot-logo .name{ color:#fff; font-weight:700; font-size:16px; }
  .foot-about p{ font-size:13.5px; line-height:1.7; max-width:280px; }
  .foot-col h5{ color:#fff; font-size:14px; margin-bottom:16px; font-weight:600; }
  .foot-col ul li{ margin-bottom:10px; font-size:13.5px; }
  .foot-col ul li a:hover{ color:#fff; }
  .foot-bottom{ display:flex; justify-content:space-between; align-items:center; padding: 22px 0; font-size:12.5px; flex-wrap:wrap; gap:10px; }
  .foot-bottom .socials{ display:flex; gap:12px; }
  .foot-bottom .socials a{
    width:32px; height:32px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
    display:flex; align-items:center; justify-content:center;
  }
  .foot-bottom .socials svg{ width:14px; height:14px; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 980px){
    .nav-links{ display:none; }
    .burger{ display:block; }
    .hero{ min-height:0; }
    .hero-inner{ position:static; padding: 26px 20px 22px; }
    .hero-text{ position:static; width:auto; max-width:none; }
    .hero-text .jp-line{ font-size:26px; }
    .hero-text h1{ font-size:30px; }
    .hero-text p.lead{ font-size:14.5px; }
    .hero-steps{ font-size:17px; }
    .hero-cta{ margin-top:20px; }
    .hero-cta .btn-primary{ padding:12px 24px; font-size:14.5px; }
    .watch-link{ font-size:14.5px; }
    .watch-link .play-dot{ width:28px; height:28px; }
    .strip-grid{ grid-template-columns: repeat(2,1fr); }
    .benefit-grid{ grid-template-columns: repeat(2,1fr); }
    .founder-inner{ grid-template-columns:1fr; }
    .founder-photo{ max-width:280px; margin:0 auto; }
    .prog-grid{ grid-template-columns: repeat(2,1fr); }
    .steps-row{ flex-wrap:wrap; gap:14px; }
    .step-card{ flex: 1 1 calc(50% - 14px); }
    .step-arrow{ display:none; }
    .foot-grid{ grid-template-columns: 1fr 1fr; }
    .badges-row{ gap:20px; }
    .badge{ width: 30%; }
    .badges-wrap{ flex-direction:column; }
    .mascot-slot{ width:100%; max-width:220px; height:130px; }
    .pa-mascot-slot{ display:none; }
    .pa-left{ padding-right:0; }
  }
  @media (max-width: 560px){
    .wrap, .nav, .hero-inner, .strip-grid{ padding-left:20px; padding-right:20px; }
    .hero-text h1{ font-size:26px; }
    .hero-text .jp-line{ font-size:22px; }
    .prog-grid{ grid-template-columns: 1fr; }
    .foot-grid{ grid-template-columns:1fr; }
    .pa-inner{ flex-direction:column; align-items:flex-start; }
  }

/* ===================== NAV ACTIVE STATE + MOBILE MENU ===================== */
.nav-links a.active{ color:#fff; position:relative; }
.nav-links a.active:after{ content:""; position:absolute; left:0; right:0; bottom:-8px; height:2px; background:var(--gold); }

.burger{ display:none; width:24px; height:18px; position:relative; cursor:pointer; background:none; border:none; padding:0; }
.burger span{ position:absolute; left:0; width:100%; height:2px; background:#fff; transition: transform .2s ease, opacity .2s ease; }
.burger span:nth-child(1){ top:0; } .burger span:nth-child(2){ top:8px; } .burger span:nth-child(3){ top:16px; }
.burger.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-nav{
  display:none; flex-direction:column; gap:2px; background: var(--navy-deep);
  border-top:1px solid rgba(255,255,255,.08); max-height:0; overflow:hidden; transition: max-height .25s ease;
}
.mobile-nav.open{ display:flex; max-height:520px; }
.mobile-nav a{ color: rgba(255,255,255,.85); font-size:15px; font-weight:500; padding:14px 24px; border-bottom:1px solid rgba(255,255,255,.06); }
.mobile-nav a.active{ color: var(--gold); }
.mobile-nav a.btn{ margin:14px 24px 18px; text-align:center; border-bottom:none; }
.mobile-login{ color: rgba(255,255,255,.6) !important; }

@media (max-width: 980px){
  .nav-right{ display:none; }
  .burger{ display:block; }
}

/* ===================== FLASH MESSAGES ===================== */
.flash-banner{
  max-width:1240px; margin: 18px auto 0; padding: 14px 20px; border-radius:6px;
  font-size:14px; font-weight:500; display:flex; align-items:flex-start; gap:10px;
  transition: opacity .4s ease;
}
.flash-banner.success{ background:#EAF6EC; color:#2C6B3A; border:1px solid #BFE3C6; }
.flash-banner.error{ background:#FBEAEA; color:#A83730; border:1px solid #F0C3C0; }
.flash-banner ul{ margin:4px 0 0 18px; list-style:disc; }

/* ===================== PAGE HERO (interior pages) ===================== */
.page-hero{
  background: var(--cream); padding: 130px 0 56px; text-align:center; position:relative; overflow:hidden;
}
.page-hero .eyebrow-jp{ text-align:center; }
.page-hero h1{ font-size: clamp(28px,4vw,42px); color: var(--ink); margin-bottom:10px; }
.page-hero p{ color: var(--muted); max-width:560px; margin:0 auto; font-size:15.5px; }

/* ===================== REGISTER FORM ===================== */
.register-section{ background: var(--cream); padding: 20px 0 100px; position:relative; }
.register-card{
  max-width:1180px; margin:0 auto; background: var(--paper); border:1px solid var(--line);
  border-radius:10px; padding: 44px 48px; position:relative; overflow:visible;
}
.register-head{ text-align:center; margin-bottom:36px; }
.register-head h1{ font-size:30px; color:var(--ink); margin-bottom:4px; font-family:'Poppins', serif; }
.register-head .jp{ color: var(--red); font-size:15px; }

.reg-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 50px; position:relative; }
.reg-col h3{ font-size:16px; color:var(--ink); margin-bottom:16px; }
.reg-col h3.spaced{ margin-top:30px; }

.field{ margin-bottom:14px; }
.field label.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea{
  width:100%; padding: 13px 16px; border:1px solid var(--line); border-radius:6px;
  background: var(--cream); font-family:'Poppins',sans-serif; font-size:14px; color: var(--ink);
  outline:none; transition: border-color .15s ease, box-shadow .15s ease;
  appearance:none; -webkit-appearance:none;
}
.field select{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat; background-position: right 14px center; background-size:16px;
  padding-right:40px;
}
.field textarea{ resize:vertical; min-height:110px; font-family:'Poppins',sans-serif; }
.field input::placeholder, .field textarea::placeholder{ color:#A9A398; }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,68,58,.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea{
  border-color:#C8443A; background:#FDF3F2;
}
.field-row-2{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }

.lang-checks{ display:flex; gap:22px; flex-wrap:wrap; margin: 14px 0 20px; }
.check-inline{ display:flex; align-items:center; gap:8px; font-size:13.5px; color: var(--ink); cursor:pointer; }
.check-inline input[type="checkbox"]{
  width:17px; height:17px; accent-color: var(--red); cursor:pointer;
}

.confirm-line{
  display:flex; align-items:flex-start; gap:10px; margin: 20px 0 22px;
  font-size:12.5px; color: var(--muted); line-height:1.5;
}
.confirm-line input[type="checkbox"]{ width:17px; height:17px; margin-top:1px; accent-color: var(--red); flex-shrink:0; cursor:pointer; }
.confirm-line.has-error{ color:#A83730; }

.reg-submit{ width:100%; justify-content:center; padding:15px; font-size:15px; }

.reg-mascot{
  position:absolute; right: -18px; bottom: -10px; width:150px; height:230px;
  pointer-events:none;
}

@media (max-width: 900px){
  .register-card{ padding: 30px 22px; }
  .reg-grid{ grid-template-columns: 1fr; gap:0; }
  .reg-col h3.spaced{ margin-top:26px; }
  .field-row-2{ grid-template-columns: 1fr; }
  .reg-mascot{ display:none; }
}

/* ===================== ABOUT PAGE ===================== */
.mission{ background: var(--paper); padding: 90px 0; }
.mission-inner{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:center; }
.mission-text h2{ font-size:30px; margin-bottom:14px; }
.mission-text p{ color: var(--muted); font-size:14.5px; margin-bottom:12px; max-width:480px; }
.mission-art{
  aspect-ratio: 5/4; border-radius:8px; border:1px solid var(--line);
  background: linear-gradient(150deg,#eadfc5,#f6efdf);
  display:flex; align-items:center; justify-content:center;
}
.mission-art svg{ width:46%; opacity:.55; }

.values{ background: var(--cream-2); padding: 90px 0; }
.values-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
.value-card{ background: var(--paper); border:1px solid var(--line); border-radius:8px; padding:26px 22px; text-align:center; }
.value-card .ic{ width:50px; height:50px; border-radius:50%; margin:0 auto 14px; background:var(--cream-2); border:1px solid #E9DCC0; display:flex; align-items:center; justify-content:center; }
.value-card .ic svg{ width:23px; height:23px; }
.value-card h4{ font-size:15px; margin-bottom:6px; }
.value-card p{ font-size:12.5px; color: var(--muted); }

.timeline{ background: var(--paper); padding: 90px 0; }
.tl-row{ display:grid; grid-template-columns: 90px 1fr; gap:24px; max-width:720px; margin:0 auto; }
.tl-row + .tl-row{ margin-top:6px; }
.tl-year{ font-weight:700; color: var(--red); font-size:15px; padding-top:2px; }
.tl-item{ border-left:2px solid var(--line); padding: 0 0 34px 22px; position:relative; }
.tl-item:before{ content:""; position:absolute; left:-7px; top:2px; width:12px; height:12px; border-radius:50%; background: var(--gold); border:2px solid var(--paper); }
.tl-row:last-child .tl-item{ border-left-color:transparent; padding-bottom:0; }
.tl-item h4{ font-size:15px; margin-bottom:4px; }
.tl-item p{ font-size:13px; color: var(--muted); }

/* ===================== CONTACT PAGE ===================== */
.contact-section{ background: var(--cream); padding: 20px 0 100px; }
.contact-grid{ max-width:1180px; margin:0 auto; display:grid; grid-template-columns: 0.85fr 1.15fr; gap:0; background: var(--paper); border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.contact-info{ background: var(--navy-deep); color:#fff; padding: 44px 38px; }
.contact-info h3{ font-size:20px; margin-bottom:10px; }
.contact-info > p{ color: rgba(255,255,255,.65); font-size:13.5px; margin-bottom:28px; }
.contact-info-item{ display:flex; gap:14px; margin-bottom:22px; }
.contact-info-item .ic{ width:38px; height:38px; border-radius:50%; background:rgba(227,168,59,.14); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-item .ic svg{ width:18px; height:18px; }
.contact-info-item h5{ font-size:13.5px; color:#fff; margin-bottom:2px; }
.contact-info-item p{ font-size:12.5px; color: rgba(255,255,255,.6); }
.contact-info .socials{ display:flex; gap:12px; margin-top:30px; }
.contact-info .socials a{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; }
.contact-info .socials svg{ width:15px; height:15px; }

.contact-form-wrap{ padding: 44px 42px; }
.contact-form-wrap h3{ font-size:19px; margin-bottom:20px; }
.contact-submit{ width:100%; justify-content:center; padding:14px; font-size:14.5px; margin-top:6px; }

.faq-section{ background: var(--cream-2); padding: 80px 0; }
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ background: var(--paper); border:1px solid var(--line); border-radius:8px; padding:20px 22px; margin-bottom:14px; }
.faq-item h4{ font-size:14.5px; margin-bottom:6px; color: var(--ink); }
.faq-item p{ font-size:13px; color: var(--muted); }

@media (max-width: 900px){
  .mission-inner{ grid-template-columns:1fr; }
  .mission-art{ max-width:320px; margin:0 auto; }
  .values-grid{ grid-template-columns: repeat(2,1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .tl-row{ grid-template-columns: 60px 1fr; }
}
@media (max-width: 560px){
  .values-grid{ grid-template-columns: 1fr; }
  .contact-info, .contact-form-wrap{ padding: 32px 22px; }
  .page-hero{ padding-top:110px; }
}
