/* ─────────────────────────────────────────────────────────────
   INDEX ページ固有スタイル
   ─　common.css + site.css の上に重ねることを前提とした、
     このページだけで使われるスタイルを集約
   ───────────────────────────────────────────────────────────── */

/* ───── TOP-only styles ───── */

/* ════════════════════════════════════════════════
   OPENING ANIMATION (session-once, ~2s)
   ════════════════════════════════════════════════ */
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  /* Use small-viewport-height on supporting browsers so iOS Safari's address bar
     doesn't push the bottom tick off-screen. */
  height: 100svh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
  transition: opacity .6s ease;
  pointer-events: all;
  overflow: hidden;
}

.opening.is-done {
  opacity: 0;
  pointer-events: none;
}

.opening::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(40, 80, 100, .08) 0%, rgba(0, 0, 0, 0) 60%);
}

.opening__edges {
  position: absolute;
  inset: 20px var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  opacity: 0;
  animation: openEdgeFade .6s ease .1s forwards;
}

.opening__edges .row {
  display: flex;
  justify-content: space-between
}

@keyframes openEdgeFade {
  to {
    opacity: 1
  }
}

.opening__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
}

.opening__logo {
  width: clamp(160px, 16vw, 240px);
  height: auto;
  position: relative;
  display: block;
}

.opening__logo svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.opening__logo .draw {
  fill: transparent;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: openDrawStroke 1100ms cubic-bezier(.65, .05, .25, 1) 150ms forwards;
}

@keyframes openDrawStroke {
  0% {
    stroke-dashoffset: var(--len);
    opacity: 1;
  }

  85% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

.opening__logo .fill {
  opacity: 0;
  animation: openFillIn 600ms cubic-bezier(.2, .7, .2, 1) 1180ms forwards;
}

@keyframes openFillIn {
  0% {
    opacity: 0;
    transform: scale(.985);
    filter: brightness(1.6);
  }

  60% {
    opacity: 1;
    transform: scale(1.005);
    filter: brightness(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
}

.opening__flash {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%) scale(.2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .85) 0%, rgba(150, 220, 230, .4) 30%, rgba(100, 172, 205, 0) 65%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: openFlash 700ms cubic-bezier(.2, .7, .2, 1) 1150ms forwards;
}

@keyframes openFlash {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2);
  }

  35% {
    opacity: .9;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

.opening__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180%;
  height: 180%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 172, 205, .18) 0%, rgba(36, 153, 150, 0) 60%);
  opacity: 0;
  pointer-events: none;
  animation: openGlowIn 800ms ease 1300ms forwards;
}

@keyframes openGlowIn {
  to {
    opacity: 1
  }
}

.opening__text {
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: openTextRise 700ms cubic-bezier(.2, .7, .2, 1) 1450ms forwards;
}

@keyframes openTextRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.opening__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(13px, 1.05vw, 15px);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: #fff;
}

.opening__tag {
  margin: 10px 0 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(11px, .85vw, 12.5px);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.opening__tick {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .32);
  opacity: 0;
  animation: openEdgeFade .6s ease .2s forwards;
}

/* Reduced-motion: skip drawing, just fade in the filled logo + text */
@media (prefers-reduced-motion: reduce) {
  .opening__logo .draw {
    animation-duration: 0ms;
    stroke-dashoffset: 0;
    opacity: 0;
  }

  .opening__logo .fill {
    animation-delay: 0ms;
    opacity: 1;
  }

  .opening__flash {
    display: none;
  }

  .opening__text {
    animation-delay: 200ms;
  }
}

/* Hero content stays hidden during opening; revealed when opening finishes.
   The existing rise animations inside .hero kick in after this. */
html.opening-active .hero__logo,
html.opening-active .hero__copy,
html.opening-active .hero__id,
html.opening-active .hero__bdt,
html.opening-active .hero__dt,
html.opening-active .hero__jp,
html.opening-active .hero__lead,
html.opening-active .hero__cta,
html.opening-active .hero__scroll {
  animation: none !important;
  opacity: 0;
  transform: translateY(28px);
}

html.opening-active .hero__content,
html.opening-active .hero__scroll,
html.opening-active .hero__edges,
.hero.is-pending .hero__content,
.hero.is-pending .hero__scroll,
.hero.is-pending .hero__edges {
  visibility: hidden;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #0a0f12 0%, #0e1a1e 100%);
}

