/* =========================================================
   OTONO TSUSHIN — Sub Pages
   No WebGL. Heavy CSS-only motion: scroll-timeline, mask reveals,
   sticky pin sections, kinetic type, magnetic, marquee, etc.
   ========================================================= */

/* ---------- sub-page background (replaces WebGL) ---------- */
.bg-mesh {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(122, 219, 255, 0.10), transparent 70%),
    radial-gradient(70% 60% at 16% 86%, rgba(32, 110, 160, 0.16), transparent 75%),
    radial-gradient(40% 40% at 50% 50%, rgba(110, 240, 255, 0.04), transparent 70%),
    var(--bg);
}
.bg-mesh::before,
.bg-mesh::after {
  content: "";
  position: absolute;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .35;
  mix-blend-mode: screen;
  will-change: transform;
}
.bg-mesh::before {
  left: -25%; top: -25%;
  background: radial-gradient(closest-side, rgba(122,219,255,.22), transparent 70%);
  animation: meshDrift1 26s ease-in-out infinite alternate;
}
.bg-mesh::after {
  right: -25%; bottom: -25%;
  background: radial-gradient(closest-side, rgba(56,140,200,.30), transparent 70%);
  animation: meshDrift2 32s ease-in-out infinite alternate;
}
@keyframes meshDrift1 {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(12vw, 8vh, 0) scale(1.15); }
}
@keyframes meshDrift2 {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-10vw, -6vh, 0) scale(1.1); }
}

