/* ============================================================
   Ritshuri iTech — Design tokens
   ============================================================ */
:root {
  /* Brand colour — solid azure blue (matches the sourceworx.co.za reference) */
  --rt-gradient-start: #009BDF;
  --rt-gradient-mid:   #009BDF;
  --rt-gradient-end:   #009BDF;
  --rt-gradient: #009BDF;

  /* Neutrals */
  --rt-ink:        #1A1A1A;
  --rt-body:       #5B6570;
  --rt-surface:    #FFFFFF;
  --rt-surface-alt:#F5F9FA;
  --rt-border:     #E3ECEE;

  /* Motion */
  --rt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rt-fast: 180ms;
  --rt-med:  320ms;
  --rt-slow: 500ms;

  /* Layout */
  --rt-header-h: 84px;
  --rt-container: 1180px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--rt-body);
  background: var(--rt-surface);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Sora', -apple-system, sans-serif;
  color: var(--rt-ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.container {
  max-width: var(--rt-container);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; }
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity var(--rt-slow) var(--rt-ease), transform var(--rt-slow) var(--rt-ease); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rt-gradient-end);
  margin-bottom: 14px;
}
.eyebrow--on-dark { color: rgba(255,255,255,0.85); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { margin-top: 16px; font-size: 17px; }
.section-head--dark h2 { color: #fff; }
.section-head--dark p { color: rgba(255,255,255,0.85); }

/* ============================================================
   Brand mark (scalable, theme-aware — replaces flattened logo art
   so it can sit on white, dark ink, or the gradient at any size)
   ============================================================ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rt-ink);
}
.rt-mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--rt-gradient);
  display: grid;
  place-items: center;
  position: relative;
}
.mark-img { width: 60%; height: 60%; object-fit: contain; display: block; margin: auto; }
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-word b {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--rt-ink);
}
.brand-word span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--rt-gradient-end);
  margin-top: 2px;
}
.brand--on-dark .brand-word b,
.brand--on-dark .brand-word span { color: #fff; }
.brand--on-dark .rt-mark { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.5); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--rt-header-h);
  display: flex;
  align-items: center;
  transition: background var(--rt-med) var(--rt-ease), box-shadow var(--rt-med) var(--rt-ease), height var(--rt-med) var(--rt-ease);
}
.site-header .brand-word b,
.site-header .brand-word span { color: #fff; }
.site-header .rt-mark { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.55); }
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: 34px;
}
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 6px 0;
  transition: color var(--rt-fast) var(--rt-ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: #fff;
  transition: right var(--rt-fast) var(--rt-ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: rgba(255,255,255,0.14);
  border-radius: 8px;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.site-header.is-scrolled {
  height: 72px;
  background: #fff;
  box-shadow: 0 4px 28px rgba(20, 40, 50, 0.08);
}
.site-header.is-scrolled .brand-word b { color: var(--rt-ink); }
.site-header.is-scrolled .brand-word span { color: var(--rt-gradient-end); }
.site-header.is-scrolled .rt-mark { background: var(--rt-gradient); border-color: transparent; }
.site-header.is-scrolled .nav a { color: var(--rt-body); }
.site-header.is-scrolled .nav a::after { background: var(--rt-gradient-end); }
.site-header.is-scrolled .nav a:hover { color: var(--rt-ink); }
.site-header.is-scrolled .nav-toggle { background: var(--rt-surface-alt); color: var(--rt-ink); }

/* ============================================================
   Buttons — sliding two-face hover
   ============================================================ */
.rt-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--rt-gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  flex: none;
  box-shadow: 0 10px 24px -8px rgba(0, 155, 223, 0.55);
  transition: box-shadow var(--rt-fast) var(--rt-ease), transform var(--rt-fast) var(--rt-ease);
}
.rt-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(0, 155, 223, 0.65); }
.rt-btn__inner { position: relative; display: block; height: 20px; overflow: hidden; }
.rt-btn__face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: transform var(--rt-fast) var(--rt-ease);
}
.rt-btn__face--default { transform: translateY(0); }
.rt-btn__face--hover { position: absolute; inset: 0; transform: translateY(100%); }
.rt-btn:hover .rt-btn__face--default { transform: translateY(-100%); }
.rt-btn:hover .rt-btn__face--hover { transform: translateY(0); }
.rt-btn .rt-icon { width: 17px; height: 17px; }

.rt-btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.75);
  box-shadow: none;
  transition: background var(--rt-fast) var(--rt-ease), border-color var(--rt-fast) var(--rt-ease), transform var(--rt-fast) var(--rt-ease);
}
.rt-btn--outline:hover { background: rgba(255,255,255,0.14); box-shadow: none; }
.rt-btn--outline .rt-btn__face--hover { display: none; }
.rt-btn--outline .rt-btn__face--default { transform: none !important; }