.hero__video,
.hero__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 16, 19, .65) 0%, rgba(10, 16, 19, .25) 22%, rgba(10, 16, 19, .05) 50%, rgba(10, 16, 19, .55) 100%),
    radial-gradient(120% 80% at 50% 60%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 100%);
}

.hero__edges {
  position: absolute;
  inset: 32px var(--pad-x);
  pointer-events: none;
  color: rgba(255, 255, 255, .78);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__edges .row {
  display: flex;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase
}

.hero__edges .row span:nth-child(2) {
  text-align: right
}

.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px var(--pad-x) 120px;
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: border-box;
  gap: clamp(36px, 5vw, 72px)
}

.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 2.8vw, 40px)
}

.hero__logo {
  width: clamp(180px, 19.2vw, 276px);
  height: auto;
  filter: drop-shadow(0 18px 60px rgba(0, 0, 0, .45));
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) .3s both
}

.hero__copy {
  margin: 0;
  font-family: var(--lato);
  font-weight: 100;
  text-align: center;
  font-size: clamp(48px, 6.6vw, 115px);
  line-height: 1.0;
  letter-spacing: -.03em;
  white-space: nowrap;
  animation: rise 1.4s cubic-bezier(.2, .7, .2, 1) .55s both;
}

.hero__copy em {
  font-family: var(--lato);
  font-weight: 300;
  color: var(--accent);
  display: inline-block;
  letter-spacing: -.015em
}

.hero__copy .dot {
  color: var(--accent)
}

.hero__bottom {
  display: flex;
  justify-content: center;
  align-items: end;
  width: 100%;
  text-align: center;
  flex-shrink: 0
}

.hero__id {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .34em;
  text-transform: uppercase;
  opacity: .92;
  animation: rise 1.2s .85s both;
  margin: 0
}

.hero__bdt {
  margin: 6px 0 0;
  font-family: var(--lato);
  font-weight: 300;
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: .02em;
  color: #fff;
  animation: rise 1.2s 1s both
}

.hero__bdt .x {
  color: var(--accent);
  margin: 0 .35em;
  font-weight: 300
}

.hero__dt {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: .16em;
  opacity: .7;
  text-transform: uppercase;
  animation: rise 1.2s 1.12s both
}

.hero__jp {
  margin: 0;
  font-family: var(--jp-bold);
  font-weight: 400;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 2;
  letter-spacing: .12em;
  opacity: .88;
  text-align: right;
  animation: rise 1.2s 1.25s both;
  white-space: pre-line;
  grid-column: 2/3
}

.hero__lead {
  margin: 60px 0 0;
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(15px, 1.15vw, 16.5px);
  line-height: 2.15;
  color: rgba(255, 255, 255, .85);
  max-width: 42ch;
  white-space: pre-line;
  animation: rise 1.2s 1.35s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  animation: rise 1.2s 1.5s both
}

.hero__cta .btn {
  padding: 14px 22px;
  min-height: 48px;
  min-width: 180px;
  font-size: 11.5px;
  letter-spacing: .2em
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  opacity: .7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: scrollRise 1.2s 1.6s both
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0))
}

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

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes scrollRise {
  from {
    opacity: 0;
    transform: translate(-50%, 28px)
  }

  to {
    opacity: .7;
    transform: translateX(-50%)
  }
}

@media (max-width:880px) {
  .hero {
    min-height: 600px
  }

  .hero__center {
    gap: 22px
  }

  .hero__logo {
    width: clamp(180px, 40.8vw, 252px)
  }

  .hero__copy {
    font-size: clamp(40px, 9.5vw, 72px);
    white-space: normal
  }

  .hero__bottom {
    padding-bottom: 34px
  }

  .hero__edges {
    inset: 18px var(--pad-x)
  }

  .hero__edges .row {
    font-size: 10px;
    letter-spacing: .28em
  }

  .hero__cta {
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px
  }

  .hero__cta .btn {
    justify-content: space-between
  }
}

