﻿:root {
  --ws-blue-900: #002c68;
  --ws-blue-700: #0052cc;
  --ws-blue-500: #0079ff;
  --ws-blue-300: #53b2ff;
  --ws-bg: #f5f7fb;
  --ws-card-bg: #ffffff;
  --ws-text: #0f172a;
  --ws-muted: #64748b;
  --ws-radius-lg: 18px;
  --ws-radius-md: 12px;
  --ws-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --ws-shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.08);
  --ws-border-subtle: 1px solid rgba(148, 163, 184, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ws-text);
  background: var(--ws-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* Centered layout for "Why WaterScience" section */
#life .section-header {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#life .section-title {
  font-size: clamp(2.2rem, 2.6vw, 2.6rem);
}

/* Match "How We Work" typography to Why WaterScience */
#how-we-work .section-header {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#how-we-work .section-title {
  font-size: clamp(2.2rem, 2.6vw, 2.6rem);
}

#how-we-work .section-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* LIFE AT WATERSCIENCE SECTION */
.section-header-centered {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title-large {
  font-size: clamp(2.3rem, 2.8vw, 2.8rem);
}

.section-subtitle-narrow {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.life-explore-btn {
  margin-top: 1.5rem;
}

.section-life-at {
  background: radial-gradient(circle at 0 0, #e0f2fe 0, #f9fafb 55%, #eef2ff 100%);
}

.life-page-hero {
  background: radial-gradient(circle at 0 0, #1d4ed8 0, #0052cc 35%, #002c68 75%, #020617 100%);
  color: #e5e7eb;
  padding-top: 3.5rem;
  padding-bottom: 2.2rem;
}

.life-photos-section {
  padding-top: 1.6rem;
}

/* Generic light section background */
.section-soft {
  background: radial-gradient(circle at 0 0, #f1f5f9 0, #f8fafc 55%, #eef2ff 100%);
}

/* How We Work, step flow */
.work-flow-section {
  padding-top: 3.75rem;
  padding-bottom: 3.5rem;
}

/* Intro block only (matches design comp, does not affect other pages or the card row below) */
.work-flow-section-head .work-flow-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ws-blue-500);
  margin: 0 0 0.9rem;
}

.work-flow-section-head .work-flow-headline {
  font-size: clamp(1.85rem, 2.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 0.85rem;
}

.work-flow-section-head .work-flow-dek {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ws-muted);
}

.work-flow-track {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(
      0,
      1fr
    )
    auto minmax(0, 1fr);
  gap: 0.65rem 0.35rem;
  align-items: stretch;
}

.work-flow-step {
  position: relative;
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  padding: 1.35rem 1rem 1.45rem;
  text-align: center;
  min-height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.work-flow-step:hover {
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.14);
  transform: translateY(-2px);
}

.work-flow-step--loop {
  box-shadow: 0 10px 32px rgba(0, 121, 255, 0.12), var(--ws-shadow-subtle);
  border-color: rgba(0, 121, 255, 0.28);
}

.work-flow-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.95rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0052cc 0%, #0079ff 100%);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 82, 204, 0.35);
}

.work-flow-step--loop .work-flow-icon {
  background: linear-gradient(145deg, #002c68 0%, #0052cc 50%, #0ea5e9 100%);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
}

.work-flow-num {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
  background: rgba(0, 82, 204, 0.1);
  color: #0052cc;
}

.work-flow-title {
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
  line-height: 1.3;
  color: var(--ws-text);
}

.work-flow-copy {
  font-size: 0.82rem;
  color: var(--ws-muted);
  line-height: 1.5;
  margin: 0;
}

.work-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052cc;
  opacity: 0.88;
  min-width: 1.5rem;
}

.work-flow-arrow-svg--down {
  display: none;
}

@media (max-width: 1080px) {
  .work-flow-track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    gap: 0;
  }

  .work-flow-step {
    padding: 1.45rem 1.15rem 1.5rem;
  }

  .work-flow-arrow {
    padding: 0.35rem 0 0.5rem;
    min-height: 2rem;
  }

  .work-flow-arrow-svg--right {
    display: none;
  }

  .work-flow-arrow-svg--down {
    display: block;
  }
}

.subsection-block {
  margin-top: 2.2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.subsection-title {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 0.45rem;
}

.subsection-copy {
  color: var(--ws-muted);
}

/* Horizontal photo strip (placeholders) */
.photo-slider {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.55rem;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #e2e8f0;
}

.photo-strip::-webkit-scrollbar {
  height: 10px;
}

.photo-strip::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 999px;
}

.photo-strip::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
  border: 2px solid #e2e8f0;
}

