:root {
  --ink: #1f2f36;
  --text-body: #3d4f56;
  --muted: #54656c;
  --line: #d9e5e8;
  --blue: #0c9ecd;
  --blue-deep: #087fa7;
  --aqua: #eaf7fa;
  --green: #8fcbbf;
  --gold: #d9bd65;
  --coral: #d98f85;
  --paper: #ffffff;
  --mist: #f5fafb;
  --cream: #fbf8ef;
  --shadow: 0 16px 36px rgba(31, 47, 54, 0.08);
  --max: 1160px;
  --floating-cta-size: 56px;
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-en: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  text-size-adjust: 100%;
}

body.nav-open {
  overflow: hidden;
}

body.is-loaded .site-header {
  transform: translateY(0);
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.intro__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 38%, #ffffff 0%, #f4fafc 55%, #eaf5f9 100%);
}

.intro__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.intro__curtain {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform: translateX(-101%);
  will-change: transform;
}

.intro__curtain--back {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.intro__curtain--front {
  background: linear-gradient(120deg, var(--blue-deep) 0%, #0a6f93 100%);
  box-shadow: 28px 0 60px rgba(8, 127, 167, 0.35);
}

.intro__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 540px;
  height: 540px;
  max-width: 120vw;
  max-height: 120vw;
  transform: translate(-50%, -55%);
  background: radial-gradient(circle, rgba(12, 158, 205, 0.16) 0%, rgba(12, 158, 205, 0) 62%);
  border-radius: 50%;
  pointer-events: none;
}

.intro__logo {
  position: relative;
  width: min(440px, 74vw);
  height: auto;
}

.intro__bar {
  position: relative;
  width: min(160px, 42vw);
  height: 3px;
  background: rgba(12, 158, 205, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.intro__bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
}

/* Loader only animates when motion is allowed (JS adds .motion-ready). */
/* Without JS or with reduced motion, hide the loader and show the page. */
html:not(.motion-ready) .intro {
  display: none;
}

html.motion-ready .intro__glow {
  opacity: 0;
  animation: introGlow 1.5s ease 0.05s forwards;
}

html.motion-ready .intro__logo {
  opacity: 0;
  animation: introLogoIn 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both;
}

html.motion-ready .intro__bar-fill {
  animation: introFill 1.35s cubic-bezier(0.4, 0, 0.18, 1) 0.25s forwards;
}

.intro.is-done {
  pointer-events: none;
}

.intro.is-done .intro__inner {
  animation: introContentOut 0.45s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.intro.is-done .intro__veil {
  animation: introVeilOut 0.16s linear 0.78s forwards;
}

.intro.is-done .intro__curtain--back {
  animation: introSweep 1.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.intro.is-done .intro__curtain--front {
  animation: introSweep 1.5s cubic-bezier(0.76, 0, 0.24, 1) 0.14s forwards;
}

html.motion-ready body.intro-active main {
  opacity: 0;
}

body.intro-done main {
  opacity: 1;
  transition: opacity 0.35s ease;
}

@keyframes introGlow {
  0% {
    opacity: 0;
    transform: translate(-50%, -55%) scale(0.7);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -55%) scale(1);
  }
}

@keyframes introLogoIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes introFill {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes introContentOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }
}

@keyframes introVeilOut {
  to {
    opacity: 0;
  }
}

@keyframes introSweep {
  0% {
    transform: translateX(-101%);
  }
  48% {
    transform: translateX(0);
  }
  56% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(101%);
  }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 92px;
  padding: 0 34px 0 40px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 229, 232, 0.8);
  box-shadow: 0 8px 26px rgba(31, 47, 54, 0.05);
  transform: translateY(-10px);
  transition: box-shadow 0.25s ease, transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.68);
  border-bottom-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 34px rgba(31, 47, 54, 0.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}

.floating-cta {
  position: fixed;
  right: 0;
  top: 36%;
  z-index: 48;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.floating-cta a {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 86px;
  padding: 12px 10px;
  color: #fff;
  border-radius: 8px 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 2px 10px rgba(31, 47, 54, 0.12);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-cta a:nth-child(1) {
  background: rgba(12, 158, 205, 0.84);
}

.floating-cta a:nth-child(2) {
  background: rgba(8, 127, 167, 0.84);
}

.floating-cta a:nth-child(3) {
  background: rgba(31, 47, 54, 0.84);
}

.floating-cta a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 0;
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
}

.floating-cta a:hover,
.floating-cta a:focus-visible {
  transform: translateX(-3px);
  opacity: 0.92;
}

.brand-logo {
  order: 0;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding-left: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  height: 70px;
}

.site-nav {
  order: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  padding: 0 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 30px 0;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  order: 2;
  display: flex;
  align-items: stretch;
  height: 92px;
  border-left: 1px solid var(--line);
}

.header-actions a {
  display: grid;
  place-items: center;
  padding: 0 20px;
  border-right: 1px solid var(--line);
  font-weight: 700;
  white-space: nowrap;
}

.header-phone {
  color: var(--blue-deep);
  font-size: 17px;
}

.header-entry {
  color: #fff;
  background: var(--blue);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 76svh;
  margin-top: 92px;
  overflow: hidden;
  background: var(--ink);
}

.hero__image,
.hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image img {
  object-fit: cover;
}

.hero__slide {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

html.motion-ready .hero__slide.is-active {
  animation: kenBurns 7.5s ease-out forwards;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(8, 45, 58, 0.5) 0%, rgba(8, 45, 58, 0) 24%),
    linear-gradient(115deg, rgba(8, 45, 58, 0.84) 0%, rgba(8, 45, 58, 0.5) 46%, rgba(8, 45, 58, 0.08) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(92%, var(--max));
  min-height: 76svh;
  margin: 0 auto;
  padding: 64px 0 72px;
  color: #fff;
}

.hero__eyebrow {
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-shadow: 0 2px 28px rgba(8, 45, 58, 0.42);
  text-wrap: balance;
}

.hero__title-main {
  display: block;
  font-size: 0.94em;
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0.92;
}

.hero__title-sub {
  display: block;
  margin-top: 0.16em;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero__title-sub::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin-bottom: 0.28em;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.15));
}

