:root {
  --paper: #f7efe7;
  --paper-strong: #fff9f2;
  --paper-deep: #ead8c7;
  --sand: #d8bda5;
  --stone: #aa9380;
  --ink: #191413;
  --ink-soft: #4f4741;
  --ink-fade: #756b64;
  --ink-deep: #10161d;
  --navy: #1d3240;
  --navy-soft: #314d61;
  --petrol-deep: #163d57;
  --petrol-main: #1d4d6b;
  --petrol-mid: #2d6885;
  --petrol-soft: #4f87a0;
  --petrol-glow: rgba(79, 135, 160, 0.18);
  --brand-red: #b42834;
  --brand-red-deep: #7e1822;
  --brand-red-glow: rgba(180, 40, 52, 0.22);
  --brand-cyan: #7fd8eb;
  --brand-cyan-soft: rgba(127, 216, 235, 0.18);
  --bronze: #a67d56;
  --line: rgba(25, 20, 19, 0.1);
  --line-strong: rgba(25, 20, 19, 0.18);
  --surface: rgba(255, 250, 244, 0.8);
  --surface-strong: rgba(255, 252, 248, 0.94);
  --shadow-soft: 0 20px 48px rgba(29, 22, 21, 0.1);
  --shadow-deep: 0 32px 72px rgba(17, 15, 14, 0.16);
  --shadow-dark: 0 34px 84px rgba(7, 11, 15, 0.26);
  --radius-2xl: 38px;
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max: 1240px;
  --title-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fdf8f2 0%, #f7efe7 46%, #f0e2d4 100%);
  font-family: var(--body-font);
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(180, 40, 52, 0.16);
}

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

.hero-card img,
.featured-program-chibi,
.about-visual .chibi-note,
.footer-visual > img:last-child,
.gateway-chibi {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  flex-shrink: 0;
}

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

.site-shell,
.gateway-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-body {
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  transition:
    background-color 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease,
    backdrop-filter 280ms ease;
  backdrop-filter: blur(20px);
  background: rgba(252, 247, 241, 0.78);
  border-bottom: 1px solid rgba(25, 20, 19, 0.07);
  box-shadow: 0 10px 24px rgba(25, 20, 19, 0.04);
}

.topbar.is-scrolled {
  background: rgba(250, 244, 237, 0.92);
  border-bottom-color: rgba(28, 66, 86, 0.12);
  box-shadow: 0 18px 34px rgba(15, 22, 28, 0.08);
  backdrop-filter: blur(24px);
}

.topbar-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.topbar-row,
.topbar-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-panel {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-row {
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(100%, 520px);
}

.brand-wordmark {
  width: clamp(132px, 14vw, 164px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 20px rgba(20, 15, 14, 0.15));
}

.brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  padding-bottom: 0;
  align-self: flex-end;
}

.brand-text strong,
.section-title,
.hero-copy h1,
.gateway-brand h1,
.service-card h3,
.faq-card h3,
.contact-panel h3,
.footer-card strong {
  font-family: var(--title-font);
}

.brand-text strong {
  display: block;
  font-size: clamp(1.32rem, 2vw, 1.92rem);
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transform: translateY(-2px);
}

.brand-text span {
  display: block;
  margin-top: 0;
  font-size: 0.84rem;
  color: var(--ink-fade);
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-red-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  line-height: 1.35;
  transition:
    transform 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.nav-links a.active {
  border-color: rgba(180, 40, 52, 0.16);
  background: rgba(180, 40, 52, 0.08);
  color: var(--brand-red-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 40, 52, 0.18);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 22px rgba(25, 20, 19, 0.06);
  color: var(--brand-red-deep);
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
}

.language-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(25, 20, 19, 0.12);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(25, 20, 19, 0.06);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 40, 52, 0.18);
  box-shadow: 0 14px 26px rgba(25, 20, 19, 0.08);
}

.language-toggle-flag,
.language-option-flag {
  font-size: 1.05rem;
}

.language-toggle-native,
.language-option-code {
  font-size: 0.84rem;
  font-weight: 700;
}

.language-toggle-native {
  font-size: 0.94rem;
}

.language-toggle-caret {
  font-size: 0.88rem;
  color: var(--ink-fade);
  transition: transform 220ms ease;
}

.language-menu.is-open .language-toggle-caret {
  transform: rotate(180deg);
}

