/* Future Consulting — brand system */
:root {
  --orange: #e85a1b;
  --orange-deep: #c44712;
  --orange-soft: rgba(232, 90, 27, 0.12);
  --charcoal: #2b2b2b;
  --ink: #141414;
  --paper: #f7f6f2;
  --mist: #ebe8e2;
  --muted: #6b6864;
  --white: #ffffff;
  --line: rgba(20, 20, 20, 0.1);
  --shadow: 0 24px 60px rgba(20, 20, 20, 0.12);
  --font-en: "Sora", system-ui, sans-serif;
  --font-jp: "Noto Sans JP", "Sora", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: #0e1014;
}

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.has-media-hero {
  background: #0e1014;
}

body[data-lang="en"] {
  font-family: var(--font-en);
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

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

/* i18n */
[data-lang="ja"] .lang-en,
[data-lang="en"] .lang-ja {
  display: none !important;
}

/* Layout */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.78) 0%,
    rgba(8, 10, 14, 0.45) 65%,
    rgba(8, 10, 14, 0) 100%
  );
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease),
    backdrop-filter 0.25s var(--ease);
  /* Avoid light flash over dark heroes before JS/CSS settle */
  background-color: transparent;
}

.site-header.is-scrolled {
  background: rgba(247, 246, 242, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 16px rgba(0, 0, 0, 0.45);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-header.is-scrolled .nav__links a {
  color: var(--charcoal) !important;
  text-shadow: none;
  font-weight: 500;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: #ffc09a !important;
}

.site-header.is-scrolled .nav__links a:hover,
.site-header.is-scrolled .nav__links a.is-active {
  color: var(--orange) !important;
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.site-header:not(.is-scrolled) .lang-switch {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.site-header:not(.is-scrolled) .lang-switch button {
  color: rgba(255, 255, 255, 0.85);
}

.site-header:not(.is-scrolled) .lang-switch button.is-active {
  background: var(--white);
  color: var(--ink);
}

.site-header:not(.is-scrolled) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
}

.site-header:not(.is-scrolled) .menu-toggle span,
.site-header:not(.is-scrolled) .menu-toggle span::before,
.site-header:not(.is-scrolled) .menu-toggle span::after {
  background: var(--white);
}

.site-header:not(.is-scrolled) .nav-cta {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-switch button {
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  min-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button.is-active {
  background: var(--charcoal);
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  background: var(--orange);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 2px;
  min-height: 40px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--orange-deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Hero — full-bleed photo like misou-p */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.55) 0%, rgba(12, 12, 12, 0.35) 45%, rgba(12, 12, 12, 0.72) 100%),
    linear-gradient(90deg, rgba(232, 90, 27, 0.18), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 820px);
  margin-inline: auto;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero__brand {
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero__brand img {
  height: clamp(88px, 14vw, 120px);
  width: auto;
  margin-inline: auto;
  border-radius: 4px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.hero__title {
  font-size: clamp(1.65rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.28s forwards;
}

body[data-lang="en"] .hero__title {
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hero__lead {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.42s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 2px;
  min-height: 48px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:focus-visible,
.lang-switch button:focus-visible,
.menu-toggle:focus-visible,
.nav__links a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--ink);
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--white);
}

.section__head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
}

.section__desc {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  padding: 1.75rem 1.5rem;
  border-top: 2px solid var(--orange);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.section--alt .feature {
  background: var(--paper);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--orange);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.feature__text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Services preview — photo cards override below in media blocks */

.service-card__num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 600;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.service-card__link {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-card__link svg {
  transform: translateX(3px);
}

/* Split media (about teaser) */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
  background: var(--white);
}

.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.split:hover .split__media img {
  transform: scale(1.04);
}

.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--paper);
}

.split__body .section__desc {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.split__list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.split__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.95rem;
  color: var(--muted);
}

.split__list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.split__marker {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  background: var(--orange);
  flex-shrink: 0;
}

/* Photo service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  background: transparent;
  border: none;
}

.service-card {
  background: var(--white);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.cta-band {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  color: var(--white);
  background: #1a1a1a;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.88), rgba(232, 90, 27, 0.45));
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
  padding: 1rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer__bar {
  margin-top: 2rem;
  background: var(--orange);
  color: var(--white);
}

.footer__bar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.95rem;
  font-size: 0.8rem;
}

.footer__bar a:hover {
  opacity: 0.85;
}

/* CTA title/text */
.cta-band__title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 18em;
}

.cta-band__text {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 0;
  font-size: 0.875rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer__brand img {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.footer__brand p {
  max-width: 28em;
  line-height: 1.7;
}

.footer__col h3 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__col address {
  font-style: normal;
  line-height: 1.8;
}

.footer__col a:hover {
  color: var(--orange);
}

/* Page hero — inner pages */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(232, 90, 27, 0.12), transparent 55%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero--media {
  min-height: clamp(280px, 42vw, 420px);
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  border-bottom: none;
  color: var(--white);
  background: #1a1a1a;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.55) 0%, rgba(8, 10, 14, 0.35) 40%, rgba(8, 10, 14, 0.78) 100%),
    linear-gradient(90deg, rgba(232, 90, 27, 0.16), transparent 50%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero--media .eyebrow {
  color: #ffb089;
}

.page-hero--media .eyebrow::before {
  background: #ffb089;
}

.page-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-hero--media .page-hero__title {
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.page-hero__lead {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 36em;
}

.page-hero--media .page-hero__lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Values grid with images */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.value-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.value-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.value-card__body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.value-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Alternating service detail blocks */
.service-detail {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 420px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.service-detail:nth-child(even) {
  grid-template-columns: 0.95fr 1.05fr;
}

.service-detail:nth-child(even) .service-detail__media {
  order: 2;
}

.service-detail__media {
  min-height: 280px;
  overflow: hidden;
}

.service-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-detail:hover .service-detail__media img {
  transform: scale(1.04);
}

.service-detail__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--paper);
}

.service-detail__num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.service-detail h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 1.15rem;
}

.service-detail ul {
  display: grid;
  gap: 0.65rem;
}

.service-detail li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.975rem;
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--orange);
}

.contact-visual {
  margin-bottom: 1.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose-block {
  max-width: 42rem;
}

.prose-block p {
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.prose-block p.lead {
  color: var(--ink);
  font-size: 1.05rem;
}

.mission-box {
  margin: 2.5rem 0;
  padding: 1.75rem 1.5rem;
  border-left: 3px solid var(--orange);
  background: var(--white);
}

.mission-box h3 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.mission-box p {
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail__media {
    order: 0;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.7);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

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

  .hero__brand,
  .hero__title,
  .hero__lead,
  .hero__actions,
  .hero__eyebrow,
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero__media img {
    animation: none;
    transform: none;
  }

  .hero__scroll-line {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }

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

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(244, 243, 241, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 1.25rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav.is-open .nav__links a {
    color: var(--charcoal);
    text-shadow: none;
  }

  .site-header:not(.is-scrolled) .nav.is-open .lang-switch {
    border-color: var(--line);
    background: var(--white);
    backdrop-filter: none;
  }

  .site-header:not(.is-scrolled) .nav.is-open .lang-switch button {
    color: var(--muted);
  }

  .site-header:not(.is-scrolled) .nav.is-open .lang-switch button.is-active {
    background: var(--charcoal);
    color: var(--white);
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .nav__links a {
    font-size: 1.05rem;
    padding: 0.65rem 0;
    width: 100%;
  }

  .nav__tools {
    justify-content: space-between;
  }

  .nav-cta {
    flex: 1;
    text-align: center;
  }

  .hero {
    align-items: center;
    padding-bottom: 5rem;
    text-align: center;
  }

  .hero__brand img {
    height: 80px;
  }

  .section {
    padding: 4rem 0;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container,
  .site-header__inner,
  .hero__content {
    width: min(100% - 1.5rem, var(--max));
  }

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

  .btn {
    width: 100%;
  }
}