@media (max-width:640px) {
  .hero {
    min-height: 560px;
    height: calc(100svh - 0px)
  }

  .hero__content {
    padding: 80px 20px 80px;
    gap: 24px
  }

  .hero__center {
    gap: 18px
  }

  .hero__logo {
    width: clamp(140px, 38vw, 200px)
  }

  .hero__copy {
    font-size: clamp(32px, 9.5vw, 48px);
    line-height: 1.05;
    letter-spacing: -.02em
  }

  .hero__id {
    font-size: 11px;
    letter-spacing: .26em
  }

  .hero__bdt {
    font-size: 12px
  }

  .hero__lead {
    font-size: 13.5px;
    line-height: 2;
    margin-top: 32px
  }

  .hero__scroll {
    font-size: 9px;
    letter-spacing: .28em;
    bottom: 12px
  }

  .hero__scroll::after {
    height: 24px
  }

  /* Opening animation — SP */
  .opening__stage {
    gap: 22px;
    padding: 0 20px;
  }

  .opening__logo {
    width: clamp(120px, 32vw, 160px);
  }

  .opening__name {
    font-size: 12px;
    letter-spacing: .34em;
  }

  .opening__tag {
    font-size: 10px;
    letter-spacing: .22em;
    margin-top: 8px;
  }

  .opening__edges {
    /* Pull the edges in tight on SP and leave room above the tick at the bottom */
    inset: 14px 18px 56px 18px;
  }

  .opening__edges .row {
    font-size: 8.5px;
    letter-spacing: .18em;
    gap: 12px;
  }

  .opening__edges .row span {
    /* Allow long labels to wrap or truncate gracefully on narrow screens */
    max-width: 48%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .opening__tick {
    /* Span the full width and center-align text, so the line stays
       perfectly centered on SP regardless of letter-spacing/padding. */
    left: 0;
    right: 0;
    transform: none;
    bottom: 18px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 8px;
    letter-spacing: .28em;
    text-align: center;
    white-space: nowrap;
  }

  /* INTRO */
  .intro__lead {
    font-size: clamp(22px, 6.8vw, 30px);
    line-height: 1.35;
    margin-bottom: 28px
  }

  .intro__desc {
    font-size: 14.5px;
    line-height: 1.95
  }

  /* LOGO STORY */
  .logo-story__lead {
    font-size: clamp(22px, 6.8vw, 30px);
    line-height: 1.3;
    margin-bottom: 24px
  }

  .logo-story__body {
    font-size: 14.5px;
    line-height: 1.95;
    margin-bottom: 24px;
    max-width: 100%
  }

  .logo-story__tagline {
    font-size: clamp(26px, 8vw, 36px);
    padding-left: 14px;
    margin-bottom: 32px
  }

  .logo-story__visual {
    max-width: 280px
  }

  .logo-story__visual .mark {
    width: min(78%, 260px)
  }

  .logo-story__grid {
    gap: 32px
  }

  .logo-story__eq {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
    padding-top: 14px;
    margin-bottom: 32px
  }

  .logo-story__eq .sym {
    font-size: 14px
  }

  .logo-story__eq .lbl {
    font-size: 7.5px;
    letter-spacing: .12em
  }

  .logo-story__eq .op {
    font-size: 11px;
    padding-bottom: 4px
  }

  /* ABOUT */
  .about__body p {
    font-size: 14.5px;
    line-height: 1.95
  }

  .about__cta {
    margin-top: 28px;
    justify-content: stretch
  }

  .about__cta .btn {
    width: 100%
  }

  /* CAPABILITY */
  .cap__lead {
    font-size: 14.5px;
    line-height: 1.95;
    margin-bottom: 36px
  }

  .cap__cell {
    padding: 24px 20px;
    min-height: auto
  }

  .cap__cell h3 {
    font-size: 20px
  }

  .cap__cell .jp {
    font-size: 11px;
    letter-spacing: .12em
  }

  .cap__cta {
    margin-top: 36px;
    justify-content: stretch
  }

  .cap__cta .btn {
    width: 100%
  }

  /* WHY */
  .why__lead {
    font-size: 14.5px;
    line-height: 1.95;
    margin-bottom: 32px
  }

  .why__cell {
    padding: 24px 22px;
    min-height: auto
  }

  .why__cell h3 {
    font-size: 22px;
    margin: 14px 0 10px
  }

  .why__cell .jp {
    font-size: 13.5px;
    line-height: 1.75
  }

  .why__grid {
    gap: 14px
  }

  .why__cta {
    margin-top: 36px;
    justify-content: stretch
  }

  .why__cta .btn {
    width: 100%
  }

  /* EXPERTISE */
  .expert__lead {
    font-size: 14.5px;
    line-height: 1.95;
    margin-bottom: 36px
  }

  .expert__cell {
    padding: 22px 18px;
    min-height: auto
  }

  .expert__cell h3 {
    font-size: 18px
  }

  .expert__cta {
    margin-top: 36px;
    justify-content: stretch
  }

  .expert__cta .btn {
    width: 100%
  }

  /* NEWS */
  .news__row {
    padding: 22px 0;
    gap: 4px 14px
  }

  .news__row .date {
    font-size: 12px
  }

  .news__row .cat {
    font-size: 10px;
    letter-spacing: .18em;
    padding: 4px 10px
  }

  .news__row .title {
    font-size: 14.5px;
    line-height: 1.55;
    margin-top: 6px
  }

  .news__more {
    margin-top: 32px;
    justify-content: stretch
  }

  .news__more .btn {
    width: 100%
  }

  /* RECRUIT */
  .recruit__title {
    font-size: clamp(44px, 13vw, 64px);
    margin-bottom: 32px
  }

  .recruit__body p {
    font-size: 14.5px;
    line-height: 1.95
  }

  .recruit__body {
    margin-bottom: 32px
  }

  /* CONTACT CTA */
  .contact-cta__title {
    font-size: clamp(44px, 13vw, 64px);
    margin-bottom: 28px
  }

  .contact-cta__body p {
    font-size: 14.5px;
    line-height: 1.95
  }

  .contact-cta__keywords {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.4
  }
}

/* INTRO（何をする会社か） */
.intro {
  background: linear-gradient(180deg, var(--sky) 0%, #dfe4e9 100%);
  color: var(--ink-900)
}

.intro__body {
  max-width: 980px
}

.intro__lead {
  margin: 0 0 40px;
  font-family: var(--lato);
  font-weight: 200;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.25;
  letter-spacing: -.018em;
  color: var(--ink-900);
  text-wrap: balance;
}

.intro__desc {
  margin: 0;
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 2.1;
  color: var(--ink-700);
  max-width: 78ch;
}

@media (max-width:780px) {
  .intro__lead br {
    display: none
  }

  .intro__desc br {
    display: none
  }
}

/* LOGO STORY (light section) */
.logo-story {
  background: linear-gradient(180deg, #dfe4e9 0%, var(--mountain) 70%, var(--mountain) 100%);
  color: #fff;
  overflow: hidden
}

.logo-story .section-head {
  align-items: end
}

.logo-story__head-right {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
  flex-wrap: nowrap
}

.logo-story__head-right .section-title {
  flex: 0 0 auto
}

.logo-story__head-right .logo-story__lead {
  flex: 1 1 0;
  min-width: 0;
  padding-bottom: clamp(10px, 1.2vw, 18px)
}

.logo-story .logo-story__lead {
  margin: 0
}

.logo-story .section-title,
.logo-story .section-head .meta {
  color: #fff
}

.logo-story .section-head .meta {
  color: rgba(255, 255, 255, .6)
}

.logo-story .section-title em {
  color: var(--accent)
}

.logo-story .section-title .ch {
  color: rgba(255, 255, 255, .55)
}

.logo-story__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center
}

.logo-story__visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 540px;
  margin: 0 auto;
  width: 100%
}

.logo-story__visual .mark {
  width: min(78%, 440px);
  height: auto;
  filter: drop-shadow(0 32px 80px rgba(0, 0, 0, .42));
  animation: gentle 8s ease-in-out infinite;
  position: relative;
  z-index: 2
}

.logo-story__visual::before,
.logo-story__visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  inset: 0
}