.language-menu-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.language-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  line-height: 1.35;
  transition:
    transform 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.language-option-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.language-option-native {
  font-weight: 700;
}

.language-option.active {
  border-color: rgba(180, 40, 52, 0.16);
  background: rgba(180, 40, 52, 0.08);
  color: var(--brand-red-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.language-option:hover,
.language-option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 40, 52, 0.18);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 22px rgba(25, 20, 19, 0.06);
  color: var(--brand-red-deep);
}

.language-menu[data-ready="true"] .language-toggle {
  display: inline-flex;
}

.language-menu[data-ready="true"] .language-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 15;
  display: none;
  flex-direction: column;
  align-items: stretch;
  min-width: 280px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(25, 20, 19, 0.1);
  background: rgba(255, 252, 248, 0.97);
  box-shadow: 0 24px 40px rgba(16, 22, 29, 0.12);
  backdrop-filter: blur(18px);
  max-height: min(360px, calc(100vh - 120px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.language-menu[data-ready="true"].is-open .language-menu-panel {
  display: flex;
}

.language-menu[data-ready="true"] .language-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(25, 20, 19, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(25, 20, 19, 0.06);
  color: var(--navy);
  font-weight: 700;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 40, 52, 0.18);
  box-shadow: 0 16px 28px rgba(25, 20, 19, 0.08);
}

.menu-toggle-bars {
  display: grid;
  gap: 4px;
}

.menu-toggle-bars span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

[data-reveal] {
  opacity: 1;
  transform: none;
  filter: none;
}

.motion-ready [data-reveal] {
  opacity: 0;
  filter: none;
  transform: translate3d(0, 54px, 0);
  transition:
    opacity 1050ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1050ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1050ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.motion-ready [data-reveal="fade-up"] {
  transform: translate3d(0, 68px, 0);
}

.motion-ready [data-reveal="slide-left"] {
  transform: translate3d(88px, 0, 0);
}

.motion-ready [data-reveal="slide-right"] {
  transform: translate3d(-88px, 0, 0);
}

.motion-ready [data-reveal="scale-in"] {
  transform: scale(0.92);
}

.motion-ready [data-reveal="blur-in"] {
  filter: blur(12px);
  transform: translate3d(0, 20px, 0) scale(0.986);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.hero {
  position: relative;
  padding: 46px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.section-card,
.language-card,
.gateway-hero,
.gateway-languages {
  border: 1px solid rgba(25, 20, 19, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-copy,
.hero-visual,
.section-card,
.gateway-hero,
.gateway-languages {
  border-radius: var(--radius-2xl);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 48px;
  background:
    linear-gradient(140deg, var(--petrol-deep) 0%, var(--petrol-main) 54%, var(--petrol-mid) 100%);
  color: #fef8f1;
  box-shadow: var(--shadow-dark);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 38%, rgba(127, 216, 235, 0.14) 100%);
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(6, 15, 20, 0.16) 100%);
  pointer-events: none;
}

.hero-ribbon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-ribbon span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 248, 241, 0.78);
}

.hero-ribbon img {
  width: 48px;
  filter: drop-shadow(0 6px 12px rgba(180, 40, 52, 0.22));
}

.hero-copy .eyebrow,
.section-experience .eyebrow,
.section-contact .eyebrow {
  color: var(--brand-cyan);
}

.hero-copy h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: clamp(2.75rem, 4.8vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-copy > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 60ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.82;
  color: rgba(255, 248, 241, 0.78);
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  transition:
    transform 320ms ease,
    box-shadow 320ms ease,
    background-color 320ms ease,
    border-color 320ms ease,
    color 320ms ease,
    filter 320ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--brand-red) 0%, #d84c57 100%);
  color: #fff8f4;
  box-shadow: 0 18px 28px rgba(180, 40, 52, 0.32);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff8f1;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 22px 38px rgba(180, 40, 52, 0.38);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.hero-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-point {
  min-height: 100%;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.hero-point strong {
  display: block;
  margin-bottom: 8px;
  color: #fff6ef;
  font-size: 1rem;
}

.hero-point span {
  color: rgba(255, 248, 241, 0.72);
  font-size: 0.92rem;
  line-height: 1.65;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(29, 50, 64, 0.06), rgba(255, 249, 242, 0.95)),
    var(--surface-strong);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: calc(var(--radius-2xl) - 10px);
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 22, 29, 0.04) 0%, rgba(16, 22, 29, 0.46) 100%);
}

