/* ════════════════════════════════════════════════════
   COMETA SHARED STYLES
   Design system for the entire site.
   Page-specific styles live in each page's <style> block.
════════════════════════════════════════════════════ */

/* ── AEONIK FONT ── */
@font-face {
  font-family: 'Aeonik';
  src: url('/fonts/Aeonik-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/fonts/Aeonik-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/fonts/Aeonik-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik';
  src: url('/fonts/Aeonik-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

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

:root {
  --dark:  #212327;
  --gray:  #555a65;
  --gray2: #888;
  --white: #ffffff;
  --gold:  #D09305;
  --amber: #FFB300;
  --font:  'Aeonik', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

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

/* ════════════════════════════════════════════════════
   UTILITY NAV  (top bar)
════════════════════════════════════════════════════ */
.util-nav {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 1900;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 12px 52px;
  pointer-events: none;
}
.util-nav a {
  font-size: 12px; font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-left: 28px;
  letter-spacing: 0.02em;
  pointer-events: all;
  transition: color 0.2s;
}
.util-nav a:hover { color: #fff; }
.util-nav.dark a   { color: rgba(33,35,39,0.55); }
.util-nav.dark a:hover { color: var(--dark); }

/* ════════════════════════════════════════════════════
   MAIN NAV
════════════════════════════════════════════════════ */
.main-nav {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 2000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  height: 80px;
  margin-top: 36px;
  transition: background 0.35s, backdrop-filter 0.35s, margin-top 0.35s,
              height 0.35s, box-shadow 0.35s, border-radius 0.35s;
}
.main-nav.scrolled {
  position: fixed;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  margin-top: 0;
  height: 68px;
  border-radius: 0 0 12px 12px;
}
.nav-logo {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  color: white;
}
.main-nav.scrolled .nav-logo { color: var(--dark); }
.nav-logo svg {
  height: 28px; width: auto; fill: white; display: block;
  transition: fill 0.35s;
}
.main-nav.scrolled .nav-logo svg { fill: var(--dark); }
.nav-logo::after {
  content: "R";
  position: absolute;
  right: 17px;
  bottom: 1px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  font-size: 4.8px;
  font-weight: 500;
  line-height: 6px;
  text-align: center;
}
.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-item { position: relative; }
.nav-links a, .nav-item > a {
  display: inline-block;
  padding: 6px 0;
  font-size: 17px; font-weight: 400;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.nav-links a:hover, .nav-item > a:hover { opacity: 0.6; }
.main-nav.scrolled .nav-links a,
.main-nav.scrolled .nav-item > a { color: var(--dark); }

/* ────────────────────────────────────────────────
   NAV DROPDOWN  (mega-menu shown on hover)
──────────────────────────────────────────────── */
.nav-dropdown {
  position: fixed;
  top: 116px; /* main-nav margin-top (36px) + height (80px) */
  left: clamp(24px, 2.7vw, 52px);
  right: clamp(24px, 2.7vw, 52px);
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: clamp(40px, 5vw, 80px);
  padding: clamp(40px, 5vh, 64px) clamp(40px, 5vw, 80px);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1950;
}
.main-nav.scrolled .nav-dropdown { top: 68px; }
.nav-item:hover .nav-dropdown,
.nav-dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-dropdown__preview {
  width: 38%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--dark);
}
.nav-dropdown__preview-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: #ebebeb;
}
.nav-dropdown__preview-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.nav-dropdown__preview:hover .nav-dropdown__preview-image img { transform: scale(1.03); }
.nav-dropdown__preview-title {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 400;
  color: var(--dark);
  margin: 8px 0 4px;
}
.nav-dropdown__preview-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
  max-width: 420px;
}
.nav-dropdown__preview-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  font-size: 18px;
  color: var(--dark);
  transition: transform 0.2s ease;
}
.nav-dropdown__preview:hover .nav-dropdown__preview-arrow { transform: translateX(6px); }

.nav-dropdown__items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-left: 1px solid #ebebeb;
  padding-left: clamp(32px, 4vw, 56px);
}
.nav-dropdown__item {
  display: block;
  color: var(--dark);
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.nav-dropdown__item:hover { padding-left: 8px; }
.nav-dropdown__item h4 {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--dark);
  transition: color 0.2s ease;
}
.nav-dropdown__item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
  margin: 0;
  max-width: 640px;
}
.nav-dropdown__item:hover h4 { color: var(--gold); }