.logo-story__visual::after {
  inset: 12% 12%;
  border-color: rgba(255, 255, 255, .07)
}

.logo-story__lead {
  font-family: var(--lato);
  font-weight: 200;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 36px;
  text-wrap: balance;
  color: rgba(255, 255, 255, .92)
}

.logo-story__lead em {
  font-family: var(--lato);
  font-style: normal;
  color: var(--accent);
  font-weight: 300
}

/* 方程式：本文を補完する控えめなフッター扱い。主張せず、ホバーで少し顕在化 */
.logo-story__eq {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(6px, 1vw, 14px);
  margin: 8px 0 56px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  width: 100%;
  opacity: .55;
  transition: opacity .4s ease
}

.logo-story__eq:hover {
  opacity: .88
}

/* 本文直下のインライン配置版：左カラム内に収まるよう小さめに */
.logo-story__eq--inline {
  margin: 0 0 8px;
  padding: 18px 0 0;
  gap: clamp(4px, .7vw, 10px);
  max-width: 100%
}

.logo-story__eq--inline .sym {
  font-size: clamp(16px, 1.5vw, 20px)
}

.logo-story__eq--inline .lbl {
  font-size: clamp(7.5px, .6vw, 8.5px);
  letter-spacing: .18em
}

.logo-story__eq--inline .op {
  font-size: clamp(12px, 1.1vw, 15px);
  padding-bottom: 7px
}

