/* =========================================================
   XASH Corporate Site
   Main stylesheet shared by the hosted and static HTML builds
   ========================================================= */

:root {
  --blue: #1688f8;
  --blue-bright: #50c8ff;
  --blue-pale: #eaf7ff;
  --navy: #071b3b;
  --navy-deep: #031126;
  --navy-soft: #0d2c58;
  --ash: #7d8a9a;
  --logo-ash: #847c72;
  --ash-dark: #536175;
  --ink: #10233f;
  --paper: #ffffff;
  --off-white: #f5f8fc;
  --line: #dce5ef;
  --line-dark: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(7, 27, 59, 0.12);
  --radius: 4px;
  --header-height: 88px;
  --container: 1240px;
  --gutter: clamp(22px, 4.4vw, 72px);
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

ul,
ol,
dl,
dd,
p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(96px, 10vw, 168px) 0;
}

.pc-only {
  display: inline;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.22em;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow--light {
  color: var(--blue-bright);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(340px, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: clamp(52px, 6vw, 88px);
}

.section-heading h2,
.company__intro h2 {
  color: var(--navy);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading__lead {
  position: relative;
  padding-left: 28px;
  color: var(--ash-dark);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2;
}

.section-heading__lead::before {
  position: absolute;
  inset: 4px auto 4px 0;
  width: 1px;
  content: "";
  background: var(--line);
}

.section-heading--light h2,
.section-heading--light .section-heading__lead {
  color: #fff;
}

.section-heading--light .section-heading__lead::before {
  background: var(--line-dark);
}

.button {
  display: inline-flex;
  min-width: 230px;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 24px 0 30px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border 0.35s var(--ease), transform 0.35s var(--ease);
}

.button i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(22, 136, 248, 0.12);
  color: var(--blue);
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.button:hover {
  transform: translateY(-3px);
}

.button:hover i {
  transform: translate(3px, -2px);
}

.button--white {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 36px rgba(1, 12, 32, 0.16);
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

.button--outline-light i {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

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

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover span {
  transform: translateX(5px);
}

.text-link--light {
  color: #fff;
}

/* Header -------------------------------------------------- */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  padding: 0 clamp(18px, 3vw, 46px);
  transition: height 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(7, 27, 59, 0.08);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  height: 72px;
  box-shadow: 0 10px 35px rgba(7, 27, 59, 0.08);
}

.site-header__inner {
  display: flex;
  max-width: 1500px;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
  line-height: 0;
}

.brand__image {
  width: 226px;
  height: 64px;
  object-fit: cover;
  object-position: center;
}

.global-nav {
  display: flex;
  height: 100%;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.global-nav ul {
  display: flex;
  height: 100%;
  align-items: center;
  gap: clamp(16px, 1.8vw, 30px);
}

.global-nav a:not(.header-contact) {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  color: var(--navy);
  line-height: 1.25;
}

.global-nav a:not(.header-contact)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.global-nav a:hover::after,
.global-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.global-nav a span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.global-nav a small {
  margin-top: 4px;
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.header-contact {
  display: flex;
  min-width: 152px;
  height: 52px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 0 26px;
  color: #fff;
  background: var(--blue);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.header-contact:hover {
  background: var(--logo-ash);
  transform: translateY(-2px);
}

.header-contact span {
  font-size: 12px;
  font-weight: 700;
}

.header-contact small {
  color: rgba(255, 255, 255, 0.75) !important;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 27, 59, 0.1);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.menu-toggle-control {
  display: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Hero ---------------------------------------------------- */

.hero {
  position: relative;
  min-height: 790px;
  height: min(900px, 100svh);
  padding-top: var(--header-height);
  overflow: hidden;
  color: var(--navy);
  background: #fff;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 4;
  left: 0;
  width: 100%;
  height: 12px;
  content: "";
  background: var(--navy);
  pointer-events: none;
}

.hero::before {
  top: var(--header-height);
}

.hero::after {
  bottom: 0;
}

.hero__grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(7, 27, 59, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 59, 0.055) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, #000, transparent 48%);
}

.hero__media {
  position: absolute;
  inset: var(--header-height) 0 0 42%;
  overflow: hidden;
  background: #f6fafd;
}

.hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.hero__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.38) 16%, transparent 34%);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  height: calc(100% - var(--header-height));
  justify-content: center;
  flex-direction: column;
  padding-top: 10px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.hero__eyebrow::before {
  width: 42px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1 {
  font-size: clamp(78px, 9.5vw, 144px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.08em;
  text-shadow: 0 10px 40px rgba(7, 27, 59, 0.08);
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(7, 27, 59, 0.58);
}

.hero h1 span::after {
  position: absolute;
  right: -48px;
  bottom: 20px;
  width: 38px;
  height: 8px;
  content: "";
  background: var(--blue-bright);
  transform: skewX(-35deg);
}

.hero__copy {
  margin-top: 36px;
  color: var(--ash-dark);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 2;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-top: 42px;
}

.hero .button--white {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 36px rgba(22, 136, 248, 0.2);
}

.hero .button--white:hover {
  background: var(--navy);
}

.hero .button--white i {
  color: var(--blue);
  background: #fff;
}

.hero .text-link--light {
  color: var(--navy);
}

.hero__ghost {
  position: absolute;
  z-index: 2;
  right: -20px;
  bottom: -1.2vw;
  color: rgba(22, 136, 248, 0.07);
  font-size: clamp(160px, 24vw, 360px);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.1em;
  pointer-events: none;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(7, 27, 59, 0.52);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.hero__scroll span {
  position: relative;
  width: 1px;
  height: 64px;
  overflow: hidden;
  background: rgba(7, 27, 59, 0.18);
}

.hero__scroll span::after {
  position: absolute;
  inset: -50% 0 auto;
  height: 50%;
  content: "";
  background: var(--blue);
  animation: scrollLine 2.4s infinite ease-in-out;
}

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

/* Value strip -------------------------------------------- */

.value-strip {
  position: relative;
  z-index: 4;
  color: #fff;
  background: var(--blue);
}

.value-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-strip p {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  min-height: 116px;
  align-content: center;
  padding: 18px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.23);
}

.value-strip p:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.23);
}

.value-strip small {
  grid-row: 1 / 3;
  padding-top: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 800;
}

.value-strip strong {
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.value-strip span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
}

/* Strength ------------------------------------------------ */

.strength {
  position: relative;
  background:
    radial-gradient(circle at 88% 6%, rgba(80, 200, 255, 0.12), transparent 25%),
    #fff;
}

.strength::before {
  position: absolute;
  top: 80px;
  right: -55px;
  width: 180px;
  height: 180px;
  content: "";
  border: 1px solid rgba(22, 136, 248, 0.14);
  transform: rotate(45deg);
}

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

.strength-card {
  position: relative;
  min-height: 480px;
  padding: clamp(30px, 3vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: color 0.4s var(--ease), border 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.strength-card::before {
  position: absolute;
  z-index: 0;
  inset: 100% 0 0;
  content: "";
  background: linear-gradient(145deg, var(--blue), #065bbd 75%);
  transition: inset 0.5s var(--ease);
}

.strength-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 175px;
  height: 175px;
  content: "";
  border: 1px solid rgba(22, 136, 248, 0.15);
  transform: rotate(45deg);
  transition: border 0.4s var(--ease), transform 0.55s var(--ease);
}

.strength-card > * {
  position: relative;
  z-index: 1;
}

.strength-card:hover {
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-9px);
}

.strength-card:hover::before {
  inset: 0;
}

.strength-card:hover::after {
  border-color: rgba(255, 255, 255, 0.22);
  transform: rotate(135deg);
}

.strength-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
}

.strength-card__no {
  font-size: 12px;
  font-weight: 800;
}

.strength-card__line {
  width: 32px;
  height: 1px;
  background: currentColor;
}

.strength-card__top small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.strength-card h3 {
  margin-top: 72px;
  color: var(--navy);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.02em;
  transition: color 0.4s var(--ease);
}

.strength-card h3 span {
  display: block;
}

.strength-card > p {
  margin-top: 24px;
  color: var(--ash-dark);
  font-size: 14px;
  line-height: 1.95;
  transition: color 0.4s var(--ease);
}

.strength-card:hover h3,
.strength-card:hover > p,
.strength-card:hover .strength-card__top {
  color: #fff;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--ash-dark);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  transition: color 0.4s var(--ease), border 0.4s var(--ease), background 0.4s var(--ease);
}

.strength-card:hover .tag-list li {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.strength-card__arrow {
  position: absolute;
  right: 26px;
  bottom: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  transition: color 0.4s var(--ease), border 0.4s var(--ease), transform 0.4s var(--ease);
}

.strength-card:hover .strength-card__arrow {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: rotate(45deg);
}

/* Statement ----------------------------------------------- */

.statement {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
}

.statement::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(3, 17, 38, 0.99) 0%,
    rgba(3, 17, 38, 0.98) 25%,
    rgba(3, 17, 38, 0.94) 38%,
    rgba(3, 17, 38, 0.86) 48%,
    rgba(3, 17, 38, 0.72) 60%,
    rgba(3, 17, 38, 0.54) 72%,
    rgba(3, 17, 38, 0.36) 84%,
    rgba(3, 17, 38, 0.22) 94%,
    rgba(3, 17, 38, 0.16) 100%
  );
}

.statement__image {
  position: absolute;
  inset: 0 0 0 35%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}

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

.statement__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 660px;
  justify-content: center;
  flex-direction: column;
}

.statement h2 {
  max-width: 780px;
  font-size: clamp(40px, 5.7vw, 80px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.055em;
}

.statement h2 span {
  color: var(--blue-bright);
}

.statement__inner > p:last-child {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 2;
}

/* Services ------------------------------------------------ */

.services {
  background: var(--off-white);
}

.service-list {
  border-top: 1px solid #cdd9e6;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(280px, 1fr) minmax(330px, 1.35fr) 48px;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  padding: clamp(38px, 4vw, 60px) 8px;
  border-bottom: 1px solid #cdd9e6;
  color: inherit;
  text-decoration: none;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease);
}

.service-row:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.service-row::before {
  position: absolute;
  inset: 0;
  content: "";
  background: #fff;
  opacity: 0;
  transform: scaleX(0.98);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-row:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.service-row > * {
  position: relative;
}

.service-row__number {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-row__number span {
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.service-row__number small {
  color: var(--ash);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.15em;
}

.service-row h3 {
  color: var(--navy);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.service-row h3 span {
  display: block;
}

.service-row__body > p {
  color: var(--ash-dark);
  font-size: 14px;
  line-height: 2;
}

.tag-list--light {
  margin-top: 20px;
}

.tag-list--light li {
  background: #fff;
}

.service-row__arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  transition: color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-row:hover .service-row__arrow {
  color: #fff;
  background: var(--blue);
  transform: translateX(5px);
}

/* Service detail pages ----------------------------------- */

.service-detail-page .page-hero h1 {
  max-width: 1050px;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.22;
}

.service-detail-intro {
  background: #fff;
}

.service-detail-intro__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.service-detail-intro__image {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: var(--off-white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 54px), calc(100% - 54px) 100%, 0 100%);
}

.service-detail-intro__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-intro__copy h2,
.service-capabilities h2 {
  margin-top: 18px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.service-detail-intro__copy > p:not(.eyebrow) {
  margin-top: 25px;
  color: var(--ash-dark);
  font-size: 15px;
  line-height: 2.15;
}

.service-detail-challenges {
  background: var(--off-white);
}

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

.challenge-card {
  min-height: 275px;
  padding: 36px 32px;
  border-top: 3px solid var(--blue);
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 27, 59, 0.06);
}

.challenge-card > span,
.support-card small,
.process-card small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.challenge-card h3,
.support-card h3,
.process-card h3 {
  margin-top: 28px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.55;
}

.challenge-card p,
.support-card p,
.process-card p {
  margin-top: 18px;
  color: var(--ash-dark);
  font-size: 13px;
  line-height: 2;
}

.service-detail-support {
  background: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.support-card {
  min-height: 300px;
  padding: clamp(32px, 4vw, 54px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.support-card:hover {
  background: var(--blue-pale);
  transform: translateY(-3px);
}

.service-process {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
}

.service-process::after {
  position: absolute;
  right: -4vw;
  bottom: -4vw;
  color: rgba(255, 255, 255, 0.035);
  content: "XASH";
  font-size: 18vw;
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.service-process .container {
  position: relative;
  z-index: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.process-card {
  min-height: 265px;
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-card h3 {
  color: #fff;
  font-size: 20px;
}

.process-card p {
  color: rgba(255, 255, 255, 0.68);
}

.service-capabilities {
  background: var(--off-white);
}

.service-capabilities__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--navy);
}

.capability-list li {
  position: relative;
  padding: 22px 20px 22px 38px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.capability-list li::before {
  position: absolute;
  top: 27px;
  left: 18px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--blue);
  transform: rotate(45deg);
}

/* Company ------------------------------------------------- */

.company {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.company::after {
  position: absolute;
  z-index: 0;
  right: -5vw;
  bottom: -9vw;
  color: rgba(7, 27, 59, 0.025);
  content: "XASH";
  font-size: 19vw;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.company__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 9vw, 140px);
}

.company__intro > p:not(.eyebrow) {
  margin-top: 30px;
  color: var(--ash-dark);
  font-size: 14px;
}

.company-table {
  border-top: 2px solid var(--navy);
}

.company-table dl {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 28px;
  padding: 27px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.company-table dt {
  color: var(--navy);
  font-weight: 700;
}

.company-table dd {
  color: var(--ash-dark);
}

/* Works preview ------------------------------------------ */

.works-preview {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 65%, rgba(80, 200, 255, 0.08)),
    var(--navy);
}

.works-preview::before {
  position: absolute;
  top: -220px;
  left: -120px;
  width: 440px;
  height: 440px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.07);
  transform: rotate(45deg);
}

.works-preview__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(245px, auto));
  gap: 16px;
}

.work-tile {
  position: relative;
  display: flex;
  min-height: 245px;
  justify-content: flex-end;
  flex-direction: column;
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
  color: #fff;
  background: var(--navy-soft);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.work-tile::before {
  position: absolute;
  top: -60%;
  left: -20%;
  width: 100%;
  height: 130%;
  content: "";
  background: linear-gradient(115deg, transparent 42%, rgba(80, 200, 255, 0.12) 43%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
}

.work-tile:hover {
  z-index: 2;
  background: #103e74;
  transform: scale(1.018);
}

.work-tile:hover::before {
  transform: translateX(160%);
}

.work-tile--large {
  grid-row: 1 / 3;
  min-height: 506px;
  background:
    linear-gradient(180deg, transparent 5%, rgba(3, 17, 38, 0.78) 100%),
    url("../img/xash-ai-solution.png") center / cover no-repeat;
}

.work-tile--image {
  background: var(--navy-deep);
}

.work-tile--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}

.work-tile--image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 17, 38, 0.9));
}

.work-tile--image:hover img {
  opacity: 0.7;
  transform: scale(1.06);
}

.work-tile > div,
.work-tile > span,
.work-tile > h3,
.work-tile > p,
.work-tile > i {
  position: relative;
  z-index: 1;
}

.work-tile__category {
  margin-bottom: 16px;
  color: var(--blue-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.work-tile h3 {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.work-tile p {
  max-width: 540px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.work-tile i {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  font-style: normal;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}

.work-tile:hover i {
  color: var(--navy);
  background: #fff;
  transform: rotate(45deg);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

/* Recruit preview ---------------------------------------- */

.recruit-preview {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 650px;
  background: var(--blue);
}

.recruit-preview__image {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 89% 100%, 0 100%);
}

.recruit-preview__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, rgba(7, 27, 59, 0.08), rgba(22, 136, 248, 0.2));
}

.recruit-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-preview__content {
  display: flex;
  max-width: 590px;
  justify-content: center;
  flex-direction: column;
  padding: 70px var(--gutter) 70px clamp(40px, 6vw, 96px);
  color: #fff;
}

.recruit-preview__content h2 {
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.recruit-preview__content > p:not(.eyebrow) {
  margin: 30px 0 42px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 2;
}

/* Contact CTA -------------------------------------------- */

.contact-cta {
  position: relative;
  padding: clamp(90px, 9vw, 140px) 0;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
}

.contact-cta__shape {
  position: absolute;
  top: -170px;
  right: 5vw;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(80, 200, 255, 0.12);
  transform: rotate(45deg);
}

.contact-cta__shape::before,
.contact-cta__shape::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(80, 200, 255, 0.08);
}

.contact-cta__shape::before { inset: 70px; }
.contact-cta__shape::after { inset: 140px; }

.contact-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}

.contact-cta h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.contact-cta__inner > div > p:last-child {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.contact-cta__button {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  width: 260px;
  height: 180px;
  align-content: center;
  padding: 34px;
  color: var(--navy);
  background: #fff;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  transition: color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}

.contact-cta__button:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-7px);
}

.contact-cta__button span {
  font-size: 18px;
  font-weight: 700;
}

.contact-cta__button small {
  grid-column: 1;
  margin-top: 8px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  transition: color 0.4s var(--ease);
}

.contact-cta__button i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-style: normal;
  font-size: 20px;
}

.contact-cta__button:hover small {
  color: rgba(255, 255, 255, 0.75);
}

/* Footer -------------------------------------------------- */

.site-footer {
  padding: 80px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.brand--footer .brand__image {
  width: 270px;
  height: 78px;
}

.footer-brand > p {
  margin-top: 28px;
  color: var(--ash-dark);
  font-size: 12px;
  line-height: 2;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.footer-nav > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav__title {
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer-nav a {
  color: var(--ash-dark);
  font-size: 12px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer-nav a:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 68px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--ash);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ash-dark);
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.back-to-top span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.back-to-top:hover {
  color: var(--blue);
}

.back-to-top:hover span {
  border-color: var(--blue);
  background: var(--blue-pale);
}

/* Lower page hero ---------------------------------------- */

.page-hero {
  position: relative;
  min-height: 520px;
  padding-top: var(--header-height);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(3, 17, 38, 0.98), rgba(7, 47, 95, 0.9)),
    url("../img/xash-hero.png") center / cover no-repeat;
}

.page-hero::before {
  position: absolute;
  inset: var(--header-height) 0 0;
  content: "";
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.page-hero__shape {
  position: absolute;
  right: 5vw;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(80, 200, 255, 0.25);
  transform: rotate(45deg);
}

.page-hero__shape::before {
  position: absolute;
  inset: 80px;
  content: "";
  border: 1px solid rgba(80, 200, 255, 0.16);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 40px;
  align-items: center;
  min-height: calc(520px - var(--header-height));
}

.page-hero__index {
  align-self: end;
  margin-bottom: 52px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.page-hero h1 {
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.page-hero__lead {
  max-width: 710px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 2;
}

.breadcrumb {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ash);
  font-size: 10px;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  margin: 0 12px;
  color: #b7c0cb;
}

/* Privacy / Sitemap / Error pages ----------------------- */

.legal-page { background: var(--off-white); }
.privacy-page .page-hero h1 { max-width: 1100px; font-size: clamp(42px, 5vw, 72px); line-height: 1.3; }
.legal-page__grid { display: grid; grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr); gap: clamp(50px, 9vw, 130px); align-items: start; }
.legal-page__summary { position: sticky; top: calc(var(--header-height) + 36px); }
.legal-page__summary h2 { margin-top: 18px; color: var(--navy); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.45; letter-spacing: -.04em; }
.legal-page__summary > p:not(.eyebrow) { margin-top: 28px; color: var(--ash-dark); font-size: 14px; line-height: 2; }
.legal-page__summary > small { display: block; margin-top: 28px; color: var(--ash); font-size: 10px; }
.legal-document { padding: clamp(34px, 5vw, 68px); background: #fff; box-shadow: 0 20px 60px rgba(7,27,59,.07); }
.legal-document > section { padding: 38px 0; border-bottom: 1px solid var(--line); }
.legal-document > section:first-child { padding-top: 0; }
.legal-document > section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-document h2 { margin-bottom: 18px; color: var(--navy); font-size: 20px; line-height: 1.6; }
.legal-document p, .legal-document li { color: var(--ash-dark); font-size: 13px; line-height: 2.1; }
.legal-document p + p { margin-top: 12px; }
.legal-document ol { padding-left: 1.5em; }
.legal-document li { list-style: decimal; padding-left: .35em; }
.legal-document a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { display: flex; margin-top: 22px; padding: 22px 24px; flex-direction: column; gap: 6px; border-left: 3px solid var(--blue); color: var(--ash-dark); background: var(--blue-pale); font-size: 12px; line-height: 1.8; }
.legal-contact strong { color: var(--navy); font-size: 14px; }
.sitemap-page { background: var(--off-white); }
.sitemap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sitemap-group { position: relative; min-height: 390px; padding: clamp(32px, 4.5vw, 56px); overflow: hidden; border-top: 3px solid var(--blue); background: #fff; box-shadow: 0 18px 50px rgba(7,27,59,.055); }
.sitemap-group__no { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.sitemap-group h2 { margin: 18px 0 28px; color: var(--navy); font-size: clamp(26px, 3vw, 38px); line-height: 1.4; }
.sitemap-group li { border-top: 1px solid var(--line); }
.sitemap-group li:last-child { border-bottom: 1px solid var(--line); }
.sitemap-group a { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 20px; color: var(--ash-dark); font-size: 13px; line-height: 1.6; transition: color .3s var(--ease), padding .3s var(--ease), background .3s var(--ease); }
.sitemap-group a i { color: var(--blue); font-style: normal; }
.sitemap-group a:hover { padding-inline: 10px; color: var(--blue); background: var(--blue-pale); }
.error-hero { position: relative; min-height: max(700px, 100svh); padding-top: var(--header-height); overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--navy-deep), #092f61 72%, #0d579a); }
.error-hero__grid { position: absolute; inset: var(--header-height) 0 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 88%); }
.error-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(340px, .85fr) minmax(420px, 1.15fr); gap: clamp(40px, 8vw, 120px); align-items: center; min-height: calc(max(700px, 100svh) - var(--header-height)); }
.error-hero__code { color: rgba(80,200,255,.12); font-size: clamp(180px, 24vw, 370px); font-weight: 900; line-height: .8; letter-spacing: -.1em; }
.error-hero__copy h1 { margin-top: 20px; font-size: clamp(46px, 6vw, 78px); line-height: 1.3; letter-spacing: -.055em; }
.error-hero__copy > p:not(.eyebrow) { max-width: 560px; margin-top: 26px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 2; }
.error-hero__actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.text-link--light { color: #fff; }

/* Works page --------------------------------------------- */

.works-intro {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.works-intro h2,
.contact-intro h2,
.recruit-message h2 {
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.works-intro__body,
.contact-intro__body {
  color: var(--ash-dark);
  font-size: 15px;
  line-height: 2.15;
}

.works-intro__body p + p,
.contact-intro__body p + p {
  margin-top: 20px;
}

.case-list {
  margin-top: clamp(70px, 9vw, 130px);
  border-top: 2px solid var(--navy);
}

.case-card {
  display: grid;
  grid-template-columns: 100px minmax(300px, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}

.case-card__no {
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.case-card__title small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.case-card__title h3 {
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.case-card__body > p {
  color: var(--ash-dark);
  font-size: 14px;
  line-height: 2;
}

.case-card__meta {
  display: grid;
  grid-template-columns: 95px 1fr;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.case-card__meta dt,
.case-card__meta dd {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.case-card__meta dt {
  color: var(--navy);
  font-weight: 700;
}

.case-card__meta dd {
  color: var(--ash-dark);
}

.confidential-note {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  color: var(--ash-dark);
  background: var(--off-white);
  font-size: 12px;
}

/* Contact page ------------------------------------------- */

.contact-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(50px, 9vw, 130px);
}

.contact-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.contact-guide li {
  padding: 24px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.contact-guide small {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.form-section {
  padding-top: 0;
  background: var(--off-white);
}

.contact-form {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(35px, 6vw, 78px);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-notice {
  margin-bottom: 44px;
  padding: 15px 18px;
  color: #496078;
  background: var(--blue-pale);
  font-size: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 34px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.form-row > label,
.form-row > .form-label {
  padding-top: 13px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 6px;
  color: #fff;
  background: var(--blue);
  font-size: 8px;
  line-height: 1;
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #ccd8e5;
  border-radius: 0;
  outline: 0;
  background: #fbfdff;
  transition: border 0.25s, box-shadow 0.25s;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 136, 248, 0.1);
}

textarea.form-control {
  min-height: 190px;
  resize: vertical;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.radio-grid label,
.privacy-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.radio-grid label {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--ash-dark);
  font-size: 12px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 26px;
  margin-top: 45px;
}

.privacy-check {
  color: var(--ash-dark);
  font-size: 12px;
}

.privacy-check a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  width: 100%;
  padding: 18px;
  border: 1px solid #a9d9ff;
  color: #0b5fae;
  background: var(--blue-pale);
  text-align: center;
  font-size: 13px;
}

/* Recruit page ------------------------------------------- */

.recruit-message {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.recruit-message__image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
}

.recruit-message__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-message__text > p:not(.eyebrow) {
  margin-top: 30px;
  color: var(--ash-dark);
  font-size: 15px;
  line-height: 2.15;
}

.values-section {
  color: #fff;
  background: var(--navy);
}

.values-section .section-heading h2 {
  color: #fff;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.value-card {
  position: relative;
  min-height: 330px;
  padding: 40px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.value-card::after {
  position: absolute;
  right: -35px;
  bottom: -35px;
  color: rgba(255, 255, 255, 0.045);
  content: attr(data-number);
  font-size: 130px;
  font-weight: 900;
  line-height: 1;
}

.value-card small {
  color: var(--blue-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.value-card h3 {
  margin-top: 55px;
  font-size: 24px;
  line-height: 1.5;
}

.value-card p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 2;
}

.jobs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.job-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border 0.35s var(--ease);
}

.job-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.job-card small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.job-card h3 {
  margin-top: 15px;
  color: var(--navy);
  font-size: 25px;
}

.job-card > p {
  margin-top: 18px;
  color: var(--ash-dark);
  font-size: 13px;
  line-height: 2;
}

.job-card dl {
  margin-top: 25px;
  border-top: 1px solid var(--line);
}

.job-card dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.job-card dt {
  color: var(--navy);
  font-weight: 700;
}

.job-card dd {
  color: var(--ash-dark);
}

/* Reveal animation --------------------------------------- */

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal--delay-1 { transition-delay: 0.1s; }
.js-enabled .reveal--delay-2 { transition-delay: 0.2s; }
.js-enabled .reveal--delay-3 { transition-delay: 0.3s; }

/* Responsive --------------------------------------------- */

@media (max-width: 1120px) {
  :root { --header-height: 76px; }

  .site-header { padding-inline: 22px; }
  .global-nav { gap: 16px; }
  .global-nav ul { gap: 14px; }
  .global-nav a span { font-size: 11px; }
  .header-contact { min-width: 130px; padding-inline: 19px; }

  .hero { min-height: 740px; }
  .strength-card { min-height: 510px; padding: 30px; }

  .service-row {
    grid-template-columns: 130px minmax(240px, 0.9fr) minmax(300px, 1.1fr) 46px;
    gap: 25px;
  }

  .company__grid { grid-template-columns: 0.62fr 1.38fr; }
}

@media (max-width: 900px) {
  .site-header__inner { position: relative; }

  .site-header .menu-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 0;
    display: flex !important;
    transform: translateY(-50%);
  }

  .site-header .menu-toggle-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 0;
    display: block;
    width: 46px;
    height: 46px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    transform: translateY(-50%);
    appearance: none;
  }

  .menu-toggle-control:focus-visible + .menu-toggle {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
  }

  .global-nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    height: 100svh;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    padding: 104px 9vw 36px;
    visibility: hidden;
    opacity: 0;
    background:
      linear-gradient(135deg, rgba(80, 200, 255, 0.11), transparent 45%),
      var(--navy-deep);
    transform: translateX(100%);
    transition: visibility 0.45s, opacity 0.45s var(--ease), transform 0.45s var(--ease);
  }

  .site-header.is-menu-open .global-nav {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .menu-toggle-control:checked ~ .global-nav {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .site-header.is-menu-open .menu-toggle {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .site-header.is-menu-open .menu-toggle span { background: #fff; }
  .site-header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .menu-toggle-control:checked + .menu-toggle {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .menu-toggle-control:checked + .menu-toggle span { background: #fff; }
  .menu-toggle-control:checked + .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle-control:checked + .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-toggle-control:checked + .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  body:has(.menu-toggle-control:checked) { overflow: hidden; }

  .global-nav ul {
    display: flex;
    height: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .global-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }

  .global-nav a:not(.header-contact) {
    display: grid;
    grid-template-columns: 1fr auto;
    height: auto;
    align-items: center;
    padding: 15px 4px;
    color: #fff;
  }

  .global-nav a:not(.header-contact)::after { display: none; }
  .global-nav a span { font-size: 15px; }
  .global-nav a small { margin: 0; color: var(--blue-bright); }

  .header-contact {
    width: 100%;
    min-height: 64px;
    align-items: center;
  }

  .section-heading,
  .works-intro,
  .contact-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .strength-grid { grid-template-columns: 1fr; }
  .strength-card { min-height: auto; }
  .strength-card h3 { margin-top: 46px; }

  .service-row {
    grid-template-columns: 92px 1fr 46px;
    gap: 24px;
  }
  .service-row__body { grid-column: 2 / 3; }
  .service-row__arrow { grid-column: 3; grid-row: 1; }

  .service-detail-intro__grid,
  .service-capabilities__grid,
  .legal-page__grid { grid-template-columns: 1fr; }
  .legal-page__summary { position: static; }
  .error-hero__inner { grid-template-columns: 1fr; gap: 30px; padding-block: 90px; }
  .error-hero__code { font-size: clamp(150px, 31vw, 250px); }
  .service-detail-intro__image { min-height: 460px; }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }

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

  .works-preview__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .work-tile--large { grid-row: auto; min-height: 430px; }

  .recruit-preview { grid-template-columns: 1fr; }
  .recruit-preview__image { min-height: 430px; clip-path: none; }
  .recruit-preview__content { max-width: none; }

  .contact-cta__inner { grid-template-columns: 1fr; gap: 45px; }

  .case-card {
    grid-template-columns: 70px 1fr;
  }
  .case-card__body { grid-column: 2; }

  .recruit-message { grid-template-columns: 1fr; }
  .recruit-message__image { min-height: 460px; }
}

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
    --gutter: 20px;
  }

  body { font-size: 14px; }
  .section { padding: 82px 0; }
  .pc-only { display: none; }

  .brand__image { width: 170px; height: 49px; }
  .brand--footer .brand__image { width: 230px; height: 66px; }

  .hero {
    min-height: 700px;
    height: 92svh;
    background: #fff;
  }

  .hero::before,
  .hero::after { height: 8px; }

  .hero__media { display: none; }
  .hero__ghost { color: rgba(22, 136, 248, 0.07); }
  .hero__content { justify-content: flex-end; padding-bottom: 88px; }
  .hero__eyebrow { margin-bottom: 20px; font-size: 9px; }
  .hero h1 { font-size: clamp(62px, 19vw, 92px); }
  .hero h1 span::after { right: -30px; bottom: 9px; width: 24px; height: 5px; }
  .hero__copy { margin-top: 27px; font-size: 13px; line-height: 1.9; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 30px; }
  .hero__actions .button { min-height: 56px; min-width: 215px; }
  .hero__scroll { display: none; }

  .value-strip__inner { width: 100%; grid-template-columns: 1fr; }
  .value-strip p { min-height: 82px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); padding-inline: var(--gutter); }
  .value-strip p:first-child { border-left: 0; }

  .section-heading { margin-bottom: 45px; }
  .section-heading__lead { padding-left: 18px; }
  .section-heading h2, .company__intro h2 { font-size: 43px; }

  .strength-card { padding: 28px 24px 74px; }
  .strength-card h3 { font-size: 23px; }

  .statement,
  .statement__inner { min-height: 620px; }
  .statement__image { inset: 0; opacity: 0.52; -webkit-mask-image: none; mask-image: none; }
  .statement::before { background: linear-gradient(90deg, rgba(3,17,38,.95), rgba(3,17,38,.72)); }
  .statement h2 { font-size: 40px; }

  .service-row {
    grid-template-columns: 1fr 42px;
    gap: 16px;
    padding: 35px 0;
  }
  .service-row__number { grid-column: 1; }
  .service-row h3 { grid-column: 1; }
  .service-row__body { grid-column: 1 / 3; }
  .service-row__arrow { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }

  .service-detail-page .page-hero { min-height: 540px; }
  .service-detail-page .page-hero__inner { min-height: calc(540px - var(--header-height)); }
  .service-detail-page .page-hero h1 { font-size: clamp(34px, 10vw, 48px); line-height: 1.35; }
  .service-detail-intro__image { min-height: 280px; clip-path: none; }
  .service-detail-intro__copy h2,
  .service-capabilities h2 { font-size: 34px; }
  .challenge-grid,
  .support-grid,
  .process-grid,
  .capability-list { grid-template-columns: 1fr; }
  .challenge-card,
  .support-card,
  .process-card { min-height: auto; }

  .company-table dl { grid-template-columns: 100px 1fr; gap: 18px; padding-inline: 0; font-size: 12px; }

  .work-tile,
  .work-tile--large { min-height: 330px; padding: 26px 22px; }
  .work-tile h3 { font-size: 24px; }

  .recruit-preview__image { min-height: 340px; }
  .recruit-preview__content { padding: 70px var(--gutter); }
  .recruit-preview__content h2 { font-size: 38px; }

  .contact-cta h2 { font-size: 28px; }
  .contact-cta__button { width: 100%; height: 142px; }

  .site-footer { padding-top: 60px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-nav { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { margin-top: 50px; }

  .page-hero { min-height: 460px; }
  .page-hero__inner { grid-template-columns: 1fr; min-height: calc(460px - var(--header-height)); }
  .page-hero__index { display: none; }
  .page-hero h1 { font-size: 52px; }
  .page-hero__lead { font-size: 13px; }

  .legal-document { padding: 30px 22px; }
  .legal-document > section { padding: 30px 0; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .sitemap-group { min-height: auto; padding: 32px 24px; }
  .error-hero { min-height: 720px; }
  .error-hero__inner { min-height: calc(720px - var(--header-height)); padding-block: 70px; }
  .error-hero__copy h1 { font-size: 43px; }
  .error-hero__actions { align-items: flex-start; flex-direction: column; gap: 24px; }

  .works-intro h2,
  .contact-intro h2,
  .recruit-message h2 { font-size: 35px; }

  .case-card { grid-template-columns: 1fr; gap: 15px; }
  .case-card__body { grid-column: 1; }
  .case-card__meta { grid-template-columns: 78px 1fr; }

  .contact-guide { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .form-row > label, .form-row > .form-label { padding-top: 0; }
  .radio-grid { grid-template-columns: 1fr; }

  .recruit-message__image { min-height: 350px; }
  .value-cards,
  .jobs-list { grid-template-columns: 1fr; }
  .value-card { min-height: 290px; }
}

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