/*
 * بانک سلامت — سامانه هوشمند کیان
 * Design language: "mineral clinical editorial"
 * Soft sage-mist atmosphere, deep teal ink, full-bleed photographic hero.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

.skb {
  --skb-teal: #0d9488;
  --skb-teal-deep: #0f766e;
  --skb-teal-bright: #14b8a6;
  --skb-teal-glass: #7fe6d5;
  --skb-ink: #12312e;
  --skb-ink-soft: #234b46;
  /* A shade deeper than the site's #5f7471 so body copy clears 4.5:1 on mist. */
  --skb-muted: #556c69;
  --skb-mist: #e6f7f4;
  --skb-mist-deep: #dcefeb;
  --skb-paper: #fbfdfc;
  /* Warm accent, tuned per ground so the numerals stay legible. */
  --skb-warm: #c9862a;
  --skb-warm-ink: #96601a;
  --skb-warm-light: #e2a955;
  --skb-abyss: #082d2a;
  --skb-line: #d7e6e2;
  --skb-hairline: rgba(15, 55, 50, 0.12);
  --skb-hairline-light: rgba(255, 255, 255, 0.18);

  --skb-shell: 1240px;
  --skb-gutter: clamp(20px, 5vw, 56px);
  --skb-section-y: clamp(64px, 8.5vw, 128px);
  --skb-radius: 14px;
  --skb-radius-sm: 8px;

  --skb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --skb-ease-out: cubic-bezier(0.19, 1, 0.22, 1);

  --skb-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Full-bleed page reset (Ahura theme wrappers)
   ========================================================================== */

body.skb-health-bank-plain {
  background: var(--skb-paper) !important;
}

body.skb-health-bank-plain #ahura-header-main-wrap + *,
body.skb-health-bank-plain #skb-plain-page,
body.skb-health-bank-plain .skb-plain-page,
body.skb-health-bank-plain .site-container,
body.skb-health-bank-plain .post-box,
body.skb-health-bank-plain .post-entry,
body.skb-health-bank-plain .post-entry-custom,
body.skb-health-bank-plain .ahura-page-single,
body.skb-health-bank-plain .ahura-post-single,
body.skb-health-bank-plain .mw_page_container,
body.skb-health-bank-plain .wrapper,
body.skb-health-bank-plain #content,
body.skb-health-bank-plain .content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  float: none !important;
  border-radius: 0 !important;
}

body.skb-health-bank-plain .post-title,
body.skb-health-bank-plain .breadcrumb,
body.skb-health-bank-plain .bread-crumb,
body.skb-health-bank-plain .ahura-breadcrumb,
body.skb-health-bank-plain .post-meta,
body.skb-health-bank-plain .single-post-share {
  display: none !important;
}

/* ==========================================================================
   3. Root + primitives
   ========================================================================== */

.skb {
  direction: rtl;
  /* Inherit the Persian UI font the site chrome already loads. */
  font-family: var(--font, inherit);
  color: var(--skb-ink);
  background: var(--skb-paper);
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: clip;
}

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

/* Resets are wrapped in :where() so they carry no specificity and never
   out-rank the component rules further down this file. */
.skb :where(p, h1, h2, h3, ul, li) {
  margin: 0;
  padding: 0;
}

.skb :where(ul) {
  list-style: none;
}

.skb :where(img) {
  display: block;
  max-width: 100%;
}

.skb :where(a) {
  color: inherit;
  text-decoration: none;
}

/* Ahura underlines anchors inside the post body; nothing here is a body link. */
.skb a,
.skb a:hover,
.skb a:focus {
  text-decoration: none !important;
}

.skb :focus-visible {
  outline: 2px solid var(--skb-teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* The deep-teal bands need a light ring to stay visible. */
.skb-hero :focus-visible,
.skb-services :focus-visible,
.skb-join :focus-visible {
  outline-color: var(--skb-teal-glass);
}

/* Sticky site header must not cover an anchored section heading */
.skb > section[id],
.skb > header[id] {
  scroll-margin-top: 90px;
}

.skb-shell {
  width: 100%;
  max-width: var(--skb-shell);
  margin-inline: auto;
  padding-inline: var(--skb-gutter);
}

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

/* Section kicker — hairline + label, used across light and dark bands */
.skb-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--skb-teal-deep);
}