.hero__lead {
  max-width: 680px;
  margin-top: 22px;
  font-size: 18px;
  line-height: 2;
}

.hero__buttons,
.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button::after {
  content: ">";
  margin-left: 12px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--blue-deep);
  font-weight: 800;
}

.text-link::after {
  content: ">";
  margin-left: 10px;
}

.button--primary {
  color: #fff;
  background: var(--blue);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--blue-deep);
}

.button--light {
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero__buttons .button--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__buttons .button--light:hover,
.hero__buttons .button--light:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.button::after {
  transition: transform 0.2s ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(4px);
}

.hero-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(640px, 48vw);
  padding: 28px 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.hero-panel__label,
.section__en {
  color: var(--blue-deep);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-panel__access {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.hero-panel__grid div {
  padding: 12px;
  background: var(--aqua);
  border-radius: 6px;
  text-align: center;
}

.hero-panel strong {
  display: block;
  color: var(--blue-deep);
  font-size: 30px;
  line-height: 1.2;
}

.hero-panel span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.visit-mini {
  display: grid;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.visit-mini div {
  display: grid;
  grid-template-columns: 1fr 90px 90px;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.visit-mini span {
  text-align: left;
}

.visit-mini strong {
  color: var(--blue-deep);
}

.quick-nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(92%, var(--max));
  margin: 24px auto 36px;
  padding: 12px;
  border: 1px solid rgba(12, 158, 205, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(8, 127, 167, 0.09);
}

.quick-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--aqua);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.quick-nav a:hover,
.quick-nav a:focus-visible {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(8, 127, 167, 0.22);
  transform: translateY(-1px);
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card,
.work-list article,
.data-stat,
.job-card--compact {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover,
.work-list article:hover,
.data-stat:hover,
.job-card--compact:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(31, 47, 54, 0.1);
}

.parts-section {
  width: min(92%, var(--max));
  margin: 0 auto;
  padding: 76px 0 64px;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.parts-grid a {
  display: grid;
  min-height: 230px;
  align-content: center;
  justify-items: center;
  padding: 30px 24px;
  background: #fff;
  border: 5px solid #fff;
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(31, 47, 54, 0.07);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.parts-grid a:hover,
.parts-grid a:focus-visible {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.parts-grid a:nth-child(2):hover,
.parts-grid a:nth-child(2):focus-visible {
  border-color: var(--gold);
}

.parts-grid a:nth-child(3):hover,
.parts-grid a:nth-child(3):focus-visible {
  border-color: var(--green);
}

.parts-grid a:nth-child(4):hover,
.parts-grid a:nth-child(4):focus-visible {
  border-color: var(--coral);
}

.parts-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
}

.parts-grid a:nth-child(2) .parts-icon {
  background: var(--gold);
}

.parts-grid a:nth-child(3) .parts-icon {
  background: var(--green);
}

.parts-grid a:nth-child(4) .parts-icon {
  background: var(--coral);
}

.parts-grid strong {
  font-size: 24px;
  line-height: 1.45;
  text-wrap: balance;
}

.parts-grid em {
  margin-top: 8px;
  color: #9aa8ad;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.section {
  width: min(92%, var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.section--soft,
.section--data {
  width: 100%;
  max-width: none;
  padding-right: max(4vw, calc((100vw - var(--max)) / 2));
  padding-left: max(4vw, calc((100vw - var(--max)) / 2));
}

.section--soft {
  background: var(--mist);
}

.section--data {
  background: var(--cream);
}

.section__head {
  margin-bottom: 28px;
}

.split-section .split {
  align-items: center;
}

.split-section .split__main {
  display: grid;
  gap: 18px;
}

.split-section .section__head {
  margin-bottom: 0;
}

.section__head h2,
.tour-card h2,
.entry-section h2 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.section__head p {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--text-body);
}

.section__head--center {
  text-align: center;
}

.split,
.clinic-layout,
.voice-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.split__text {
  display: grid;
  gap: 14px;
  color: var(--text-body);
}

.signature {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 700;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split .photo-card img,
.voice-layout .photo-card img {
  object-position: center top;
}

.split-section .photo-card img {
  aspect-ratio: 3 / 2;
}

.photo-card figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
}

.feature-slider {
  width: 100%;
  margin-top: 4px;
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
}

.feature-marquee {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.feature-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, 4vw);
  padding: 24px max(24px, 4vw) 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 699px) {
  .feature-track {
    scroll-padding-inline: max(20px, calc(50% - clamp(140px, 36vw, 170px)));
    padding-right: max(20px, calc(50% - clamp(140px, 36vw, 170px)));
    padding-left: max(20px, calc(50% - clamp(140px, 36vw, 170px)));
  }
}

.feature-track::-webkit-scrollbar {
  display: none;
}

.feature-slider__nav {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  max-width: 300px;
  margin: 4px auto 0;
  padding-inline: 8px;
}

@media (max-width: 1359px) {
  .feature-track {
    padding-bottom: 58px;
  }

  .feature-slider__nav {
    position: absolute;
    right: 16px;
    bottom: 10px;
    left: 16px;
    z-index: 10;
    margin: 0 auto;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 158, 205, 0.12);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(8, 127, 167, 0.12);
    backdrop-filter: blur(10px);
  }
}

.feature-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-deep);
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 47, 54, 0.07);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-arrow:hover,
.feature-arrow:focus-visible {
  color: #fff;
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(8, 127, 167, 0.22);
}

.feature-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.feature-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 158, 205, 0.22);
  cursor: pointer;
  transition:
    width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    transform 0.3s ease;
}

.feature-dot.is-active {
  width: 24px;
  background: var(--blue);
}

.feature-dot:hover,
.feature-dot:focus-visible {
  background: rgba(12, 158, 205, 0.55);
  transform: scale(1.08);
}

.feature-card {
  flex: 0 0 clamp(280px, 72vw, 340px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: visible;
  scroll-snap-align: center;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(8, 127, 167, 0.08);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.feature-card img {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transform-origin: center top;
}

.feature-card:nth-child(3) img {
  object-position: center center;
}

.feature-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 28px;
}

.feature-card[data-reveal] {
  will-change: transform, opacity;
}

html.motion-ready .features-section:not(.features-in-view) .feature-card[data-reveal] {
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  filter: blur(6px);
}

html.motion-ready .features-section.features-in-view .feature-card[data-reveal] {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.feature-card.is-active {
  box-shadow: 0 22px 44px rgba(8, 127, 167, 0.16);
}

.feature-card.is-active:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 40px rgba(31, 47, 54, 0.12);
}

@media (min-width: 1360px) {
  .features-section.features-in-view .feature-card[data-reveal]:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(31, 47, 54, 0.12);
  }
}

.feature-card:nth-child(1) {
  --reveal-delay: 0s;
}

.feature-card:nth-child(2) {
  --reveal-delay: 0.12s;
}

.feature-card:nth-child(3) {
  --reveal-delay: 0.24s;
}

.feature-card:nth-child(4) {
  --reveal-delay: 0.36s;
}

.feature-card:nth-child(5) {
  --reveal-delay: 0.48s;
}

.flow span {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 32px;
  margin-bottom: 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.feature-card__body span {
  --feature-accent: var(--blue);
  position: relative;
  z-index: 2;
  display: block;
  margin-top: -36px;
  margin-bottom: 10px;
  color: transparent;
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--feature-accent);
  paint-order: stroke fill;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.95),
    0 0 22px rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(255, 255, 255, 0.85);
}

.feature-card__body span::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--feature-accent);
}

