/* ==========================================================================
   FOOD ROUTE DESIGN — corporate site (Phase1)
   ========================================================================== */

/* ----- design tokens ----- */
:root {
  --brand: #005ce6;
  --brand-dark: #0052cc;
  --ink: #0a0a0c;
  --muted: #6e6e73;
  --cloud: #f5f5f7;
  --hairline: rgba(10, 10, 12, 0.05);
  --font-sans: "Inter", "Noto Sans JP", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
}

/* ----- base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(0, 92, 230, 0.18);
}

/* ----- layout ----- */
.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--narrow {
  max-width: 56rem;
}

.section {
  padding-block: 6rem;
}

.section--cloud {
  background: var(--cloud);
}

.section__head {
  max-width: 42rem;
}

.section__lead {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.sp-only {
  display: inline;
}

.pc-only {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

/* ----- typography ----- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--brand-dark);
  text-transform: uppercase;
}

/* 淡い背景上の小さな文字には、濃いブランドカラーを使用 */
.section--cloud .eyebrow {
  color: var(--brand-dark);
}

.eyebrow--light {
  color: #6ea8ff;
}

.hero .eyebrow--light {
  color: #8dbaff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

.heading {
  margin-top: 1.25rem;
  font-size: clamp(1.875rem, 1.1rem + 2.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ----- buttons ----- */
.btn {
  display: inline-block;
  border-radius: 9999px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 24px rgba(0, 92, 230, 0.4);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.26);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.link {
  color: var(--brand-dark);
}

.link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

/* transparent state while the full-screen hero is in view */
.header--clear {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.header--clear .header__brand {
  color: #fff;
}

.header--clear .header__nav a {
  color: rgba(255, 255, 255, 0.8);
}

.header--clear .header__nav a:hover {
  color: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header__brand {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.header__nav a:hover {
  color: var(--ink);
}

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100svh;
  min-height: 37.5rem;
  overflow: hidden;
  text-align: center;
}

/* 縦長の画面でも、キッチンカーの接客場面を残す */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 73% 50%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(10, 10, 12, 0.38), transparent 75%),
    linear-gradient(
      to bottom,
      rgba(10, 10, 12, 0.8),
      rgba(10, 10, 12, 0.42) 45%,
      rgba(10, 10, 12, 0.66)
    );
}

.hero__content {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #fff;
}

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 1.3rem + 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.18;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero__lead {
  max-width: 36rem;
  margin: 1.75rem auto 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero__actions .btn {
  width: 100%;
  max-width: 20rem;
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), transparent);
  animation: scrollcue 2.2s ease-in-out infinite;
}

@keyframes scrollcue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll::after {
    animation: none;
  }
}

/* ==========================================================================
   philosophy
   ========================================================================== */
.philosophy__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.philosophy__text {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--muted);
}

.philosophy__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.philosophy__photo--offset {
  padding-top: 2.5rem;
}

.philosophy__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   services
   ========================================================================== */

/* 集客の仕組みづくり */
.services { scroll-margin-top: 4rem; }
.services__intro { text-align: left; }
.services__title span { color: var(--brand); }
.services__title .services__audience { display: inline-block; color: inherit; }
.services__lead { margin: 2rem 0 0; max-width: 54rem; line-height: 2; color: #414149; }
.services__steps { list-style: none; display: flex; justify-content: flex-start; gap: 3rem; margin: 2.5rem 0 0; padding: 0; }
.services__steps li { position: relative; border: 1px solid #d6dce8; border-radius: .625rem; padding: .75rem 1.75rem; color: var(--brand-dark); font-weight: 600; }
.services__steps li + li::before { content: "→"; position: absolute; left: -2.3rem; color: var(--brand); font-weight: 400; }
.services__band { margin-top: 3.5rem; padding-block: 3rem; background: var(--cloud); }
.services__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.support-card { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #d6dce8; border-radius: .875rem; background: #fff; }
.support-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; color: var(--brand); }
.support-card__number { font-family: Inter, sans-serif; font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.support-card__top svg { width: 3.5rem; height: 3.5rem; }
.support-card h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.5; letter-spacing: -.03em; }
.support-card__promise { margin-top: .5rem; color: var(--brand-dark); font-size: .9375rem; font-weight: 500; line-height: 1.8; }
.support-card ul { display: grid; gap: .875rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #d6dce8; }
.support-card li { position: relative; padding-left: 1.875rem; font-size: .9375rem; line-height: 1.8; }
.support-card li::before { content: "✓"; position: absolute; left: 0; top: .25em; border: 1px solid var(--brand); border-radius: 50%; width: 1rem; height: 1rem; color: var(--brand); font-size: .65rem; line-height: 1rem; text-align: center; }
.support-card a { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: #a7caff; }
.support-card a:hover { color: var(--brand-dark); }
.support-card__resource { display: inline-block; margin: 1.25rem 0 0 1.875rem; color: var(--brand-dark); font-size: .8125rem; }
.services__options { padding-block: 3.5rem 3rem; text-align: center; }
.services__options h3, .services__consult h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.6; letter-spacing: -.025em; }
.services__options h3 span, .services__consult h3 span { display: inline-block; }
.services__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.25rem; }
.support-choice { padding: 0 1rem; }
.support-choice + .support-choice { border-left: 1px solid #d6dce8; }
.support-choice__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border: 1px solid #9abcff; border-radius: 50%; color: var(--brand); }
.support-choice__icon svg { width: 1.75rem; height: 1.75rem; }
.support-choice h4 { font-size: 1rem; line-height: 1.7; }
.support-choice p { margin-top: .5rem; font-size: .875rem; line-height: 1.8; color: #414149; }
.services__consult { position: relative; overflow: hidden; isolation: isolate; padding: 3rem 1.5rem; border-radius: 1rem; text-align: center; color: #fff; background: #0a0a0c; }
.services__consult::before, .services__consult::after { content: ""; position: absolute; z-index: -1; width: 30rem; height: 13rem; border: 1px dashed rgba(65, 144, 255, .55); border-radius: 50%; transform: rotate(35deg); pointer-events: none; }
.services__consult::before { left: -20rem; bottom: -3rem; box-shadow: 0 0 65px rgba(0, 92, 230, .14); }
.services__consult::after { right: -21rem; top: 4rem; box-shadow: 0 0 65px rgba(0, 92, 230, .14); }
.services__consult-content > p { margin-top: 1rem; color: #d1d1d6; line-height: 1.9; }
.services__cta { margin-top: 1.75rem; padding: 1rem 2rem; border-radius: .625rem; }
.services__cta span { margin-left: .5rem; }
.services__consult-content .services__free { margin-top: 1rem; font-size: .875rem; }
.services a:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
@media (max-width: 767px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__steps { gap: 1.5rem; }
  .services__steps li { padding: .6rem .875rem; font-size: .8125rem; }
  .services__steps li + li::before { left: -1.15rem; }
  .services__band { margin-top: 2.5rem; padding-block: 1.5rem; }
  .services__choices { grid-template-columns: 1fr; gap: 1.5rem; }
  .support-choice { padding: 0 0 1.5rem; }
  .support-choice + .support-choice { border-left: 0; border-top: 1px solid #d6dce8; padding-top: 1.5rem; }
  .support-choice:last-child { padding-bottom: 0; }
  .services__cta { width: 100%; padding-inline: .75rem; font-size: .875rem; }
}


/* ==========================================================================
   AI practice support
   ========================================================================== */
.ai-practice {
  scroll-margin-top: 5rem;
  border-top: 1px solid var(--hairline);
}

.ai-practice__grid {
  display: grid;
  gap: 3rem;
}

.ai-practice__title > span { color: var(--brand); }

.ai-practice__lead {
  margin-top: 2rem;
  color: #414149;
  font-size: .9375rem;
  line-height: 2.1;
}

.ai-practice__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.ai-practice__tools li {
  padding: .5rem 1.75rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: .9375rem;
}

.ai-practice__topics { list-style: none; padding: 0; }

.ai-practice__topic {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.75rem;
}

.ai-practice__topic:first-child { padding-top: 0; }
.ai-practice__topic:last-child { padding-bottom: 0; }
.ai-practice__topic + .ai-practice__topic { border-top: 1px solid #d6dce8; }

.ai-practice__number {
  color: var(--brand);
  font-family: Inter, sans-serif;
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.06em;
}

.ai-practice__topic > div {
  padding-left: 1.25rem;
  border-left: 1px solid #d6dce8;
}

.ai-practice__topic h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.65;
  letter-spacing: -.025em;
}

.ai-practice__topic h3 span { display: inline-block; }
.ai-practice__topic p { margin-top: .875rem; color: #414149; font-size: .875rem; line-height: 2; }

.ai-practice__topic .ai-practice__category {
  margin: 0 0 .5rem;
  color: var(--brand-dark);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.ai-practice__topic h3 .ai-practice__tool-name {
  display: block;
  margin-top: .25rem;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #414149;
}
.ai-practice__action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3rem;
  margin-top: 1.25rem;
  padding: .75rem 1.25rem;
  border: 1px solid #a8c6f5;
  border-radius: .5rem;
  background: #fff;
  color: var(--brand-dark);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.7;
  transition: background-color .2s, border-color .2s;
}
.ai-practice__action:not(:disabled):hover { background: #f0f5ff; border-color: var(--brand); }
.ai-practice__action:disabled { min-width: 12rem; justify-content: center; border-color: #d6dce8; background: #f5f5f7; color: #6e6e73; cursor: default; font-family: inherit; opacity: 1; }
.ai-practice__action--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.ai-practice__action--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.ai-practice__action:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
@media (min-width: 1024px) {
  .ai-practice__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3.5rem; }
}
@media (max-width: 479px) {
  .ai-practice__topic { grid-template-columns: 2.25rem minmax(0, 1fr); gap: .75rem; }
  .ai-practice__number { font-size: 2.125rem; }
  .ai-practice__topic > div { padding-left: .875rem; }
  .ai-practice__action:disabled { min-width: 0; }
  .ai-practice__action { width: 100%; min-width: 0; gap: .5rem; padding-inline: .75rem; font-size: .8125rem; }
}

/* ==========================================================================
   works
   ========================================================================== */
.works__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.work {
  display: block;
}

.work__shot {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 12, 0.06);
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.work__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.work:hover .work__shot img {
  transform: scale(1.04);
}

.work__shot--blue {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: none;
  background: linear-gradient(135deg, var(--brand), #003d99);
  transition: transform 0.4s ease;
}

.work:hover .work__shot--blue {
  transform: scale(1.02);
}

.work__shot--blue span {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  color: #fff;
}

.work h3 {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.work p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ==========================================================================
   company
   ========================================================================== */
.company__table {
  margin-top: 3.5rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.company__row {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.5rem;
}

.company__row + .company__row {
  border-top: 1px solid var(--hairline);
}

.company__row dt {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.company__row dd {
  font-size: 1rem;
  font-weight: 500;
}

.company__list {
  display: grid;
  gap: 0.625rem;
}

.company__list li {
  position: relative;
  padding-left: 1.125rem;
}

.company__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--brand);
}

/* ==========================================================================
   contact (TOPページの誘導パネル)
   ========================================================================== */
.contact {
  padding-bottom: 6rem;
}

.contact__panel {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: var(--ink);
  padding: 5rem 1.5rem;
  text-align: center;
}

.contact__glow {
  pointer-events: none;
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30rem;
  height: 30rem;
  border-radius: 9999px;
  background: rgba(0, 92, 230, 0.25);
  filter: blur(120px);
}

.contact__body {
  position: relative;
}

.contact__title {
  margin-top: 1.25rem;
  font-size: clamp(1.875rem, 1.1rem + 2.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #fff;
}

.contact__lead {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

.contact__terms {
  margin: 1.5rem auto 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.contact__mail {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.contact__mail a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   contact page (contact.html / thanks.html)
   ========================================================================== */
.page {
  padding-top: 4rem; /* fixed header分 */
}

.page__head {
  padding-top: 4.5rem;
}

.page__lead {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.page__terms {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.form {
  display: grid;
  gap: 1.5rem;
  max-width: 40rem;
  margin-top: 3rem;
}

.form__field {
  display: grid;
  gap: 0.5rem;
}

.form__field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.form__req {
  margin-left: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c2255c;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(10, 10, 12, 0.16);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.form__field input:focus-visible,
.form__field select:focus-visible,
.form__field textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.form__field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form__note {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

.form .btn {
  justify-self: start;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* thanks */
.thanks {
  min-height: 60svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding-block: 6rem;
}

.thanks .heading {
  margin-top: 1.25rem;
}

.thanks p {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

.thanks .btn {
  margin-top: 2.5rem;
  justify-self: center;
}

/* ==========================================================================
   footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--hairline);
  padding-block: 3rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--ink);
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ==========================================================================
   scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   responsive
   ========================================================================== */

/* sm: 640px ---------------------------------------------------------- */
@media (max-width: 639px) {
  .hero__title {
    font-size: clamp(1.75rem, 8.2vw, 2.5rem);
  }
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }

  .hero__actions .btn {
    width: auto;
  }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* md: 768px ---------------------------------------------------------- */
@media (min-width: 768px) {
  .hero__bg {
    object-position: 50% 50%;
  }

  .sp-only {
    display: none;
  }

  .pc-only {
    display: inline;
  }

  .header__nav {
    display: flex;
  }

  .hero__lead {
    font-size: 1.125rem;
  }

  .eyebrow {
    font-size: 0.875rem;
  }

  .section {
    padding-block: 9rem;
  }

  .section__lead {
    font-size: 1.125rem;
  }

  .philosophy__text {
    font-size: 1.125rem;
  }

  .philosophy__photos {
    gap: 1.5rem;
  }

  .works__grid {
    margin-top: 5rem;
  }

  .company__row {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
  }

  .contact {
    padding-bottom: 9rem;
  }

  .contact__panel {
    padding: 7rem 3rem;
  }

  .contact__lead {
    font-size: 1.125rem;
  }

  .page__lead {
    font-size: 1.125rem;
  }

  .footer__inner {
    flex-direction: row;
  }
}

/* lg: 1024px --------------------------------------------------------- */
@media (min-width: 1024px) {
  .philosophy__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }


  .works__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Service and policy pages */
.text-brand { color: var(--brand); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 3rem; color: var(--muted); font-size: .8125rem; }
.breadcrumbs a:hover { color: var(--brand-dark); }
.service-page__head { padding-bottom: 4rem; }
.service-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin-top: 3rem; border-top: 1px solid #d6dce8; }
.service-index > a { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr) auto; align-items: center; gap: .75rem; min-height: 5rem; padding: 1rem .25rem; border-bottom: 1px solid #d6dce8; font-size: .9375rem; font-weight: 500; }
.service-index > a:hover { color: var(--brand-dark); background: #f7faff; }
.service-index__number { color: var(--brand-dark); font-size: .75rem; font-weight: 600; }
.service-index small { display: inline-block; margin-left: .75rem; font-size: .6875rem; color: var(--muted); font-weight: 400; }
.service-detail { padding-block: 5rem; scroll-margin-top: 4rem; border-top: 1px solid var(--hairline); }
.service-detail:nth-child(odd) { background: var(--cloud); }
.service-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
.service-detail__number { display: inline-block; margin-right: 1rem; font-size: 1rem; letter-spacing: 0; }
.service-detail .heading { font-size: clamp(1.75rem, 3vw, 2.5rem); overflow-wrap: anywhere; }
.service-detail__catch { margin-top: 1.5rem; font-weight: 600; color: var(--brand-dark); line-height: 1.9; }
.service-detail__description { margin-top: 1rem; color: #414149; line-height: 2; font-size: .9375rem; }
.service-detail__body { padding: 2rem; border: 1px solid #d6dce8; border-radius: .875rem; background: #fff; }
.service-detail__body h3 { font-size: .9375rem; font-weight: 700; }
.detail-list { display: grid; gap: .875rem; margin-top: 1.25rem; }
.detail-list li { position: relative; padding-left: 1.375rem; font-size: .9375rem; line-height: 1.8; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: .375rem; height: .375rem; background: var(--brand); border-radius: 50%; }
.service-detail__flow { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid #e1e5ed; }
.service-detail__flow p { margin-top: .75rem; font-size: .875rem; line-height: 2; color: #414149; }
.service-detail__note { margin-top: 1.5rem; color: var(--muted); font-size: .8125rem; line-height: 1.9; }
.detail-button { display: inline-block; margin-top: 1.5rem; padding: .875rem 1.25rem; border-radius: .5rem; border: 0; font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.7; text-align: center; }
.detail-button:disabled { min-width: 10rem; background: var(--cloud); border: 1px solid #d6dce8; color: var(--muted); opacity: 1; }
.detail-link { display: inline-block; margin-top: 1.5rem; color: var(--brand-dark); font-size: .9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: .3em; }
.services__detail-entry { text-align: right; }
.service-page__consult { padding: 3rem; border-radius: 1rem; background: #f0f5ff; }
.service-page__consult > p:not(.eyebrow) { margin-top: 1.5rem; line-height: 1.9; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; border-top: 1px solid #e1e5ed; margin-top: 2rem; padding-top: 1.5rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .75rem; color: var(--muted); }
.footer__legal a:hover { color: var(--brand-dark); }
.legal-page { padding-bottom: 6rem; }
.legal-page__intro { margin-top: 1.75rem; color: #414149; line-height: 2; }
.legal-page__updated { margin-top: 1rem; color: var(--muted); font-size: .8125rem; }
.legal-content { margin-top: 3rem; }
.legal-content section { margin-top: 2.5rem; }
.legal-content h2 { font-size: 1.25rem; line-height: 1.6; margin-bottom: 1rem; }
.legal-content p, .legal-content li, .legal-table dd { font-size: .9375rem; line-height: 2; color: #414149; overflow-wrap: anywhere; }
.legal-content p + p { margin-top: .75rem; }
.legal-content ul { list-style: disc; padding-left: 1.25rem; }
.legal-content a, .legal-table a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: .2em; }
.legal-table { margin-top: 3rem; border-top: 1px solid #d6dce8; }
.legal-table > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; padding-block: 1.5rem; border-bottom: 1px solid #d6dce8; }
.legal-table dt { font-size: .875rem; font-weight: 600; }
.legal-table p + p { margin-top: .75rem; }
.service-index a:focus-visible, .detail-button:focus-visible, .detail-link:focus-visible, .footer a:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
@media (max-width: 767px) {
  .service-index, .service-detail__grid { grid-template-columns: 1fr; }
  .service-detail__grid { gap: 2rem; }
  .service-detail { padding-block: 3.5rem; }
  .service-detail__body { padding: 1.5rem; }
  .service-detail .eyebrow { letter-spacing: .15em; }
  .service-detail__body .detail-button { width: 100%; }
  .service-page__consult { padding: 2rem 1.5rem; }
  .service-page__consult .detail-button { width: 100%; }
  .legal-table > div { grid-template-columns: 1fr; gap: .75rem; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer__legal { justify-content: center; }
  .services__detail-entry { text-align: left; }
}

/* Image-led summaries on the home page */
.section-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.section-feature__image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .875rem; background: var(--cloud); }
.section-feature .heading { text-wrap: balance; }
.services__intro .services__audience { display: inline; }
.services__intro .services__lead { margin-top: 1.5rem; }
.support-card { padding: 1.75rem; }
.support-card__top { margin-bottom: 1rem; }
.support-card__number { font-size: 2rem; }
.support-card__top svg { width: 2.5rem; height: 2.5rem; }
.support-card__promise { color: #414149; font-weight: 400; }
.support-card__more { display: inline-block; margin-top: 1.25rem; color: var(--brand-dark); font-size: .875rem; font-weight: 600; }
.services__consult { margin-top: 2rem; padding-block: 2rem; }
.ai-practice__grid { grid-template-columns: 1fr; gap: 2.5rem; }
.ai-practice__lead { margin-top: 1.5rem; }
.ai-practice__topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ai-practice__topic, .ai-practice__topic:first-child, .ai-practice__topic:last-child { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 1px solid #d6dce8; border-radius: .875rem; background: #fff; }
.ai-practice__topic > div { display: flex; flex: 1; flex-direction: column; padding-left: 0; border: 0; }
.ai-practice__number { font-size: 2rem; }
.ai-practice__topic h3 { font-size: 1.125rem; }
.ai-practice__topic h3 .ai-practice__tool-name { font-size: .8125rem; }
.ai-practice__topic p:not(.ai-practice__category) { margin-bottom: 1.25rem; }
.ai-practice__action { margin-top: auto; width: 100%; min-width: 0; padding-inline: .75rem; gap: .5rem; font-size: .8125rem; }
.ai-practice__action:disabled { min-width: 0; }
@media (max-width: 1023px) {
  .section-feature { grid-template-columns: 1fr; gap: 2rem; }
  .section-feature__image { max-height: 25rem; }
  .ai-practice__topics { grid-template-columns: 1fr; }
  .ai-practice__topic, .ai-practice__topic:first-child, .ai-practice__topic:last-child { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); }
  .ai-practice__action { width: fit-content; min-width: 12rem; }
}
@media (max-width: 479px) {
  .ai-practice__action { width: 100%; min-width: 0; }
  .ai-practice__topic, .ai-practice__topic:first-child, .ai-practice__topic:last-child { padding: 1.25rem; gap: .75rem; grid-template-columns: 2rem minmax(0, 1fr); }
}

/* News: shared by home and archive */
.news { scroll-margin-top: 4rem; }
.news__layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.8fr); gap: 4rem; }
.news__list { border-top: 1px solid #d6dce8; }
.news__item { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1.5rem; align-items: baseline; padding: 1.75rem 0; border-bottom: 1px solid #d6dce8; }
.news__item time { color: var(--brand-dark); font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.news__item p { font-size: 1rem; line-height: 1.8; }
.news__more { margin-top: 2rem; text-align: right; }
.news__button { padding: .875rem 1.5rem; border: 1px solid #a8c6f5; border-radius: .5rem; font-size: .875rem; color: var(--brand-dark); }
.news__button span { margin-left: 1.5rem; }
.news__button:hover { background: #f0f5ff; border-color: var(--brand); }
.news__button:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.news-archive { margin-top: 3rem; }
@media (max-width: 767px) {
  .news__layout { grid-template-columns: 1fr; gap: 2rem; }
  .news__item { grid-template-columns: 1fr; gap: .5rem; padding-block: 1.5rem; }
  .news__more { text-align: left; }
  .news__button { width: 100%; }
}

/* Compact mobile navigation, shared by all pages. */
.header__toggle { display: none; }
@media (max-width: 1023px) {
  .header__inner { gap: .5rem; padding-inline: 1rem; }
  .header__brand { font-size: .6875rem; letter-spacing: .07em; margin-right: auto; }
  .header__inner > .btn { order: 1; padding: .625rem .75rem; font-size: .75rem; white-space: nowrap; }
  .header--enhanced .header__toggle { display: grid; }
  .header__toggle { order: 2; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #dce2eb; border-radius: 50%; background: white; color: var(--ink); font-size: 1.4rem; cursor: pointer; }
  .header__toggle:focus-visible, .header__nav a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
  .header__nav { display: flex; position: absolute; inset: 4rem 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: .75rem 1.5rem; background: #fff; border-bottom: 1px solid #e4e8ef; box-shadow: 0 16px 24px rgba(10,10,12,.08); }
  .header--enhanced .header__nav { display: none; }
  .header--menu-open .header__nav { display: flex; }
  .header .header__nav a { color: var(--ink); padding: .875rem 0; }
  .header .header__nav a:hover { color: var(--brand-dark); }
}

/* Corporate information and service guide */
.corporate-entry { margin-top: 1.75rem; }
.service-guide-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 2rem; font-size: .875rem; color: var(--brand-dark); }
.service-guide-nav a { padding-block: .5rem; text-decoration: underline; text-underline-offset: .35em; }
.corporate-section { scroll-margin-top: 4rem; }
.process-list { list-style: none; margin-top: 2.5rem; }
.process-list li { display: grid; grid-template-columns: 3rem minmax(0,1fr); gap: 1.5rem; padding-block: 1.75rem; border-top: 1px solid #d6dce8; }
.process-list li > span { color: var(--brand-dark); font-size: 1.75rem; }
.process-list h3 { font-size: 1.125rem; margin-bottom: .75rem; }
.process-list p, .faq-list p { color: #414149; line-height: 1.9; font-size: .9375rem; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid #d6dce8; }
.faq-list details { border-bottom: 1px solid #d6dce8; }
.faq-list summary { padding: 1.5rem .25rem; cursor: pointer; font-weight: 500; }
.faq-list p { padding: 0 .25rem 1.5rem; }
.faq-list summary:focus-visible, .service-guide-nav a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (max-width: 767px) { .process-list li { grid-template-columns: 2rem minmax(0,1fr); gap: 1rem; } }

/* Service-specific visuals keep each overview distinct and readable. */
.service-detail__grid { align-items: start; }
.service-detail__visual { margin-top: 1.75rem; }
.service-detail__visual img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: top; border-radius: .875rem; background: var(--cloud); border: 1px solid #e4e8ef; }
.service-detail__visual figcaption { margin-top: .625rem; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.service-detail__visual + .detail-link { margin-top: 1rem; }
@media (max-width: 767px) { .service-detail__visual { margin-top: 1.25rem; } }

@media (min-width: 768px) and (max-width: 1023px) {
  .header__nav { gap: 1rem; }
  .header__brand { font-size: .75rem; letter-spacing: .1em; }
  .header__inner { gap: 1rem; }
}

/* Published learning resources */
.learning-works__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; margin-top: 2.5rem; }
.learning-work { background: white; border: 1px solid #d6dce8; border-radius: .875rem; overflow: hidden; }
.learning-work > img { width: 100%; height: auto; }
.learning-work__body { padding: 1.75rem; }
.learning-work h3 { font-size: 1.25rem; margin: .75rem 0; line-height: 1.6; }
.learning-work__body > p:not(.eyebrow) { color: #414149; font-size: .9375rem; line-height: 1.8; }
.learning-work__body .learning-work__result { margin: 1.5rem 0; color: var(--brand-dark); }
.learning-work__result strong { font-size: 2rem; margin-left: .5rem; }
.learning-works__note { margin-top: 1.5rem; color: var(--muted); font-size: .8125rem; }
@media(max-width:767px) { .learning-works__grid { grid-template-columns: 1fr; } .learning-work__body { padding: 1.25rem; } }

/* Locale controls stay visible on all screen sizes. */
.language-bar { display: flex; justify-content: flex-end; height: 2.25rem; align-items: flex-start; }
.language-switch { display: inline-flex; padding: 2px; border: 1px solid #d6dce8; border-radius: 999px; background: #fff; gap: 2px; }
.language-switch a { display: block; padding: .125rem .7rem; font-size: .6875rem; line-height: 1.6; color: #414149; border-radius: 999px; }
.language-switch a[aria-current] { color: #fff; background: var(--brand-dark); }
.language-switch a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.page { padding-top: 6.25rem; }
section[id], .services, .ai-practice, .service-detail, .corporate-section, .news { scroll-margin-top: 6.75rem; }
.learning-works__grid { grid-template-columns: 1fr; gap: 1.5rem; }
.learning-work__body { padding: 1.25rem; }
.learning-work h3 { font-size: 1.0625rem; }
.learning-work__result strong { font-size: 1.5rem; }
html[lang="en"] .hero__title { font-size: clamp(2.1rem, 5.5vw, 4.5rem); }
html[lang="en"] .heading { overflow-wrap: anywhere; }
html[lang="en"] .eyebrow { letter-spacing: .15em; }
html[lang="zh-Hans"] body { font-family: "Noto Sans SC", "Microsoft YaHei", var(--font-sans); }
@media (min-width: 640px) { .learning-works__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1024px) { .learning-works__grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .header__nav { gap: 1.25rem; } }
@media (max-width: 1023px) { .header__nav { inset: 6.25rem 0 auto; } }
@media (max-width: 767px) { .language-bar { padding-inline: 1rem; } .hero { min-height: 43rem; } html[lang="en"] .hero__actions { flex-wrap: wrap; } }

/* Shared editorial headers for services and project archive. */
.page-banner { padding: 2.5rem 0 3.5rem; background: linear-gradient(115deg, #fff 12%, #f5f8ff 65%, #eaf1ff); border-bottom: 1px solid #e2eaf6; }
.page-banner .breadcrumbs { margin-bottom: 2rem; }
.page-banner__grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 3rem; align-items: center; }
.page-banner__copy { min-width: 0; }
.page-banner .heading { font-size: clamp(1.875rem, 3vw, 2.625rem); line-height: 1.4; }
.page-banner .page__lead { font-size: .9375rem; margin-top: 1.25rem; color: #505762; line-height: 1.9; }
.page-banner__visual { min-width: 0; }
.page-banner__photo { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 1rem; box-shadow: 0 12px 30px rgba(28,61,112,.1); border: 1px solid rgba(255,255,255,.8); }
.page-banner__collage { position: relative; height: 18rem; }
.page-banner__screen { position: absolute; width: 74%; overflow: hidden; border: 5px solid white; border-radius: .65rem; box-shadow: 0 12px 28px rgba(28,61,112,.14); }
.page-banner__screen img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.page-banner__screen--back { top: 0; right: 0; }
.page-banner__screen--front { bottom: 0; left: 0; }
.service-directory { padding: 0 0 3rem; background: white; }
.service-directory .service-index { margin-top: 2rem; }
.works-archive { padding-top: 3.5rem; }
.works-archive .works__grid { margin-top: 0; }
@media(max-width:767px) {
  .page-banner { padding: 1.5rem 0 2rem; }
  .page-banner .breadcrumbs { margin-bottom: 1.5rem; }
  .page-banner__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .page-banner .heading { font-size: 1.875rem; }
  .page-banner__visual { width: min(100%, 27rem); margin-inline: auto; }
  .page-banner__photo { max-height: 12rem; }
  .page-banner__collage { height: 13rem; max-width: 21rem; }
  .page-banner__screen { width: 69%; }
  .service-directory { padding-bottom: 2rem; }
  .works-archive { padding-top: 2rem; }
}

/* Stronger titles for corporate page headers. */
.page-banner .heading { font-size: clamp(2.5rem, 4.5vw, 3.75rem); line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
.page-banner .page__lead { font-size: 1rem; }
.company-profile { padding-top: 3.5rem; }
.company-profile .company__table { margin-top: 0; }
@media(max-width:767px) { .page-banner .heading { font-size: clamp(2.125rem, 7vw, 2.75rem); } .company-profile { padding-top: 2.5rem; } }

/* TOP: quiet depth and consistent, optional motion. */
.home {
  --surface-shadow: 0 8px 24px rgba(12, 42, 86, .06), 0 24px 48px -28px rgba(0, 82, 204, .18);
  --surface-shadow-raised: 0 12px 30px rgba(12, 42, 86, .09), 0 24px 48px -24px rgba(0, 82, 204, .18);
}
.home .section-feature__image,
.home .philosophy__photo img,
.home .work__shot { box-shadow: var(--surface-shadow); }
.home .support-card,
.home .ai-practice__topic { box-shadow: 0 3px 12px rgba(12, 42, 86, .025); }
.home [data-reveal] { opacity: 1; transform: none; transition: none; }
.home.reveal-enabled [data-reveal] {
  transition: opacity .4s ease, transform .4s ease, box-shadow .3s ease, border-color .3s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.home.reveal-enabled [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.home.reveal-enabled [data-reveal].is-visible { transition-delay: 0s; }
.home .work__shot { transition: box-shadow .3s ease; }
.home .work__shot img,
.home .work__shot--blue span { transition: transform .4s ease; }
.home .work:hover .work__shot img,
.home .work:hover .work__shot--blue { transform: none; }
.home .detail-link span,
.home .support-card__more span,
.home .news__button span,
.home .ai-practice__action span { display: inline-block; transition: transform .25s ease; }
.home .btn,
.home .ai-practice__action { transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; }
.home .btn--primary:hover { box-shadow: 0 6px 20px rgba(0, 82, 204, .2); }
.home .support-card:focus-within { border-color: #a8c6f5; box-shadow: var(--surface-shadow-raised); }
.home .work:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; border-radius: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .home .support-card.is-visible:hover { transform: translateY(-3px); border-color: #a8c6f5; box-shadow: var(--surface-shadow-raised); }
  .home .work:hover .work__shot { box-shadow: var(--surface-shadow-raised); }
  .home .work:hover .work__shot img,
  .home .work:hover .work__shot--blue span { transform: scale(1.03); }
  .home .detail-link:hover span,
  .home .support-card__more:hover span,
  .home .news__button:hover span,
  .home .ai-practice__action:hover span { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { transition: none !important; animation: none !important; }
  .home.reveal-enabled [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
  .home .support-card.is-visible:hover,
  .home .work:hover .work__shot img,
  .home .work:hover .work__shot--blue span,
  .home .detail-link:hover span,
  .home .support-card__more:hover span,
  .home .news__button:hover span,
  .home .ai-practice__action:hover span { transform: none; }
}

/* Keep the service overview link within its card section. */
.home .services { padding-bottom: 0; }
.home .services__band .services__detail-entry { margin-top: 1.75rem; }
.home .services__band .detail-link { margin-top: 0; }

/* Center the support label independently of its external-link arrow. */
.home .ai-practice__action--primary {
  position: relative;
  justify-content: center;
  padding-inline: 2rem;
  text-align: center;
}
.home .ai-practice__action--primary span {
  position: absolute;
  right: .75rem;
}
.home .ai-practice__action--primary:not(:disabled):hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.service-product-intro { margin-top: 2rem; padding: 1.5rem; background: #f3f7ff; border-radius: 12px; border-left: 3px solid var(--brand); }
.service-product-intro h3 { color: var(--brand-dark); }
.service-product-intro > p { margin-top: .75rem; line-height: 1.9; font-size: .9375rem; color: #414149; }
.service-product-intro .detail-link { margin-top: 1rem; }
.service-product-intro .service-detail__note { font-size: .8125rem; margin-top: .75rem; }

/* Prominent service numbers match the service directory. */
.service-detail .service-detail__identity { display:flex; align-items:center; gap:24px; margin-bottom:28px; }
.service-detail__badge { display:flex; flex-direction:column; flex-shrink:0; color:var(--brand-dark); }
.service-detail__badge-label { font-size:11px; font-weight:700; letter-spacing:.2em; margin-bottom:8px; }
.service-detail .service-detail__number { display:block; font-family:Inter,sans-serif; font-size:clamp(88px,8vw,128px); font-weight:800; line-height:.85; letter-spacing:-.06em; margin:0; }
.service-detail__category { line-height:1.6; font-size:14px; letter-spacing:.16em; overflow-wrap:anywhere; }
.service-index__number { font-size:1.25rem; font-weight:800; }
@media(max-width:767px){ .service-detail .service-detail__identity{gap:20px;margin-bottom:24px}.service-detail .service-detail__number{font-size:80px}.service-detail__category{font-size:12px;letter-spacing:.12em} }