@media (max-width: 1100px) {
  .nav-dropdown { display: none; }
}

.nav-hamburger {
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: white;
  transition: background 0.35s, transform 0.4s cubic-bezier(0,0,0,1);
  transform-origin: center;
}
.main-nav.scrolled .nav-hamburger span { background: var(--dark); }

/* While the drawer is open, the two lines converge into a clean, centred X
   and the bars darken so they read against the white drawer. */
body.drawer-open .nav-hamburger span { background: var(--dark); }
body.drawer-open .nav-hamburger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.drawer-open .nav-hamburger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Pin the nav above the full-screen drawer and reveal only the X.
   Clear the scrolled-state blur/background so the drawer logo behind the
   (transparent) nav stays crisp instead of being blurred by it. */
body.drawer-open .main-nav {
  position: fixed; top: 0; margin-top: 0; height: 80px;
  z-index: 2300; background: transparent; box-shadow: none; border-radius: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.drawer-open .util-nav,
body.drawer-open .nav-logo { opacity: 0; visibility: hidden; }

/* ════════════════════════════════════════════════════
   SLIDE-OUT DRAWER (mobile menu — mirrors the live site:
   full-screen white panel, accordion sections, gold active state)
════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 2100;
  background: rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 2200; width: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.drawer.open { transform: translateX(0); }

/* Header — logo left (the morphing hamburger X sits top-right, from the nav),
   aligned to the same 80px band so logo and X are in line. */
.drawer__header {
  flex-shrink: 0; height: 80px;
  display: flex; align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid #ebeef1;
}
.drawer-logo {
  display: inline-flex; align-items: center;
  height: 34px; overflow: hidden;
  color: var(--dark);
}
.drawer-logo .drawer-mark { height: 34px; width: auto; fill: var(--dark); display: block; }

/* Logo "loads up" — rises into view from below the clip line when the
   drawer opens, echoing the live site's Lottie intro. Ends fully crisp. */
@keyframes drawerMarkRise {
  0%   { transform: translateY(115%); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}
body.drawer-open .drawer-mark {
  animation: drawerMarkRise 0.6s cubic-bezier(0.23,1,0.32,1) 0.12s both;
}

/* Scrollable item list */
.drawer__items {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 16px 0 60px;
}
.drawer-accordion { list-style: none; margin: 0; padding: 0; }

/* Accordion section */
.drawer-acc { display: flex; flex-direction: column; }
.drawer-acc__head {
  display: flex; align-items: center; width: 100%;
  padding: 16px 24px;
  background: none; border: none;
  font-family: var(--font); font-size: 19px; font-weight: 400;
  letter-spacing: -0.25px;
  color: var(--dark); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.drawer-acc__head:hover { background: #f8f8f8; }
.drawer-acc__title { flex: 1; text-align: left; }
.drawer-acc__chevron {
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.drawer-acc__chevron svg { width: 26px; height: 26px; fill: currentColor; }

/* Open state — gold heading, rotated chevron, revealed sub-links */
.drawer-acc.open > .drawer-acc__head { color: var(--gold); background: #f8f8f8; }
.drawer-acc.open > .drawer-acc__head .drawer-acc__chevron { transform: rotate(180deg); }

.drawer-acc__content {
  list-style: none; margin: 0; padding: 0;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.23,1,0.32,1),
              opacity 0.35s ease, padding 0.4s ease;
}
.drawer-acc.open > .drawer-acc__content {
  max-height: 480px; opacity: 1; padding: 8px 0 16px;
}
.drawer-acc__content a {
  display: block; padding: 15px 64px; text-align: center;
  font-size: 16px; font-weight: 400;
  color: var(--dark); transition: color 0.2s;
}
.drawer-acc__content a:hover { color: var(--gold); }

/* Divider + bottom direct links */
.drawer__divider {
  border: 0; height: 1px; background: #ebeef1;
  margin: 24px 32px;
}
.drawer__direct {
  display: block; padding: 18px 24px; text-align: center;
  font-family: var(--font); font-size: 19px; font-weight: 400;
  letter-spacing: -0.25px;
  color: var(--dark); transition: color 0.2s;
}
.drawer__direct:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════
   SCROLL RAIL — thin vertical bar that sticks to the top
   of the viewport while a sticky-image scroll section is in view.
   Place it as a flex sibling between the image column and text column.
════════════════════════════════════════════════════ */
.scroll-rail {
  position: sticky;
  top: 100px;
  height: calc(100vh - 180px);
  width: 1px;
  background: #c4c4c4;
  align-self: flex-start;
  flex-shrink: 0;
  margin: 100px 24px 80px;
  overflow: hidden;
}
.scroll-rail__thumb {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 320px;
  background: var(--dark);
  border-radius: 1px;
  transform: translateY(0);
  will-change: transform;
}
@media (max-width: 800px) {
  .scroll-rail { display: none; }
}

/* ════════════════════════════════════════════════════
   EYEBROW (small uppercase label)
════════════════════════════════════════════════════ */
.eyebrow {
  display: block;
  font-size: 14px; font-weight: 400;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: orange; margin-bottom: 22px;
}
.eyebrow-light { color: rgb(255, 255, 255); }

/* ════════════════════════════════════════════════════
   BTN-ROW  (border button with slide-in fill on hover)
════════════════════════════════════════════════════ */
.btn-row {
  display: inline-flex; align-items: center;
  justify-content: space-between;
  gap: 48px; padding: 28px 36px;
  border: 1px solid var(--dark);
  font-family: var(--font);
  font-size: 18px; font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--dark);
  min-width: 360px;
  max-width: max-content;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.3s ease;
  z-index: 0;
  border-radius: 5px;
}
.btn-row > span { white-space: nowrap; }
.btn-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn-row:hover::before { transform: translateX(0); }
.btn-row:hover { color: white; }

/* Default sizing for the long-line arrow used inside .btn-row */
.btn-row__arrow {
  width: 110px; height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Light variant: white border on dark backgrounds */
.btn-row.light {
  border-color: white; color: white;
}
.btn-row.light::before { background: white; }
.btn-row.light:hover { color: var(--dark); }

/* ════════════════════════════════════════════════════
   CARD GRID & CARD
════════════════════════════════════════════════════ */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 48px;
}
.cards-grid--two { grid-template-columns: repeat(2, 1fr); }
.cards-grid--four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: white; border-radius: 8px; overflow: hidden;
  opacity: 0;
  animation: card-fadeIn 0.5s ease-in-out forwards;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1);
  max-width: fit-content;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08), 0 24px 48px rgba(0,0,0,0.10);
}
/* Stretched-link pattern: any .card containing a .card-readmore link
   becomes fully clickable. The pseudo-element overlays the whole card
   and inherits the link's href via positioning under the same anchor. */
.card:has(.card-readmore) { cursor: pointer; }
.card-readmore::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.25s; }
.card:nth-child(3) { animation-delay: 0.4s; }
.card:nth-child(4) { animation-delay: 0.55s; }
@keyframes card-fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-image { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s ease;
}
.card:hover .card-image img { transform: scale(1.04); }
.card-body { padding: 28px 24px 32px; }
.card-title { font-size: 22px; font-weight: 400; color: var(--dark); margin-bottom: 10px; }
.card-subtitle {
  font-size: 13px; color: var(--gray);
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 16px; margin-bottom: 16px;
}
.card-text { font-size: 14px; line-height: 1.65; color: var(--gray); margin-bottom: 24px; }
.card-readmore {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--dark); transition: gap 0.2s;
}
.card-readmore:hover { gap: 14px; }

