/* Section-specific styles */

/* ===== HERO ===== */
.hero {
  padding-block: clamp(56px, 8vw, 96px) clamp(64px, 8vw, 96px);
  background:
    linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--md-outline-variant);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--md-shape-full);
  background: var(--md-tertiary-container);
  color: var(--md-on-tertiary-container);
  font-size: var(--md-label-medium);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__chip::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--md-tertiary);
}

.hero__title {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: var(--md-display-large);
  line-height: 1.02;
  margin-top: 24px;
  letter-spacing: -0.02em;
  font-weight: 500;
  font-style: italic;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 2px 4px rgba(12, 26, 48, 0.10),
    0 6px 16px rgba(12, 26, 48, 0.12);
}
.hero__title-accent {
  color: var(--md-error);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 2px 6px rgba(184, 0, 0, 0.18),
    0 8px 20px rgba(184, 0, 0, 0.16);
}

.hero__lead {
  font-size: var(--md-body-large);
  color: var(--md-on-surface-variant);
  margin-top: 24px;
  max-width: 540px;
  line-height: 1.65;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__meta {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--md-outline-variant);
  flex-wrap: wrap;
}
.hero__meta-item { }
.hero__meta-num {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--md-primary);
  display: block;
  line-height: 1;
}
.hero__meta-label {
  font-size: var(--md-body-small);
  color: var(--md-on-surface-variant);
  margin-top: 6px;
  display: block;
}

.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--md-shape-lg);
  overflow: hidden;
  background: var(--md-surface-container);
  box-shadow: var(--md-elev-2);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--md-shape-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--md-elev-2);
  max-width: 280px;
}
.hero__badge-icon {
  width: 40px; height: 40px;
  background: var(--md-primary);
  color: #fff;
  border-radius: var(--md-shape-sm);
  display: grid; place-items: center;
}
.hero__badge-text { font-size: var(--md-body-small); line-height: 1.4; }
.hero__badge-text strong { display: block; color: var(--md-on-surface); font-size: var(--md-label-large); font-weight: 600; }
.hero__badge-text span { color: var(--md-on-surface-variant); }

/* ===== HERO BROCHURE LAYOUT ===== */
.hero--brochure {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 28px);
  overflow: hidden;
  isolation: isolate;
}
/* B&W "people at work" backdrop — abstracted, no identifiable faces.
   Hands / laptops / collaboration shot, desaturated, with a white scrim so
   foreground copy stays fully legible.
   Sized 130% tall and translated by --hero-bg-y for parallax drift. */
.hero--brochure::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -15%;
  height: 130%;
  z-index: -2;
  background-image:
    linear-gradient(
      to right,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.86) 38%,
      rgba(255,255,255,0.40) 65%,
      rgba(255,255,255,0.18) 100%
    ),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.05);
  transform: translate3d(0, var(--hero-bg-y, 0px), 0);
  will-change: transform;
}
/* Subtle vignette + faint navy tint at the far right edge for depth */
.hero--brochure::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--md-error);
}
.hero__brochure {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero__brochure { grid-template-columns: 1fr; gap: 32px; }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--md-error);
  margin-bottom: 14px;
}
.hero__network {
  margin-top: 10px;
  font-size: 14px;
  color: var(--md-on-surface-variant);
  font-style: italic;
  border-left: 3px solid var(--md-error);
  padding-left: 12px;
  max-width: 540px;
}

.highlights {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 12px 0;
  /* Reserve enough space for the expanded fan-out so layout doesn't jump */
  --hl-collapsed-overlap: 56px;   /* how much each card hides under the next */
  --hl-expanded-gap: 14px;        /* breathing room when fanned out */
  transform: translate3d(0, var(--hero-stack-y, 0px), 0);
  will-change: transform;
}
.hero__copy {
  transform: translate3d(0, var(--hero-copy-y, 0px), 0) scale(var(--hero-copy-scale, 1));
  transform-origin: 0 30%;
  opacity: var(--hero-copy-opacity, 1);
  will-change: transform, opacity;
  transition: transform 80ms linear, opacity 80ms linear;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--md-shape-md);
  position: relative;
  z-index: 1;
  /* Cards 2..n slide up to overlap the one above */
  margin-top: calc(-1 * var(--hl-collapsed-overlap));
  transform-origin: 50% 0%;
  /* Inner highlight on the top edge to sell the glass */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(12, 26, 48, 0.06),
    0 10px 24px rgba(12, 26, 48, 0.10);
  transition:
    margin-top 420ms var(--ease-emphasized),
    transform 420ms var(--ease-emphasized),
    box-shadow 320ms var(--ease-standard),
    background 320ms var(--ease-standard),
    filter 320ms var(--ease-standard),
    border-color 200ms;
}
.highlight:first-child { margin-top: 0; }

/* Depth stack — BOTTOM card (last DOM child) is the front/crisp one,
   cards ABOVE recede behind it. */