.rt-btn--dark {
  background: var(--rt-ink);
  box-shadow: 0 10px 24px -10px rgba(26,26,26,0.5);
}
.rt-btn--small { height: 42px; padding: 0 22px; font-size: 14px; }

.header-cta { border: 1.5px solid rgba(255,255,255,0.55); transition: border-color var(--rt-med) var(--rt-ease), box-shadow var(--rt-fast) var(--rt-ease), transform var(--rt-fast) var(--rt-ease); }
.site-header.is-scrolled .header-cta { border-color: transparent; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--rt-header-h) + 84px) 0 120px;
  background: #0d3f45;
  overflow: hidden;
  isolation: isolate;
}

/* Photo slider — the photography itself is the hero background; only a
   light neutral scrim sits on top, purely to keep white text legible */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  background: #0d3f45;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s var(--rt-ease);
  animation: heroKenBurns 16s ease-in-out infinite alternate;
}
.hero-slide.is-active { opacity: 1; }
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(180deg, rgba(6,14,18,0.42) 0%, rgba(6,14,18,0.32) 45%, rgba(6,14,18,0.52) 100%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 34px;
}
.hero h1 {
  width: 100%;
  font-size: clamp(34px, 5.4vw, 62px);
  color: #fff;
  max-width: 880px;
}
.hero p.lead {
  width: 100%;
  max-width: 620px;
  font-size: 18px;
  color: rgba(255,255,255,0.92);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-scroll {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll .scroll-line {
  width: 1px; height: 34px;
  background: rgba(255,255,255,0.55);
  overflow: hidden;
  position: relative;
}
.hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; right: 0; height: 100%;
  background: #fff;
  animation: scrollLine 1.8s var(--rt-ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ============================================================
   Intro
   ============================================================ */
.intro { padding: 110px 0; background: var(--rt-surface); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 22px; }
.intro p + p { margin-top: 18px; }
.intro-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.intro-chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--rt-gradient-end);
  background: var(--rt-surface-alt);
  border: 1px solid var(--rt-border);
  padding: 8px 16px;
  border-radius: 999px;
}
.intro-chip--stat {
  color: #fff;
  background: var(--rt-gradient);
  border-color: transparent;
}
.intro-panel {
  position: relative;
  border-radius: 24px;
  background: var(--rt-surface-alt);
  border: 1px solid var(--rt-border);
  padding: 44px 34px;
  overflow: hidden;
}
.intro-panel::before {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  background: var(--rt-gradient);
  opacity: 0.16;
  border-radius: 50%;
  top: -80px; right: -80px;
}
.intro-orbit { position: relative; display: grid; gap: 18px; }
.orbit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--rt-surface);
  border: 1px solid var(--rt-border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform var(--rt-med) var(--rt-ease), box-shadow var(--rt-med) var(--rt-ease);
}
.orbit-row:hover { transform: translateX(6px); box-shadow: 0 14px 28px -16px rgba(20,60,70,0.25); }
.orbit-row .rt-icon-wrap { width: 42px; height: 42px; border-radius: 10px; background: var(--rt-gradient); display: grid; place-items: center; flex: none; }
.orbit-row .rt-icon-wrap svg { width: 22px; height: 22px; color: #fff; }
.orbit-row strong { display: block; color: var(--rt-ink); font-size: 15px; }
.orbit-row span { font-size: 13.5px; color: var(--rt-body); }

/* ============================================================
   Cards — shared
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  position: relative;
  border-radius: 20px;
  padding: 38px 30px;
  overflow: hidden;
  transition: transform var(--rt-slow) var(--rt-ease), box-shadow var(--rt-slow) var(--rt-ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.28), transparent 60%);
  opacity: 0;
  transition: opacity var(--rt-med) var(--rt-ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card .card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: transform var(--rt-slow) var(--rt-ease);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card .card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 14.5px; }

/* Values — teal solid cards, white type */
.values { padding: 110px 0; background: var(--rt-surface-alt); }
.values .card { background: var(--rt-gradient-mid); box-shadow: 0 20px 40px -22px rgba(0,155,223,0.55); }
.values .card:hover { box-shadow: 0 28px 50px -20px rgba(0,155,223,0.65); }
.values .card .card-icon { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); }
.values .card .card-icon svg { color: #fff; }
.values .card h3 { color: #fff; }
.values .card p { color: rgba(255,255,255,0.88); }

/* Services — solid brand panel, white cards */
.services { padding: 110px 0; background: var(--rt-gradient-mid); position: relative; overflow: hidden; }
.services .card { background: #fff; border-bottom: 3px solid transparent; box-shadow: 0 24px 46px -24px rgba(10,40,50,0.35); }
.services .card:hover { border-bottom-color: var(--rt-gradient-end); }
.services .card .card-icon { background: var(--rt-surface-alt); }
.services .card .card-icon svg { color: var(--rt-gradient-end); }
.services .card h3 { color: var(--rt-ink); }

/* ============================================================
   Clients — logo ticker
   ============================================================ */
.clients { padding: 110px 0; background: var(--rt-surface); }
.ticker-group { margin-top: 8px; }
.ticker-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  margin-bottom: 34px;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: tickerLeft 34s linear infinite;
}
.ticker-track--reverse { animation-name: tickerRight; animation-duration: 30s; }
.ticker-viewport:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tickerRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.client-logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 128px;
  width: 220px;
  padding: 20px 28px;
  border-radius: 14px;
  background: var(--rt-surface-alt);
  border: 1px solid var(--rt-border);
  transition: transform var(--rt-fast) var(--rt-ease), border-color var(--rt-fast) var(--rt-ease), background var(--rt-fast) var(--rt-ease), box-shadow var(--rt-fast) var(--rt-ease);
}
.client-logo:hover { transform: translateY(-3px); border-color: var(--rt-gradient-end); background: #fff; box-shadow: 0 14px 26px -16px rgba(20,60,70,0.3); }
.client-logo img {
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter var(--rt-med) var(--rt-ease), opacity var(--rt-med) var(--rt-ease);
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }

/* ============================================================
   Team
   ============================================================ */
.team { padding: 110px 0; background: var(--rt-surface-alt); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.team-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--rt-surface);
  border: 1px solid var(--rt-border);
  border-radius: 20px;
  padding: 30px;
  transition: transform var(--rt-slow) var(--rt-ease), box-shadow var(--rt-slow) var(--rt-ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -24px rgba(20,60,70,0.3); }
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 18px;
  flex: none;
  overflow: hidden;
  display: block;
  background: var(--rt-gradient);
  transition: transform var(--rt-slow) var(--rt-ease);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card:hover .team-avatar { transform: scale(1.06) rotate(-3deg); }
.team-body h3 { font-size: 18px; margin-bottom: 8px; }
.team-role {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rt-gradient-end);
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--rt-gradient-end);
  margin-bottom: 14px;
}
.team-body p { font-size: 14px; }