.feature-card:nth-child(5n + 2) .feature-card__body span {
  --feature-accent: var(--gold);
}

.feature-card:nth-child(5n + 3) .feature-card__body span {
  --feature-accent: var(--green);
}

.feature-card:nth-child(5n + 4) .feature-card__body span {
  --feature-accent: var(--coral);
}

.feature-card:nth-child(5n + 5) .feature-card__body span {
  --feature-accent: #7ecde6;
}

.data-stat:nth-child(2) .data-stat__num,
.data-stat:nth-child(2) .data-stat__unit {
  color: var(--gold);
}

.data-stat:nth-child(3) .data-stat__num,
.data-stat:nth-child(3) .data-stat__unit {
  color: var(--green);
}

.data-stat:nth-child(4) .data-stat__num,
.data-stat:nth-child(4) .data-stat__unit {
  color: var(--coral);
}

.feature-card__body h3,
.clinic-info h3,
.work-list h3,
.job-card h3 {
  font-size: 22px;
  line-height: 1.5;
  text-wrap: balance;
}

.feature-card__body p,
.clinic-info p,
.work-list p,
.job-card p,
.tour-card p,
.entry-section p {
  margin-top: 12px;
  color: var(--text-body);
}

.clinic-layout {
  grid-template-columns: 0.95fr 1fr;
}

.clinic-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.clinic-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center center;
}

.clinic-info {
  padding: 34px;
  border: 6px solid var(--aqua);
  border-radius: 8px;
  background: #fff;
}

.clinic-info dl,
.job-card dl {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
}

.clinic-info dl div,
.job-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--blue-deep);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

.data-panel {
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  background: rgba(217, 229, 232, 0.85);
  border: 1px solid rgba(217, 229, 232, 0.85);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(31, 47, 54, 0.06);
}

.data-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: rgba(217, 229, 232, 0.85);
}

.data-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 118px;
  padding: 20px 10px 18px;
  text-align: center;
  background: #fff;
}