.logo-story__eq--inline .term--integrate .lbl {
  font-size: clamp(8px, .65vw, 9.5px)
}

.logo-story__eq .term {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 1 auto
}

.logo-story__eq .sym {
  font-family: var(--jp-bold);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
  color: rgba(255, 255, 255, .8);
  letter-spacing: .02em;
  white-space: nowrap
}

.logo-story__eq .lbl {
  font-family: var(--display);
  font-size: clamp(8px, .65vw, 9.5px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  white-space: nowrap
}

.logo-story__eq .op {
  font-family: var(--lato);
  font-weight: 200;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1;
  color: rgba(255, 255, 255, .32);
  padding-bottom: 10px;
  letter-spacing: 0;
  flex: 0 0 auto
}

.logo-story__eq .op--x {
  font-weight: 700;
  color: #fff;
  font-size: clamp(16px, 1.6vw, 20px)
}

.logo-story__eq .term--integrate .sym {
  color: var(--accent);
  opacity: .85
}

.logo-story__eq .term--integrate .lbl {
  color: var(--accent);
  font-family: var(--lato);
  font-weight: 300;
  text-transform: none;
  letter-spacing: .02em;
  font-size: clamp(9px, .7vw, 10.5px);
  opacity: .9
}

.logo-story__eq .term--future .sym {
  font-weight: 500
}

.logo-story__body {
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  line-height: 2.1;
  color: rgba(255, 255, 255, .82);
  margin: 0 0 28px;
  max-width: 42ch;
  white-space: pre-line
}

.logo-story__tagline {
  font-family: var(--lato);
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
  margin: 8px 0 44px;
  display: inline-flex;
  align-items: baseline;
  gap: .12em;
  border-left: 2px solid var(--accent);
  padding-left: 24px
}

.logo-story__tagline .dot {
  color: var(--accent)
}

@media (max-width:880px) {
  .logo-story__head-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px
  }

  .logo-story__head-right .logo-story__lead {
    padding-bottom: 0
  }

  .logo-story__grid {
    grid-template-columns: 1fr
  }

  .logo-story__visual {
    order: -1;
    max-width: 360px
  }

  .logo-story__visual .mark {
    width: min(78%, 340px)
  }

  .logo-story__tagline {
    font-size: clamp(32px, 9vw, 46px);
    padding-left: 18px
  }

  .logo-story__eq {
    gap: 6px;
    padding-top: 16px;
    margin-bottom: 40px;
    opacity: .6
  }

  .logo-story__eq .sym {
    font-size: clamp(15px, 4.4vw, 20px)
  }

  .logo-story__eq .op {
    font-size: clamp(12px, 3.2vw, 16px);
    padding-bottom: 5px
  }

  .logo-story__eq .lbl {
    font-size: 8px;
    letter-spacing: .14em
  }

  .logo-story__eq .term--integrate .lbl {
    font-size: 8.5px;
    letter-spacing: .02em
  }
}