.highlight:nth-child(5) {
  z-index: 5;
  transform: scale(1) translateY(0);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(12, 26, 48, 0.08),
    0 12px 28px rgba(12, 26, 48, 0.14),
    0 24px 56px rgba(12, 26, 48, 0.10);
}
.highlight:nth-child(4) {
  z-index: 4;
  transform: scale(0.965) translateY(2px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(12, 26, 48, 0.05),
    0 8px 18px rgba(12, 26, 48, 0.08);
  filter: brightness(0.985);
}
.highlight:nth-child(3) {
  z-index: 3;
  transform: scale(0.93) translateY(4px);
  background: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 2px rgba(12, 26, 48, 0.04),
    0 6px 14px rgba(12, 26, 48, 0.07);
  filter: brightness(0.97);
}
.highlight:nth-child(2) {
  z-index: 2;
  transform: scale(0.895) translateY(6px);
  background: rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 1px 2px rgba(12, 26, 48, 0.035),
    0 4px 10px rgba(12, 26, 48, 0.06);
  filter: brightness(0.955);
}
.highlight:nth-child(1) {
  z-index: 1;
  transform: scale(0.86) translateY(8px);
  background: rgba(255, 255, 255, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(12, 26, 48, 0.03),
    0 2px 6px rgba(12, 26, 48, 0.05);
  filter: brightness(0.94);
}

/* When the stack is hovered/focused, fan out and flatten the depth so all cards become equal */
.highlights:hover .highlight,
.highlights:focus-within .highlight {
  margin-top: var(--hl-expanded-gap);
  transform: scale(1) translateY(0);
  filter: none;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(12, 26, 48, 0.06),
    0 12px 28px rgba(12, 26, 48, 0.12);
}
.highlights:hover .highlight:first-child,
.highlights:focus-within .highlight:first-child {
  margin-top: 0;
}

/* Lift the directly-hovered card on top of the queue */
.highlight:hover {
  border-color: rgba(214, 16, 33, 0.55);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 6px 14px rgba(12, 26, 48, 0.10),
    0 22px 48px rgba(12, 26, 48, 0.18);
  transform: translateX(6px) scale(1.01);
  z-index: 10;
}

.highlight__badge {
  width: 48px; height: 48px;
  border-radius: 999px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.highlight__badge--solid {
  background: var(--md-error);
  color: #fff;
}
.highlight__badge--dark {
  background: var(--md-primary);
  color: #fff;
}
.highlight__badge .icon {
  width: 22px; height: 22px;
  stroke-width: 1.7;
}
.highlight__label {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--md-on-surface);
  line-height: 1.35;
}

/* Flat stack — applied on narrow screens AND on any device without hover (touch).
   Without this, the stack relies on :hover to fan out, leaving touch users (iPad,
   tablets) stuck on the collapsed pile. */
@media (max-width: 980px), (hover: none) {
  .highlights {
    --hl-collapsed-overlap: 0px;
    gap: 12px;
    padding: 0;
  }
  .highlight,
  .highlights .highlight:nth-child(1),
  .highlights .highlight:nth-child(2),
  .highlights .highlight:nth-child(3),
  .highlights .highlight:nth-child(4),
  .highlights .highlight:nth-child(5),
  .highlights:hover .highlight,
  .highlights:focus-within .highlight {
    margin-top: 0;
    transform: none;
    filter: none;
    box-shadow: 0 1px 2px rgba(12, 26, 48, 0.04), 0 6px 14px rgba(12, 26, 48, 0.06);
  }
  .highlight { padding: 14px 16px; }
  .highlight:hover { transform: none; }
}

/* ===== ABOUT PANELS (Network + Philosophy) ===== */
.about__panels {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "tall wide"
    "tall philo stat";
  /* The third column appears only on wider screens — fallback below */
  gap: 20px;
  margin-top: 40px;
}
.about__panel--tall  { grid-area: tall;  }
.about__panel--wide  { grid-area: wide;  }
.about__panel--philo { grid-area: philo; }
.about__panel--stat  { grid-area: stat;  }

@media (min-width: 1100px) {
  .about__panels {
    grid-template-columns: 1.05fr 1fr 1fr;
    grid-template-areas:
      "tall wide wide"
      "tall philo stat";
  }
}
@media (max-width: 1099px) {
  .about__panels {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "tall  wide"
      "tall  philo"
      "stat  stat";
  }
}
@media (max-width: 720px) {
  .about__panels {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tall"
      "wide"
      "philo"
      "stat";
  }
}
.about__panel {
  position: relative;
  padding: 28px 28px 28px 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.18) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--md-shape-lg);
  /* Liquid-glass: pure inset light play, no drop shadow */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.45),
    inset -1px 0 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
  isolation: isolate;
  /* Bidirectional reveal — slide up + fade with stagger */
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease-standard),
    transform 700ms var(--ease-emphasized),
    box-shadow 320ms var(--ease-standard),
    border-color 200ms;
  transition-delay: calc(var(--panel-i, 0) * 140ms);
}
.about__panel:nth-child(1) { --panel-i: 0; }
.about__panel:nth-child(2) { --panel-i: 1; }
.about__panel:nth-child(3) { --panel-i: 2; }
.about__panel:nth-child(4) { --panel-i: 3; }

/* Diagonal glossy sheen — fires when panel becomes visible / on hover */
.about__panel::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 70%;
  height: 180%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.0) 0%,
    rgba(255, 255, 255, 0.0) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.0) 65%,
    rgba(255, 255, 255, 0.0) 100%
  );
  filter: blur(8px);
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 1100ms var(--ease-emphasized);
  pointer-events: none;
  z-index: 0;
}
.about__panel:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.75);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.25) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35),
    inset 1px 0 0 rgba(255, 255, 255, 0.6),
    inset -1px 0 0 rgba(255, 255, 255, 0.35);
}
.about__panel:hover::after {
  transform: translateX(220%) skewX(-12deg);
}

/* Visible state (added to .about__panels parent by IntersectionObserver) */
.about__panels.is-visible .about__panel {
  opacity: 1;
  transform: translateY(0);
}
/* Trigger sheen sweep when panel reveals */
.about__panels.is-visible .about__panel::after {
  transform: translateX(220%) skewX(-12deg);
}

.about__panel::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 3px;
  background: var(--md-error);
  border-radius: 2px;
  z-index: 1;
}
/* Keep content above the sheen layer */
.about__panel > * { position: relative; z-index: 2; }
.about__panel-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--md-error);
  margin-bottom: 8px;
}
.about__panel-title {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--md-on-surface);
  line-height: 1.25;
}
.about__panel p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--md-on-surface-variant);
  margin: 0 0 12px;
}
.about__panel p:last-child { margin-bottom: 0; }

/* Tall card: chips push to the bottom */
/* RED override for the tall "Professional Firm" card */
.about__panel--tall {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(155deg, #d61021 0%, #b00d1c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 24px 48px -20px rgba(214, 16, 33, 0.45),
    0 10px 22px -12px rgba(0, 0, 0, 0.25) !important;
}
.about__panel--tall::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 70%) !important;
}
.about__panel--tall::after {
  background: rgba(255, 255, 255, 0.55) !important;
}
.about__panel--tall .about__panel-eyebrow { color: rgba(255, 255, 255, 0.82) !important; }
.about__panel--tall .about__panel-title   { color: #fff !important; }
.about__panel--tall p                      { color: rgba(255, 255, 255, 0.88) !important; }

.about__panel--tall .about__panel-chips {
  margin-top: auto;
  padding-top: 22px;
}
/* Chips inside red card — white logo + white text */
.about__panel--tall .about__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  color: #fff !important;
  padding: 8px 14px 8px 8px;
}
.about__chip-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #d61021;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  font-family: 'Roboto Flex', system-ui, sans-serif;
  flex-shrink: 0;
}

/* Stat card: tighter padding */
.about__panel--stat {
  padding: 24px 24px 24px 28px;
}