/* circuit / grid overlay */
.bg-grid {
  position: fixed; inset: 0;
  z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(122,219,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(122,219,255,.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
}

/* constellation dots */
.bg-stars {
  position: fixed; inset: 0;
  z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(180,225,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 32%, rgba(180,225,255,.5) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 28% 78%, rgba(180,225,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 64%, rgba(180,225,255,.45) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 88% 12%, rgba(180,225,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 42%, rgba(180,225,255,.4) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 6% 62%, rgba(180,225,255,.55) 50%, transparent 51%);
  background-size: 100% 100%;
  animation: starsTwinkle 6s ease-in-out infinite alternate;
}
@keyframes starsTwinkle {
  0%   { opacity: .55; }
  50%  { opacity: .9; }
  100% { opacity: .55; }
}

/* ============== Sub-Page Header Variant ============== */
.site-header--sub {
  background: linear-gradient(to bottom, rgba(4,7,13,.78), rgba(4,7,13,0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header--sub.is-scrolled {
  background: linear-gradient(to bottom, rgba(4,7,13,.92), rgba(4,7,13,.7));
}

/* secondary tab bar — service navigator */
.subnav {
  position: sticky; top: var(--header-h);
  z-index: 80;
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: rgba(4,7,13,.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.subnav__inner {
  display: flex; gap: clamp(12px, 2vw, 28px);
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 6px 0;
  position: relative;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .3s;
}
.subnav a span { font-size: 9px; color: var(--cyan); }
.subnav a::after {
  content: ""; position: absolute; left: 0; bottom: -16px;
  height: 1px; width: 0;
  background: var(--cyan);
  transition: width .4s var(--ease-out);
}
.subnav a:hover { color: var(--ink); }
.subnav a:hover::after { width: 100%; }
.subnav a.is-current { color: var(--cyan); }
.subnav a.is-current::after { width: 100%; }

/* ============== Page Hero ============== */
.subhero {
  position: relative;
  padding: calc(var(--header-h) + 90px) var(--pad-x) clamp(80px, 12vh, 140px);
  min-height: 80vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
@media (max-width: 720px) {
  .subhero { padding-top: calc(var(--header-h) + 40px); min-height: auto; }
}
.subhero__crumbs {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 10.5px; letter-spacing: .3em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.subhero__crumbs a { color: var(--ink-soft); transition: color .3s; }
.subhero__crumbs a:hover { color: var(--cyan); }
.subhero__crumbs i {
  display: inline-block; width: 16px; height: 1px;
  background: var(--line);
}
.subhero__crumbs em { color: var(--cyan); }

.subhero__body {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: clamp(20px, 3vw, 36px);
  align-items: end;
  margin-top: clamp(60px, 12vh, 140px);
  max-width: 60%;
}
@media (max-width: 1080px) { .subhero__body { grid-template-columns: 1fr; max-width: 100%; } }

.subhero__num {
  font-family: var(--font-en);
  font-size: clamp(56px, 12vw, 220px);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(122, 219, 255, 0.45);
  text-stroke: 1px rgba(122, 219, 255, 0.45);
  margin: 0;
  display: block;
  position: relative;
}
.subhero__num::after {
  content: attr(data-num);
  position: absolute; left: 0; top: 0;
  color: var(--cyan);
  -webkit-text-stroke: 0;
  clip-path: inset(0 0 100% 0);
  animation: numFill 1.4s var(--ease-out) .6s forwards;
}
@keyframes numFill {
  to { clip-path: inset(0 0 0 0); }
}

.subhero__title {
  font-family: var(--font-min);
  font-size: clamp(36px, 5.6vw, 88px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: .03em;
  margin: clamp(20px, 3vw, 32px) 0 0;
  color: var(--ink);
}
.subhero__title em {
  color: var(--cyan);
  font-style: normal;
}

.subhero__en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
  display: block;
}

.subhero__lead {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink-soft);
  max-width: 440px;
  margin: 0;
}

.subhero__visual {
  position: absolute;
  right: var(--pad-x); top: 50%;
  transform: translateY(-46%);
  width: clamp(280px, 28vw, 480px);
  height: clamp(280px, 28vw, 480px);
  pointer-events: none;
  opacity: .85;
}
@media (max-width: 1080px) { .subhero__visual { display: none; } }

/* mask-reveal line */
.mask-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.mask-reveal > span {
  display: inline-block;
  transform: translateY(110%);
  animation: maskUp 1.1s var(--ease-out) forwards;
}
.mask-reveal.delay-1 > span { animation-delay: .12s; }
.mask-reveal.delay-2 > span { animation-delay: .24s; }
.mask-reveal.delay-3 > span { animation-delay: .36s; }
.mask-reveal.delay-4 > span { animation-delay: .48s; }
@keyframes maskUp { to { transform: translateY(0); } }

/* ============== shared section structure for sub-pages ============== */
.sub-section {
  position: relative;
  padding: clamp(96px, 14vh, 180px) var(--pad-x);
  z-index: 2;
}
.sub-section__index {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-en);
  font-size: 10.5px; letter-spacing: .35em;
  color: var(--ink-mute);
  margin-bottom: clamp(36px, 6vh, 72px);
}
.sub-section__index span:first-child { color: var(--cyan); font-weight: 500; }
.sub-section__index i {
  display: inline-block; width: clamp(40px, 6vw, 80px); height: 1px;
  background: linear-gradient(90deg, var(--cyan-deep), transparent);
}

.sub-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(48px, 8vh, 96px);
  align-items: end;
}
@media (max-width: 880px) { .sub-section__head { grid-template-columns: 1fr; gap: 24px; } }
.sub-section__title {
  font-family: var(--font-min);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .03em;
  margin: 0;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 880px) { .sub-section__title { white-space: normal; } }
.sub-section__title em { color: var(--cyan); font-style: normal; }
.sub-section__desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: none;
  margin: 0;
  padding-bottom: 6px;
}

/* ============== Equipment / Card Grids ============== */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .equip-grid { grid-template-columns: 1fr; } }
.equip-card {
  background: rgba(4,7,13,0.7);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  transition: background .6s var(--ease-out);
  position: relative;
}
.equip-card:hover { background: rgba(122,219,255,0.04); }
.equip-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.equip-card__num {
  font-family: var(--font-en);
  font-size: 10.5px; letter-spacing: .3em;
  color: var(--cyan);
}
.equip-card__cat {
  font-family: var(--font-en);
  font-size: 9.5px; letter-spacing: .3em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.equip-card__title {
  font-family: var(--font-min);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: .04em;
  margin: 0;
  color: var(--ink);
  line-height: 1.4;
}
.equip-card__list {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.equip-card__list li {
  position: relative;
  padding-left: 18px;
}
.equip-card__list li::before {
  content: ""; position: absolute;
  left: 0; top: .85em;
  width: 8px; height: 1px;
  background: var(--cyan);
}

/* ============== Sticky Process Timeline ============== */
.process {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
}
@media (max-width: 880px) { .process { grid-template-columns: 1fr; } }
.process__sticky {
  position: sticky; top: calc(var(--header-h) + 100px);
  align-self: start;
  height: max-content;
}
.process__label {
  font-family: var(--font-en);
  font-size: 10.5px; letter-spacing: .35em;
  color: var(--cyan);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.process__bigtitle {
  font-family: var(--font-min);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.18;
  margin: 0;
  color: var(--ink);
}
.process__bigtitle em { color: var(--cyan); font-style: normal; }
.process__sub {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 880px) { .process__sub { white-space: normal; } }
.process__sub em { color: var(--cyan); font-style: normal; }
.process__progress {
  margin-top: 32px;
  height: 2px;
  background: var(--line);
  position: relative;
}
.process__progress::after {
  content: "";
  position: absolute; inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan), #fff);
  transition: inset .4s var(--ease-out);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.process[data-progress="1"] .process__progress::after { inset: 0 80% 0 0; }
.process[data-progress="2"] .process__progress::after { inset: 0 60% 0 0; }
.process[data-progress="3"] .process__progress::after { inset: 0 40% 0 0; }
.process[data-progress="4"] .process__progress::after { inset: 0 20% 0 0; }
.process[data-progress="5"] .process__progress::after { inset: 0 10% 0 0; }
.process[data-progress="6"] .process__progress::after { inset: 0 0   0 0; }
.process__count {
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: .3em;
  color: var(--ink-mute);
}
.process__count em { color: var(--cyan); font-style: normal; }

.process__steps {
  display: flex; flex-direction: column;
  gap: clamp(40px, 6vw, 64px);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 0 36px clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
  counter-increment: step;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.step.is-in { opacity: 1; transform: translateY(0); }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 32px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: .3em;
  color: var(--cyan);
}
.step::after {
  content: "";
  position: absolute;
  left: 24px; top: 44px;
  width: clamp(20px, 4vw, 50px);
  height: 1px;
  background: var(--cyan);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .9s var(--ease-out) .3s;
}
.step.is-in::after { transform: scaleX(1); }
.step h3 {
  font-family: var(--font-min);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: .04em;
  margin: 0 0 12px;
  color: var(--ink);
}
.step p {
  margin: 0;
  font-size: 13.5px; line-height: 1.95;
  color: var(--ink-soft);
}

/* ============== Plan Comparison ============== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: rgba(4,7,13,0.72);
  padding: 44px clamp(20px, 2vw, 32px);
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  overflow: hidden;
  transition: background .5s;
}
.plan:hover { background: rgba(122,219,255,0.04); }
.plan::before {
  content: ""; position: absolute;
  inset: auto 0 0 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.plan:hover::before { transform: scaleX(1); }
.plan--featured {
  background: rgba(122,219,255,0.06);
}
.plan--featured::after {
  content: "RECOMMENDED";
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--font-en);
  font-size: 9px; letter-spacing: .35em;
  color: var(--cyan);
  padding: 4px 10px;
  border: 1px solid var(--cyan);
}
.plan__num {
  font-family: var(--font-en);
  font-size: 10.5px; letter-spacing: .3em;
  color: var(--cyan);
}
.plan__name {
  font-family: var(--font-min);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: .04em;
  margin: 0;
  color: var(--ink);
}
.plan__name span {
  display: block;
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: .3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-top: 8px;
}
.plan__features {
  display: flex; flex-direction: column;
  gap: 14px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.plan__features li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.plan__features li::before {
  content: "+";
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-en);
  color: var(--cyan);
  font-weight: 300;
}

/* ============== Issue / Risk Check List ============== */
.issues {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.issue {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: default;
  transition: padding .4s var(--ease-out);
}
.issue::before {
  content: ""; position: absolute;
  inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(122,219,255,.06), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.issue:hover { padding-left: clamp(12px, 2vw, 28px); }
.issue:hover::before { transform: scaleX(1); }
.issue__num {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: .3em;
  color: var(--ink-mute);
}
.issue:hover .issue__num { color: var(--cyan); }
.issue__text {
  font-family: var(--font-min);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .03em;
}
.issue__check {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.issue__check span {
  display: inline-block;
  width: 18px; height: 18px;
  border: 1px solid var(--ink-mute);
  position: relative;
  transition: border-color .3s;
}
.issue:hover .issue__check span { border-color: var(--cyan); }
.issue:hover .issue__check span::after {
  content: ""; position: absolute;
  inset: 3px; background: var(--cyan);
}
@media (max-width: 720px) {
  .issue { grid-template-columns: 60px 1fr; }
  .issue__check { grid-column: 2; justify-self: start; }
}

/* ============== Stats / KPI ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: rgba(4,7,13,0.72);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 2vw, 28px);
  text-align: left;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
  justify-content: space-between;
}
.stat__label {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--cyan);
  text-transform: uppercase;
}
.stat__value {
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 6px;
}
.stat__unit {
  font-size: 0.3em;
  letter-spacing: .15em;
  color: var(--ink-soft);
}
.stat__caption {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.7;
}

/* ============== Data Table ============== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.data-table th,
.data-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 500;
  background: rgba(122,219,255,0.03);
  border-bottom: 1px solid var(--cyan-deep);
}
.data-table tr {
  transition: background .3s;
}
.data-table tbody tr:hover { background: rgba(122,219,255,0.04); }
.data-table td:first-child {
  font-family: var(--font-min);
  font-weight: 500;
  color: var(--ink);
  width: 28%;
}
.data-table td {
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ============== Big Title (kinetic / parallax word) ============== */
.kinetic {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(80px, 16vw, 280px);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(122, 219, 255, 0.32);
  white-space: nowrap;
}
.kinetic__row {
  overflow: hidden;
  white-space: nowrap;
  margin: 0;
  padding: 4px 0;
}
.kinetic__row .kinetic__inner {
  display: inline-block;
  animation: kineticMove 32s linear infinite;
  padding-right: 64px;
}
.kinetic__row--reverse .kinetic__inner {
  animation-direction: reverse;
}
@keyframes kineticMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============== Image / Visual Placeholder ============== */
.viz-frame {
  position: relative;
  background:
    linear-gradient(135deg, rgba(122,219,255,.08), rgba(122,219,255,.02));
  border: 1px solid var(--line);
  overflow: hidden;
}
.viz-frame::before,
.viz-frame::after {
  content: ""; position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--cyan);
}
.viz-frame::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.viz-frame::after  { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.viz-frame__label {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--font-en);
  font-size: 9px; letter-spacing: .35em;
  color: var(--cyan);
  text-transform: uppercase;
}
.viz-frame__scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(122,219,255,.3), transparent);
  height: 80px;
  animation: scanLine 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanLine {
  0%   { top: -10%; opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .8; }
  100% { top: 110%; opacity: 0; }
}

/* ============== News list ============== */
.news-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 120px 140px 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding .4s var(--ease-out);
  cursor: pointer;
}
.news-item::before {
  content: ""; position: absolute;
  inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(122,219,255,.06), transparent 60%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.news-item:hover { padding-left: clamp(12px, 2vw, 28px); }
.news-item:hover::before { transform: scaleX(1); }
.news-item__date {
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: .2em;
  color: var(--cyan);
}
.news-item__cat {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color .3s, color .3s;
}
.news-item:hover .news-item__cat { border-color: var(--cyan); color: var(--cyan); }
.news-item__title {
  font-family: var(--font-min);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}
.news-item__arrow {
  font-family: var(--font-en);
  color: var(--ink-mute);
  transition: color .3s, transform .3s var(--ease-out);
}
.news-item:hover .news-item__arrow {
  color: var(--cyan);
  transform: translateX(8px);
}
@media (max-width: 720px) {
  .news-item { grid-template-columns: auto auto 1fr; gap: 14px; padding: 22px 0; }
  .news-item__title { grid-column: 1 / -1; }
  .news-item__arrow { display: none; }
}

/* news category tabs */
.news-tabs {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}
.news-tab {
  padding: 10px 22px;
  border: 1px solid var(--line);
  font-family: var(--font-en);
  font-size: 10.5px; letter-spacing: .25em;
  color: var(--ink-soft);
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: border-color .3s, color .3s, background .3s;
}
.news-tab:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
.news-tab.is-active {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}

/* ============== Team Grid ============== */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.member {
  background: rgba(4,7,13,0.72);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.member::after {
  content: ""; position: absolute;
  inset: auto 0 0 0; height: 1px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.member:hover::after { transform: scaleX(1); }
.member__role {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--cyan);
  text-transform: uppercase;
}
.member__name {
  font-family: var(--font-min);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .05em;
  margin: 4px 0;
  color: var(--ink);
}
.member__name span {
  display: block;
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--ink-mute);
  margin-top: 8px;
  text-transform: uppercase;
}
.member__bio {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ============== Location ============== */
.access {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}
@media (max-width: 880px) { .access { grid-template-columns: 1fr; } }
.access__map {
  aspect-ratio: 16 / 11;
  background:
    repeating-linear-gradient(0deg, rgba(122,219,255,.05) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(122,219,255,.05) 0 1px, transparent 1px 24px),
    linear-gradient(135deg, rgba(122,219,255,.05), transparent);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.access__map::before {
  content: ""; position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 16px;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(122,219,255,0.2),
              0 0 0 14px rgba(122,219,255,0.08),
              0 0 24px var(--cyan-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.access__map::after {
  content: "MATSUBARA-CITY / OSAKA";
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .35em;
  color: var(--cyan);
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.3); }
}
.access__info {
  display: flex; flex-direction: column;
  gap: 20px;
}
.access__info dt {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--cyan);
  text-transform: uppercase;
}
.access__info dd {
  margin: 6px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.access__info dd:last-child { border-bottom: none; }

/* ============== CTA strip ============== */
.cta-strip {
  position: relative;
  padding: clamp(60px, 10vh, 120px) var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  z-index: 2;
}
@media (max-width: 720px) { .cta-strip { grid-template-columns: 1fr; } }
.cta-strip::before {
  content: ""; position: absolute;
  inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(122,219,255,.05), transparent 60%);
}
.cta-strip h2 {
  font-family: var(--font-min);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}
.cta-strip h2 em { color: var(--cyan); font-style: normal; }
.cta-strip p {
  font-size: 12.5px; letter-spacing: .12em;
  color: var(--ink-mute);
  margin: 12px 0 0;
}
.cta-strip__btn {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 22px 36px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: .3em;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: color .5s;
}
.cta-strip__btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
  z-index: -1;
}
.cta-strip__btn:hover { color: var(--bg); }
.cta-strip__btn:hover::before { transform-origin: left; transform: scaleX(1); }
.cta-strip__btn svg { transition: transform .4s var(--ease-out); }
.cta-strip__btn:hover svg { transform: translateX(6px); }

/* ============== Animated SVG path (used in heros) ============== */
.draw-path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawIn 2.6s var(--ease-out) forwards;
}
.draw-path.delay-1 { animation-delay: .4s; }
.draw-path.delay-2 { animation-delay: .8s; }
.draw-path.delay-3 { animation-delay: 1.2s; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }

.pulse-dot {
  fill: var(--cyan);
  transform-origin: center;
  animation: pulseDot 2.4s ease-in-out infinite;
}
.pulse-dot.d-2 { animation-delay: .6s; }
.pulse-dot.d-3 { animation-delay: 1.2s; }
.pulse-dot.d-4 { animation-delay: 1.8s; }
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.8); opacity: .4; }
}

.spin-slow {
  animation: spinSlow 60s linear infinite;
  transform-origin: center;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* glitch text */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  width: 100%;
  pointer-events: none;
}
.glitch::before {
  color: #ff5a8a;
  clip-path: inset(0 0 60% 0);
  transform: translate(2px, 0);
  mix-blend-mode: screen;
  animation: glitchTop 4s steps(2, end) infinite;
}
.glitch::after {
  color: var(--cyan);
  clip-path: inset(60% 0 0 0);
  transform: translate(-2px, 0);
  mix-blend-mode: screen;
  animation: glitchBot 4s steps(2, end) infinite;
}
@keyframes glitchTop {
  0%, 92%, 100% { transform: translate(0, 0); }
  94%           { transform: translate(-3px, -1px); }
  96%           { transform: translate(2px, 1px); }
}
@keyframes glitchBot {
  0%, 92%, 100% { transform: translate(0, 0); }
  94%           { transform: translate(3px, 1px); }
  96%           { transform: translate(-2px, -1px); }
}

/* ============== Footer adjustments ============== */
.site-footer__nav {
  display: flex; flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-en);
  font-size: 10.5px; letter-spacing: .28em;
  color: var(--ink-soft);
}
.site-footer__nav a {
  color: var(--ink-soft);
  transition: color .3s;
}
.site-footer__nav a:hover { color: var(--cyan); }

/* ============== Page-specific hero accents ============== */
.hero-accent {
  position: absolute;
  right: var(--pad-x);
  bottom: 0;
  width: clamp(280px, 36vw, 560px);
  height: clamp(280px, 36vw, 560px);
  pointer-events: none;
  z-index: 1;
}
.hero-accent svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 1080px) { .hero-accent { display: none; } }

/* ============== 480px / small mobile (sub pages) ============== */
@media (max-width: 480px) {
  .subhero { padding-top: calc(var(--header-h) + 32px); padding-left: 16px; padding-right: 16px; padding-bottom: 56px; }
  .subhero__body { margin-top: 28px; gap: 16px; }
  .subhero__title { font-size: clamp(22px, 7vw, 32px) !important; line-height: 1.4 !important; }
  .subhero__num { font-size: clamp(48px, 18vw, 88px); }
  .subhero__lead { font-size: 12px; line-height: 1.85; }
  .subhero__en { font-size: 9.5px; letter-spacing: .25em; }
  .subhero__crumbs { font-size: 9px; letter-spacing: .2em; gap: 6px; flex-wrap: wrap; }
  .subhero__crumbs i { width: 8px; }
  .subhero__crumbs em { font-size: 10.5px; }

  .sub-section { padding: 56px 16px; }
  .sub-section__index { font-size: 9px; letter-spacing: .26em; margin-bottom: 22px; gap: 10px; }
  .sub-section__index i { width: 24px; }
  .sub-section__head { gap: 14px; margin-bottom: 24px; }
  .sub-section__title { font-size: clamp(20px, 7vw, 30px) !important; line-height: 1.3; }
  .sub-section__desc { font-size: 11.5px; line-height: 1.8; padding-bottom: 0; }

  .equip-card { padding: 20px 16px; gap: 12px; min-height: 0; }
  .equip-card__title { font-size: 16px; line-height: 1.4; }
  .equip-card__list { font-size: 11.5px; line-height: 1.75; }
  .equip-card__num { font-size: 9px; letter-spacing: .22em; }
  .equip-card__cat { font-size: 8.5px; letter-spacing: .22em; }

  .process { gap: 24px; }
  .process__label { font-size: 9.5px; letter-spacing: .28em; }
  .process__bigtitle { font-size: clamp(20px, 7vw, 30px) !important; line-height: 1.3; }
  .process__sub { font-size: 11.5px; line-height: 1.75; }
  .process__progress { margin-top: 20px; }
  .process__count { font-size: 10px; letter-spacing: .25em; }
  .process__steps { gap: 24px; }
  .step { padding: 18px 0 22px clamp(30px, 11vw, 50px); }
  .step::before { font-size: 10.5px; letter-spacing: .25em; top: 22px; }
  .step::after { top: 33px; width: clamp(14px, 4vw, 24px); }
  .step h3 { font-size: 16px; margin-bottom: 8px; }
  .step p { font-size: 12px; line-height: 1.8; }

  .plan { padding: 24px 18px; gap: 16px; }
  .plan__num { font-size: 9.5px; letter-spacing: .25em; }
  .plan__name { font-size: 21px; letter-spacing: .04em; }
  .plan__name span { font-size: 9.5px; letter-spacing: .25em; margin-top: 6px; }
  .plan__features { padding-top: 18px; gap: 10px; }
  .plan__features li { font-size: 12px; line-height: 1.65; padding-left: 18px; }
  .plan--featured::after { font-size: 8px; padding: 3px 8px; top: 12px; right: 12px; letter-spacing: .3em; }

  .issue { grid-template-columns: 44px 1fr; padding: 20px 0; gap: 10px; }
  .issue__num { font-size: 10.5px; letter-spacing: .22em; }
  .issue__text { font-size: 13.5px; line-height: 1.55; }
  .issue__check { grid-column: 2; justify-self: start; font-size: 9px; letter-spacing: .22em; gap: 8px; }
  .issue__check span { width: 13px; height: 13px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px; min-height: 0; gap: 6px; }
  .stat__label { font-size: 9px; letter-spacing: .22em; }
  .stat__value { font-size: clamp(30px, 11vw, 48px); gap: 4px; }
  .stat__unit { font-size: 0.35em; }
  .stat__caption { font-size: 10.5px; line-height: 1.55; }

  .data-table th, .data-table td { padding: 12px 12px; font-size: 11.5px; line-height: 1.6; }
  .data-table th { font-size: 9px; letter-spacing: .22em; }
  .data-table td:first-child { width: 36%; font-size: 12px; }

  .news-tabs { gap: 6px; margin-bottom: 28px; }
  .news-tab { padding: 7px 12px; font-size: 9px; letter-spacing: .18em; }
  .news-item { grid-template-columns: auto auto 1fr; gap: 10px; padding: 16px 0; }
  .news-item__date { font-size: 10px; letter-spacing: .16em; }
  .news-item__cat { font-size: 8.5px; letter-spacing: .22em; padding: 4px 8px; }
  .news-item__title { font-size: 12.5px; line-height: 1.55; grid-column: 1 / -1; margin-top: 4px; }
  .news-item__arrow { display: none; }

  .cta-strip { padding: 48px 16px; gap: 18px; }
  .cta-strip h2 { font-size: clamp(18px, 6.5vw, 26px); line-height: 1.4; }
  .cta-strip p { font-size: 10.5px; letter-spacing: .06em; }
  .cta-strip__btn { padding: 13px 22px; font-size: 10px; letter-spacing: .22em; gap: 12px; align-self: start; }

  .hero-accent, .subhero__visual { display: none; }

  .subnav { padding: 8px 16px; top: var(--header-h); }
  .subnav__inner { font-size: 9px; letter-spacing: .22em; gap: 14px; }

  .member { padding: 22px 18px; gap: 12px; min-height: 0; }
  .member__role { font-size: 9px; letter-spacing: .22em; }
  .member__name { font-size: 20px; letter-spacing: .04em; }
  .member__name span { font-size: 9px; letter-spacing: .25em; margin-top: 6px; }
  .member__bio { font-size: 11.5px; line-height: 1.7; padding-top: 12px; }

  .access { gap: 20px; }
  .access__info dt { font-size: 9px; letter-spacing: .22em; }
  .access__info dd { font-size: 12.5px; }
  .access__map::after { font-size: 8.5px; letter-spacing: .22em; bottom: 12px; left: 12px; }

  .portrait__frame { aspect-ratio: 4 / 5; }
  .portrait__name { font-size: 16px; }
  .portrait__name em { font-size: 9px; }
  .portrait__role { font-size: 9px; letter-spacing: .25em; }

  .message-grid__text { font-size: 12.5px; line-height: 1.95; }
}
.message-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .message-grid { grid-template-columns: 1fr; gap: 48px; } }
.message-grid__text {
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--ink-soft);
  max-width: 780px;
}
.portrait {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 60px);
}
@media (max-width: 880px) { .portrait { position: static; } }
.portrait__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  filter: grayscale(100%) contrast(1.05);
  border: 1px solid var(--line);
  background: #0c1018;
}
.portrait__svg,
.portrait__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-out);
}
.portrait:hover .portrait__svg,
.portrait:hover .portrait__img { transform: scale(1.06); }
.portrait__corners {
  position: absolute; inset: 0; pointer-events: none;
}
.portrait__corners::before,
.portrait__corners::after {
  content: ""; position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--cyan);
}
.portrait__corners::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.portrait__corners::after { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.portrait__tag {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-en);
  font-size: 8.5px; letter-spacing: .3em;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(4,7,13,.6);
  backdrop-filter: blur(6px);
}
.portrait__caption {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.portrait__role {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: .3em;
  color: var(--cyan);
  text-transform: uppercase;
}
.portrait__name {
  font-family: var(--font-min);
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--ink);
}
.portrait__name em {
  display: block;
  font-family: var(--font-en);
  font-size: 9.5px; letter-spacing: .3em;
  color: var(--ink-mute);
  margin-top: 6px;
  font-style: normal;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .subhero__title { font-size: clamp(28px, 7vw, 44px) !important; }
  .process__bigtitle { font-size: clamp(24px, 6vw, 36px) !important; }
  .sub-section { padding: clamp(72px, 10vh, 120px) var(--pad-x); }
  .sub-section__title { font-size: clamp(28px, 7vw, 40px); }
  .subnav__inner { font-size: 9.5px; gap: 14px; }
  .cta-strip { padding: 60px var(--pad-x); grid-template-columns: 1fr; }
  .cta-strip h2 { font-size: clamp(22px, 6vw, 32px); }
  .cta-strip__btn { padding: 18px 28px; font-size: 11px; align-self: start; }
  .news-tabs { gap: 8px; }
  .news-tab { padding: 8px 14px; font-size: 9.5px; letter-spacing: .2em; }
  .data-table th, .data-table td { padding: 14px 14px; font-size: 12.5px; }
  .data-table td:first-child { width: 38%; }
  .equip-card { padding: 28px 22px; min-height: 0; }
  .plan { padding: 32px 22px; }
  .stat { padding: 28px 22px; min-height: 0; }
  .stat__value { font-size: clamp(40px, 12vw, 64px); }
  .access__map { aspect-ratio: 4 / 3; }
  .kinetic { font-size: clamp(48px, 18vw, 120px); }
  .process { gap: 32px; }
  .process__sticky { position: static; margin-bottom: 16px; }
  .step { padding: 24px 0 28px clamp(40px, 14vw, 64px); }
  .news-item { grid-template-columns: auto auto 1fr; gap: 14px; padding: 20px 0; }
  .news-item__title { grid-column: 1 / -1; font-size: 14px; }
  .access { gap: 32px; }
  .subhero__crumbs { font-size: 9.5px; letter-spacing: .25em; gap: 8px; }
  .subhero__crumbs i { width: 10px; }
  .subhero__lead { font-size: 13px; line-height: 1.95; }
  .equip-grid { grid-template-columns: 1fr !important; }
  .plans { grid-template-columns: 1fr !important; }
}