.data-stat__value {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.data-stat__num {
  color: var(--blue-deep);
  font-family: var(--font-en);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: -0.02em;
}

.data-stat__unit {
  color: var(--blue-deep);
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 800;
}

.data-stat__label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.data-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max);
  margin: 28px auto 0;
}

.data-note {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(217, 229, 232, 0.75);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(31, 47, 54, 0.05);
}

.data-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.5;
}

.data-note p {
  margin: 0;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.75;
}

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

.work-list article,
.work-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 127, 167, 0.07);
}

.work-card--nurse {
  --work-accent: var(--blue);
  --work-tint: rgba(12, 158, 205, 0.1);
  --work-tint-strong: rgba(12, 158, 205, 0.18);
}

.work-card--rehab {
  --work-accent: var(--gold);
  --work-tint: rgba(217, 189, 101, 0.14);
  --work-tint-strong: rgba(217, 189, 101, 0.24);
}

.work-card--office {
  --work-accent: var(--green);
  --work-tint: rgba(143, 203, 191, 0.18);
  --work-tint-strong: rgba(143, 203, 191, 0.28);
}

.work-card__visual {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--work-tint-strong) 0%, var(--work-tint) 52%, #fff 100%);
}

.work-card__blob {
  position: absolute;
  top: -28px;
  right: -18px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.92), var(--work-tint-strong));
  opacity: 0.9;
}

.work-card__illust {
  position: absolute;
  right: 10px;
  bottom: -6px;
  width: 118px;
  height: 118px;
  color: var(--work-accent);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-card__illust {
  transform: translateY(-4px) scale(1.04);
}

.work-card__num {
  position: absolute;
  bottom: 10px;
  left: 18px;
  color: transparent;
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--work-accent) 62%, transparent);
  paint-order: stroke fill;
}

.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 26px;
}

.work-card__body h3 {
  margin: 0;
}

.voice-section {
  width: 100%;
  max-width: none;
  padding-right: max(4vw, calc((100vw - var(--max)) / 2));
  padding-left: max(4vw, calc((100vw - var(--max)) / 2));
  background: var(--mist);
}

.voice-layout {
  grid-template-columns: 0.82fr 1fr;
}

.qa-list {
  display: grid;
  gap: 12px;
}

.qa-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qa-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 800;
}

.qa-list p {
  padding: 0 22px 20px;
  color: var(--text-body);
}

.job-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px 34px;
  padding: 34px;
  border: 6px solid var(--aqua);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.job-card__status {
  align-self: start;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

.job-card dl,
.job-card .button {
  grid-column: 2;
}

.job-slider {
  max-width: var(--max);
  margin-inline: auto;
}

.job-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.job-card--compact {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-width: 1px;
}

.job-card--compact:first-child {
  grid-column: 1 / -1;
  border-color: rgba(12, 158, 205, 0.55);
  background: linear-gradient(150deg, #fff, #f6fcfe);
}

.job-card--compact:first-child dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.job-card--compact h3 {
  margin-top: 18px;
}

.job-card--compact dl {
  display: grid;
  margin-top: 18px;
}

.job-card--compact dl div {
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding: 11px 0;
}

.job-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: auto;
  padding-top: 22px;
}

.job-card__actions .button {
  grid-column: auto;
  min-height: 44px;
  padding: 9px 20px;
}

.tour-section {
  padding-top: 40px;
}

.tour-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 42px;
  border: 6px solid var(--aqua);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.flow {
  display: grid;
  gap: 14px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.flow span {
  margin-bottom: 0;
}

.entry-section {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  margin-top: 30px;
  color: #fff;
  background: var(--ink);
}

.entry-section__image,
.entry-section__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.entry-section__image img {
  object-fit: cover;
}

.entry-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 45, 58, 0.72);
}

.entry-section__copy {
  position: relative;
  z-index: 1;
  width: min(92%, var(--max));
  margin: 0 auto;
  padding: 78px 0;
}