/* Chips inside the tall card */
.about__panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.about__chip {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--md-on-surface);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Stat card */
.about__stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
}
.about__stat-num {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--md-primary, #0b1f3f);
  background: linear-gradient(135deg, #0b1f3f 0%, #d61021 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about__stat-num sup {
  font-size: 28px;
  font-weight: 600;
  margin-left: 2px;
  vertical-align: top;
  -webkit-text-fill-color: #d61021;
  background: none;
}
.about__stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--md-on-surface-variant);
  line-height: 1.4;
  max-width: 140px;
}
.about__stat-foot {
  margin-top: 18px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* LinkedIn follow card — sits below the about panels grid */
.about__linkedin {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
  border-radius: var(--md-shape-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(10, 102, 194, 0.18);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.about__linkedin::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.10) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.about__linkedin > * { position: relative; z-index: 1; }
.about__linkedin-text { flex: 1; min-width: 0; }
.about__linkedin .about__panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 10px;
}
.about__linkedin-logo {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.about__linkedin .about__panel-title {
  color: #fff !important;
  margin-bottom: 8px;
}
.about__linkedin p {
  color: rgba(255, 255, 255, 0.88) !important;
  margin: 0;
  max-width: 56ch;
}
.about__linkedin-cta {
  flex-shrink: 0;
  background: #fff !important;
  color: #0a66c2 !important;
  border-color: #fff !important;
}
.about__linkedin-cta:hover {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #004182 !important;
}
@media (max-width: 720px) {
  .about__linkedin {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .about__linkedin-cta { width: 100%; justify-content: center; }
}

/* ===== Team section — staggered showcase ===== */
.team {
  position: relative;
  background: #0C1A30;
  color: #fff;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 72px);
}
.team .section__head {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto 32px;
}
.team .section__head .section__lead {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.team .section__head .section__eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.65) !important;
}
.team .section__head .section__title { color: #fff !important; }
.team .section__head .section__title .word { color: #fff; }
.team .section__head .section__lead { color: rgba(255, 255, 255, 0.78) !important; }

.team-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 0 0 80px;
}

/* Decorative oversized text — flush to the section's bottom-right corner */
.team-showcase__decor {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: clamp(140px, 22vw, 320px);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
  line-height: 0.85;
  z-index: 0;
  white-space: nowrap;
  transform: translateY(8%);
}

/* Left: staggered tile grid */
.team-showcase__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
  position: relative;
  z-index: 1;
}
/* Tile (rectangular portrait) */
.team-tile {
  position: relative;
  aspect-ratio: 3 / 5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  isolation: isolate;
  transition:
    background 480ms var(--ease-standard, ease),
    transform 600ms var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1)),
    box-shadow 480ms ease,
    color 480ms ease,
    border-color 480ms ease,
    filter 480ms ease;
  filter: grayscale(100%) brightness(0.95);
}
.team-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  z-index: 0;
  transition: opacity 480ms ease;
}
.team-tile > * { position: relative; z-index: 1; }
.team-tile__monogram {
  font-family: inherit;
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
  margin-bottom: 18px;
  transition: color 480ms ease, transform 600ms var(--ease-emphasized, ease);
}
.team-tile__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0 12px 16px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 480ms ease;
  text-align: center;
}

/* Photo variant — image fills the tile, B&W by default, color on hover/active */
.team-tile.has-photo::before { display: none; }
.team-tile__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(100%) contrast(1.02) brightness(0.92);
  transform: scale(1.02);
  transition:
    filter 700ms var(--ease-standard, ease),
    transform 900ms var(--ease-emphasized, ease);
}
.team-tile.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
  transition: opacity 500ms ease;
}
.team-tile.has-photo .team-tile__label {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}
.team-tile.has-photo:hover .team-tile__photo,
.team-tile.has-photo:focus-visible .team-tile__photo,
.team-tile.has-photo.is-active .team-tile__photo {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1.06);
}
.team-tile.has-photo.is-active::after { opacity: 0.7; }
.team-tile.has-photo.is-active {
  background: transparent;
  border-color: #ffffff;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}
.team-tile.has-photo.is-active .team-tile__label { color: #fff; }

/* Staggered y-offsets — like the reference image */
.team-tile--1 { transform: translateY(36px); }
.team-tile--2 { transform: translateY(-24px); }
.team-tile--3 { transform: translateY(48px); }
.team-tile--4 { transform: translateY(0); }

/* Hover — preview in color */
.team-tile:hover,
.team-tile:focus-visible {
  filter: grayscale(0%) brightness(1);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.22);
}
.team-tile:hover .team-tile__monogram,
.team-tile:focus-visible .team-tile__monogram { color: rgba(255, 255, 255, 0.32); }
.team-tile:hover .team-tile__label,
.team-tile:focus-visible .team-tile__label { color: rgba(255, 255, 255, 0.88); }
.team-tile--1:hover { transform: translateY(28px); }
.team-tile--2:hover { transform: translateY(-32px); }
.team-tile--3:hover { transform: translateY(40px); }
.team-tile--4:hover { transform: translateY(-8px); }

/* Active — full color, white spotlight */
.team-tile.is-active {
  filter: grayscale(0%) brightness(1);
  background: #ffffff;
  border-color: #ffffff;
  color: #0C1A30;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}
.team-tile.is-active::before {
  background:
    radial-gradient(circle at 50% 30%, rgba(12, 26, 48, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}
.team-tile.is-active .team-tile__monogram { color: #0C1A30; }
.team-tile.is-active .team-tile__label { color: rgba(12, 26, 48, 0.78); }
.team-tile--1.is-active { transform: translateY(20px) scale(1.02); }
.team-tile--2.is-active { transform: translateY(-44px) scale(1.04); }
.team-tile--3.is-active { transform: translateY(32px) scale(1.02); }
.team-tile--4.is-active { transform: translateY(-12px) scale(1.03); }

.team-tile:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

/* Right: detail panel — fixed minimum heights so content swap doesn't reflow */
.team-detail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.team-detail.is-changing .team-detail__name,
.team-detail.is-changing .team-detail__role,
.team-detail.is-changing .team-detail__bio {
  animation: team-detail-in 480ms var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1)) both;
}
.team-detail.is-changing .team-detail__role { animation-delay: 60ms; }
.team-detail.is-changing .team-detail__bio { animation-delay: 120ms; }
@keyframes team-detail-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.team-detail__name {
  margin: 0 0 8px 0;
  font-family: inherit;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.25;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  min-height: calc(2 * 1.25em);
  white-space: nowrap;
}
.team-detail__role {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 24px;
  line-height: 1.4;
  min-height: calc(2 * 1.4em);
}
.team-detail__bio {
  margin: 0 0 16px 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36ch;
  min-height: calc(4 * 1.65em);
}
.team-detail__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.team-detail__more {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 6px 0;
  margin: 0 0 24px 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: opacity 200ms ease, border-color 200ms ease;
}
.team-detail__more:hover { opacity: 0.85; border-color: #fff; }

.team-detail__nav {
  margin-top: auto;
  align-self: flex-start;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0C1A30;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}
.team-detail__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 240ms ease;
}
.team-detail__nav:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}
.team-detail__nav:hover svg { transform: translateX(3px); }

/* Responsive */
@media (max-width: 960px) {
  .team-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 56px;
  }
  .team-showcase__decor { font-size: clamp(120px, 28vw, 220px); right: -4%; bottom: -6%; }
  /* Flatten the staggered offsets on mobile — they create awkward empty space when cards are narrow */
  .team-tile--1, .team-tile--2, .team-tile--3, .team-tile--4 { transform: none; }
  .team-tile--1.is-active, .team-tile--2.is-active,
  .team-tile--3.is-active, .team-tile--4.is-active { transform: scale(1.02); }
  .team-tile--1:hover, .team-tile--2:hover,
  .team-tile--3:hover, .team-tile--4:hover { transform: translateY(-4px); }
}
@media (max-width: 560px) {
  .team-showcase__cards { gap: 10px; }
  .team-tile__monogram { font-size: 36px; margin-bottom: 12px; }
  .team-tile__label { font-size: 10px; padding: 0 6px 10px; }
  .team-detail__bio { font-size: 15px; }
}

/* ===== Team modal ===== */
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
}
.team-modal.is-open { pointer-events: auto; opacity: 1; }
.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.team-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 780px;
  width: 100%;
  max-height: calc(100vh - 48px);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 360ms var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1));
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
}
.team-modal.is-open .team-modal__dialog { transform: translateY(0) scale(1); }
.team-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: var(--md-on-surface, #0f172a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  z-index: 2;
}
.team-modal__close svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round;
}
.team-modal__close:hover { background: rgba(15, 23, 42, 0.06); transform: rotate(90deg); }