/* ════════════════════════════════════════════════════
   PAGE HERO  (subpage top section: image + title overlay)
════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  width: 100%;
  height: clamp(420px, 85vh, 1000px);
  overflow: hidden;
  background: var(--dark);
}
.page-hero-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.page-hero-content {
  position: absolute; left: 0; right: 0; bottom: 48px;
  padding: 0 clamp(24px, 5vw, 76px);
  color: #fff;
  z-index: 1;
}
.page-hero-content .eyebrow {
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 1100px;
}
.page-hero-subtitle {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
}

/* ════════════════════════════════════════════════════
   SECTION PRIMITIVES
════════════════════════════════════════════════════ */

/* Centered content section: eyebrow + heading + body + optional CTA */
.section-content {
  padding: clamp(64px, 10vw, 120px) clamp(24px, 5vw, 76px);
  max-width: 980px;
  margin: 0 auto;
}
.section-content--narrow { max-width: 760px; }
.section-content h2 {
  font-size: clamp(28px, 2.8vw, 46px);
  font-weight: 400;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 22px;
}
.section-content p {
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: 24px;
}
.section-content p:last-of-type { margin-bottom: 32px; }
.section-content h3 {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-top: 36px;
  margin-bottom: 12px;
}
.section-content h3:first-of-type { margin-top: 8px; }
.section-content h3 + p { margin-bottom: 24px; }
.section-content--dark { background: var(--dark); }
.section-content--dark h2 { color: white; }
.section-content--dark h3 { color: white; }
.section-content--dark p { color: rgba(255,255,255,0.75); }