.photo-strip::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

@media (min-width: 721px) {
  .photo-strip {
    scrollbar-color: #64748b #cbd5e1;
  }

  .photo-strip::-webkit-scrollbar {
    height: 12px;
  }

  .photo-strip::-webkit-scrollbar-track {
    background: #cbd5e1;
  }

  .photo-strip::-webkit-scrollbar-thumb {
    background: #64748b;
    border-color: #cbd5e1;
  }

  .photo-strip::-webkit-scrollbar-thumb:hover {
    background: #475569;
  }
}

.photo-strip .photo-placeholder {
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  scroll-snap-align: start;
}

.photo-strip .photo-strip-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--ws-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: block;
  scroll-snap-align: start;
}

/* Principles / perks blocks */
.principles-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.principle {
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  padding: 1.2rem 1.2rem 1.3rem;
  text-align: center;
}

.principle-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, #e0f2fe, #bfdbfe);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.principle-title {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.principle-copy {
  font-size: 0.9rem;
  color: var(--ws-muted);
}

/* Typical day cards */
.day-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.day-card {
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  padding: 1.2rem 1.2rem 1.3rem;
  text-align: center;
}

.day-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, #e0f2fe, #bfdbfe);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.day-title {
  font-size: 1rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.day-copy {
  font-size: 0.9rem;
  color: var(--ws-muted);
}

/* Final CTA */
.section-cta {
  padding-top: 4.5rem;
}

.final-cta {
  border-radius: var(--ws-radius-lg);
  background: radial-gradient(circle at 0 0, #e0f2fe, #bfdbfe 35%, #60a5fa 80%);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.3);
  padding: 2.2rem 1.8rem;
  text-align: center;
}

.final-cta-title {
  font-size: clamp(2rem, 2.4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.final-cta-sub {
  max-width: 680px;
  margin: 0 auto 1.4rem;
  color: rgba(15, 23, 42, 0.78);
}

/* Open roles filters (mock) */
.jobs-filters {
  margin: 1.8rem auto 0;
  max-width: 960px;
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  padding: 1.1rem 1.1rem;
}

.jobs-filters-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: center;
}

.jobs-input,
.jobs-select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #ffffff;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
}

.jobs-input::placeholder {
  color: rgba(100, 116, 139, 0.85);
}

.jobs-input:focus,
.jobs-select:focus {
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

@media (max-width: 960px) {
  .jobs-filters-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .jobs-search {
    grid-column: 1 / -1;
  }
}

/* Job list (Odoo / API) */
.jobs-count {
  max-width: 960px;
  margin: 1.25rem auto 0;
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.65);
  min-height: 1.25rem;
}

.jobs-list {
  max-width: 960px;
  margin: 0.75rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.jobs-loading,
.jobs-empty,
.jobs-error {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  color: rgba(15, 23, 42, 0.65);
  font-size: 0.95rem;
}

.jobs-error {
  color: #b91c1c;
}

.jobs-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
}

.jobs-card-main {
  flex: 1;
  min-width: min(100%, 240px);
}

.jobs-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.jobs-card-link {
  color: inherit;
}

.jobs-card-link:hover {
  color: #1d4ed8;
}

.jobs-card-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.875rem;
  color: rgba(15, 23, 42, 0.68);
}

.jobs-card-meta li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.jobs-meta-icon {
  opacity: 0.75;
  font-size: 0.85rem;
}