.skb-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.skb-kicker--light {
  color: var(--skb-teal-glass);
}

.skb-title {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.skb-lede {
  color: var(--skb-muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 2.05;
}

.skb-lede--light {
  color: rgba(230, 247, 244, 0.76);
}

/* --- Buttons --------------------------------------------------------------- */

/* Interactive components are written with two classes so neither the reset
   above nor the host theme's generic anchor styling can override them. */
.skb .skb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.35s var(--skb-ease),
    border-color 0.35s var(--skb-ease), color 0.35s var(--skb-ease),
    transform 0.35s var(--skb-ease), box-shadow 0.35s var(--skb-ease);
}

.skb-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.35s var(--skb-ease);
}

.skb-btn:hover svg,
.skb-btn:focus-visible svg {
  transform: translateX(-5px);
}

.skb .skb-btn--primary {
  background: var(--skb-teal-bright);
  color: #05231f;
  box-shadow: 0 14px 26px -16px rgba(5, 40, 36, 0.75);
}

.skb .skb-btn--primary:hover,
.skb .skb-btn--primary:focus-visible {
  background: #2ad4bd;
  color: #05231f;
  transform: translateY(-2px);
}

.skb .skb-btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.skb .skb-btn--ghost:hover,
.skb .skb-btn--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.skb .skb-btn--ink {
  background: var(--skb-teal-deep);
  color: #fff;
  box-shadow: 0 14px 26px -16px rgba(9, 60, 54, 0.6);
}

.skb .skb-btn--ink:hover,
.skb .skb-btn--ink:focus-visible {
  background: var(--skb-ink);
  color: #fff;
  transform: translateY(-2px);
}

/* Editorial text link with sliding rule */
.skb .skb-textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--skb-teal-deep);
  padding-block-end: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 100% 100%;
  background-size: 22% 1px;
  transition: background-size 0.45s var(--skb-ease), color 0.3s var(--skb-ease);
}

.skb-textlink svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.35s var(--skb-ease);
}

.skb-textlink:hover,
.skb-textlink:focus-visible {
  background-size: 100% 1px;
}

.skb-textlink:hover svg,
.skb-textlink:focus-visible svg {
  transform: translateX(-5px);
}

.skb .skb-textlink--light {
  color: var(--skb-teal-glass);
}

/* ==========================================================================
   4. Hero — one full-bleed composition
   ========================================================================== */

.skb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 900px);
  background: var(--skb-abyss);
}

.skb-hero__media,
.skb-hero__wash,
.skb-hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.skb-hero__media {
  z-index: -3;
}

.skb-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.06);
  animation: skb-drift 30s ease-in-out infinite alternate;
}

.skb-hero__wash {
  z-index: -2;
  background: linear-gradient(
      to left,
      rgba(5, 36, 33, 0.95) 0%,
      rgba(6, 40, 37, 0.86) 30%,
      rgba(8, 46, 42, 0.55) 62%,
      rgba(10, 52, 48, 0.34) 100%
    ),
    linear-gradient(to top, rgba(5, 36, 33, 0.72) 0%, rgba(5, 36, 33, 0) 46%);
}

.skb-hero__grain {
  z-index: -1;
  background-image: var(--skb-grain);
  opacity: 0.055;
  mix-blend-mode: overlay;
}

.skb-hero__inner {
  padding-block: clamp(96px, 15vh, 176px) clamp(60px, 10vh, 104px);
}

/* Wide enough for the wordmark to hold one line; prose below sets its own measure. */
.skb-hero__body {
  max-width: min(54rem, 100%);
}

.skb-hero__eyebrow {
  color: var(--skb-teal-glass);
  animation: skb-rise 0.9s 0.05s var(--skb-ease-out) both;
}