/* 50/50 image+text split (used by What We Do, CSR, Strategy etc.)
   Variant .reverse swaps order. */
.section-image-split {
  display: flex;
  min-height: 850px;
  background: rgb(248, 248, 248);
  justify-content: center;
}
.section-image-split.reverse { flex-direction: row-reverse; }
.section-image-split--dark { background: var(--dark); }
.section-image-split--dark .section-image-split__content h2 { color: #ffffff; }
.section-image-split--dark .section-image-split__content p { color: #d4d4d4; }
.section-image-split__image { width: 50%; overflow: hidden; }
.section-image-split__image img { width: 100%; height: 100%; object-fit: cover; }
.section-image-split__content {
  width: 50%;
  padding: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.section-image-split__content h2 {
  font-size: clamp(28px, 2.8vw, 46px);
  font-weight: 400;
  color:#000000;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 22px;
}
.section-image-split__content p {
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.65;
  color: #555555;
  margin-bottom: 24px;
}
.section-image-split__content p:last-of-type { margin-bottom: 32px; }

/* Card-grid section (eyebrow + heading + grid of cards on a colored background) */
.section-card-grid {
  padding: clamp(64px, 8vw, 104px) clamp(24px, 5vw, 56px);
  background: white;
}
.section-card-grid--dark { background: var(--dark); }
.section-card-grid__header h2 {
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 600px;
}
.section-card-grid--dark .section-card-grid__header h2 { color: white; }

/* Centered statement/quote */
.section-statement {
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 76px);
  background: rgb(248, 248, 248);
  text-align: center;
}
.section-statement--dark { background: var(--dark); }
.section-statement blockquote {
  font-size: clamp(24px, 3.2vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--dark);
  max-width: 1000px;
  margin: 0 auto;
}
.section-statement--dark blockquote { color: white; }
.section-statement cite {
  display: block;
  margin-top: 32px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}
.section-statement--dark cite { color: rgba(255,255,255,0.5); }

.trusted-solutions{
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 160px) clamp(24px, 5vw, 76px);
}

.trusted-solutions-title{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.trusted-solutions-title h2{
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 10px;
}

.trusted-solutions-title-title{
  color: orange;
}

.trusted-solutions-text{
  margin-top: 10px;
}

.trusted-solutions-text h2{
  margin-top: clamp(36px, 5vw, 50px);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
}

.trusted-solutions-text p{
  margin-top: 24px;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 300;
  line-height: 1.8;
}

/* Up next image CTA */
.section-up-next {
  position: relative;
  padding: clamp(64px, 8vw, 128px) clamp(24px, 5vw, 86px) 0;
  background: white;
}
.section-up-next > :not(.up-next-card) {
  display: none;
}
.up-next-card {
  position: relative;
  display: block;
  min-height: 420px;
  height: clamp(420px, 70vh, 720px);
  overflow: hidden;
  color: white;
  background: var(--dark);
  isolation: isolate;
}
.up-next-card.is-transitioning {
  cursor: wait;
  transition:
    top 0.65s cubic-bezier(0.785, 0.135, 0.15, 0.86),
    left 0.65s cubic-bezier(0.785, 0.135, 0.15, 0.86),
    width 0.65s cubic-bezier(0.785, 0.135, 0.15, 0.86),
    height 0.65s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.up-next-card:hover {
  cursor: none;
}
.up-next-card__image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.up-next-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.08) translateY(10px);
  transition: transform 0.65s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.up-next-card.is-transitioning .up-next-card__image img {
  transform: scale(1) translateY(0);
}
.up-next-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 42%, rgba(0,0,0,0.28) 100%);
  pointer-events: none;
}
.up-next-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(40px, 5vw, 86px);
  user-select: none;
}
.up-next-card__overline-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.up-next-card__overline {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}
.up-next-card__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 760px;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.up-next-card__category {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 16px;
  border-radius: 32px;
  background: var(--amber);
  color: var(--dark);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}