.jobs-card-tag {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.jobs-card-summary {
  margin-top: 0.65rem;
  color: rgba(15, 23, 42, 0.75);
  font-size: 0.92rem;
}

.jobs-apply {
  flex-shrink: 0;
  align-self: center;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.job-detail-hero {
  background: linear-gradient(135deg, #0052cc, #0b66ff 45%, #1d4ed8);
  color: #f8fafc;
  padding: 1.2rem 0 1.5rem;
}

.job-detail-head {
  max-width: 960px;
  margin: 0 auto;
  color: #f8fafc;
  border-radius: 0;
  padding: 0.4rem 0 0.2rem;
  box-shadow: none;
}

.job-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #e2e8f0;
}

.job-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.job-title-logo {
  width: 152px;
  height: 18px;
  border-radius: 12px;
  background: #ffffff;
  padding: 8px 12px;
  flex-shrink: 0;
}

.job-title-wrap {
  min-width: 0;
}

.job-detail-actions {
  margin-top: 0.95rem;
}

.job-detail-head .section-title {
  color: #ffffff;
  margin-bottom: 0.2rem;
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.job-code-line {
  color: rgba(241, 245, 249, 0.92);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.job-detail-head .jobs-card-meta {
  color: rgba(241, 245, 249, 0.95);
  font-size: 1.05rem;
  gap: 0.9rem 1.25rem;
}

.job-detail-head .jobs-meta-icon {
  opacity: 0.9;
}

.jobs-meta-icon-location {
  line-height: 1;
}

.jobs-location-pin {
  width: 15px;
  height: 15px;
  display: inline-block;
  color: #0b1f5e;
}

.job-detail-actions .btn-primary {
  background: #ffffff;
  color: #0b4ed1;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18);
}

.job-detail-actions .btn-primary:hover {
  background: #eff6ff;
  color: #0b4ed1;
}

.job-detail-body {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-detail-section {
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  padding: 1.2rem 1.3rem;
}

.job-detail-section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.job-detail-richtext {
  color: #0f172a;
}

.job-detail-richtext p + p {
  margin-top: 0.7rem;
}

.job-detail-richtext ul,
.job-detail-richtext ol {
  margin-left: 1.1rem;
}

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

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

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

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

@media (max-width: 720px) {
  .principles-grid,
  .day-grid,
  .values-grid,
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .job-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-title-logo {
    display: none;
  }

  .jobs-card {
    flex-direction: column;
    align-items: stretch;
  }

  .jobs-apply {
    align-self: stretch;
    text-align: center;
  }

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

  .photo-slider .life-arrow {
    display: none;
  }

  .how-work-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.life-page-hero .section-eyebrow {
  color: rgba(191, 219, 254, 0.95);
}

.life-page-hero .life-page-title {
  color: #ffffff;
}

.life-page-hero .life-page-subtitle {
  color: rgba(226, 232, 240, 0.82);
}

.life-page-title {
  font-size: clamp(2.8rem, 3.6vw, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
}

.life-page-subtitle {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: var(--ws-muted);
}

/* Photo placeholders + grids (Life page) */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  border-radius: var(--ws-radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.55), rgba(241, 245, 249, 0.75));
}

.life-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.life-photo-tile {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--ws-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

/* Keep Life photos section tiles equal height on every row */
.life-photos-section .life-photo-tile {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.life-photos-section .life-photo-tile:nth-child(4) {
  object-position: center top;
}

/* Boardroom group shot: match placeholder frame, crop ceiling/table edges */
.life-photo-tile-boardroom {
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
}

/* Where you'll work cards */
.work-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.work-card {
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  padding: 1.4rem 1.4rem 1.2rem;
}

.work-card-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 1rem;
}

.work-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, #e0f2fe, #bfdbfe);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
  font-size: 1.05rem;
}

.work-card-title {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.work-card-copy {
  font-size: 0.92rem;
  color: var(--ws-muted);
}

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

.work-card-media .photo-placeholder {
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  border-radius: 18px;
}

.work-card-media .work-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: block;
}

.work-card-media .work-card-photo:first-child {
  object-position: left center;
}

.work-card-media .work-card-photo:last-child {
  object-position: left 40%;
}

.work-card-media .work-card-photo-heads {
  object-position: center top;
}

.work-card-media .work-card-photo-center {
  object-position: center center;
}

@media (max-width: 960px) {
  .work-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .life-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .life-photo-tile {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .life-photos-section .life-photo-tile {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }

  .life-photos-section .life-photo-tile:nth-child(4) {
    object-position: center top;
  }

  /* Life in Action + Beyond Work sports: fill boxes on mobile like desktop */
  #life-in-action .life-photo-tile,
  #beyond-work-photos .life-photo-tile,
  .life-photo-tile-boardroom {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  #life-in-action .life-photo-tile:nth-child(2) {
    object-position: center 42%;
  }

  .work-card-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

.life-stories {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
}

.life-stories-track {
  position: relative;
  overflow: hidden;
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  touch-action: pan-y;
}

.life-story-track-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
  transition: transform 0.6s ease;
}

.life-story {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 0.9rem 1.7rem;
}

.life-story-photo {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  background: radial-gradient(circle at 0 0, #4f46e5, #7c3aed 40%, #020617 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.life-story-photo picture,
.life-story-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

.life-story-photo img {
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}

.life-story-content {
  font-size: 0.95rem;
  min-width: 0;
}

.life-quote {
  margin-bottom: 0.8rem;
  color: #111827;
}

.life-quote-mobile {
  display: none;
}

.life-name {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.life-role {
  font-size: 0.85rem;
  color: var(--ws-muted);
}

.life-arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111827;
}

.life-arrow:hover {
  background: #eff6ff;
  border-color: rgba(59, 130, 246, 0.8);
}

.life-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile overrides must come AFTER base .life-stories rules (cascade). */
@media (max-width: 720px) {
  .life-stories {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "track";
    gap: 0;
  }

  .life-stories-track {
    grid-area: track;
    width: 100%;
  }

  .life-stories > .life-arrow {
    display: none;
  }

  .life-story {
    /* photo sized to content; text fills all remaining space */
    grid-template-columns: auto minmax(0, 1fr);
    text-align: left;
    align-items: stretch;
    gap: 0.4cm;
    padding: 0.75rem 0.5cm;
  }

  .life-story-photo {
    margin: 0;
    width: 96px;
    height: auto;
    min-height: 100%;
    align-self: stretch;
    border-radius: 14px;
  }

  .life-story-photo-has-img {
    background: #e2e8f0;
  }

  .life-story-photo img {
    object-position: center top;
  }

  .life-story-content {
    min-width: 0;
    width: 100%;
  }

  .life-quote-desktop {
    display: none;
  }

  .life-quote-mobile {
    display: block;
  }
}

/* VALUES GRID (IMAGES) */
.values-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.values-card {
  border-radius: var(--ws-radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.values-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.values-visual {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ws-blue-700), var(--ws-blue-500));
}

.values-visual svg {
  width: 44px;
  height: 44px;
}

.values-caption {
  padding: 0.9rem 1rem 1.1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ws-text);
}

.values-rich-section {
  padding-top: 3.2rem;
  padding-bottom: 4rem;
}

.values-rich-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.values-rich-card {
  position: relative;
  overflow: hidden;
  background: var(--ws-card-bg);
  border: var(--ws-border-subtle);
  border-radius: var(--ws-radius-lg);
  box-shadow: var(--ws-shadow-subtle);
  padding: 2rem 1.9rem 2.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.values-rich-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 44, 104, 0.14);
}

.values-rich-number {
  position: absolute;
  top: 0.4rem;
  right: 1.2rem;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--ws-blue-900);
  opacity: 0.06;
  line-height: 1;
}

.values-rich-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ws-blue-700), var(--ws-blue-500));
  margin-bottom: 1.1rem;
}

.values-rich-icon svg {
  width: 28px;
  height: 28px;
}

.values-rich-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ws-text);
  margin-bottom: 0.6rem;
}

