/* ─── PAGE HERO OVERRIDES ─── */
/* ACF: hero_image (Image) */
.page-hero .hero-bg {
  background-image: url('../images/unsplash-1559757148-1600.jpg');
  background-position: center 25%;
  opacity: 0.20;
}
.page-hero { min-height: 460px; }

/* Decorative large kanji behind hero content */
.hero-num-bg {
  position: absolute;
  top: 50%;
  right: 3rem;
  transform: translateY(-50%);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(7rem, 16vw, 13rem);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Stat pills row in hero */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
  border: 0.5px solid rgba(255,255,255,0.1);
  width: fit-content;
}
.hero-stat-pill {
  padding: 0.85rem 1.5rem;
  border-right: 0.5px solid rgba(255,255,255,0.1);
}
.hero-stat-pill:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-stat-num span { font-size: 1rem; color: var(--gold-light); margin-left: 0.1rem; }
.hero-stat-lbl {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* OVERVIEW */
.overview-section{background:var(--paper-card);border-bottom:.5px solid var(--border)}
.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start}
.overview-cards{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border);margin-top:2rem}
.ov-card{background:var(--paper-card);padding:1.5rem;display:flex;gap:1rem;align-items:flex-start}
.ov-icon{width:36px;height:36px;background:var(--accent);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ov-icon svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:1.5}
.ov-label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:.3rem;font-weight:500}
.ov-value{font-size:13.5px;font-weight:400;color:var(--ink);line-height:1.5}
.overview-right{display:flex;flex-direction:column;gap:1.25rem}
.feature-quote{border-left:2px solid var(--accent);padding:1.25rem 1.75rem;background:var(--paper-warm);margin-bottom:1.25rem}
.feature-quote p{font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:400;font-style:italic;color:var(--ink);line-height:1.7}
.feature-quote .jp{font-family:'Noto Sans JP',sans-serif;font-size:11px;font-weight:300;color:var(--ink-muted);letter-spacing:.1em;margin-top:.5rem;display:block}

/* CURRICULUM */
.curriculum-section{background:var(--paper)}
.curriculum-note{background:var(--paper-warm);border-left:2px solid var(--gold);padding:1.25rem 1.75rem;margin-bottom:2.5rem;font-size:13.5px;font-weight:300;color:var(--ink-soft);line-height:1.85;display:flex;gap:1rem;align-items:flex-start}
.curriculum-note-icon{font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-style:italic;color:var(--gold);line-height:1;flex-shrink:0;margin-top:.1rem}
.week-block{border-bottom:.5px solid var(--border)}
.week-header{display:flex;align-items:center;gap:1rem;padding:1.25rem 0;cursor:pointer;user-select:none}
.week-num{width:48px;height:48px;background:var(--ink);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.week-num-text{font-family:'Cormorant Garamond',serif;font-size:1.1rem;font-weight:300;font-style:italic;color:#fff}
.week-title{font-size:14px;font-weight:500;color:var(--ink);letter-spacing:.03em}
.week-sub{font-size:12px;font-weight:300;color:var(--ink-muted);font-family:'Noto Sans JP',sans-serif;letter-spacing:.05em}
.week-toggle{margin-left:auto;width:28px;height:28px;border:0.5px solid var(--border);display:flex;align-items:center;justify-content:center;transition:background .2s}
.week-toggle svg{width:14px;height:14px;stroke:var(--ink-muted);fill:none;stroke-width:1.5;transition:transform .3s}
.week-block.open .week-toggle{background:var(--accent);border-color:var(--accent)}
.week-block.open .week-toggle svg{stroke:#fff;transform:rotate(180deg)}
.week-table{width:100%;border-collapse:collapse;font-size:13px;display:none}
.week-block.open .week-table{display:table}
.week-table thead tr{background:var(--ink)}
.week-table thead th{padding:.75rem 1rem;text-align:left;font-size:10px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.55);border:none}
.week-table thead th:first-child{width:60px}
.week-table tbody tr{border-bottom:.5px solid var(--border);transition:background .15s}
.week-table tbody tr:hover{background:var(--paper-warm)}
.week-table tbody td{padding:.8rem 1rem;vertical-align:top;color:var(--ink-soft);font-weight:300;line-height:1.6}
.week-table tbody td:first-child{font-weight:600;color:var(--accent);font-size:12px;text-align:center}
.week-table .jp-term{font-family:'Noto Sans JP',sans-serif;font-size:11px;color:var(--ink-muted);display:block;margin-top:.15rem;letter-spacing:.05em}
.week-table .item-tags{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.4rem}
.week-table .item-tag{font-size:10px;padding:.15rem .4rem;border:.5px solid var(--border);color:var(--ink-muted);background:var(--paper);white-space:nowrap}

/* COMPETENCIES */
.competencies-section{background:var(--ink)}
.comp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.06);margin-top:3rem}
.comp-card{background:var(--ink);padding:2.25rem 2rem;position:relative;overflow:hidden;transition:background .25s}
.comp-card:hover{background:#242420}
.comp-card::after{content:'';position:absolute;bottom:0;left:0;right:0;height:1.5px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .35s}
.comp-card:hover::after{transform:scaleX(1)}
.comp-num{font-family:'Cormorant Garamond',serif;font-size:4rem;font-weight:300;font-style:italic;color:rgba(255,255,255,.05);line-height:1;margin-bottom:1rem}
.comp-icon{width:40px;height:40px;border:.5px solid rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem}
.comp-icon svg{width:18px;height:18px;stroke:rgba(255,255,255,.6);fill:none;stroke-width:1.5}
.comp-title{font-size:14px;font-weight:500;color:#fff;margin-bottom:.5rem}
.comp-jp{font-family:'Noto Sans JP',sans-serif;font-size:11px;font-weight:300;color:rgba(255,255,255,.3);letter-spacing:.08em;margin-bottom:.85rem}
.comp-text{font-size:13px;font-weight:300;color:rgba(255,255,255,.45);line-height:1.85}

/* ELIGIBILITY */
.eligibility-section{background:var(--paper-warm)}
.elig-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:start;margin-top:0}
.elig-cards{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border);margin-top:2rem}
.elig-card{background:var(--paper-warm);padding:1.75rem;display:flex;gap:1rem;align-items:flex-start}
.elig-icon{width:40px;height:40px;background:var(--ink);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.elig-icon svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:1.5}
.elig-label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink);margin-bottom:.35rem}
.elig-value{font-size:13.5px;font-weight:300;color:var(--ink-soft);line-height:1.6}
.no-exp-box{background:var(--ink);padding:2rem;color:#fff;margin-top:1.25rem}
.no-exp-box .label{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-light);margin-bottom:.75rem}
.no-exp-box p{font-size:13.5px;font-weight:300;color:rgba(255,255,255,.6);line-height:1.85}
.career-list{list-style:none;display:flex;flex-direction:column;gap:0;margin-top:1.5rem}
.career-item{display:flex;align-items:center;gap:1rem;padding:1rem 0;border-bottom:.5px solid var(--border);font-size:14px;font-weight:300;color:var(--ink-soft)}
.career-item:last-child{border-bottom:none}
.career-arrow{width:28px;height:28px;background:var(--accent);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.career-arrow svg{width:12px;height:12px;stroke:#fff;fill:none;stroke-width:2}

/* CTA */

.cta-info-list{display:flex;flex-direction:column;gap:1.25rem}

/* PHOTO CAROUSEL SECTION */
.photo-carousel-section{background:var(--ink);padding:0;position:relative;overflow:hidden;height:560px}
.pc-track{display:flex;height:100%;transition:transform .9s cubic-bezier(0.4,0,0.2,1)}
.pc-slide{width:100%;min-width:100%;height:100%;position:relative;flex-shrink:0}
.pc-slide-img{width:100%;height:100%;object-fit:cover;display:block}
.pc-slide-overlay{position:absolute;inset:0;background:linear-gradient(to right,rgba(10,10,8,.75) 0%,rgba(10,10,8,.2) 50%,rgba(10,10,8,.05) 100%)}
.pc-slide-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:0 5rem;z-index:2}
.pc-slide-tag{display:inline-flex;align-items:center;gap:.5rem;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-light);border:.5px solid rgba(200,160,90,.3);padding:.3rem .75rem;margin-bottom:1rem;width:fit-content}
.pc-slide-title{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,3.5rem);font-weight:300;color:#fff;line-height:1.1;margin-bottom:.5rem}
.pc-slide-title em{font-style:italic;color:var(--gold-light)}
.pc-slide-jp{font-family:'Noto Sans JP',sans-serif;font-size:12px;font-weight:300;color:rgba(255,255,255,.35);letter-spacing:.18em;margin-bottom:1rem}
.pc-slide-desc{font-size:14px;font-weight:300;color:rgba(255,255,255,.55);max-width:420px;line-height:1.85}