.up-next-card__title {
  margin-top: 24px;
  font-size: clamp(44px, 8vw, 122px);
  font-weight: 400;
  line-height: 0.95;
  color: white;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.1), 2px 2px 6px rgba(255, 255, 255, 0.1);
}
.up-next-card__cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: clamp(112px, 8vw, 152px);
  height: clamp(112px, 8vw, 152px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: white;
  font-size: 16px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.18s ease, transform 0.24s ease;
  will-change: left, top, transform;
}
.up-next-card.is-hovered .up-next-card__cursor {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.up-next-card.is-transitioning .up-next-card__cursor {
  opacity: 0;
}
.up-next-card.is-transitioning .up-next-card__overline-wrap {
  opacity: 0;
  transform: translateY(-100%);
}
.up-next-card.is-transitioning .up-next-card__title-wrap {
  opacity: 0;
  transform: translateY(100%);
}
.up-next-transition-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3199;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.up-next-transition-backdrop.is-visible {
  opacity: 1;
}

/* Team section: header + grid */
.team-section {
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 56px);
  background: rgb(248, 248, 248);
}
.team-section__header {
  max-width: 1280px;
  margin: 0 auto clamp(32px, 4vw, 56px);
}
.team-section__header h2 {
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 400;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}
.team-member {
  position: relative;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0, 0.2, 1);
}
.team-member:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08), 0 24px 48px rgba(0,0,0,0.10);
}
/* Cards without a LinkedIn link: keep them visually consistent but
   disable the pointer cursor since clicking does nothing. */
.team-member--no-link { cursor: default; }
.team-member__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #ebebeb;
}
.team-member__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s ease;
}
.team-member:hover .team-member__image img { transform: scale(1.04); }
.team-member__body {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column;
}
.team-member__name {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--dark);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ebebeb;
}
.team-member__role {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 22px;
}
.team-member__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.team-member__arrow-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dark);
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}
.team-member__arrow-circle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}
.team-member__cta-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--dark);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
/* Hover: arrow circle fills with amber, label slides in */
.team-member:hover .team-member__arrow-circle { background: var(--amber); }
.team-member:hover .team-member__cta-label { opacity: 1; transform: translateX(0); }
.team-member:hover .team-member__arrow-circle svg { transform: translateX(2px); }