/* ABOUT SUMMARY (dark) */
.about {
  background: linear-gradient(180deg, var(--mountain) 0%, #0e161a 100%);
  color: #fff
}

.about .section-title,
.about .section-head .meta {
  color: #fff
}

.about .section-head .meta {
  color: rgba(255, 255, 255, .55)
}

.about .section-title em {
  color: var(--accent)
}

.about .section-title .ch {
  color: rgba(255, 255, 255, .55)
}

.about__body {
  max-width: 60ch
}

.about__body p {
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 2.1;
  color: rgba(255, 255, 255, .82);
  margin: 0 0 28px;
  white-space: pre-line
}

.about__cta {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end
}

/* CAPABILITY SUMMARY (river teal) */
.cap {
  background: linear-gradient(180deg, var(--mountain) 0%, var(--river-1) 38%, var(--river-2) 100%);
  color: #fff
}

.cap .section-title,
.cap .section-head .meta {
  color: #fff
}

.cap .section-head .meta {
  color: rgba(255, 255, 255, .6)
}

.cap .section-title em {
  color: var(--accent)
}

.cap .section-title .ch {
  color: rgba(255, 255, 255, .55)
}

.cap__lead {
  max-width: 56ch;
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 2.05;
  color: rgba(255, 255, 255, .86);
  margin: 0 0 64px;
  white-space: pre-line
}

.cap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-left: 1px solid rgba(255, 255, 255, .18)
}

.cap__cell {
  border-right: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .4s;
  min-height: 140px;
  position: relative
}

.cap__cell:hover {
  background: rgba(255, 255, 255, .06)
}

.cap__cell .n {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .82)
}

.cap__cell h3 {
  margin: 6px 0 4px;
  font-family: var(--lato);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: #fff
}

.cap__cell .jp {
  font-family: var(--jp-bold);
  font-size: 12px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .85);
  font-weight: 500
}

.cap__cta {
  margin-top: 60px;
  display: flex;
  justify-content: flex-end
}

@media (max-width:980px) {
  .cap__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .cap__grid {
    grid-template-columns: 1fr
  }
}

/* WHY (still teal) */
.why {
  background: linear-gradient(180deg, var(--river-2) 0%, #1f8488 100%);
  color: #fff;
  overflow: hidden
}

.why .section-title,
.why .section-head .meta {
  color: #fff
}

.why .section-head .meta {
  color: rgba(255, 255, 255, .6)
}

.why .section-title em {
  color: var(--accent)
}

.why .section-title .ch {
  color: rgba(255, 255, 255, .55)
}

.why__lead {
  max-width: 62ch;
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 2.05;
  color: rgba(255, 255, 255, .86);
  margin: 0 0 50px;
  white-space: pre-line
}

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

.why__cell {
  padding: 36px 30px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background .4s, transform .4s, border-color .4s;
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.why__cell:hover {
  background: rgba(255, 255, 255, .08);
  transform: translateY(-4px);
  border-color: var(--accent)
}

.why__cell .n {
  font-family: var(--display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--accent)
}

.why__cell h3 {
  margin: 18px 0 12px;
  font-family: var(--lato);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: #fff
}

.why__cell .jp {
  font-family: var(--jp);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .92);
  margin: 0
}

.why__cta {
  margin-top: 60px;
  display: flex;
  justify-content: flex-end
}

@media (max-width:980px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:600px) {
  .why__grid {
    grid-template-columns: 1fr
  }

  .why__cell {
    min-height: 0
  }
}

/* EXPERTISE SUMMARY */
.expert {
  background: linear-gradient(180deg, #1f8488 0%, var(--ocean) 60%, #f0f5f5 100%);
  color: var(--ink-900)
}

.expert .section-title,
.expert .section-head .meta {
  color: var(--ink-900)
}

.expert .section-head .meta {
  color: var(--ink-500)
}

.expert .section-title em {
  color: var(--teal-1)
}

.expert__lead {
  max-width: 54ch;
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 2.05;
  color: var(--ink-700);
  margin: 0 0 64px;
  white-space: pre-line
}

.expert__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(14, 20, 23, .18);
  border: 1px solid rgba(14, 20, 23, .18)
}

.expert__cell {
  background: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  transition: background .4s
}

.expert__cell:hover {
  background: #fafcfc
}

.expert__cell .n {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ink-500)
}

.expert__cell h3 {
  margin: 6px 0 4px;
  font-family: var(--lato);
  font-weight: 200;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.1;
  letter-spacing: -.015em
}