/* Left: rectangular image */
.team-modal__visual {
  position: relative;
  background: #0C1A30;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
}
/* Vignette — radial darkening, heavier toward the bottom */
.team-modal__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 120% 70% at 50% 10%,
    transparent 35%,
    rgba(0, 0, 0, 0.45) 70%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
  z-index: 1;
}
/* Bottom linear fade — denser, taller, near-opaque at the very bottom */
.team-modal__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(12, 26, 48, 0.6) 40%,
    rgba(12, 26, 48, 0.92) 70%,
    #0C1A30 100%
  );
  pointer-events: none;
  z-index: 2;
}
.team-modal__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  filter: url(#team-sharpen) contrast(1.06) saturate(1.06);
}
.team-modal__monogram {
  font-family: inherit;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* Right: scrollable content area */
.team-modal__content {
  padding: 36px 36px 32px;
  overflow-y: auto;
  max-height: calc(100vh - 48px);
}
.team-modal__name {
  margin: 0 0 6px 0;
  font-family: inherit;
  font-size: 26px;
  line-height: 1.2;
  color: var(--md-on-surface, #0f172a);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.team-modal__role {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--md-on-surface-variant, #475569);
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.team-modal__body p {
  margin: 0 0 14px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--md-on-surface-variant, #334155);
}
.team-modal__body p:last-child { margin-bottom: 0; }
.team-modal__tags {
  list-style: none;
  margin: 24px 0 0 0;
  padding: 24px 0 0 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.team-modal__tags li {
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--md-on-surface, #0f172a);
  font-weight: 500;
}
@media (max-width: 720px) {
  .team-modal__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .team-modal__visual { aspect-ratio: 4 / 3; min-height: 0; }
  .team-modal__content { padding: 28px 24px 24px; max-height: 60vh; }
  .team-modal__monogram { font-size: 48px; }
  .team-modal__name { font-size: 22px; }
}

.philosophy {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.philosophy li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--md-on-surface);
  line-height: 1.5;
}
.philosophy__bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--md-error);
  flex-shrink: 0;
}

/* ===== WHY KRIT CORP ===== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 980px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .why__grid { grid-template-columns: 1fr; }
}
.why-card {
  padding: 26px 22px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--md-shape-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 36px -18px rgba(15, 35, 80, 0.18),
    0 6px 14px -8px rgba(15, 35, 80, 0.10);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  /* soft sheen across the top */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
  z-index: 0;
}
.why-card > * { position: relative; z-index: 1; }
.why-card:hover {
  border-color: rgba(214, 16, 33, 0.35);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 24px 48px -18px rgba(15, 35, 80, 0.25),
    0 10px 20px -10px rgba(15, 35, 80, 0.14);
}
.why-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--md-error);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.why-card__icon .icon { width: 24px; height: 24px; stroke-width: 1.7; }
.why-card h3 {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--md-on-surface);
  line-height: 1.3;
}
.why-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--md-on-surface-variant);
  margin: 0;
}

/* ===== VALUES STRIP (glassy/glossy variant of credentials) ===== */
.values {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Layered navy with a top-edge highlight + bottom shadow gradient for glass depth */
  background:
    /* top specular highlight band */
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.06) 8%,
      rgba(255, 255, 255, 0.00) 22%
    ),
    /* main navy gradient */
    linear-gradient(
      135deg,
      rgba(20, 36, 62, 0.82) 0%,
      rgba(12, 26, 48, 0.78) 50%,
      rgba(8, 18, 36, 0.85) 100%
    ),
    /* fallback solid */
    var(--md-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(0, 0, 0, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 12px 28px rgba(12, 26, 48, 0.18);
}
/* Diagonal moving sheen — the glossy "shine pass" */
.values::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 50%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.00) 30%,
    rgba(255, 255, 255, 0.10) 48%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.10) 52%,
    rgba(255, 255, 255, 0.00) 70%
  );
  transform: translateX(var(--values-sheen-x, 0%)) skewX(-12deg);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
  transition: transform 80ms linear;
}
/* Soft red baseline accent picking up from the hero */
.values::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(214, 16, 33, 0.55) 25%,
    rgba(214, 16, 33, 0.85) 50%,
    rgba(214, 16, 33, 0.55) 75%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}
.values .credentials__grid { position: relative; z-index: 2; }

/* Stagger reveal for value items as the strip enters/leaves the viewport */
.values .reveal {
  transform: translateY(22px);
  transition:
    opacity 700ms var(--ease-standard),
    transform 700ms var(--ease-emphasized);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
.values .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.values .credentials__value {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  letter-spacing: 0.06em;
  font-weight: 600;
  /* tiny gloss on the label text */
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
.values .credentials__label {
  font-size: var(--md-body-medium);
  color: rgba(255,255,255,0.78);
}

/* Glossy icon chips */
.values .value__icon {
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.12)) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.value__icon {
  color: var(--md-error);
  width: 28px; height: 28px;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* ===== OUR PROFESSIONALS ===== */
.pros__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 880px) {
  .pros__grid { grid-template-columns: 1fr; }
}
.pro {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 22px;
  background: var(--md-surface);
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--md-shape-md);
  transition: border-color 0.2s, transform 0.2s;
}
.pro:hover {
  border-color: var(--md-primary);
  transform: translateY(-2px);
}
.pro__monogram {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--md-primary-container);
  color: var(--md-primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.pro__monogram--alt {
  background: #fde4e4;
  color: var(--md-error);
}
.pro__body { min-width: 0; }
.pro__name {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--md-on-surface);
}
.pro__role {
  font-size: 13.5px;
  color: var(--md-on-surface-variant);
  margin: 0;
  line-height: 1.4;
}

/* ===== CREDENTIALS STRIP ===== */
.credentials {
  background: var(--md-primary);
  color: #fff;
  padding-block: 32px;
}
.credentials__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .credentials__grid { grid-template-columns: repeat(2, 1fr); }
}
.credentials__item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.credentials__item .icon { color: #fff; }
.credentials__label {
  font-size: var(--md-body-small);
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}
.credentials__value {
  font-size: var(--md-title-medium);
  font-weight: 500;
  color: #fff;
  display: block;
}

/* ===== ABOUT ===== */
#about {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 8% 30%, rgba(11, 31, 63, 0.16), transparent 60%),
    radial-gradient(ellipse 45% 55% at 95% 70%, rgba(214, 16, 33, 0.14), transparent 60%),
    radial-gradient(ellipse 35% 45% at 60% 95%, rgba(11, 31, 63, 0.10), transparent 60%),
    linear-gradient(135deg, #f1f5fc 0%, #ebf0f9 50%, #f6e9ed 100%);
}
/* Soft floating glow orbs that show through the glass */
#about::before,
#about::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
#about::before {
  width: 480px; height: 480px;
  top: 10%; left: -120px;
  background: radial-gradient(circle, rgba(11, 31, 63, 0.35) 0%, transparent 70%);
}
#about::after {
  width: 520px; height: 520px;
  bottom: 5%; right: -140px;
  background: radial-gradient(circle, rgba(214, 16, 33, 0.28) 0%, transparent 70%);
}
#about > .container { position: relative; z-index: 1; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about__grid--single {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}
.about__grid--single .about__creds {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__grid--single .about__creds { grid-template-columns: repeat(2, 1fr); }
}