/* Policy / document list */
.policy-list {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 76px);
  max-width: 980px;
  margin: 0 auto;
}
.policy-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #ebebeb;
  gap: 24px;
}
.policy-item:last-child { border-bottom: none; }
.policy-item__title {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  color: var(--dark);
}
.policy-item__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--gold);
  white-space: nowrap;
  transition: gap 0.2s, color 0.2s;
}
.policy-item__link:hover { gap: 14px; color: var(--amber); }

/* Contact block (office card with phone/email/directions) */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: clamp(64px, 8vw, 104px) clamp(24px, 5vw, 76px);
  max-width: 1280px; margin: 0 auto;
}
.contact-block {
  background: white;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 36px 32px;
}
.contact-block__city {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-block__address {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 24px;
}
.contact-block__links { display: flex; flex-direction: column; gap: 10px; }
.contact-block__link {
  font-size: 13px;
  color: var(--dark);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 0;
  border-top: 1px solid #ebebeb;
  transition: color 0.2s, gap 0.2s;
}
.contact-block__link:hover { color: var(--gold); gap: 14px; }
.contact-block__link:first-child { border-top: none; padding-top: 0; }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.site-footer { background: white; padding: 88px 56px 52px; }
.footer-logo {
  display: inline-flex; align-items: center;
  margin-bottom: 40px; color: var(--dark);
}
.footer-logo .footer-mark { height: 48px; width: auto; fill: var(--dark); display: block; }
.footer-connect-title {
  font-size: clamp(36px, 4.2vw, 64px); font-weight: 400;
  color: var(--dark); letter-spacing: -0.025em;
  line-height: 1.02; margin-bottom: 0;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin-top: 24px;
  margin-left: -28px;
}
.footer-social-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  border-radius: 32px;
  color: #D09305;
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;
}
.footer-social-item:hover {
  color: #FFF;
  background-color: #D09305;
}
.footer-address {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #D2D3D5;
  padding-bottom: 48px;
  margin-top: 48px;
  gap: 0;
}
.footer-address-wrapper {
  display: flex;
  max-width: 325px;
  width: 100%;
}
.footer-address-container {
  display: flex;
  max-width: 300px;
  flex-direction: column;
}
.footer-address-title {
  font-size: 24px; font-weight: 400; color: var(--dark);
  display: flex;
}
.footer-address-details { margin-top: 16px; }
.footer-address-item {
  font-size: 15px; color: var(--gray); line-height: 1.8;
}
.footer-divider { border: none; border-top: 1px solid #e5e5e5; margin: 52px 0 36px; display: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 48px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 88px; }
.footer-links a { font-size: 18px; color: var(--gray); transition: color 0.2s; text-decoration: none; }
.footer-links a:hover { color: var(--dark); }
.footer-copy { font-size: 15px; color: #555A65; align-self: flex-end; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1000px) { .nav-links { display: none; } }

@media (max-width: 800px) {
  .main-nav, .util-nav { padding-left: 24px; padding-right: 24px; }

  .cards-grid,
  .cards-grid--two,
  .cards-grid--four { grid-template-columns: 1fr; gap: 12px; }

  .section-image-split,
  .section-image-split.reverse { flex-direction: column; }
  .section-image-split__image { width: 100%; height: 300px; }
  .section-image-split__content { width: 100%; padding: 60px 24px; }

  .section-up-next { padding: 64px 24px 0; }
  .up-next-card {
    min-height: 360px;
    height: 58vh;
  }
  .up-next-card:hover { cursor: pointer; }
  .up-next-card__content { padding: 36px 24px; }
  .up-next-card__title { margin-top: 18px; }
  .up-next-card__cursor { display: none; }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .page-hero-content { bottom: 32px; }

  .site-footer { padding: 64px 24px 40px; }
  .footer-address { flex-direction: column; gap: 32px; margin-top: 32px; }
  .footer-address-wrapper { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 28px; }
}

@media (max-width: 540px) {
  .team-grid { grid-template-columns: 1fr; }
  .policy-item { flex-direction: column; align-items: flex-start; gap: 12px; }
}