.skb-hero__brand {
  margin-block: 22px 0 !important;
  font-size: clamp(3rem, 10.5vw, 8.5rem);
  font-weight: 900;
  /* The wordmark stays on one line at every width — the clamp keeps it inside
     the gutters, and a wrapped brand would read as two separate words. */
  line-height: 1.06;
  white-space: nowrap;
  letter-spacing: -0.02em;
  color: #fff;
  animation: skb-emerge 1.25s 0.14s var(--skb-ease-out) both;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .skb-hero__brand {
    background-image: linear-gradient(
      170deg,
      #ffffff 6%,
      #eafbf7 44%,
      #b7e8de 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.skb-hero__headline {
  margin-block-start: 22px !important;
  font-size: clamp(1.08rem, 1.85vw, 1.42rem);
  font-weight: 600;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
  animation: skb-rise 0.9s 0.4s var(--skb-ease-out) both;
}

.skb-hero__support {
  margin-block-start: 16px !important;
  max-width: 42ch;
  font-size: clamp(0.96rem, 1.3vw, 1.04rem);
  line-height: 2.05;
  color: rgba(226, 244, 240, 0.74);
  animation: skb-rise 0.9s 0.52s var(--skb-ease-out) both;
}

.skb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-start: 38px;
  animation: skb-rise 0.9s 0.64s var(--skb-ease-out) both;
}

/* Ambient scroll cue */
.skb-hero__cue {
  position: absolute;
  inset-block-end: 26px;
  inset-inline-start: var(--skb-gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(232, 248, 244, 0.78);
  animation: skb-rise 1s 0.9s var(--skb-ease-out) both;
}

.skb-hero__cue-track {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.skb-hero__cue-track::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 18px;
  background: linear-gradient(
    to bottom,
    rgba(127, 230, 213, 0),
    var(--skb-teal-glass)
  );
  animation: skb-cue 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* ==========================================================================
   5. Doctors gateway
   ========================================================================== */

.skb-gateway {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, var(--skb-mist) 0%, #dceeea 100%);
  border-block-end: 1px solid var(--skb-hairline);
}

.skb-gateway__media {
  position: relative;
  overflow: hidden;
}

.skb-gateway__media picture,
.skb-gateway__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--skb-ease);
}

.skb-gateway:hover .skb-gateway__media img {
  transform: scale(1.04);
}

.skb-gateway__scrim {
  display: none;
}

.skb-gateway__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 45, 42, 0.34) 0%,
    rgba(230, 247, 244, 0.1) 55%,
    rgba(230, 247, 244, 0.85) 100%
  );
}

.skb-gateway__inner {
  padding-block: var(--skb-section-y);
}

.skb-gateway__body {
  max-width: 46ch;
}

.skb-gateway__title {
  margin-block-start: 20px !important;
}

.skb-gateway__text {
  margin-block-start: 18px !important;
}

.skb-gateway__note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-block-start: 26px;
  padding-block-end: 14px;
  border-block-end: 1px solid var(--skb-hairline);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--skb-ink-soft);
}

.skb-gateway__note svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--skb-teal);
}

.skb-gateway__cta {
  margin-block-start: 28px;
}

.skb-gateway--lead .skb-gateway__inner {
  padding-block-start: clamp(48px, 8vw, 88px);
}

.skb-gateway__intro {
  margin-block-start: 14px !important;
  max-width: 52ch;
}

.skb-gateway__subtitle {
  margin-block-start: 28px !important;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.55;
  color: var(--skb-ink);
}

/* ==========================================================================
   6. Care paths — interactive category tiles
   ========================================================================== */

.skb-paths {
  padding-block: var(--skb-section-y);
  background: var(--skb-paper);
  scroll-margin-top: 90px;
}

.skb-paths__head {
  max-width: 52ch;
  margin-block-end: clamp(38px, 5vw, 62px);
}

.skb-paths__title {
  margin-block-start: 18px !important;
}

.skb-paths__text {
  margin-block-start: 16px !important;
}

.skb-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

/* Grid children are the list items; the tile stretches to fill one. */
.skb-tiles > li {
  display: grid;
  transition: transform 0.45s var(--skb-ease);
}

/* Editorial stagger — offsets break the equal-gutter grid on wide screens.
   Applied to the list item so the tile keeps its own hover transform. */
.skb-tiles > li:nth-child(even) {
  transform: translateY(28px);
}