.about__media {
  position: sticky;
  top: 96px;
  border-radius: var(--md-shape-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--md-elev-1);
}
@media (max-width: 880px) { .about__media { position: static; } }
.about__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== ABOUT — innovative editorial polish ===== */

/* Drop cap on the first paragraph for an editorial / magazine feel */
.about__text > p:first-of-type::first-letter {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  float: left;
  font-size: 4.6em;
  line-height: 0.9;
  font-weight: 700;
  color: var(--md-error);
  margin: 6px 14px 0 0;
  padding: 0 6px 0 0;
  letter-spacing: -0.02em;
}


.about__title {
  font-size: var(--md-display-small);
  line-height: 1.15;
  margin-bottom: 20px;
}

.about__text p + p { margin-top: 18px; }
.about__text p {
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--md-on-surface-variant);
  line-height: 1.7;
}

.about__creds {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about__cred {
  background: var(--md-surface-container-low);
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--md-shape-md);
  padding: 18px 20px;
}
.about__cred-label {
  font-size: var(--md-label-medium);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--md-tertiary);
  display: block;
  margin-bottom: 6px;
}
.about__cred-value {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: var(--md-title-medium);
  color: var(--md-on-surface);
}

/* ===== SERVICES — split layout: sticky heading + scrolling cards ===== */
.services-split {
  position: relative;
  background: #ffffff;
  color: var(--md-on-surface);
  overflow: visible;
  padding-block: 0 0;
  /* Contain the internal z-index so the sticky LHS doesn't render over
     sibling sections (e.g. FAQs) during the scroll transition. */
  isolation: isolate;
}
.services-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 35, 80, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 35, 80, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}
.services-split > * { position: relative; z-index: 1; }

.services-split__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.4fr;
  gap: 80px;
  align-items: start;
}

/* LEFT: sticky heading — pinned during global scroll, fits in viewport */
.services-split__heading {
  position: sticky;
  top: calc(var(--header-height, 72px) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--header-height, 72px) - 48px);
}
.services-split__heading-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 16px;
  width: 100%;
  max-height: 100%;
  min-height: 0;
}
.services-split__eyebrow {
  font-size: 22px;
  letter-spacing: 0.32em;
  color: var(--md-primary);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.services-split__eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--md-error);
  display: inline-block;
}
.services-split__title {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: clamp(28px, 2.8vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--md-on-surface);
  margin: 0;
}
.services-split__lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--md-on-surface-variant);
  margin: 0;
  max-width: 42ch;
}

/* Sticky LHS service nav list */
.svc-nav {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(15, 35, 80, 0.12);
  counter-reset: svc-num;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.svc-nav__item {
  border-bottom: 1px solid rgba(15, 35, 80, 0.12);
  position: relative;
  counter-increment: svc-num;
}
.svc-nav__item button {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 10px 0 10px 12px;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  font-size: 15px;
  color: var(--md-on-surface);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 280ms var(--ease-standard, ease), color 280ms, padding-left 320ms var(--ease-standard, ease);
}
.svc-nav__item button:hover { opacity: 0.85; }

/* On shorter laptop viewports (≈14"), pack the LHS tighter so all 8 items
   stay visible without internal scroll. */
@media (min-width: 981px) and (max-height: 820px) {
  .services-split__heading-inner { gap: 14px; }
  .services-split__title { font-size: clamp(24px, 2.4vw, 36px); }
  .services-split__lead { font-size: 14px; line-height: 1.5; }
  .svc-nav { margin-top: 4px; }
  .svc-nav__item button { padding: 8px 0 8px 12px; font-size: 14px; }
  .svc-nav__icon { font-size: 11px; }
}
.svc-nav__icon {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--md-on-surface-variant);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
}
.svc-nav__icon::before {
  content: counter(svc-num, decimal-leading-zero);
}
.svc-nav__title {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.svc-nav__item.is-active button {
  opacity: 1;
  color: var(--md-primary);
  padding-left: 22px;
}
.svc-nav__item.is-active .svc-nav__icon {
  color: var(--md-error);
}
.svc-nav__item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: var(--md-error);
  border-radius: 2px;
}

/* RIGHT: vertical stack — scrolls with the page; LHS stays sticky beside it */
.services-split__stage {
  display: flex;
  flex-direction: column;
  gap: 18vh;
  padding-block: 6vh 14vh;
}

.svc-card {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: 0;
  display: block;
  padding-top: 16%;
  padding-right: 14%;
  scroll-margin-top: calc(var(--header-height, 72px) + 24px);
  transition: none;
}
.svc-card:hover { transform: none; box-shadow: none; }

/* Layered backdrop image — peeks above and to the right of the main card */
.svc-card__backdrop {
  display: block;
  position: absolute;
  top: 0;
  right: -4%;
  width: 78%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  z-index: 0;
  border-radius: 18px;
}
.svc-card__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-card > .svc-card__media,
.svc-card > .svc-card__body { position: relative; z-index: 1; }

.svc-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c1830;
  border-radius: 18px 18px 0 0;
}
.svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-card:hover .svc-card__media img { transform: none; }

.svc-card__body {
  background: linear-gradient(180deg, #122140 0%, #0c1830 100%);
  color: #fff;
  padding: 32px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 0;
  position: relative;
  border-radius: 0 0 18px 18px;
}
.svc-card__body::before { display: none; }

.svc-card__title {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}
.svc-card__body p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.svc-card__points {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-card__points li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}
.svc-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--md-error);
}

.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 200ms;
}
.svc-card__more:hover { opacity: 0.85; background: transparent; border: 0; }
.svc-card__more-icon {
  width: 16px;
  height: 16px;
  border: 0;
  transform: none;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 18 L6 6 M6 13 V6 H13'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 18 L6 6 M6 13 V6 H13'/%3E%3C/svg%3E") no-repeat center / contain;
}
.svc-card__more-text {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

@media (max-width: 980px) {
  .services-split { padding-block: 64px 80px; }
  .services-split__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-split__heading {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    display: block;
  }
  .services-split__heading-inner {
    padding-right: 0;
    gap: 16px;
    max-height: none;
    overflow: visible;
  }
  .services-split__stage { gap: 40px; padding-block: 0; }
  .svc-card { padding-top: 0; padding-right: 0; }
  .svc-card__backdrop { display: none; }
  .svc-card__body { padding: 24px; }
  .svc-card:hover { transform: none; }
  .svc-nav { display: none; }
}

/* ===== INDUSTRIES ===== */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 880px) { .industries__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .industries__grid { grid-template-columns: 1fr; } }