/* Controls */
.pc-controls{position:absolute;bottom:0;left:0;right:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:1.5rem 5rem}
.pc-dots{display:flex;gap:6px;align-items:center}
.pc-dot{width:24px;height:2px;background:rgba(255,255,255,.2);border:none;cursor:pointer;padding:0;transition:background .3s,width .3s}
.pc-dot.active{background:#fff;width:36px}
.pc-arrows{display:flex;gap:.5rem}
.pc-arrow{width:40px;height:40px;background:rgba(255,255,255,.08);border:.5px solid rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,border-color .2s}
.pc-arrow:hover{background:var(--accent);border-color:var(--accent)}
.pc-arrow svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:1.8}
/* Progress bar */
.pc-progress{position:absolute;top:0;left:0;right:0;height:2px;z-index:10;background:rgba(255,255,255,.07)}
.pc-progress-bar{height:100%;background:var(--accent);width:0;transition:width linear}
/* Counter */
.pc-counter{font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:300;font-style:italic;color:rgba(255,255,255,.3)}
.pc-counter span{color:rgba(255,255,255,.6)}
/* Thumbnail strip */
.pc-thumbs{position:absolute;right:2rem;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:.5rem;z-index:10}
.pc-thumb{width:60px;height:44px;object-fit:cover;opacity:.35;cursor:pointer;border:.5px solid transparent;transition:opacity .25s,border-color .25s;flex-shrink:0}
.pc-thumb.active{opacity:1;border-color:var(--accent)}

/* FOOTER */

/* ─── Extracted inline styles ─── */
.jp-label-sm { font-family:'Noto Sans JP','Hiragino Sans','Yu Gothic','Meiryo',sans-serif; font-size:11px; color:var(--ink-muted); }
.curriculum-header { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin-bottom:1.5rem; }
.toggle-btn { font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); border:0.5px solid var(--accent); padding:.4rem 1rem; background:none; cursor:pointer; font-family:'Outfit',sans-serif; }

.border-accent { border-color:rgba(200,56,42,.3); color:var(--accent); }
.grid-2-wide { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start; }