.values-rich-text {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--ws-muted);
}

@media (max-width: 860px) {
  .values-rich-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ws-blue-500);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--ws-muted);
  font-size: 0.98rem;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.92));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-image,
.job-title-logo {
  object-fit: contain;
  object-position: left center;
  display: block;
  max-width: 100%;
}

.logo-image {
  height: 30px;
  width: 252px;
}

.logo-mark {
  width: 30px;
  height: 22px;
  border-radius: 99px;
  background: radial-gradient(circle at 0 0, #ffffff 0, #bddcff 18%, #0052cc 52%, #002c68 100%);
  position: relative;
  overflow: hidden;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 35% 4px auto 4px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top: none;
}

.logo-text {
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.03em;
  font-size: 1rem;
}

.logo-dot {
  color: var(--ws-blue-300);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
  color: #0f172a;
}

.nav-link {
  position: relative;
  cursor: pointer;
  padding-bottom: 0.1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ws-blue-300), var(--ws-blue-500));
  border-radius: 999px;
  transition: width 0.22s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.is-active::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  display: none;
  color: var(--ws-blue-700);
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: rgba(255, 255, 255, 0.95);
}

.nav-cta:hover {
  background: #e0f2fe;
  border-color: var(--ws-blue-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover {
  background: #e0f2fe;
  border-color: var(--ws-blue-500);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease,
    border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ws-blue-500), var(--ws-blue-300));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, var(--ws-blue-700), var(--ws-blue-300));
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.8);
  transform: translateY(-1px);
}

/* Navbar "View open roles" button on light background */
.navbar .nav-cta {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ws-blue-700);
  border-color: rgba(148, 163, 184, 0.9);
}

.navbar .nav-cta:hover {
  background: #e0f2fe;
  border-color: var(--ws-blue-500);
}

.btn-secondary {
  background: #0f172a;
  color: #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.32);
  border-radius: 999px;
  padding-inline: 1.5rem;
}

.btn-secondary:hover {
  background: #020617;
  transform: translateY(-1px);
}