.industry {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--md-surface-container-low);
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--md-shape-md);
}
.industry .icon {
  color: var(--md-secondary);
  flex: none;
}
.industry__label {
  font-size: var(--md-body-medium);
  font-weight: 500;
}

/* ===== APPROACH ===== */
.approach {
  background: var(--md-primary);
  color: rgba(255,255,255,0.9);
  border-radius: 0;
}
.approach__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 880px) { .approach__grid { grid-template-columns: 1fr; } }

.approach__title {
  font-size: var(--md-display-small);
  color: #fff;
  line-height: 1.15;
}
.approach__lead {
  margin-top: 20px;
  font-size: var(--md-body-large);
  color: rgba(255,255,255,0.78);
  max-width: 480px;
}

.principles {
  display: grid;
  gap: 20px;
}
.principle {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.principle:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.principle__num {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: 24px;
  color: #7fd5d3;
  font-weight: 500;
  flex: none;
  width: 40px;
}
.principle__body h4 {
  color: #fff;
  font-size: var(--md-title-large);
  margin-bottom: 6px;
}
.principle__body p {
  font-size: var(--md-body-medium);
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

/* ===== FAQ — liquid glass on deep navy ===== */
#faq.section {
  background: #0C1A30;
  position: relative;
  overflow: hidden;
}
#faq.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(58, 184, 255, 0.20), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(224, 0, 0, 0.18), transparent 45%),
    radial-gradient(circle at 60% 30%, rgba(120, 90, 255, 0.14), transparent 55%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
#faq.section .container { position: relative; z-index: 1; }

#faq .section__eyebrow { color: #ff8a8a; }
#faq .section__title { color: #ffffff; }
#faq .section__lead { color: rgba(255, 255, 255, 0.72); }

.faq__grid {
  display: block;
}
.faq__grid > .reveal:first-child {
  max-width: 820px;
  margin-bottom: 48px;
}

.faq-list {
  column-count: 2;
  column-gap: 16px;
}
.faq-list > .faq-group {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 16px;
}
@media (max-width: 880px) {
  .faq-list { column-count: 1; }
}

.faq-group {
  position: relative;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px -18px rgba(0, 0, 0, 0.45);
  transition: background 240ms var(--ease-standard), border-color 240ms var(--ease-standard);
}
.faq-group[open] {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
}
.faq-group__title {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: var(--md-title-medium);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #ffffff;
  margin: 0;
}
.faq-group__title::-webkit-details-marker { display: none; }
.faq-group__title::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.65);
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease-standard);
  flex: none;
  margin-right: 4px;
}
.faq-group[open] .faq-group__title::after { transform: rotate(-135deg); }
.faq-group > .faq-item {
  margin: 0 16px;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
}
.faq-group > .faq-item:first-of-type {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.faq-group > .faq-item:last-of-type {
  margin-bottom: 14px;
}
.faq-group > .faq-item summary { padding: 16px 8px; }
.faq-group > .faq-item__answer,
.faq-group > .faq-item .faq-item__answer { padding: 0 8px 16px; }

.faq-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: background 200ms var(--ease-standard);
}
.faq-item + .faq-item { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.faq-item[open] { background: rgba(255, 255, 255, 0.04); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--md-title-medium);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease-standard);
  flex: none;
  margin-right: 4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item__answer {
  padding: 0 24px 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--md-body-medium);
  line-height: 1.65;
}

/* ===== CONTACT ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__info {
  background: var(--md-primary);
  color: #fff;
  border-radius: var(--md-shape-lg);
  padding: 40px 36px;
}
.contact__info h3 {
  color: #fff;
  font-size: var(--md-headline-medium);
  margin-bottom: 16px;
}
.contact__info p {
  color: rgba(255,255,255,0.78);
  font-size: var(--md-body-medium);
  margin-bottom: 32px;
}
.contact__channels { display: grid; gap: 20px; }

/* Google Map embed — responsive 16:9, full-width inside the aside */
.contact__map {
  margin-top: 28px;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--md-shape-md);
  overflow: hidden;
  border: 1px solid var(--md-outline-variant);
  background: var(--md-surface-variant);
  box-shadow: 0 18px 36px -18px rgba(15, 35, 80, 0.18);
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.95);
}
@media (max-width: 700px) {
  .contact__map { aspect-ratio: 4 / 3; margin-top: 22px; }
}
.contact__channel {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact__channel .icon { color: #fff; margin-top: 2px; }
.contact__channel-label {
  font-size: var(--md-label-medium);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}
.contact__channel-value {
  color: #fff;
  font-size: var(--md-body-medium);
  display: block;
  margin-top: 2px;
}
a.contact__channel-value:hover { color: #7fd5d3; }

/* Form (Material 3 outlined text fields) */
.form { display: grid; gap: 20px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.field {
  position: relative;
}
.field__input,
.field__textarea,
.field__select {
  width: 100%;
  font-family: inherit;
  font-size: var(--md-body-medium);
  color: var(--md-on-surface);
  background: transparent;
  border: 1px solid var(--md-outline);
  border-radius: var(--md-shape-xs);
  padding: 18px 16px 14px;
  outline: none;
  transition: border-color 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}
.field__textarea { min-height: 130px; resize: vertical; line-height: 1.5; }

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  border-color: var(--md-primary);
  box-shadow: inset 0 0 0 1px var(--md-primary);
}

.field__label {
  position: absolute;
  top: 16px;
  left: 14px;
  padding: 0 4px;
  background: var(--md-surface);
  color: var(--md-on-surface-variant);
  font-size: var(--md-body-medium);
  pointer-events: none;
  transition: top 150ms var(--ease-standard), font-size 150ms var(--ease-standard), color 150ms var(--ease-standard);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field__textarea:focus + .field__label,
.field__textarea:not(:placeholder-shown) + .field__label,
.field__select:focus + .field__label,
.field__select:valid + .field__label {
  top: -10px;
  font-size: 12px;
  color: var(--md-primary);
}

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--md-body-small);
  color: var(--md-on-surface-variant);
  line-height: 1.5;
}
.form__consent input { margin-top: 3px; accent-color: var(--md-primary); }

.form__submit { justify-self: start; }

.form__notice {
  font-size: var(--md-body-small);
  color: var(--md-on-surface-variant);
  background: var(--md-surface-container);
  border-left: 3px solid var(--md-tertiary);
  padding: 12px 16px;
  border-radius: var(--md-shape-xs);
  margin-top: 8px;
}

/* Form success */
.form__success {
  display: none;
  background: var(--md-tertiary-container);
  color: var(--md-on-tertiary-container);
  padding: 16px 20px;
  border-radius: var(--md-shape-md);
  font-size: var(--md-body-medium);
}
.form__success.is-visible { display: block; }

.form__error {
  background: var(--md-error-container);
  color: var(--md-on-surface);
  padding: 14px 18px;
  border-radius: var(--md-shape-md);
  font-size: var(--md-body-medium);
  margin-bottom: 12px;
  border: 1px solid rgba(224, 0, 0, 0.25);
}

/* ===== DISCLAIMER MODAL ===== */
.disclaimer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 16, 32, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.disclaimer.is-open { display: flex; }

.disclaimer__dialog {
  background: var(--md-surface);
  color: var(--md-on-surface);
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  border-radius: var(--md-shape-lg);
  box-shadow: var(--md-elev-3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.disclaimer__header {
  padding: 28px 32px 16px;
  border-bottom: 1px solid var(--md-outline-variant);
}
.disclaimer__eyebrow {
  font-size: var(--md-label-large);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--md-tertiary);
  display: block;
  margin-bottom: 8px;
}
.disclaimer__title {
  font-family: 'Roboto Flex', system-ui, sans-serif;
  font-size: var(--md-headline-medium);
  margin: 0;
}
.disclaimer__body {
  padding: 20px 32px;
  overflow-y: auto;
  font-size: var(--md-body-medium);
  color: var(--md-on-surface-variant);
  line-height: 1.65;
}
.disclaimer__body p + p { margin-top: 14px; }
.disclaimer__body strong { color: var(--md-on-surface); }
.disclaimer__footer {
  padding: 20px 32px 28px;
  border-top: 1px solid var(--md-outline-variant);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  background: var(--md-surface-container-low);
}
@media (max-width: 520px) {
  .disclaimer__header,
  .disclaimer__body,
  .disclaimer__footer { padding-inline: 20px; }
  .disclaimer__footer .btn { flex: 1; }
}

/* ===== WHATSAPP FAB ===== */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.15);
  z-index: 90;
  text-decoration: none;
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard), background 200ms var(--ease-standard);
}
.wa-fab:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.4), 0 3px 8px rgba(0,0,0,0.18);
}
.wa-fab:focus-visible {
  outline: 3px solid rgba(37,211,102,0.45);
  outline-offset: 3px;
}
.wa-fab svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.wa-fab__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #3f4146;
  color: #fff;
  font-family: 'Roboto Flex', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--md-shape-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease-standard);
  box-shadow: var(--md-elev-1);
}
.wa-fab__tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #3f4146;
}
.wa-fab:hover .wa-fab__tooltip,
.wa-fab:focus-visible .wa-fab__tooltip { opacity: 1; }