/* ============================================================
   Contact — solid brand panel
   ============================================================ */
.contact {
  padding: 120px 0 90px;
  background: var(--rt-gradient-mid);
  position: relative;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.rt-mark--contact { width: 56px; height: 56px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.5); }
.contact-copy h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin: 22px 0 16px; }
.contact-copy p { color: rgba(255,255,255,0.9); font-size: 16px; max-width: 440px; }
.contact-copy .hero-cta { justify-content: flex-start; margin-top: 30px; }

.contact-list { display: grid; gap: 14px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 16px;
  padding: 18px 22px;
  backdrop-filter: blur(6px);
  transition: transform var(--rt-fast) var(--rt-ease), background var(--rt-fast) var(--rt-ease);
}
.contact-row:hover { transform: translateX(6px); background: rgba(255,255,255,0.18); }
.contact-row .text-col { display: flex; flex-direction: column; gap: 3px; }
.contact-row .rt-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.16);
  display: grid; place-items: center;
  flex: none;
}
.contact-row .rt-icon-wrap svg { width: 21px; height: 21px; color: #fff; }
.contact-row .label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.contact-row .value { font-size: 15.5px; font-weight: 600; color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--rt-ink); padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner .brand-word b { color: #fff; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; color: rgba(255,255,255,0.65); transition: color var(--rt-fast) var(--rt-ease); }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.45); }
.footer-bottom {
  max-width: var(--rt-container);
  margin: 30px auto 0;
  padding: 22px 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   WhatsApp floating action button
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px -10px rgba(37,211,102,0.6);
  transition: transform var(--rt-fast) var(--rt-ease), box-shadow var(--rt-fast) var(--rt-ease);
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 20px 36px -10px rgba(37,211,102,0.7); }
.whatsapp-float .rt-icon { width: 29px; height: 29px; color: #fff; position: relative; z-index: 1; }
.whatsapp-float__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.55);
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(0.88); opacity: 0.9; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.whatsapp-float__tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: var(--rt-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--rt-fast) var(--rt-ease), transform var(--rt-fast) var(--rt-ease);
}
.whatsapp-float:hover .whatsapp-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 760px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float .rt-icon { width: 26px; height: 26px; }
  .whatsapp-float__tip { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .contact-copy .hero-cta { justify-content: center; text-align: center; }
  .contact-copy { text-align: center; }
  .contact-copy p { margin-left: auto; margin-right: auto; }
  .rt-mark--contact { margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  :root { --rt-header-h: 72px; }
  .nav { position: fixed; top: 72px; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 18px 30px -16px rgba(20,40,50,0.2); padding: 8px 0; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity var(--rt-med) var(--rt-ease), transform var(--rt-med) var(--rt-ease); }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { color: var(--rt-ink); padding: 14px 28px; }
  .nav a::after { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .card-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero { padding-top: calc(var(--rt-header-h) + 56px); }
  .hero-cta, .contact-copy .hero-cta { flex-direction: column; align-items: stretch; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
