:root {
  --yft-bg: #041b2f;
  --yft-bg-deep: #031426;
  --yft-bg-band: #052642;
  --yft-ink: #eef5ff;
  --yft-muted: #95a8bf;
  --yft-accent: #f7be3c;
  --yft-accent-soft: #f8d87d;
  --yft-card: #0a2f4f;
  --yft-card-2: #113f67;
  --yft-border: #2a4f73;
  --yft-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  --shell: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--yft-ink);
  background: radial-gradient(circle at 40% -20%, #0f446f 0%, var(--yft-bg) 38%, var(--yft-bg-deep) 100%);
  font-family: "Manrope", "Trebuchet MS", "Helvetica Neue", sans-serif;
  line-height: 1.55;
}

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

img {
  max-width: 100%;
  height: auto;
}

.shell {
  width: min(calc(100% - 2.4rem), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(2, 18, 33, 0.85), rgba(2, 18, 33, 0));
  backdrop-filter: blur(3px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 0;
}

.brand-mark {
  display: inline-block;
  width: min(160px, 33vw);
  line-height: 0;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
}

.main-nav a {
  color: rgba(238, 245, 255, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--yft-accent);
}

.header-cta {
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(247, 190, 60, 0.6);
  border-radius: 100px;
  font-family: "Oswald", Impact, sans-serif;
  letter-spacing: 0.05em;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--yft-accent);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: #0b2238;
  background: var(--yft-accent);
}

.yft-home {
  overflow: clip;
}

.section-wave {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.wave-layer {
  position: absolute;
  inset: auto -20% 16%;
  height: 180px;
  pointer-events: none;
  border-radius: 100%;
  background: radial-gradient(ellipse at center, rgba(247, 190, 60, 0.2) 0%, rgba(247, 190, 60, 0.05) 42%, rgba(247, 190, 60, 0) 72%);
  filter: blur(0.3px);
}

.wave-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(247, 190, 60, 0.35);
  border-radius: 50%;
  animation: waveShift 13s linear infinite;
}

.wave-layer--a {
  transform: translateY(0);
}

.wave-layer--b {
  inset: auto -20% 6%;
  opacity: 0.55;
}

.wave-layer--b::before {
  animation-duration: 15s;
  animation-direction: reverse;
}