/* HERO */
.hero-wrapper {
  background: radial-gradient(circle at 0 0, #1d4ed8 0, #0052cc 25%, #002c68 65%, #020617 100%);
  color: #e5e7eb;
  padding-bottom: 4.5rem;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.6);
}

.hero-wrapper.hero-alt {
  background: radial-gradient(circle at 100% 0, #020617 0, #002c68 35%, #0052cc 75%, #1d4ed8 100%);
}

.hero {
  padding: 3.6rem 0 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 3.2rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 650;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-highlight {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: rgba(226, 232, 240, 0.78);
  max-width: 470px;
  margin-bottom: 1.6rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.hero-badge {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.24), transparent 55%);
}

.hero-badges-center {
  justify-content: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.82rem;
  color: rgba(209, 213, 219, 0.8);
}

.hero-meta strong {
  color: #e5e7eb;
  font-weight: 600;
}

.hero-title-center {
  text-align: center;
}

.hero-title-secondary {
  font-size: clamp(2.1rem, 2.8vw, 2.8rem);
}

.hero-subtitle-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions-center {
  justify-content: center;
}

.hero-meta-center {
  justify-content: center;
}

/* Hero slider dots */
.hero-slider {
  position: relative;
  text-align: center;
  overflow: hidden;
  touch-action: pan-y;
}

.hero-slide-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.6s ease;
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.hero-dots {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: none;
  background: rgba(191, 219, 254, 0.75);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-dot.is-active {
  background: #7c3aed;
  transform: scale(1.15);
}

/* HERO IMAGES GRID */
.hero-media {
  min-height: 280px;
}

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

.hero-media-card {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--ws-shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.8), rgba(15, 23, 42, 0.98));
}

.hero-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-media-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.94), transparent);
  color: #e5e7eb;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.hero-media-label span {
  opacity: 0.85;
}

.hero-media-label small {
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.95);
}

/* CARD STYLES */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: var(--ws-radius-lg);
  background: var(--ws-card-bg);
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  padding: 1.6rem 1.4rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.11), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.55);
  background: #f9fafb;
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  background: radial-gradient(circle at 0 0, #e0f2fe, #bfdbfe);
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.3);
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-align: center;
}

.card-copy {
  font-size: 0.92rem;
  color: var(--ws-muted);
  text-align: center;
}

/* HOW WE WORK SLIDER */
.how-work-slider {
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  border: var(--ws-border-subtle);
  box-shadow: var(--ws-shadow-subtle);
  padding: 1.8rem 1.8rem 1.6rem;
}

.how-work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.how-work-copy h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.how-work-copy p + p {
  margin-top: 0.6rem;
}

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

.how-work-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--ws-shadow-subtle);
}

.how-work-slide {
  display: none;
}

.how-work-slide.is-active {
  display: block;
}

.how-work-dots {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.how-work-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.how-work-dot.is-active {
  background: #7c3aed;
  transform: scale(1.15);
}

/* OPEN ROLES */
#open-roles {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.roles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.roles-meta {
  font-size: 0.9rem;
  color: var(--ws-muted);
}

.roles-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  background: #e0f2fe;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.roles-meta small {
  display: block;
  margin-top: 0.6rem;
}

.roles-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #16a34a;
}

.roles-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.role-card {
  padding: 1.2rem 1.2rem 1.3rem;
  border-radius: var(--ws-radius-lg);
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 1rem;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
  border-color: rgba(37, 99, 235, 0.7);
  background: #f9fafb;
}

.role-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.role-title {
  font-weight: 600;
  font-size: 1rem;
}

.role-tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--ws-muted);
  margin-bottom: 0.35rem;
}

.role-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.role-desc {
  font-size: 0.86rem;
  color: var(--ws-muted);
}

.role-cta .btn {
  padding-inline: 1.25rem;
  font-size: 0.86rem;
}