.hero-room {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  align-items: end;
  gap: 14px;
  max-width: 356px;
  padding: 20px 20px 18px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 24px 44px rgba(16, 22, 29, 0.2);
  backdrop-filter: blur(14px);
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms ease,
    border-color 320ms ease,
    background-color 320ms ease;
}

.hero-card:hover,
.hero-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 252, 248, 0.96);
  box-shadow: 0 30px 54px rgba(10, 20, 27, 0.28);
}

.hero-card-copy {
  min-width: 0;
}

.hero-card-chibi {
  justify-self: end;
  align-self: end;
  width: 104px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(16, 22, 29, 0.18));
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.hero-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.section-block {
  position: relative;
  padding: 22px 0;
}

.section-block[id] {
  scroll-margin-top: 120px;
}

.section-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  background: var(--surface);
}

.section-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.95rem, 2.85vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.section-lead {
  max-width: 64ch;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.76;
  font-size: 1.02rem;
}

.service-grid,
.faq-grid,
.contact-grid,
.two-up {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

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

.trust-card,
.featured-program {
  border-radius: var(--radius-xl);
}

.trust-card {
  padding: 24px;
  border: 1px solid rgba(25, 20, 19, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 232, 220, 0.98));
  box-shadow:
    0 3px 8px rgba(25, 20, 19, 0.04),
    0 22px 36px rgba(20, 27, 32, 0.12);
  transition:
    transform 340ms ease,
    box-shadow 340ms ease,
    border-color 340ms ease,
    filter 340ms ease;
}

.trust-card:hover,
.trust-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(28, 66, 86, 0.14);
  box-shadow: 0 24px 42px rgba(15, 22, 28, 0.1);
  filter: saturate(1.02);
}

.trust-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--title-font);
  font-size: 1.25rem;
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: balance;
}

.trust-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.featured-program {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.68fr);
  gap: 20px;
  overflow: hidden;
  margin-bottom: 22px;
  padding: 28px;
  background:
    linear-gradient(145deg, var(--petrol-deep) 0%, var(--petrol-main) 56%, var(--petrol-mid) 100%);
  color: #fff8f1;
  box-shadow: var(--shadow-dark);
}

.featured-program::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.04), transparent 42%, rgba(127, 216, 235, 0.12) 100%);
  pointer-events: none;
}

.featured-program h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.featured-program p,
.featured-program .muted,
.featured-program .meta-list li {
  color: rgba(255, 248, 241, 0.82);
}

.featured-program .meta-list {
  margin-bottom: 18px;
}

.featured-program .meta-list li {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.featured-program .price-chip {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff8f1;
}

.featured-program .button.primary {
  margin-top: 6px;
}

.signature-title-wrap {
  position: relative;
  z-index: 1;
  display: inline-grid;
  justify-items: start;
  gap: 10px;
  max-width: min(100%, 40rem);
  margin-bottom: 18px;
}

.signature-title-wrap h3 {
  margin-bottom: 0;
}

.signature-swoosh {
  position: relative;
  left: 0;
  bottom: auto;
  width: clamp(132px, 44%, 228px);
  justify-self: center;
  margin-inline: auto;
  opacity: 0.92;
  filter: drop-shadow(0 10px 14px rgba(180, 40, 52, 0.24));
}

.featured-program-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  overflow: visible;
}

.featured-program-chibi {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(196px, 82%);
  max-height: 100%;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 20px 24px rgba(10, 15, 20, 0.32));
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 320ms ease;
}

.featured-program:hover .featured-program-chibi,
.featured-program:focus-within .featured-program-chibi {
  transform: translateY(-4px) scale(1.015);
  filter: drop-shadow(0 24px 28px rgba(10, 15, 20, 0.38));
}

@media (min-width: 980px) {
  .signature-title-wrap {
    max-width: min(100%, 46rem);
  }

  .featured-program h3 {
    white-space: nowrap;
  }
}

.service-card,
.faq-card,
.contact-panel,
.privacy-note {
  border-radius: var(--radius-lg);
}