.entry-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 4vw 44px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin-top: 6px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 78px;
    padding: 0 18px;
  }

  .brand-logo {
    padding-left: 0;
  }

  .brand-logo img {
    height: 60px;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after,
  .header-actions {
    display: none;
  }

  .floating-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero {
    margin-top: 78px;
  }

  .section {
    padding: 64px 0;
  }

  .split-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .split,
  .clinic-layout,
  .voice-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .quick-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 20px auto 28px;
    padding: 10px;
  }

  .quick-nav a {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .data-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .parts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (min-width: 1121px) {
  .quick-nav {
    width: min(88%, calc(var(--max) - var(--floating-cta-size)));
    margin: 36px auto 44px;
    left: calc(var(--floating-cta-size) * -0.5);
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .quick-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quick-nav a {
    min-height: 42px;
    padding: 8px 6px;
    font-size: 11px;
  }
}

@media (min-width: 1121px) and (max-width: 1320px) {
  .quick-nav a {
    min-height: 44px;
    padding: 8px 8px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 58px;
  }

  .site-header {
    min-height: 70px;
  }

  .brand-logo img {
    height: 52px;
  }

  .site-nav {
    top: 70px;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 74svh;
    margin-top: 70px;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(8, 45, 58, 0.82) 0%, rgba(8, 45, 58, 0.38) 56%, rgba(8, 45, 58, 0.78) 100%);
  }

  .hero__content {
    min-height: 74svh;
    padding: 42px 0 56px;
  }

  .hero h1 {
    letter-spacing: 0.1em;
  }

  .hero__title-main {
    letter-spacing: 0.08em;
  }

  .hero__title-sub {
    letter-spacing: 0.08em;
  }

  .hero__title-sub::before {
    width: 28px;
    margin-bottom: 0.22em;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .hero__eyebrow {
    font-size: 12px;
  }

  .quick-nav {
    width: min(94%, var(--max));
    margin: 16px auto 24px;
    padding: 8px;
    gap: 6px;
    border-radius: 16px;
  }

  .quick-nav a {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero-panel {
    width: 100%;
    padding: 18px;
  }

  .hero-panel__grid {
    gap: 8px;
  }

  .hero-panel__grid div {
    padding: 10px 6px;
  }

  .hero-panel strong {
    font-size: 23px;
  }

  .hero-panel span {
    font-size: 11px;
  }

  .section,
  .parts-section,
  .section--soft,
  .section--data,
  .voice-section {
    padding: 64px 4vw;
  }

  .section__head h2,
  .tour-card h2,
  .entry-section h2 {
    font-size: 27px;
  }

  .split-section .split__main {
    gap: 14px;
  }

  .split__text {
    gap: 12px;
  }

  .split,
  .clinic-layout,
  .voice-layout,
  .tour-card,
  .job-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .job-track {
    grid-template-columns: 1fr;
  }

  .job-card--compact:first-child dl {
    grid-template-columns: 1fr;
  }

  .data-stat {
    min-height: 104px;
    padding: 16px 8px 14px;
  }

  .data-stat__label {
    font-size: 11px;
  }

  .data-notes {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .parts-grid,
  .work-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    flex-basis: clamp(260px, 84vw, 320px);
  }

  .feature-card__body {
    padding: 20px;
  }

  .parts-grid a {
    min-height: 180px;
  }

  .visit-mini div {
    grid-template-columns: 1fr 70px 70px;
  }

  .clinic-info,
  .job-card,
  .tour-card {
    padding: 24px;
  }

  .clinic-info dl div,
  .job-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .job-card dl,
  .job-card .button {
    grid-column: auto;
  }

  .job-card--compact dl div {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: block;
    padding-bottom: 82px;
  }

  .site-footer small {
    display: block;
    margin-top: 18px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
    backdrop-filter: blur(14px) saturate(1.5);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 -8px 24px rgba(31, 47, 54, 0.08);
  }

  .mobile-cta a {
    display: grid;
    place-items: center;
    min-height: 58px;
    border-right: 1px solid var(--line);
    color: var(--blue-deep);
    font-size: 14px;
    font-weight: 800;
  }

  .mobile-cta a:last-child {
    color: #fff;
    background: var(--blue);
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .data-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1360px) {
  .feature-slider__nav {
    display: none;
  }

  .feature-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    scroll-snap-type: none;
    scroll-padding-inline: 0;
    padding: 18px 0 8px;
  }

  .feature-card {
    flex: unset;
  }

  .feature-card.is-active {
    box-shadow: 0 18px 38px rgba(8, 127, 167, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .floating-cta a:hover,
  .floating-cta a:focus-visible {
    transform: none;
  }

  [data-animate],
  .feature-card[data-reveal],
  html.motion-ready .features-section:not(.features-in-view) .feature-card[data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ============================================================
   Additional design layer: decorations, typography, motion
   ============================================================ */

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 220;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 100%);
  transform: scaleX(0);
  transform-origin: left center;
}

/* --- Hero accent words --- */
.hero__accent {
  font-style: normal;
  color: #f3d985;
  font-weight: 700;
  text-shadow: 0 0 24px rgba(243, 217, 133, 0.45), 0 2px 28px rgba(8, 45, 58, 0.42);
}

/* --- Hero decorations --- */
.hero__wm {
  position: absolute;
  right: -0.04em;
  bottom: -0.12em;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-en);
  font-size: clamp(80px, 14vw, 210px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
}

.hero__side {
  position: absolute;
  top: 50%;
  right: 26px;
  z-index: 2;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__dots {
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease, width 0.3s ease;
}

.hero__dot.is-active {
  width: 26px;
  background: #fff;
}

.hero__scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.75);
}

.hero__scroll-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateY(-100%);
}

html.motion-ready .hero__scroll-line::after {
  animation: scrollLine 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }
  55% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

/* --- Hero entrance stagger (after intro curtain opens) --- */
html.motion-ready body.intro-done .hero__eyebrow {
  animation: heroRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* Title lines slide up from behind an overflow mask (kinetic type reveal). */
.hero__title-main,
.hero__title-sub {
  overflow: hidden;
}

.hero__line {
  display: block;
}

html.motion-ready body.intro-done .hero__title-main .hero__line {
  animation: heroLineUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

html.motion-ready body.intro-done .hero__title-sub .hero__line {
  animation: heroLineUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

@keyframes heroLineUp {
  from {
    transform: translateY(112%);
  }
  to {
    transform: translateY(0);
  }
}

html.motion-ready body.intro-done .hero__lead {
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}

html.motion-ready body.intro-done .hero__buttons {
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
}

html.motion-ready body.intro-done .hero__scroll,
html.motion-ready body.intro-done .hero__dots,
html.motion-ready body.intro-done .hero__side,
html.motion-ready body.intro-done .hero__wm {
  animation: heroFade 1s ease 1.4s both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --- Curve separators between sections --- */
.has-curve {
  position: relative;
}

.has-curve::before {
  content: "";
  position: absolute;
  top: -54px;
  right: 0;
  left: 0;
  height: 55px;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0,64 L0,40 C240,8 480,0 720,16 C960,32 1200,56 1440,32 L1440,64 Z' fill='%23f5fafb'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

.section--data.has-curve::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0,64 L0,40 C240,8 480,0 720,16 C960,32 1200,56 1440,32 L1440,64 Z' fill='%23fbf8ef'/%3E%3C/svg%3E");
}

/* --- Giant watermark english labels --- */
.has-watermark {
  position: relative;
  overflow: hidden;
}

.has-watermark::after {
  content: attr(data-watermark);
  position: absolute;
  top: 8px;
  right: -0.04em;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-en);
  font-size: clamp(80px, 13vw, 190px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(12, 158, 205, 0.13);
}

.has-watermark > * {
  position: relative;
  z-index: 1;
}

.has-watermark.has-curve::before {
  z-index: 2;
}

/* --- Blurred gradient orbs --- */
.orb {
  position: absolute;
  z-index: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.orb--aqua {
  top: -60px;
  left: -120px;
  background: radial-gradient(circle, rgba(12, 158, 205, 0.35) 0%, rgba(12, 158, 205, 0) 70%);
}

.orb--gold {
  right: -130px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(217, 189, 101, 0.4) 0%, rgba(217, 189, 101, 0) 70%);
}

.orb--green {
  top: 30%;
  right: -140px;
  background: radial-gradient(circle, rgba(143, 203, 191, 0.42) 0%, rgba(143, 203, 191, 0) 70%);
}

/* --- Dot grid behind photo cards --- */
.photo-card {
  position: relative;
  overflow: visible;
}

.photo-card img {
  border-radius: 8px 8px 0 0;
}

.photo-card::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  z-index: -1;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(12, 158, 205, 0.35) 2px, transparent 2.5px);
  background-size: 15px 15px;
}

/* --- Work cards with illustrations --- */
.work-section .work-list {
  gap: 22px;
}

/* --- Marker highlight --- */
.marker {
  font-style: normal;
  font-weight: 800;
  color: var(--ink);
  background-image: linear-gradient(transparent 60%, rgba(217, 189, 101, 0.5) 60%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

html.motion-ready [data-animate] .marker {
  background-size: 0% 100%;
  transition: background-size 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.45s;
}

html.motion-ready [data-animate].is-visible .marker {
  background-size: 100% 100%;
}

/* --- Heading line-mask reveal (inner span is wrapped by script.js) --- */
.h2-mask {
  display: block;
  overflow: hidden;
}

.h2-line {
  display: block;
}

html.motion-ready [data-animate] .h2-line {
  transform: translateY(112%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

html.motion-ready [data-animate].is-visible .h2-line {
  transform: translateY(0);
}

/* English section labels settle their tracking as they fade in */
html.motion-ready [data-animate] .section__en {
  opacity: 0;
  letter-spacing: 0.4em;
  transition: opacity 0.7s ease 0.08s, letter-spacing 1s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

html.motion-ready [data-animate].is-visible .section__en {
  opacity: 1;
  letter-spacing: 0.22em;
}

/* --- Counter blur-in --- */
html.motion-ready .data-stat__num.is-counting {
  animation: numIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes numIn {
  from {
    filter: blur(8px);
    transform: scale(0.92);
  }
  to {
    filter: blur(0);
    transform: scale(1);
  }
}

/* --- Features section refinements --- */
@media (max-width: 699px) {
  html.motion-ready .features-section.features-in-view .feature-track .feature-card[data-reveal]:not(.is-active) {
    opacity: 0.72;
    transform: translateY(0) scale(0.96);
    filter: saturate(0.92) blur(0);
  }

  html.motion-ready .features-section.features-in-view .feature-track .feature-card[data-reveal].is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1) blur(0);
  }
}

@media (min-width: 700px) and (max-width: 1359px) {
  .feature-card {
    scroll-snap-align: start;
  }

  .feature-card.is-active {
    box-shadow: 0 14px 32px rgba(8, 127, 167, 0.08);
  }
}

@media (min-width: 1360px) {
  .feature-track {
    gap: 22px;
    align-items: start;
    padding-bottom: 34px;
  }

  .feature-track .feature-card {
    min-height: 0;
  }

  .feature-track .feature-card:nth-child(even) {
    margin-top: 28px;
  }
}

/* --- Card inner image zoom --- */
.feature-card img,
.staff-card img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover img {
  transform: scale(1.04);
}

.staff-card:hover img {
  transform: scale(1.05);
}

.feature-card > img:first-child {
  border-radius: 16px 16px 0 0;
}

/* --- Floating CTA show/hide --- */
.floating-cta {
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.floating-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  pointer-events: none;
}

/* --- A Day section --- */
.day-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  max-width: 980px;
  margin: 0 auto 30px;
}

.day-tab {
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid rgba(12, 158, 205, 0.35);
  border-radius: 999px;
  color: var(--blue-deep);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.day-tab.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 22px rgba(12, 158, 205, 0.25);
}

.day-tab:not(.is-active):hover,
.day-tab:not(.is-active):focus-visible {
  background: var(--aqua);
}

.day-panel:not(.is-active) {
  display: none;
}

.day-panel[hidden] {
  display: none !important;
}

.day-panel.is-active {
  max-width: 920px;
  margin-inline: auto;
  padding: clamp(20px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(12, 158, 205, 0.14);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(8, 127, 167, 0.08);
}

.day-panel__title {
  display: block;
  margin: 0 0 20px;
  color: var(--blue-deep);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.day-timeline {
  position: relative;
  display: grid;
  gap: 26px;
  max-width: 760px;
  margin: 0 auto;
  padding: 6px 0 6px 0;
  list-style: none;
}

.day-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 95px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--green) 100%);
  transform: scaleY(0);
  transform-origin: top center;
}

html.motion-ready .day-timeline::before {
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

html:not(.motion-ready) .day-timeline::before,
.day-timeline.is-drawn::before {
  transform: scaleY(1);
}

.day-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 46px;
}

.day-item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 90px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.day-item time {
  align-self: start;
  color: var(--blue-deep);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.day-item h3 {
  font-size: 18px;
  line-height: 1.5;
}

.day-item p {
  margin-top: 6px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.75;
}

html.motion-ready .day-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--day-delay, 0s);
}

html.motion-ready .day-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.day-item:nth-child(1) { --day-delay: 0.05s; }
.day-item:nth-child(2) { --day-delay: 0.18s; }
.day-item:nth-child(3) { --day-delay: 0.31s; }
.day-item:nth-child(4) { --day-delay: 0.44s; }
.day-item:nth-child(5) { --day-delay: 0.57s; }
.day-item:nth-child(6) { --day-delay: 0.7s; }

.day-note {
  max-width: 680px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* --- Staff voice section --- */
.staff-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.staff-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(217, 229, 232, 0.8);
  border-radius: 40px 14px 40px 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(31, 47, 54, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(31, 47, 54, 0.13);
}

.staff-card figure {
  margin: 0;
  overflow: hidden;
}

.staff-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.staff-card__body {
  position: relative;
  padding: 22px 24px 26px;
}

.staff-card__body-only {
  min-height: 100%;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, #fff 0%, #f5fafb 100%);
}

.staff-card--text .staff-card__body {
  min-height: 100%;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(135deg, #ffffff, #f5fafb);
}

.staff-card--text:nth-child(even) .staff-card__body {
  background: linear-gradient(135deg, #ffffff, #fbf8ef);
}

.staff-card--text .staff-card__body::before {
  top: 4px;
  right: 20px;
}

.voice-layout--single {
  display: block;
  max-width: 820px;
  margin-inline: auto;
}

.job-card__source {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.staff-card__body::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  right: 18px;
  color: rgba(12, 158, 205, 0.18);
  font-family: var(--font-en);
  font-size: 90px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.staff-card__role {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 12px;
  color: var(--blue-deep);
  background: var(--aqua);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.staff-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.staff-card p {
  margin-top: 10px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.75;
}

/* --- Career steps --- */
.career-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-step {
  position: relative;
  padding: 28px 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(31, 47, 54, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.career-step:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 158, 205, 0.4);
  box-shadow: 0 18px 34px rgba(31, 47, 54, 0.1);
}

.career-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.career-step__num {
  display: block;
  margin-bottom: 8px;
  color: transparent;
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1.5px rgba(12, 158, 205, 0.55);
}

.career-step h3 {
  font-size: 17px;
  line-height: 1.5;
}

.career-step p {
  margin-top: 10px;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.75;
}

/* --- Access section --- */
.access-section {
  padding-top: clamp(48px, 5vw, 72px);
  padding-bottom: clamp(48px, 5vw, 72px);
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
}

.access-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4px;
}

@media (min-width: 1121px) {
  .access-section {
    padding-right: 0;
  }

  .access-layout {
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
  }

  .access-info {
    max-width: 420px;
  }

  .access-btn {
    max-width: none;
  }

}

.access-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.access-heading h2 {
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.access-heading__en {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.access-details {
  font-style: normal;
  color: var(--ink);
  font-size: 15px;
  line-height: 2.1;
}

.access-details p {
  margin: 0;
}

.access-details a {
  color: inherit;
  text-decoration: none;
}

.access-details a:hover,
.access-details a:focus-visible {
  color: var(--blue-deep);
}

.access-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 360px;
  margin-top: 28px;
  padding: 12px 14px 12px 28px;
  border: 1px solid #c8d3d7;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.access-btn:hover,
.access-btn:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 127, 167, 0.12);
  transform: translateY(-2px);
}

.access-btn__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #c8d3d7;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.access-btn:hover .access-btn__icon,
.access-btn:focus-visible .access-btn__icon {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.access-map {
  overflow: hidden;
  min-height: clamp(300px, 38vw, 440px);
  background: #fff;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 38vw, 440px);
  border: 0;
}

/* --- Responsive for the new layer --- */
@media (max-width: 1120px) {
  .job-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-step:nth-child(2)::after {
    display: none;
  }

  .staff-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-card:last-child {
    grid-column: auto;
  }

  .access-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .access-info {
    padding-block: 0;
  }

  .access-map {
    order: 2;
    margin-inline: calc(-1 * max(4vw, calc((100vw - var(--max)) / 2)));
    width: auto;
  }
}

@media (max-width: 1120px) {
  .hero__side {
    display: none;
  }
}

@media (max-width: 760px) {
  .job-track {
    grid-template-columns: 1fr;
  }

  .job-card--compact:first-child {
    grid-column: auto;
  }

  .hero__wm {
    font-size: clamp(64px, 18vw, 110px);
    opacity: 0.8;
  }

  .hero__dots {
    right: 16px;
    bottom: 18px;
  }

  .hero__scroll-line {
    height: 36px;
  }

  .has-watermark::after {
    font-size: clamp(64px, 22vw, 110px);
    top: 14px;
  }

  .has-curve::before {
    top: -34px;
    height: 35px;
  }

  .day-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: none;
    margin-bottom: 22px;
    padding: 2px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .day-tab {
    flex: 0 0 auto;
    padding: 10px 15px;
    font-size: 13px;
    scroll-snap-align: start;
  }

  .day-panel.is-active {
    padding: 20px 16px 26px;
  }

  .day-timeline::before {
    left: 63px;
  }

  .day-item {
    grid-template-columns: 48px 1fr;
    gap: 32px;
  }

  .day-item::before {
    left: 58px;
  }

  .day-item time {
    font-size: 16px;
  }

  .staff-cards {
    grid-template-columns: 1fr;
  }

  .staff-card:last-child {
    grid-column: auto;
  }

  .career-steps {
    grid-template-columns: 1fr;
  }

  .career-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -13px;
    transform: translateX(50%) rotate(135deg);
  }

  .career-step:nth-child(2)::after {
    display: block;
  }

  .access-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .access-heading {
    margin-bottom: 18px;
  }

  .access-details {
    font-size: 14px;
    line-height: 1.95;
  }

  .access-btn {
    margin-top: 20px;
  }

  .access-map,
  .access-map iframe {
    min-height: min(56vw, 300px);
  }

  .work-card__num {
    font-size: 42px;
  }

  .work-card__illust {
    width: 104px;
    height: 104px;
  }

  .work-card__visual {
    min-height: 132px;
  }

  .photo-card::before {
    right: -12px;
    bottom: -12px;
    width: 110px;
    height: 110px;
  }

  .orb {
    width: 240px;
    height: 240px;
    filter: blur(60px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  html.motion-ready .hero__slide.is-active {
    animation: none;
  }

  .day-timeline::before {
    transform: scaleY(1);
  }

  html.motion-ready .day-item,
  html.motion-ready [data-animate] .h2-line {
    opacity: 1;
    transform: none;
  }

  html.motion-ready [data-animate] .section__en {
    opacity: 1;
    letter-spacing: 0.22em;
  }

  html.motion-ready [data-animate] .marker {
    background-size: 100% 100%;
  }

  .orb {
    transform: none !important;
  }
}

/* ============================================================
   Modern design layer 2: grain, glass, wipes, odometer, pulse
   ============================================================ */

/* --- Film grain overlay (SVG turbulence, static & cheap) --- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* --- Image curtain wipe reveal --- */
html.motion-ready [data-animate] .photo-card img,
html.motion-ready [data-animate] .staff-card figure img,
html.motion-ready [data-animate] .access-map iframe {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1) 0.25s;
}

html.motion-ready [data-animate].is-visible .photo-card img,
html.motion-ready [data-animate].is-visible .staff-card figure img,
html.motion-ready [data-animate].is-visible .access-map iframe {
  clip-path: inset(0 0 0 0);
}

html.motion-ready [data-animate] .staff-cards .staff-card:nth-child(2) figure img {
  transition-delay: 0.4s;
}

html.motion-ready [data-animate] .staff-cards .staff-card:nth-child(3) figure img {
  transition-delay: 0.55s;
}

/* --- Odometer digit roll (built by script.js on reveal) --- */
.odometer {
  display: inline-flex;
}

.odometer__digit {
  display: block;
  height: 1em;
  overflow: hidden;
}

.odometer__reel {
  display: block;
  transform: translateY(0);
}

html.motion-ready .odometer__reel {
  transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.odometer__reel span {
  display: block;
  height: 1em;
  line-height: 1;
}

/* --- ECG pulse divider --- */
.pulse-divider {
  width: 100%;
  margin: 0 auto 30px;
}

.pulse-divider svg {
  display: block;
  width: 100%;
  height: 44px;
  overflow: visible;
  color: var(--blue);
}

.pulse-divider__path {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.45;
}

.pulse-divider__dot {
  fill: currentColor;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

html.motion-ready .pulse-divider .pulse-divider__path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

html.motion-ready .pulse-divider.is-visible .pulse-divider__path {
  stroke-dashoffset: 0;
}

html.motion-ready .pulse-divider.is-visible .pulse-divider__dot {
  animation: pulseDot 2.6s ease-in-out 1.4s infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.6);
  }
  18%,
  42% {
    opacity: 0.75;
    transform: scale(1);
  }
  60% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-divider__dot {
    opacity: 0.6;
  }
}