/* CTA BANNER */
.cta-banner {
  margin: 0 auto 4.5rem;
  max-width: 960px;
  border-radius: 999px;
  padding: 1.3rem 1.7rem;
  background: radial-gradient(circle at 0 0, #e0f2fe, #bfdbfe 35%, #60a5fa 80%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.3);
}

.cta-banner-text {
  font-size: 0.98rem;
  font-weight: 500;
  color: #0f172a;
}

.cta-banner-sub {
  font-size: 0.82rem;
  color: #1f2937;
  opacity: 0.86;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  background: #020617;
  color: #9ca3af;
  padding: 1.6rem 0 1.8rem;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  font-size: 0.84rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  color: #e5e7eb;
  opacity: 0.75;
  transition: opacity 0.18s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-email a {
  color: #e0f2fe;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2rem;
    gap: 1.5rem;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-title,
  .hero-title-secondary {
    font-size: clamp(1.65rem, 5vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: 0.86rem;
  }

  .life-page-hero {
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
  }

  .life-page-title {
    font-size: clamp(1.45rem, 4.5vw, 1.85rem);
  }

  .life-page-subtitle {
    font-size: 0.84rem;
  }

  .final-cta-title {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
  }

  .media-1,
  .media-2,
  .media-3,
  .media-4 {
    transform: none;
  }

  .media-1 {
    top: 0;
    left: 0;
    width: 58%;
  }

  .media-2 {
    top: 8%;
    right: 3%;
    width: 46%;
  }

  .media-3 {
    bottom: 8%;
    left: 3%;
    width: 46%;
  }

  .media-4 {
    bottom: -2%;
    right: 0;
    width: 58%;
  }

  #why-work.card-grid,
  #what-we-do .cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-banner {
    border-radius: 24px;
    align-items: flex-start;
  }

  .nav-cta {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .navbar-inner {
    padding-block: 0.5rem;
    flex-wrap: wrap;
    position: relative;
  }

  .logo-image {
    height: 21px;
    width: 180px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    gap: 4px;
  }

  .nav-toggle-bar {
    width: 15px;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: -1.5rem;
    right: -1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    z-index: 60;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link::after {
    bottom: 0.55rem;
  }

  .nav-actions .nav-cta {
    display: none;
  }

  .nav-links .nav-cta-mobile {
    display: inline-flex;
    margin-top: 0.75rem;
    justify-content: center;
    width: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-wrapper {
    padding-bottom: 2rem;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.45);
  }

  .hero {
    padding: 1.6rem 0 1.25rem;
    gap: 1.15rem;
  }

  .hero-title,
  .hero-title-secondary {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 0.55rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    max-width: none;
  }

  .hero-badges {
    gap: 0.4rem;
    margin-bottom: 0.85rem;
  }

  .hero-badge {
    font-size: 0.66rem;
    padding: 0.28rem 0.55rem;
    line-height: 1.35;
  }

  .hero-actions {
    gap: 0.5rem;
    margin-bottom: 0.85rem;
  }

  .hero-meta {
    font-size: 0.72rem;
    gap: 0.55rem 0.85rem;
    line-height: 1.4;
  }

  .hero-dots {
    margin-top: 0.75rem;
    gap: 0.4rem;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media-grid {
    gap: 0.55rem;
  }

  .hero-media-card {
    border-radius: 14px;
    aspect-ratio: 3 / 2;
  }

  .hero-media-label {
    padding: 0.4rem 0.5rem;
    font-size: 0.58rem;
    gap: 0.35rem;
  }

  .hero-media-label small {
    font-size: 0.52rem;
  }

  .life-photo-tile {
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: var(--ws-radius-md);
  }

  .life-photos-section .life-photo-tile {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }

  .life-photos-section .life-photo-tile:nth-child(4) {
    object-position: center top;
  }

  #life-in-action .life-photo-tile,
  #beyond-work-photos .life-photo-tile,
  .life-photo-tile-boardroom {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  #life-in-action .life-photo-tile:nth-child(2) {
    object-position: center 42%;
  }

  .photo-placeholder,
  .work-card-media .photo-placeholder,
  .photo-strip .photo-placeholder {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    border-radius: var(--ws-radius-md);
  }

  .photo-strip {
    grid-auto-columns: minmax(160px, 70vw);
    gap: 0.5rem;
  }

  .photo-slider {
    margin-top: 1.25rem;
    gap: 0.55rem;
  }

  .values-card img {
    height: auto;
    object-fit: contain;
  }

  .how-work-grid img {
    height: 88px;
    border-radius: 12px;
  }

  .life-story-photo {
    width: 88px;
    height: 88px;
    border-radius: 14px;
  }

  .life-story-photo-has-img {
    width: 96px;
    height: auto;
    min-height: 100%;
    align-self: stretch;
  }

  .life-quote {
    font-size: 0.82rem;
  }

  .life-name {
    font-size: 0.88rem;
  }

  .life-role {
    font-size: 0.74rem;
  }

  .section-eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
  }

  .life-page-title {
    font-size: 1.45rem;
    line-height: 1.12;
    margin-bottom: 0.45rem;
  }

  .life-page-subtitle {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .life-page-hero {
    padding-top: 1.25rem !important;
    padding-bottom: 1rem !important;
  }

  .life-photos-section {
    padding-top: 0.75rem;
  }

  .life-photo-grid {
    gap: 0.55rem;
  }

  .work-cards {
    gap: 0.85rem;
    margin-top: 1.1rem;
  }

  .work-card {
    padding: 0.85rem 0.9rem 0.75rem;
    border-radius: var(--ws-radius-md);
  }

  .work-card-head {
    gap: 0.55rem;
    margin-bottom: 0.6rem;
  }

  .work-card-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .work-card-title {
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
  }

  .work-card-copy {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .work-card-media {
    gap: 0.5rem;
  }

  .principles-grid,
  .day-grid {
    gap: 0.65rem;
    margin-top: 1.1rem;
  }

  .principle,
  .day-card {
    padding: 0.8rem 0.75rem 0.85rem;
    border-radius: var(--ws-radius-md);
  }

  .principle-icon,
  .day-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .principle-title,
  .day-title {
    font-size: 0.86rem;
    margin-bottom: 0.2rem;
  }

  .principle-copy,
  .day-copy {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .subsection-block {
    margin-top: 1.1rem;
  }

  .subsection-title {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .subsection-copy {
    font-size: 0.76rem;
  }

  .section-cta {
    padding-top: 1.75rem;
  }

  .final-cta {
    padding: 1rem 0.9rem;
    border-radius: var(--ws-radius-md);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
  }

  .final-cta-title {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
  }

  .final-cta-sub {
    font-size: 0.76rem;
    margin-bottom: 0.75rem;
  }

  .work-flow-section {
    padding-top: 1.35rem;
    padding-bottom: 1.1rem;
  }

  .work-flow-section-head .work-flow-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.4rem;
  }

  .work-flow-track {
    margin-top: 1.1rem;
  }

  .work-flow-step {
    padding: 0.8rem 0.7rem 0.9rem;
    border-radius: var(--ws-radius-md);
  }

  .life-explore-btn {
    margin-top: 0.75rem;
  }

  .life-stories {
    margin-top: 1.1rem;
  }

  .life-story {
    padding: 0.7rem 0.5cm;
  }

  .life-arrow {
    width: 36px;
    height: 36px;
  }

  .life-arrow svg {
    width: 16px;
    height: 16px;
  }

  .card-grid {
    gap: 0.7rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1.1rem;
  }

  .values-card {
    border-radius: var(--ws-radius-md);
  }

  .values-caption {
    padding: 0.7rem 0.55rem 0.85rem;
    font-size: 0.82rem;
    line-height: 1.25;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: none;
  }

  .values-visual {
    height: 110px;
  }

  .values-visual svg {
    width: 36px;
    height: 36px;
  }

  .how-work-slider {
    padding: 1rem 0.95rem 0.85rem;
  }

  .how-work-layout {
    gap: 1rem;
  }

  .how-work-copy h3 {
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
  }

  .how-work-copy p {
    font-size: 0.76rem;
  }

  #life .section-title,
  #how-we-work .section-title {
    font-size: 1.2rem;
  }

  body {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .job-detail-hero {
    padding: 0.85rem 0 1rem;
  }

  .job-detail-back {
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
  }

  .job-detail-head .section-title {
    font-size: 1.35rem;
  }

  .job-code-line {
    font-size: 0.74rem;
  }

  .job-detail-head .jobs-card-meta {
    font-size: 0.78rem;
    gap: 0.45rem 0.75rem;
  }

  .job-detail-section {
    padding: 0.85rem 0.9rem;
  }

  .job-detail-section h2 {
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
  }

  .job-detail-richtext {
    font-size: 0.82rem;
  }

  .work-flow-headline {
    font-size: 1.25rem;
  }

  .work-flow-dek {
    font-size: 0.82rem;
  }

  .work-flow-title {
    font-size: 0.82rem;
  }

  .work-flow-copy {
    font-size: 0.72rem;
  }

  .work-flow-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.65rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  main > .section:first-child {
    padding-top: 1.5rem;
  }

  .section-header {
    margin-bottom: 1.25rem;
  }

  .section-title-large {
    font-size: 1.55rem;
    margin-bottom: 0.45rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-subtitle,
  .section-subtitle-narrow {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .jobs-filters {
    margin-top: 0.85rem;
    padding: 0.6rem 0.65rem;
    border-radius: var(--ws-radius-md);
  }

  .jobs-filters-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .jobs-input,
  .jobs-select {
    padding: 0.48rem 0.55rem;
    font-size: 0.78rem;
    border-radius: 8px;
  }

  .jobs-count {
    margin-top: 0.65rem;
    font-size: 0.78rem;
    min-height: 1rem;
  }

  .jobs-list {
    margin-top: 0.45rem;
    gap: 0.55rem;
  }

  .jobs-card {
    padding: 0.8rem 0.85rem;
    gap: 0.55rem;
    border-radius: var(--ws-radius-md);
  }

  .jobs-card-title {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .jobs-card-meta {
    font-size: 0.74rem;
    gap: 0.35rem 0.65rem;
  }

  .jobs-card-tag {
    margin-top: 0.45rem;
    padding: 0.12rem 0.45rem;
    font-size: 0.68rem;
  }

  .jobs-card-summary {
    margin-top: 0.45rem;
    font-size: 0.8rem;
  }

  .jobs-apply {
    padding: 0.42rem 0.75rem;
    font-size: 0.76rem;
  }

  .btn {
    padding: 0.52rem 1rem;
    font-size: 0.82rem;
  }

  .cta-banner {
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner-text {
    font-size: 0.88rem;
  }

  .cta-banner-sub {
    font-size: 0.74rem;
  }

  .cta-banner .btn {
    width: 100%;
  }

  #open-roles {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }

  #why-work.card-grid,
  #what-we-do .cards-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .role-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

.nav-links .nav-cta-mobile {
  display: none;
}

@media (max-width: 480px) {
  .logo-image {
    height: 19px;
    width: 156px;
  }

  .navbar-inner {
    padding-block: 0.4rem;
  }

  .hero-title,
  .hero-title-secondary {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
  }

  .hero-subtitle {
    font-size: 0.74rem;
    margin-bottom: 0.7rem;
  }

  .hero-badge {
    font-size: 0.62rem;
    padding: 0.24rem 0.48rem;
  }

  .hero-badges {
    gap: 0.32rem;
    margin-bottom: 0.7rem;
  }

  .hero-meta {
    font-size: 0.68rem;
  }

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

  .hero-media-card {
    border-radius: 10px;
    aspect-ratio: 3 / 2;
  }

  .hero-media-label {
    padding: 0.32rem 0.42rem;
    font-size: 0.52rem;
  }

  .hero-media-label small {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.48rem 0.85rem;
    font-size: 0.8rem;
  }

  .hero-meta {
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
  }

  .life-photo-grid {
    gap: 0.4rem;
  }

  .life-page-title {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
  }

  .life-page-subtitle {
    font-size: 0.72rem;
  }

  .life-page-hero {
    padding-top: 1rem !important;
    padding-bottom: 0.85rem !important;
  }

  .section-title {
    font-size: 1.08rem;
  }

  .work-card-title,
  .principle-title,
  .day-title {
    font-size: 0.82rem;
  }

  .work-card-copy,
  .principle-copy,
  .day-copy {
    font-size: 0.7rem;
  }

  .final-cta-title {
    font-size: 1.05rem;
  }

  .final-cta-sub {
    font-size: 0.72rem;
  }

  .work-flow-headline {
    font-size: 1.05rem;
  }

  .work-flow-dek {
    font-size: 0.74rem;
  }

  .work-flow-step {
    padding: 0.7rem 0.65rem 0.8rem;
  }

  .card {
    padding: 0.85rem 0.8rem 0.9rem;
  }

  .card-title {
    font-size: 0.86rem;
  }

  .card-copy {
    font-size: 0.76rem;
  }

  .container {
    padding: 0 0.85rem;
  }

  .section {
    padding: 1.75rem 0;
  }

  main > .section:first-child {
    padding-top: 1rem;
  }

  .section-title-large {
    font-size: 1.25rem;
  }

  .section-subtitle,
  .section-subtitle-narrow {
    font-size: 0.76rem;
  }

  .jobs-filters {
    margin-top: 0.65rem;
    padding: 0.5rem 0.55rem;
  }

  .jobs-filters-row {
    gap: 0.4rem;
  }

  .jobs-input,
  .jobs-select {
    padding: 0.42rem 0.5rem;
    font-size: 0.74rem;
  }

  .jobs-card {
    padding: 0.7rem 0.75rem;
  }

  .jobs-card-title {
    font-size: 0.88rem;
  }

  .job-detail-head .section-title {
    font-size: 1.15rem;
  }

  .job-title-logo {
    width: 96px;
    height: 11px;
  }

  .footer-inner {
    font-size: 0.76rem;
    gap: 0.85rem;
  }
}