.service-card {
  grid-column: span 6;
  padding: 26px;
  border: 1px solid rgba(25, 20, 19, 0.08);
  background: var(--surface-strong);
  box-shadow: 0 16px 32px rgba(25, 20, 19, 0.06);
  transition:
    transform 360ms ease,
    box-shadow 360ms ease,
    border-color 360ms ease,
    filter 360ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(180, 40, 52, 0.2);
  box-shadow: 0 28px 44px rgba(25, 20, 19, 0.09);
  filter: saturate(1.03);
}

.service-card.featured {
  grid-column: span 7;
  background: linear-gradient(145deg, var(--petrol-deep) 0%, var(--petrol-main) 62%, var(--petrol-mid) 100%);
  color: #fef8f1;
  box-shadow: var(--shadow-dark);
}

.service-card.featured:hover,
.service-card.featured:focus-within {
  border-color: rgba(127, 216, 235, 0.2);
  box-shadow: 0 34px 68px rgba(10, 15, 20, 0.32);
}

.service-card.featured p,
.service-card.featured li,
.service-card.featured .muted {
  color: rgba(255, 248, 241, 0.8);
}

.service-card h3,
.faq-card h3,
.contact-panel h3 {
  margin: 0 0 16px;
  font-size: 1.55rem;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.service-card p,
.contact-panel p,
.faq-card p {
  margin: 0 0 14px;
  line-height: 1.76;
}

.price-chip {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(180, 40, 52, 0.12);
  background: rgba(180, 40, 52, 0.08);
  color: var(--brand-red-deep);
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
}

.featured .price-chip {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff8f1;
}

.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.meta-list li {
  margin: 0;
  padding: 12px 0;
  line-height: 1.6;
  border-top: 1px solid rgba(25, 20, 19, 0.08);
}

.meta-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.featured .meta-list li {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.bullet-list,
.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullet-list li,
.detail-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 18px;
  line-height: 1.72;
}

.bullet-list li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), #dd6d76);
  transform: translateY(-50%);
}

.muted {
  color: var(--ink-soft);
}

.two-up {
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
}

.about-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: center;
}

.about-copy {
  padding-right: 8px;
}

.about-visual {
  position: relative;
  min-height: 470px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(29, 50, 64, 0.1), rgba(255, 250, 244, 0.1)),
    linear-gradient(145deg, #f3e4d7 0%, #eddac8 100%);
  box-shadow: var(--shadow-soft);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 15, 0.08), rgba(20, 16, 15, 0.28));
  z-index: 1;
}

.about-visual .room-cut {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual .chibi-note {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 0;
  width: min(250px, 44%);
  max-height: 84%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(16, 22, 29, 0.22));
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.96fr);
}

.contact-panel {
  padding: 26px;
  border: 1px solid rgba(25, 20, 19, 0.08);
  background: var(--surface-strong);
  box-shadow: 0 16px 30px rgba(25, 20, 19, 0.06);
}

.contact-panel.highlight {
  background: linear-gradient(180deg, rgba(255, 249, 242, 0.98), rgba(242, 231, 220, 0.92));
}

.channel-tags,
.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(25, 20, 19, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-link {
  gap: 8px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px rgba(10, 31, 45, 0.2);
}

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

.faq-card {
  padding: 24px;
  border: 1px solid rgba(25, 20, 19, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 32px rgba(25, 20, 19, 0.05);
  transition:
    transform 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease,
    filter 320ms ease;
}

.faq-card:hover,
.faq-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(127, 216, 235, 0.32);
  box-shadow: 0 24px 40px rgba(25, 20, 19, 0.08);
  filter: saturate(1.02);
}

.privacy-note {
  padding: 20px 22px;
  border: 1px solid rgba(25, 20, 19, 0.06);
  background: rgba(255, 255, 255, 0.72);
}

.privacy-note strong {
  display: inline-block;
  margin-bottom: 12px;
}

.journal-teaser {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(25, 20, 19, 0.1);
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(150deg, rgba(255, 252, 248, 0.96), rgba(239, 226, 212, 0.95));
  box-shadow:
    0 4px 12px rgba(25, 20, 19, 0.04),
    0 24px 48px rgba(20, 27, 32, 0.1);
}

.journal-teaser::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand-red);
}

.journal-teaser-head {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.journal-teaser-head > .section-lead {
  max-width: 52ch;
}

.journal-teaser-list,
.journal-index-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.journal-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(25, 20, 19, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.91);
  box-shadow:
    0 3px 8px rgba(25, 20, 19, 0.04),
    0 20px 34px rgba(20, 27, 32, 0.08);
  transition:
    transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.journal-card:hover,
.journal-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(180, 40, 52, 0.2);
  box-shadow: 0 28px 46px rgba(20, 27, 32, 0.13);
}