.skb-tile {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px 24px;
  background: #fff;
  border: 1px solid var(--skb-line);
  border-radius: var(--skb-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.45s var(--skb-ease),
    border-color 0.45s var(--skb-ease), box-shadow 0.45s var(--skb-ease),
    background-color 0.45s var(--skb-ease);
}

.skb-tile::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 38px;
  height: 2px;
  background: var(--skb-teal);
  transition: width 0.55s var(--skb-ease);
}

.skb-tile:hover,
.skb-tile:focus-visible {
  transform: translateY(-7px);
  border-color: #b9dcd5;
  background: #fdfffe;
  box-shadow: 0 22px 34px -22px rgba(9, 60, 54, 0.32);
}

.skb-tile:hover::before,
.skb-tile:focus-visible::before {
  width: 100%;
}

.skb-tile__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.skb-tile__icon {
  color: var(--skb-teal-deep);
  transition: transform 0.45s var(--skb-ease);
}

.skb-tile__icon svg {
  width: 30px;
  height: 30px;
}

.skb-tile:hover .skb-tile__icon {
  transform: translateY(-2px);
}

.skb-tile__index {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--skb-warm-ink);
  letter-spacing: 0.04em;
}

.skb-tile__name {
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--skb-ink);
}

.skb-tile__desc {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--skb-muted);
  flex: 1 1 auto;
}

.skb-tile__go {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--skb-hairline);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--skb-teal-deep);
}

.skb-tile__go svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--skb-ease);
}

.skb-tile:hover .skb-tile__go svg {
  transform: translateX(-5px);
}

/* Informational category cards (not booking links) */
.skb-tile--static {
  cursor: default;
}

.skb-tile--static:hover,
.skb-tile--static:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -24px rgba(9, 60, 54, 0.22);
}

.skb-tile--static .skb-tile__desc {
  margin: 0;
}

/* ==========================================================================
   7. Data bank content — deep teal editorial band
   ========================================================================== */

.skb-services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--skb-section-y);
  background: radial-gradient(
      118% 100% at 88% 0%,
      #15564f 0%,
      #0d3d38 52%,
      var(--skb-abyss) 100%
    );
  color: #fff;
}

.skb-services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--skb-grain);
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.skb-services__head {
  max-width: 50ch;
  margin-block-end: clamp(40px, 5vw, 64px);
}

.skb-services__title {
  margin-block-start: 18px !important;
  color: #fff;
}

.skb-services__text {
  margin-block-start: 16px !important;
}

.skb-link-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.skb-link-grid__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--skb-hairline-light);
  border-radius: var(--skb-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  transition: background-color 0.35s var(--skb-ease),
    border-color 0.35s var(--skb-ease), transform 0.35s var(--skb-ease);
}

.skb-link-grid__item svg {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: 0.85;
  transition: transform 0.35s var(--skb-ease);
}

.skb-link-grid__item:hover,
.skb-link-grid__item:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.skb-link-grid__item:hover svg,
.skb-link-grid__item:focus-visible svg {
  transform: translateX(-4px);
}

.skb-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
}

/* Hairline divider instead of card containers. In RTL the following sibling
   sits to the left, so the shared edge is its inline-start. */
.skb-services__item + .skb-services__item {
  padding-inline-start: clamp(32px, 5vw, 72px);
  border-inline-start: 1px solid var(--skb-hairline-light);
}

.skb-services__index {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--skb-warm-light);
}

.skb-services__name {
  margin-block-start: 14px !important;
  font-size: clamp(1.24rem, 2.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.55;
  color: #fff;
}

.skb-services__desc {
  margin-block-start: 14px !important;
  font-size: 0.98rem;
  line-height: 2.05;
  color: rgba(226, 244, 240, 0.75);
}

.skb-services__points {
  margin-block-start: 22px !important;
  display: grid;
  gap: 12px;
}

.skb-services__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.85;
  color: rgba(230, 247, 244, 0.9);
}

.skb-services__points li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  margin-block-start: 14px;
  background: var(--skb-teal-glass);
}

.skb-services__link {
  margin-block-start: 26px;
}

/* ==========================================================================
   8. Network trust strip
   ========================================================================== */

.skb-trust {
  padding-block: clamp(44px, 5.5vw, 76px);
  background: var(--skb-mist-deep);
  border-block-end: 1px solid var(--skb-hairline);
}