.hero-inner {
  padding: 8.2rem 0 5.2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-kicker {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(1.75rem, 4.8vw, 3.8rem);
  line-height: 0.95;
  color: var(--yft-accent);
}

.hero-inner h1 {
  margin: 1.4rem auto 0;
  max-width: 880px;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.22;
}

.hero-lead {
  margin: 1.3rem auto 0;
  max-width: 670px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-size: clamp(0.72rem, 1.6vw, 0.95rem);
  color: rgba(238, 245, 255, 0.82);
}

.about-section,
.fins-section,
.core-section,
.services-detail-section,
.industries-section,
.clients-section,
.team-section,
.contact-section {
  position: relative;
  padding: clamp(3.8rem, 7vw, 5.8rem) 0;
}

.section-band {
  background: linear-gradient(175deg, rgba(4, 29, 50, 0.35) 0%, rgba(3, 20, 38, 0.85) 80%);
}

.section-title {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  font-size: clamp(1.36rem, 2.8vw, 2.2rem);
  text-align: center;
}

.section-title--tight {
  margin-bottom: 1.5rem;
}

.section-copy {
  margin: 0.95rem auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 0.96rem;
  color: var(--yft-muted);
}

.icon-row {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.icon-row--interactive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-card {
  padding: 1rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(247, 190, 60, 0.25);
  background: linear-gradient(165deg, rgba(14, 63, 101, 0.7), rgba(5, 31, 53, 0.8));
  box-shadow: var(--yft-shadow);
  text-align: center;
  transition: transform 0.42s ease, border-color 0.4s ease, background-color 0.4s ease;
}

.icon-card__glyph {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.72rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: "Oswald", Impact, sans-serif;
  border: 1px solid rgba(247, 190, 60, 0.36);
  color: var(--yft-accent-soft);
}

.icon-card p {
  margin: 0;
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(238, 245, 255, 0.83);
}

.icon-card:hover,
.icon-card.is-tapped {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(247, 190, 60, 0.75);
  background: linear-gradient(165deg, rgba(18, 75, 118, 0.9), rgba(7, 39, 64, 0.85));
}

.icon-card:hover .icon-card__glyph,
.icon-card.is-tapped .icon-card__glyph {
  color: #112a43;
  background: var(--yft-accent);
  border-color: var(--yft-accent);
}

.icon-row--fins {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fin-card {
  padding: 1.3rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--yft-border);
  background: linear-gradient(162deg, rgba(6, 36, 60, 0.95), rgba(8, 48, 80, 0.88));
  text-align: center;
  transition: transform 0.45s ease, border-color 0.4s ease, color 0.4s ease;
}

.fin-card__abbr {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(247, 190, 60, 0.4);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.1rem;
  color: var(--yft-accent-soft);
}

.fin-card h3 {
  margin: 0.8rem 0 0;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.fin-card:hover,
.fin-card.is-tapped {
  transform: translate(0, -5px) scale(1.02);
  border-color: var(--yft-accent);
}

.fin-card:hover .fin-card__abbr,
.fin-card.is-tapped .fin-card__abbr {
  background: linear-gradient(145deg, rgba(247, 190, 60, 0.9), rgba(94, 161, 207, 0.8));
  color: #10273f;
}

.icon-row--core {
  margin-top: 1.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.core-card {
  position: relative;
  padding: 1.1rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(58, 89, 119, 0.9);
  background: linear-gradient(160deg, rgba(7, 36, 59, 0.95), rgba(5, 27, 47, 0.95));
  text-align: center;
  overflow: hidden;
  transition: transform 0.32s ease, border-color 0.32s ease;
}

.core-card__pulse {
  position: absolute;
  inset: auto -12% -44px;
  height: 120px;
  border-radius: 100%;
  border: 1px solid rgba(247, 190, 60, 0.25);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.core-card h3 {
  margin: 0;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.3;
}

.core-card:hover,
.core-card.is-tapped {
  transform: scale(1.05);
  border-color: rgba(247, 190, 60, 0.95);
  animation: shakeOnce 0.46s ease 1;
}

.core-card:hover h3,
.core-card.is-tapped h3 {
  color: #f7d896;
}

.core-card:hover .core-card__pulse,
.core-card.is-tapped .core-card__pulse {
  opacity: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-detail {
  border: 1px solid rgba(44, 76, 105, 0.7);
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 51, 83, 0.72), rgba(8, 34, 57, 0.92));
  box-shadow: var(--yft-shadow);
}

.service-detail__media {
  height: 170px;
  background: linear-gradient(125deg, rgba(252, 202, 88, 0.32), rgba(23, 91, 136, 0.65));
}

.service-detail:nth-child(3n) .service-detail__media {
  background: linear-gradient(130deg, rgba(247, 190, 60, 0.25), rgba(10, 55, 92, 0.74), rgba(4, 29, 50, 0.9));
}

.service-detail:nth-child(2n) .service-detail__media {
  background: linear-gradient(130deg, rgba(177, 207, 232, 0.45), rgba(13, 77, 118, 0.74), rgba(9, 45, 72, 0.9));
}

.service-detail__body {
  padding: 1.08rem;
}

.service-detail h3 {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.04rem;
}

.service-detail p {
  margin: 0.65rem 0 0;
  color: rgba(238, 245, 255, 0.78);
  font-size: 0.9rem;
}

.industries-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.industry {
  position: relative;
  text-align: center;
  padding: 0.95rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(45, 78, 107, 0.9);
  background: rgba(8, 35, 57, 0.82);
  transition: transform 0.32s ease, border-color 0.3s ease, color 0.3s ease;
}

.industry__mark {
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.45rem;
  display: block;
  line-height: 0.9;
  color: rgba(247, 190, 60, 0.75);
}

.industry h3 {
  margin: 0.28rem 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.industry:hover,
.industry.is-tapped {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(247, 190, 60, 0.88);
  color: #fff5de;
}

.floating {
  animation: float 3.3s ease-in-out infinite;
}

.floating:nth-child(2n) {
  animation-delay: -0.8s;
  animation-duration: 3.8s;
}

.floating:nth-child(3n) {
  animation-delay: -1.3s;
  animation-duration: 4.1s;
}

.clients-section {
  background: linear-gradient(to bottom, rgba(2, 17, 30, 0.9), rgba(5, 32, 54, 0.9));
}

.client-wave-lines {
  position: relative;
  height: 56px;
  margin-top: 0.9rem;
  overflow: hidden;
}

.client-wave-lines span {
  position: absolute;
  left: -15%;
  right: -15%;
  height: 24px;
  border-top: 1px solid rgba(247, 190, 60, 0.37);
  border-radius: 100%;
  animation: waveAcross 11s linear infinite;
}

.client-wave-lines span:last-child {
  top: 18px;
  opacity: 0.65;
  animation-duration: 13s;
  animation-direction: reverse;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.client-pill {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(57, 95, 129, 0.9);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  background: rgba(8, 35, 57, 0.92);
  color: rgba(238, 245, 255, 0.8);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.client-pill::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 15%, rgba(247, 190, 60, 0.42) 50%, transparent 80%);
  transform: translateX(-140%);
  opacity: 0;
  z-index: -1;
}

.client-pill:hover,
.client-pill:focus-visible,
.client-pill.is-tapped {
  color: var(--yft-accent);
  border-color: rgba(247, 190, 60, 0.92);
}

.client-pill:hover::after,
.client-pill:focus-visible::after,
.client-pill.is-tapped::after {
  opacity: 1;
  animation: sweep 0.65s linear 1;
}

.team-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.team-card {
  padding: 0.9rem 0.9rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(48, 84, 115, 0.85);
  background: linear-gradient(155deg, rgba(8, 36, 60, 0.92), rgba(6, 30, 49, 0.96));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-card__abbr {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(247, 190, 60, 0.2);
  border: 1px solid rgba(247, 190, 60, 0.62);
  font-family: "Oswald", Impact, sans-serif;
  color: #ffd884;
}

.team-card h3 {
  margin: 0.7rem 0 0;
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Oswald", Impact, sans-serif;
}

.team-card p {
  margin: 0.4rem 0 0;
  color: rgba(238, 245, 255, 0.8);
  font-size: 0.77rem;
}

.team-card__wave {
  position: absolute;
  inset: auto -18% -38px;
  height: 90px;
  border-radius: 100%;
  border-top: 1px solid rgba(247, 190, 60, 0.5);
  opacity: 0;
}

.team-card.is-visible .team-card__wave {
  animation: miniWave 0.9s ease 0.2s 1 forwards;
}

.contact-section {
  text-align: center;
  background: linear-gradient(to bottom, rgba(2, 15, 26, 0.96), rgba(2, 13, 24, 1));
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: clip;
}

.ripple-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ripple-layer span {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(247, 190, 60, 0.42);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  animation: ripple 10s linear infinite;
}

.ripple-layer span:nth-child(2) {
  animation-delay: 3.1s;
}

.ripple-layer span:nth-child(3) {
  animation-delay: 6.2s;
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-inner h2 {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
}

.contact-inner p {
  margin: 0.8rem 0 0;
  color: rgba(238, 245, 255, 0.8);
}

.contact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.contact-list li {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  color: rgba(238, 245, 255, 0.86);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--yft-accent);
}

.site-footer {
  border-top: 1px solid rgba(45, 72, 97, 0.65);
  background: rgba(2, 13, 24, 0.95);
  padding: 1.1rem 0 1.2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem 1rem;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  color: rgba(238, 245, 255, 0.66);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-inner span {
  opacity: 0.65;
  margin: 0 0.35rem;
}

[data-reveal] {
  opacity: 0;
  transition-duration: 0.65s;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-property: opacity, transform;
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform, opacity;
}

[data-reveal="up"] {
  transform: translateY(22px);
}

[data-reveal="fade"] {
  transform: none;
}

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

@media (max-width: 1080px) {
  .header-inner {
    gap: 0.8rem;
  }

  .main-nav .menu {
    gap: 0.75rem;
  }

  .header-cta {
    display: none;
  }

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

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

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    background: rgba(2, 18, 33, 0.95);
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .main-nav .menu {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }

  .hero-inner {
    padding-top: 5rem;
  }

  .icon-row--interactive,
  .icon-row--fins,
  .icon-row--core,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 1.3rem), var(--shell));
  }

  .main-nav a {
    font-size: 0.67rem;
  }

  .section-wave {
    min-height: 84vh;
  }

  .hero-kicker {
    letter-spacing: 0.06em;
  }

  .hero-inner h1 {
    line-height: 1.28;
  }

  .about-section,
  .fins-section,
  .core-section,
  .services-detail-section,
  .industries-section,
  .clients-section,
  .team-section,
  .contact-section {
    padding: 3.15rem 0;
  }

  .icon-row--interactive,
  .icon-row--fins,
  .icon-row--core,
  .services-grid,
  .team-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .service-detail__media {
    height: 150px;
  }

  .client-list {
    gap: 0.5rem;
  }

  .client-pill {
    width: 100%;
    text-align: center;
  }

  .contact-section {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@keyframes waveShift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(120px);
  }
}

@keyframes shakeOnce {
  0% {
    transform: scale(1.05) rotate(0deg);
  }
  30% {
    transform: scale(1.06) rotate(-1.2deg);
  }
  60% {
    transform: scale(1.06) rotate(1.1deg);
  }
  100% {
    transform: scale(1.05) rotate(0deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes waveAcross {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(10%);
  }
}

@keyframes sweep {
  from {
    transform: translateX(-140%);
  }
  to {
    transform: translateX(140%);
  }
}

@keyframes miniWave {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
  }
  12% {
    opacity: 0.56;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5.6);
  }
}