.journal-card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--ink-fade);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.journal-card-meta span + span::before,
.article-meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--brand-red);
}

.journal-card h3 {
  margin: 18px 0 12px;
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.journal-card h3 a {
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 220ms ease, text-decoration-color 220ms ease;
}

.journal-card h3 a:hover,
.journal-card h3 a:focus-visible {
  color: var(--brand-red-deep);
  text-decoration-color: currentColor;
}

.journal-card > p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

.journal-read-link,
.journal-index-link,
.footer-journal-link,
.editorial-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: var(--brand-red-deep);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color 220ms ease, text-decoration-color 220ms ease;
}

.journal-card .journal-read-link {
  margin-top: auto;
}

.journal-read-link:hover,
.journal-read-link:focus-visible,
.journal-index-link:hover,
.journal-index-link:focus-visible,
.footer-journal-link:hover,
.footer-journal-link:focus-visible,
.editorial-footer-links a:hover,
.editorial-footer-links a:focus-visible {
  color: var(--brand-red);
  text-decoration-color: currentColor;
}

.journal-index-link {
  margin-top: 28px;
}

.footer-journal-link {
  margin-top: 18px;
  color: #fff8f1;
}

.editorial-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(180, 40, 52, 0.06), transparent 30%),
    linear-gradient(180deg, #fdf9f4 0%, #f5eadf 58%, #ead8c7 100%);
}

.editorial-main {
  padding-top: 24px;
  padding-bottom: 34px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 22px;
  color: var(--ink-fade);
  font-size: 0.88rem;
  line-height: 1.5;
}

.breadcrumbs a {
  color: var(--brand-red-deep);
  text-decoration: underline;
  text-decoration-color: rgba(126, 24, 34, 0.25);
  text-underline-offset: 4px;
}

.breadcrumbs span[aria-current="page"] {
  min-width: 0;
  overflow-wrap: anywhere;
}

.journal-index-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(140deg, var(--petrol-deep) 0%, var(--petrol-main) 56%, var(--petrol-mid) 100%);
  color: #fff8f1;
  box-shadow: var(--shadow-dark);
}

.journal-index-hero {
  padding: clamp(38px, 6vw, 72px);
  margin-bottom: 28px;
}

.journal-index-hero::after,
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.06), transparent 42%, rgba(127, 216, 235, 0.12));
}

.journal-index-hero > *,
.article-hero > * {
  position: relative;
  z-index: 1;
}

.journal-index-hero .eyebrow {
  color: var(--brand-cyan);
}

.journal-index-hero h1,
.article-hero h1 {
  max-width: 18ch;
  margin: 0 0 20px;
  font-family: var(--title-font);
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.journal-index-hero > p:last-child,
.article-hero > p:last-child {
  max-width: 68ch;
  margin: 0;
  color: rgba(255, 248, 241, 0.82);
  font-size: 1.08rem;
  line-height: 1.82;
}

.journal-index-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editorial-article {
  max-width: 1100px;
  margin: 0 auto;
}

.article-hero {
  padding: clamp(38px, 6vw, 70px);
  margin-bottom: 30px;
}

.article-hero .article-meta {
  margin-bottom: 22px;
  color: rgba(255, 248, 241, 0.74);
}

.article-hero .article-meta span + span::before {
  background: var(--brand-cyan);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: 34px;
  align-items: start;
}

.article-content {
  min-width: 0;
  padding: clamp(28px, 4.6vw, 54px);
  border: 1px solid rgba(25, 20, 19, 0.1);
  border-radius: var(--radius-2xl);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 24px 48px rgba(20, 27, 32, 0.09);
}

.article-content > section + section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(25, 20, 19, 0.1);
}

.article-content h2,
.related-journal h2 {
  margin: 0 0 16px;
  font-family: var(--title-font);
  color: var(--navy);
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.article-content p {
  max-width: 70ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.86;
}

.article-content p + p {
  margin-top: 18px;
}

.article-safety-note,
.external-cta {
  margin-top: 42px;
  padding: 24px 26px;
  border: 1px solid rgba(180, 40, 52, 0.16);
  border-left: 5px solid var(--brand-red);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(246, 232, 221, 0.9), rgba(255, 251, 246, 0.95));
}