.skb-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin-block-start: 30px;
}

.skb-trust__item + .skb-trust__item {
  padding-inline-start: clamp(20px, 3vw, 44px);
  border-inline-start: 1px solid var(--skb-hairline);
}

.skb-trust__icon {
  color: var(--skb-teal-deep);
}

.skb-trust__icon svg {
  width: 22px;
  height: 22px;
}

.skb-trust__name {
  margin-block-start: 12px !important;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.6;
  color: var(--skb-ink);
}

.skb-trust__desc {
  margin-block-start: 8px !important;
  font-size: 0.9rem;
  line-height: 1.95;
  color: var(--skb-muted);
}

/* ==========================================================================
   9. Closing CTA
   ========================================================================== */

.skb-join {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 116px);
  background: radial-gradient(
      110% 130% at 50% 0%,
      #124a44 0%,
      #0b3833 55%,
      var(--skb-abyss) 100%
    );
  color: #fff;
  text-align: center;
}

.skb-join::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--skb-grain);
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.skb-join__body {
  max-width: 56ch;
  margin-inline: auto;
  padding-block: clamp(34px, 4vw, 56px);
  border-block: 1px solid var(--skb-hairline-light);
}

.skb-join .skb-kicker {
  justify-content: center;
}

.skb-join__title {
  margin-block-start: 20px !important;
  color: #fff;
}

.skb-join__text {
  margin-block-start: 16px !important;
}

.skb-join__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-block-start: 32px;
}

/* ==========================================================================
   10. Motion
   ========================================================================== */

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

@keyframes skb-emerge {
  from {
    opacity: 0;
    transform: translateY(38px);
    filter: blur(14px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes skb-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.15) translate3d(1.8%, -1.6%, 0);
  }
}

@keyframes skb-cue {
  0% {
    transform: translateY(-100%);
  }
  70%,
  100% {
    transform: translateY(320%);
  }
}

/* Scroll reveals — only armed when JS is present so no-JS keeps content visible */
.skb-js [data-skb-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--skb-ease), transform 0.85s var(--skb-ease);
}

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