.expert__cell .jp {
  font-family: var(--jp-bold);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-500);
  font-weight: 400
}

.expert__cta {
  margin-top: 60px;
  display: flex;
  justify-content: flex-end
}

@media (max-width:1100px) {
  .expert__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:560px) {
  .expert__grid {
    grid-template-columns: 1fr
  }
}

/* NEWS */
.news {
  background: #fafcfc;
  color: var(--ink-900)
}

.news__empty {
  padding: 60px 0;
  border-top: 1px solid rgba(14, 20, 23, .18);
  border-bottom: 1px solid rgba(14, 20, 23, .18);
  text-align: center;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-500)
}

.news__row {
  display: grid;
  grid-template-columns: 140px 160px 1fr 30px;
  gap: 36px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(14, 20, 23, .18);
  transition: padding .3s;
  text-decoration: none;
  color: inherit
}

.news__row:last-of-type {
  border-bottom: 1px solid rgba(14, 20, 23, .18)
}

.news__row .date {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums
}

.news__row .cat {
  font-family: var(--display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal-1);
  background: rgba(15, 111, 118, .08);
  padding: 6px 12px;
  justify-self: start
}

.news__row .title {
  font-family: var(--jp-bold);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-900);
  transition: transform .4s
}

.news__row .arr {
  font-family: var(--display);
  font-size: 20px;
  color: var(--ink-500);
  transition: transform .4s, color .4s
}

.news__row:hover .title {
  transform: translateX(8px)
}

.news__row:hover .arr {
  transform: translateX(8px);
  color: var(--teal-1)
}

.news__more {
  margin-top: 50px;
  display: flex;
  justify-content: flex-end
}

@media (max-width:780px) {
  .news__row {
    grid-template-columns: auto auto;
    gap: 6px 20px
  }

  .news__row .title {
    grid-column: 1/-1
  }

  .news__row .arr {
    display: none
  }
}

/* RECRUIT */
.recruit {
  background: linear-gradient(180deg, #f0f5f5 0%, #fff 100%);
  color: var(--ink-900)
}

.recruit__title {
  margin: 0 0 50px;
  font-family: var(--lato);
  font-weight: 100;
  font-size: clamp(54px, 10vw, 160px);
  line-height: .92;
  letter-spacing: -.025em;
  text-wrap: balance
}

.recruit__title em {
  font-family: var(--lato);
  font-weight: 300;
  color: var(--teal-1);
  letter-spacing: -.015em
}

.recruit__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px
}

.recruit__body p {
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 2.1;
  color: var(--ink-700);
  margin: 0;
  max-width: 42ch;
  white-space: pre-line
}

@media (max-width:780px) {
  .recruit__body {
    grid-template-columns: 1fr;
    gap: 30px
  }
}

/* CONTACT CTA (no form here — link out) */
.contact-cta {
  background: #fff
}

.contact-cta__title {
  margin: 0 0 40px;
  font-family: var(--lato);
  font-weight: 100;
  font-size: clamp(50px, 9vw, 140px);
  line-height: .92;
  letter-spacing: -.025em;
  text-wrap: balance
}

.contact-cta__title em {
  font-family: var(--lato);
  font-weight: 300;
  color: var(--teal-1);
  letter-spacing: -.015em
}

.contact-cta__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  margin-bottom: 30px
}

.contact-cta__body p {
  font-family: var(--jp);
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 2.1;
  color: var(--ink-700);
  margin: 0;
  max-width: 42ch;
  white-space: pre-line
}

.contact-cta__action {
  display: flex;
  justify-content: flex-end
}

.contact-cta__keywords {
  font-family: var(--lato);
  font-weight: 200;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.5;
  color: var(--ink-900);
  letter-spacing: -.015em;
  display: flex;
  flex-wrap: wrap;
  gap: 0 .5em;
  margin: 0
}

.contact-cta__keywords span {
  display: inline-block;
  position: relative
}

.contact-cta__keywords span::after {
  content: "·";
  color: var(--accent);
  margin-left: .5em;
  font-weight: 300
}

.contact-cta__keywords span:last-child::after {
  display: none
}

@media (max-width:780px) {
  .contact-cta__body {
    grid-template-columns: 1fr;
    gap: 30px
  }
}

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