@media (max-width: 520px) {
  .wa-fab {
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
    z-index: 110;
  }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab__tooltip { display: none; }
}

/* Contact section absorbs the footer — kill the section's bottom padding
   so the merged footer block sits flush at the page edge */
#contact.section { padding-bottom: 0; }

.contact__footer.footer {
  background: var(--md-surface-container-low);
  color: var(--md-on-surface-variant);
  margin-top: 0;
  padding-block: 24px 28px;
}
.contact__footer.footer h4 { color: var(--md-on-surface); }
.contact__footer.footer p,
.contact__footer.footer a {
  color: var(--md-on-surface-variant);
}
.contact__footer.footer a:hover { color: var(--md-on-surface); }

/* Logo: don't invert to white on the light bg */
.contact__footer .footer__brand-logo--img {
  filter: none;
  opacity: 1;
}

/* Disclaimer: light card on the light grey bg */
.contact__footer .footer__disclaimer {
  background: rgba(12, 26, 48, 0.04);
  border: 1px solid var(--md-outline-variant);
  color: var(--md-on-surface-variant);
}
.contact__footer .footer__disclaimer strong { color: var(--md-on-surface) !important; }

.contact__footer .footer__bottom { color: var(--md-on-surface-variant); }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #1a2c4d 0%, #122140 55%, #0c1830 100%);
  color: rgba(255,255,255,0.7);
  padding-block: 56px 28px;
  position: relative;
  overflow: hidden;
}
.footer__container { position: relative; z-index: 1; }
.footer .container { position: relative; z-index: 1; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.footer h4 {
  color: #fff;
  font-family: 'Roboto Flex', sans-serif;
  font-size: var(--md-label-large);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer p, .footer a {
  font-size: var(--md-body-small);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.footer a:hover { color: #fff; }

.footer__brand-logo {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  color: #fff;
  --brand-accent: #ff5b6a;
}
.footer__brand-logo--img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
  /* Lift the navy strokes to white while preserving the red accent reasonably */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer__list li { line-height: 1.4; }
.footer__list a { display: inline-block; line-height: 1.4; }
.footer__list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.footer__list--inline li { line-height: 1; }

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: var(--md-body-small);
}

.footer__disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--md-shape-md);
  padding: 16px 20px;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.6);
  font-size: var(--md-body-small);
  line-height: 1.6;
}

/* ============================================================
   MOBILE — iPhone / Pixel / Samsung (≤ 540px)
   ============================================================ */

@media (max-width: 540px) {
  /* Container and global */
  :root { --gutter: 18px; }

  /* Hero — keep title from getting too large on small phones */
  .hero { padding-block: 48px 56px; }
  .hero__title { font-size: clamp(34px, 11vw, 44px); margin-top: 16px; }
  .hero__lead { font-size: 16px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__meta { gap: 24px; }
  .hero__meta-num { font-size: 28px; }

  /* Section title scaling */
  .section { padding-block: 48px; }
  .section__title { font-size: clamp(26px, 7vw, 34px); }
  .section__lead { font-size: 15px; }
  .section__head { margin-bottom: 24px; }

  /* About */
  .about__media { margin-top: 24px; }

  /* Services — flatten the layered/offset card design */
  .services-split { padding-block: 48px 56px; }
  .services-split__title { font-size: clamp(26px, 8vw, 36px); }
  .services-split__lead { font-size: 15px; }
  .services-split__heading-inner { gap: 14px; }
  .services-split__stage { gap: 28px; padding-block: 0; }
  .svc-card {
    padding-top: 0;
    padding-right: 0;
  }
  .svc-card__backdrop { display: none; }
  .svc-card__media { aspect-ratio: 16 / 11; border-radius: 14px 14px 0 0; }
  .svc-card__body {
    padding: 20px 20px 22px;
    border-radius: 0 0 14px 14px;
  }
  .svc-card__title { font-size: 20px; }
  .svc-card__body p { font-size: 14px; line-height: 1.6; }

  /* FAQs — tighter glass cards on small screens */
  #faq.section { padding-block: 56px 48px; }
  .faq__grid > .reveal:first-child { margin-bottom: 28px; }
  .faq-group { border-radius: 14px; }
  .faq-group__title { padding: 18px 18px; font-size: 16px; }
  .faq-group > .faq-item { margin: 0 12px; }
  .faq-group > .faq-item:last-of-type { margin-bottom: 12px; }
  .faq-item summary { padding: 16px 14px; font-size: 15px; }
  .faq-group > .faq-item summary { padding: 14px 6px; }
  .faq-item__answer { padding: 0 18px 18px; font-size: 14px; }
  .faq-group > .faq-item__answer,
  .faq-group > .faq-item .faq-item__answer { padding: 0 6px 14px; font-size: 14px; }

  /* Contact — form spacing for thumbs */
  #contact.section { padding-top: 56px; }
  .contact__info h3 { font-size: 22px; }
  .contact__channel { gap: 12px; }
  .contact__map iframe { height: 220px; }

  /* Form inputs — 16px to prevent iOS auto-zoom on focus */
  .field__input,
  .field__select,
  .field__textarea { font-size: 16px; }
  .form__submit { width: 100%; justify-content: center; padding: 14px 20px; }

  /* Merged footer area */
  .contact__footer { margin-top: 40px; }
  .footer { padding-block: 40px 24px; }
  .footer__disclaimer { padding: 14px 16px; font-size: 13px; }
  .footer__list--inline { gap: 8px 16px; }

  /* Mobile nav drawer — comfortable tap targets */
  .mobile-nav a { padding: 14px 0; font-size: 16px; }
}

/* ============================================================
   ULTRA-NARROW (≤ 380px — older iPhones, foldables closed)
   ============================================================ */
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .hero__title { font-size: 30px; }
  .section__title { font-size: 24px; }
  .services-split__title { font-size: 26px; }
  .svc-card__body { padding: 18px; }
  .faq-group__title { font-size: 15px; padding: 16px 14px; }
}