.article-safety-note p,
.external-cta p {
  font-size: 0.96rem;
  line-height: 1.72;
}

.external-cta .button {
  margin-top: 18px;
}

.article-side-cta {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--petrol-deep), var(--petrol-main));
  color: #fff8f1;
  box-shadow: var(--shadow-dark);
}

.article-side-cta > span {
  color: var(--brand-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.article-side-cta .journal-read-link {
  color: #fff8f1;
}

.related-journal {
  max-width: 1100px;
  margin: 34px auto 0;
  padding-top: 32px;
}

.editorial-footer {
  padding-top: 18px;
}

.editorial-footer .footer-card {
  grid-template-columns: 1fr;
}

.editorial-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 20px;
}

.editorial-footer-links a {
  color: #fff8f1;
}

.section-services .section-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.9), rgba(248, 239, 230, 0.94));
}

.section-trust {
  padding-top: 8px;
}

.section-experience .section-card {
  background:
    linear-gradient(145deg, var(--petrol-deep) 0%, var(--petrol-main) 58%, var(--petrol-soft) 100%);
  color: #fff8f1;
  box-shadow: var(--shadow-dark);
}

.section-experience .section-title,
.section-experience .contact-panel h3,
.section-contact .section-title,
.section-contact .contact-panel h3,
.section-contact .contact-panel p,
.section-contact .detail-list li,
.section-contact .section-lead,
.section-experience .section-lead,
.section-experience .bullet-list li,
.section-experience .detail-list li,
.section-experience .privacy-note p,
.section-experience .privacy-note strong {
  color: #fff8f1;
}

.section-experience .section-lead,
.section-experience .bullet-list li,
.section-experience .detail-list li,
.section-experience .privacy-note p {
  color: rgba(255, 248, 241, 0.8);
}

.section-experience .privacy-note,
.section-contact .contact-panel {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.section-experience .bullet-list li::before,
.section-experience .detail-list li::before {
  background: linear-gradient(135deg, var(--brand-cyan), #d1f8ff);
}

.section-about .section-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.95), rgba(242, 232, 221, 0.88));
}

.section-location .section-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(244, 234, 224, 0.9));
}

.section-location .contact-panel.highlight {
  background:
    linear-gradient(155deg, var(--petrol-deep) 0%, var(--petrol-main) 100%);
  box-shadow: var(--shadow-dark);
}

.section-location .contact-panel.highlight h3,
.section-location .contact-panel.highlight p {
  color: #fff8f1;
}

.section-faq .section-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(249, 241, 232, 0.92));
}

.section-contact .section-card {
  background:
    linear-gradient(145deg, var(--petrol-deep) 0%, var(--petrol-main) 60%, var(--petrol-soft) 100%);
  color: #fff8f1;
  box-shadow: var(--shadow-dark);
}

.section-contact .tag {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  color: #fff8f1;
}

.section-contact .detail-list li::before {
  background: linear-gradient(135deg, var(--brand-cyan), #f0ffff);
}

.section-contact .contact-panel.highlight {
  background: rgba(255, 255, 255, 0.11);
}

.section-contact .payment-tags {
  margin-bottom: 18px;
}

.section-privacy .section-card {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.78), rgba(247, 238, 228, 0.7));
}

.footer {
  padding: 28px 0 58px;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100vw - 40px);
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #d84c57 100%);
  color: #fff8f4;
  box-shadow: 0 18px 30px rgba(180, 40, 52, 0.28);
  font-weight: 700;
  white-space: nowrap;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 36px rgba(180, 40, 52, 0.32);
}

.footer-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(145deg, var(--petrol-deep) 0%, var(--petrol-main) 62%, var(--petrol-mid) 100%);
  color: #fff8f1;
  box-shadow: var(--shadow-dark);
}

.footer-card strong {
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.footer-card p {
  margin: 10px 0 0;
  color: rgba(255, 248, 241, 0.72);
}

.footer-copy {
  min-width: 0;
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-wordmark {
  width: clamp(188px, 26vw, 242px);
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}

.footer-brand-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-branch {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 241, 0.76);
}

.footer-tagline {
  margin: 0;
  color: rgba(255, 248, 241, 0.9);
  line-height: 1.65;
}

.footer-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-width: 132px;
}