.skb-js [data-skb-reveal="1"] {
  transition-delay: 0.07s;
}
.skb-js [data-skb-reveal="2"] {
  transition-delay: 0.14s;
}
.skb-js [data-skb-reveal="3"] {
  transition-delay: 0.21s;
}
.skb-js [data-skb-reveal="4"] {
  transition-delay: 0.28s;
}
.skb-js [data-skb-reveal="5"] {
  transition-delay: 0.35s;
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (min-width: 900px) {
  /* Gateway media bleeds to the page edge opposite the RTL text column */
  .skb-gateway__media {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: 44%;
  }

  .skb-gateway__inner {
    min-height: 540px;
    display: flex;
    align-items: center;
  }

  .skb-gateway__body {
    padding-inline-end: clamp(24px, 6vw, 96px);
  }
}

@media (max-width: 1080px) {
  .skb-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .skb-hero {
    min-height: 0;
    align-items: stretch;
  }

  .skb-hero__inner {
    padding-block: clamp(64px, 14vh, 112px) clamp(52px, 9vh, 84px);
  }

  .skb-hero__body {
    max-width: none;
  }

  .skb-hero__cue {
    display: none;
  }

  .skb-gateway--lead {
    --skb-gateway-mobile-min: min(74svh, 620px);
    position: relative;
    isolation: isolate;
    min-height: var(--skb-gateway-mobile-min);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--skb-abyss);
    border-block-end: 0;
  }

  .skb-gateway__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: auto;
  }

  .skb-gateway__media picture,
  .skb-gateway__media img {
    min-height: 100%;
    object-position: center 18%;
  }

  .skb-gateway__media::after {
    background: linear-gradient(
      180deg,
      rgba(8, 45, 42, 0.08) 0%,
      rgba(8, 45, 42, 0.22) 28%,
      rgba(8, 45, 42, 0.62) 58%,
      rgba(8, 45, 42, 0.94) 100%
    );
  }

  .skb-gateway__scrim {
    display: none;
  }

  .skb-gateway__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    padding-block: clamp(18px, 4vh, 28px) clamp(22px, 5vw, 32px);
  }

  .skb-gateway--lead .skb-gateway__inner {
    padding-block-start: clamp(18px, 4vh, 28px);
  }

  .skb-gateway__body {
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .skb-gateway--lead .skb-kicker {
    color: var(--skb-teal-glass);
    font-size: 0.8rem;
  }

  .skb-gateway--lead .skb-kicker::before {
    opacity: 0.9;
    background: var(--skb-teal-glass);
  }

  .skb-gateway--lead .skb-gateway__title {
    margin-block-start: 12px !important;
    font-size: clamp(1.95rem, 7.2vw, 2.45rem);
    line-height: 1.28;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
  }

  .skb-gateway--lead .skb-gateway__intro {
    margin-block-start: 10px !important;
    font-size: 0.94rem;
    line-height: 1.85;
    color: rgba(230, 247, 244, 0.94);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.32);
  }

  .skb-gateway--lead .skb-gateway__subtitle {
    margin-block-start: 18px !important;
    font-size: clamp(1.02rem, 4.2vw, 1.18rem);
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  }

  .skb-gateway--lead .skb-gateway__text,
  .skb-gateway--lead .skb-lede {
    margin-block-start: 10px !important;
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(230, 247, 244, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  }

  .skb-gateway--lead .skb-gateway__note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-block-start: 14px;
    padding: 6px 12px 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    border-block-end: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(230, 247, 244, 0.95);
  }

  .skb-gateway--lead .skb-gateway__note svg {
    width: 15px;
    height: 15px;
    color: var(--skb-teal-glass);
  }

  .skb-gateway--lead .skb-gateway__cta {
    margin-block-start: 18px;
  }

  .skb-gateway--lead .skb-btn--ink {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    background: #fff;
    color: var(--skb-abyss);
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: calc(var(--skb-radius-sm) + 2px);
    box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.65);
  }

  .skb-gateway--lead .skb-btn--ink svg {
    width: 18px;
    height: 18px;
  }

  .skb-gateway--lead .skb-btn--ink:hover,
  .skb-gateway--lead .skb-btn--ink:focus-visible {
    background: var(--skb-mist);
    color: var(--skb-abyss);
    transform: translateY(-1px);
  }

  .skb-services__grid,
  .skb-trust__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .skb-services__item + .skb-services__item,
  .skb-trust__item + .skb-trust__item {
    padding-inline-start: 0;
    border-inline-start: 0;
    padding-block-start: clamp(28px, 5vw, 40px);
    border-block-start: 1px solid var(--skb-hairline-light);
  }

  .skb-trust__item + .skb-trust__item {
    border-block-start-color: var(--skb-hairline);
  }
}

@media (max-width: 620px) {
  .skb-tiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .skb-tiles > li:nth-child(even) {
    transform: none;
  }

  .skb-gateway--lead {
    --skb-gateway-mobile-min: min(68svh, 540px);
  }

  .skb-gateway__media picture,
  .skb-gateway__media img {
    object-position: center 14%;
  }

  .skb-gateway__inner {
    padding-block: 16px 20px;
  }

  .skb-gateway--lead .skb-gateway__title {
    font-size: clamp(1.75rem, 8.5vw, 2.1rem);
  }

  .skb-gateway--lead .skb-gateway__intro {
    font-size: 0.88rem;
    line-height: 1.75;
  }

  .skb-gateway--lead .skb-gateway__subtitle {
    margin-block-start: 14px !important;
    font-size: 1rem;
  }

  .skb-gateway--lead .skb-gateway__text {
    display: none;
  }

  .skb-gateway--lead .skb-gateway__note {
    margin-block-start: 12px;
  }

  .skb-gateway--lead .skb-gateway__cta {
    margin-block-start: 16px;
  }

  .skb-link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .skb-hero__brand {
    letter-spacing: -0.015em;
  }

  .skb-btn {
    width: 100%;
    justify-content: center;
  }

  .skb-hero__actions .skb-btn,
  .skb-join__actions .skb-btn {
    width: 100%;
  }
}

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

  .skb-hero__media img {
    transform: scale(1.02);
  }

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