/* ===== LinkedIn full-width band (above footer) ===== */
.linkedin-band {
  position: relative;
  width: 100%;
  margin-top: clamp(48px, 6vw, 80px);
  background: linear-gradient(135deg, #0a66c2 0%, #004182 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: 56px clamp(24px, 5vw, 72px);
}
.linkedin-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 100% at 90% 10%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    radial-gradient(50% 90% at 10% 90%, rgba(255, 255, 255, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.linkedin-band__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.linkedin-band__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  color: #fff;
}
.linkedin-band__icon svg { width: 32px; height: 32px; }
.linkedin-band__text {
  flex: 1;
  min-width: 0;
}
.linkedin-band__eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.linkedin-band__title {
  margin: 0 0 8px 0;
  font-family: inherit;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.linkedin-band__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
}
.linkedin-band__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0a66c2;
  padding: 14px 24px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}
.linkedin-band__cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 240ms ease;
}
.linkedin-band__cta:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}
.linkedin-band__cta:hover svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .linkedin-band { padding: 40px 24px; }
  .linkedin-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }
  .linkedin-band__cta { align-self: stretch; justify-content: center; }
}

/* ===== Ribbon band (office photo, black & white, parallax) ===== */
.ribbon-band {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  background: #0C1A30;
}
.ribbon-band__img {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 240px;
  top: -90px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(100%) contrast(1.05);
  transform: translateY(var(--ribbon-y, 0));
  will-change: transform;
}

/* ===== Careers section ===== */
.careers {
  position: relative;
  background-color: #f1f5f9;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=2400&q=75');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #0C1A30;
  isolation: isolate;
}
/* Frosted glass overlay — the office bg image shows faintly through */
.careers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(241, 245, 249, 0.78);
  backdrop-filter: blur(18px) saturate(110%);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  z-index: 0;
}
.careers > .container { position: relative; z-index: 1; }
.careers__header {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 24px;
}
.careers__heading {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.careers__slash {
  display: block;
  width: 3px;
  height: 110px;
  background: #ef4444;
  transform: skewX(-18deg);
  border-radius: 1px;
  flex-shrink: 0;
  margin-top: 6px;
}
.careers__title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #0C1A30;
}
.careers__intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(12, 26, 48, 0.65);
  max-width: 36ch;
  padding-bottom: 8px;
}

.careers__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(12, 26, 48, 0.12);
}
.careers__item {
  border-bottom: 1px solid rgba(12, 26, 48, 0.12);
}
.career-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 28px 8px;
  background: transparent;
  border: none;
  color: #0C1A30;
  cursor: pointer;
  text-align: left;
  font: inherit;
  position: relative;
  transition: padding 240ms ease;
}
.career-row__title {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 500;
  color: #0C1A30;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
}
.career-row__title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #0C1A30;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1));
}
.career-row__meta {
  font-size: 15px;
  color: rgba(12, 26, 48, 0.55);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.career-row__arrow {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(12, 26, 48, 0.55);
}
.career-row__arrow svg {
  position: absolute;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 280ms ease, transform 360ms var(--ease-emphasized, ease);
}
.career-row__arrow-hover { opacity: 0; transform: translateX(-6px); }

.career-row:hover .career-row__title::after,
.career-row:focus-visible .career-row__title::after { transform: scaleX(1); }
.career-row:hover .career-row__arrow-default,
.career-row:focus-visible .career-row__arrow-default { opacity: 0; transform: translateX(6px); }
.career-row:hover .career-row__arrow-hover,
.career-row:focus-visible .career-row__arrow-hover { opacity: 1; transform: translateX(0); color: #0C1A30; }
.career-row:hover .career-row__meta,
.career-row:focus-visible .career-row__meta { color: rgba(12, 26, 48, 0.75); }
.career-row:focus-visible { outline: none; }

@media (max-width: 760px) {
  .careers__header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }
  .careers__slash { height: 56px; width: 2px; }
  .careers__heading { gap: 18px; }
  .career-row { grid-template-columns: 1fr auto; gap: 14px; padding: 22px 4px; }
  .career-row__meta { display: none; }
}

/* ===== Career modal ===== */
.career-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
}
.career-modal.is-open { pointer-events: auto; opacity: 1; }
.career-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 48, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.career-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 920px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px 44px 36px;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.32);
  transform: translateY(16px) scale(0.98);
  transition: transform 360ms var(--ease-emphasized, cubic-bezier(0.2, 0.8, 0.2, 1));
}
.career-modal.is-open .career-modal__dialog { transform: translateY(0) scale(1); }
.career-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 48, 0.1);
  background: #fff;
  color: #0C1A30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.career-modal__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.career-modal__close:hover { background: rgba(12, 26, 48, 0.06); transform: rotate(90deg); }

.career-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16a34a;
  margin-bottom: 14px;
}
.career-modal__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  animation: career-pulse 2s infinite;
}
@keyframes career-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.career-modal__title {
  margin: 0 0 14px 0;
  font-family: inherit;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #0C1A30;
}
.career-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  color: #475569;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.career-modal__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.career-modal__meta-item svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.career-modal__lead {
  margin: 0 0 28px 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #334155;
}
.career-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}
.career-modal__col-title {
  margin: 0 0 12px 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0C1A30;
}
.career-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.career-modal__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
}
.career-modal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

.career-modal__foot {
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.career-modal__apply-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #64748b;
}
.career-modal__apply-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(12, 26, 48, 0.04);
  border: 1px solid rgba(12, 26, 48, 0.1);
  border-radius: 12px;
  color: #0C1A30;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.career-modal__apply-email svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #ef4444;
  flex-shrink: 0;
}
.career-modal__apply-email:hover {
  background: rgba(12, 26, 48, 0.08);
  border-color: rgba(12, 26, 48, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(12, 26, 48, 0.12);
}

@media (max-width: 760px) {
  .career-modal__dialog { padding: 28px 22px 24px; }
  .career-modal__grid { grid-template-columns: 1fr; gap: 24px; }
  .career-modal__apply-email { width: 100%; justify-content: center; }
}