.footer-visual > img:last-child {
  position: relative;
  width: 92px;
  height: auto;
  margin-left: auto;
  filter: drop-shadow(0 16px 22px rgba(5, 8, 10, 0.24));
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 320ms ease;
}

.footer-card:hover .footer-visual > img:last-child,
.footer-card:focus-within .footer-visual > img:last-child {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 20px 26px rgba(5, 8, 10, 0.3));
}

.gateway-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 26px 0;
}

.gateway-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  gap: 26px;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(145deg, var(--petrol-deep) 0%, var(--petrol-main) 58%, var(--petrol-mid) 100%);
  color: #fff8f1;
  box-shadow: var(--shadow-dark);
}

.gateway-brand h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.gateway-brand .eyebrow {
  color: var(--brand-cyan);
}

.gateway-copy {
  max-width: 36ch;
  line-height: 1.8;
  color: rgba(255, 248, 241, 0.78);
}

.gateway-logo {
  width: min(360px, 100%);
  margin-bottom: 18px;
  height: auto;
}

.gateway-visual {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gateway-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.gateway-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 26, 0.06), rgba(15, 20, 26, 0.5));
}

.gateway-room {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gateway-chibi {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: -8px;
  width: min(230px, 38%);
  max-height: calc(100% + 8px);
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(5, 8, 10, 0.26));
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 320ms ease;
}

.gateway-visual:hover .gateway-chibi,
.gateway-visual:focus-within .gateway-chibi {
  transform: translateY(-4px) scale(1.015);
  filter: drop-shadow(0 20px 28px rgba(5, 8, 10, 0.32));
}

:lang(ja) .hero-copy h1,
:lang(zh) .hero-copy h1,
:lang(ko) .hero-copy h1,
:lang(ja) .section-title,
:lang(zh) .section-title,
:lang(ko) .section-title,
:lang(ja) .featured-program h3,
:lang(zh) .featured-program h3,
:lang(ko) .featured-program h3,
:lang(ja) .gateway-brand h1,
:lang(zh) .gateway-brand h1,
:lang(ko) .gateway-brand h1 {
  line-height: 1.14;
}

:lang(ja) .hero-copy h1,
:lang(zh) .hero-copy h1,
:lang(ko) .hero-copy h1,
:lang(ja) .section-title,
:lang(zh) .section-title,
:lang(ko) .section-title,
:lang(ja) .featured-program h3,
:lang(zh) .featured-program h3,
:lang(ko) .featured-program h3,
:lang(ja) .service-card h3,
:lang(zh) .service-card h3,
:lang(ko) .service-card h3,
:lang(ja) .faq-card h3,
:lang(zh) .faq-card h3,
:lang(ko) .faq-card h3,
:lang(ja) .contact-panel h3,
:lang(zh) .contact-panel h3,
:lang(ko) .contact-panel h3 {
  line-break: loose;
  word-break: keep-all;
}

.gateway-languages {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(247, 238, 228, 0.92));
}

.language-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.language-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-cyan));
  opacity: 0;
  transition: opacity 220ms ease;
}

.language-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.language-card span {
  color: var(--ink-fade);
}

.language-card:hover,
.language-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(180, 40, 52, 0.14);
  box-shadow: 0 24px 38px rgba(25, 20, 19, 0.08);
}

.language-card:hover::before,
.language-card:focus-visible::before {
  opacity: 1;
}

@media (max-width: 1100px) {
  .trust-grid,
  .featured-program {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.featured {
    grid-column: span 6;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-panel,
  .contact-grid,
  .gateway-hero,
  .article-layout,
  .two-up {
    grid-template-columns: 1fr;
  }

  .article-side-cta {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .article-side-cta .journal-read-link {
    grid-column: 1 / -1;
  }

  .service-grid,
  .faq-grid,
  .gateway-languages {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.featured {
    grid-column: span 6;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .about-visual {
    min-height: 390px;
  }

  .gateway-visual {
    min-height: 400px;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    display: grid;
    gap: 12px;
    padding: 14px 0;
  }

  .footer-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .brand-mark {
    gap: 10px;
    max-width: calc(100% - 132px);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar[data-menu-ready="true"] .topbar-panel {
    display: none;
  }

  .topbar[data-menu-ready="true"].is-open .topbar-panel {
    display: grid;
  }

  .topbar-panel {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(25, 20, 19, 0.08);
    background: rgba(255, 252, 248, 0.96);
    box-shadow: 0 20px 34px rgba(25, 20, 19, 0.08);
  }

  .nav-links,
  .language-menu,
  .language-menu-panel {
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .language-option {
    width: 100%;
    text-align: center;
  }

  .language-menu[data-ready="true"] .language-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .language-menu[data-ready="true"] .language-menu-panel {
    position: static;
    min-width: 0;
    max-width: none;
    max-height: min(240px, calc(100vh - 200px));
    margin-top: 12px;
    padding: 8px;
    gap: 8px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.66);
  }

  .hero-copy,
  .section-card,
  .gateway-hero,
  .gateway-languages,
  .journal-teaser {
    padding: 24px;
  }

  .journal-teaser-head,
  .journal-teaser-list,
  .journal-index-list {
    grid-template-columns: 1fr;
  }

  .journal-teaser-head {
    display: grid;
    align-items: start;
  }

  .journal-index-hero,
  .article-hero {
    border-radius: 28px;
  }

  .journal-index-hero h1,
  .article-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.25rem);
  }

  .article-layout {
    gap: 22px;
  }

  .article-content {
    padding: 26px 22px;
    border-radius: 26px;
  }

  .article-content > section + section {
    margin-top: 30px;
    padding-top: 28px;
  }

  .article-content p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .article-side-cta {
    grid-template-columns: 1fr;
  }

  .article-side-cta .button,
  .article-side-cta .journal-read-link {
    width: 100%;
    grid-column: auto;
  }

  .editorial-main {
    padding-top: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  .hero-card {
    left: 16px;
    right: 16px;
    max-width: none;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 12px;
    padding: 18px;
  }

  .hero-card-chibi {
    width: 92px;
  }

  .featured-program {
    padding: 24px;
  }

  .featured-program-visual {
    min-height: 170px;
  }

  .signature-swoosh {
    width: clamp(120px, 42%, 196px);
  }

  .featured-program-chibi {
    width: min(152px, 72%);
    margin-left: 0;
  }

  .service-grid,
  .faq-grid,
  .gateway-languages {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.featured {
    grid-column: auto;
  }

  .hero-ribbon {
    flex-wrap: wrap;
  }

  .footer-visual {
    min-width: 0;
  }

  .footer-wordmark {
    width: min(216px, 100%);
  }

  .footer-branding {
    align-items: flex-start;
    gap: 12px;
  }

  .brand-text strong {
    font-size: 1.08rem;
    white-space: normal;
    transform: none;
  }

  .floating-cta {
    left: auto;
    right: max(12px, calc(env(safe-area-inset-right, 0px) + 12px));
    bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 12px));
    max-width: min(168px, calc(100vw - 24px));
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.95rem;
    box-shadow: 0 16px 28px rgba(180, 40, 52, 0.26);
  }

  .site-body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .hero-copy {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand-mark {
    gap: 8px;
    max-width: calc(100% - 122px);
    align-items: center;
  }

  .brand-mark img {
    width: 94px;
  }

  .brand-text strong {
    font-size: 0.98rem;
    white-space: nowrap;
    transform: none;
  }

  .brand-text span {
    display: none;
  }

  .menu-toggle {
    width: auto;
    min-width: 116px;
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .gateway-logo {
    width: min(280px, 100%);
  }

  .footer-branding {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .menu-toggle,
  .language-toggle,
  .floating-cta,
  .contact-link,
  .nav-links a,
  .language-option,
  .service-card,
  .faq-card,
  .language-card,
  .trust-card,
  .featured-program,
  .journal-card,
  .featured-program-chibi,
  .gateway-chibi,
  .footer-visual > img:last-child {
    transition: none;
  }

  .hero-card,
  .signature-swoosh {
    animation: none;
  }

  .featured-program:hover .featured-program-chibi,
  .featured-program:focus-within .featured-program-chibi,
  .gateway-visual:hover .gateway-chibi,
  .gateway-visual:focus-within .gateway-chibi,
  .footer-card:hover .footer-visual > img:last-child,
  .footer-card:focus-within .footer-visual > img:last-child {
    transform: none;
  }

  .contact-link:hover,
  .contact-link:focus-visible {
    transform: none;
  }

  .motion-ready [data-reveal] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}
