/* ==========================================================================
   The Safqa — Design System
   Light-luxury marketing site
   ========================================================================== */

:root {
  /* Color tokens — Logo B aligned */
  --color-bg: #F5F8FA;
  --color-bg-elevated: #FFFFFF;
  --color-bg-soft: #E8EEF4;
  --color-bg-tint: #DFF7F8;
  --color-text: #0F172A;
  --color-text-muted: #475569;
  --color-text-subtle: #64748B;
  --color-border: #D5DEE7;
  --color-border-strong: #B6C2CF;
  --color-accent: #0F766E;
  --color-accent-hover: #06B6D4;
  --color-accent-soft: #CCFBF1;
  --color-accent-gold: #E0B84A;
  --color-accent-gold-soft: #FEF3C7;
  --color-ink: #0F172A;
  --color-teal: #0F766E;
  --color-turquoise: #06B6D4;
  --color-amber: #E0B84A;
  --color-white: #FFFFFF;
  --color-shadow: rgba(15, 23, 42, 0.08);
  --color-shadow-lg: rgba(15, 23, 42, 0.14);


  /* Typography */
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-hero: clamp(2.25rem, 5vw, 3.5rem);

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.02em;
  --tracking-wide: 0.06em;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  /* Layout */
  --container: 72rem;
  --container-narrow: 42rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  --header-h: 4.25rem;
  --transition: 200ms ease;
  --transition-slow: 400ms ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Layout helpers */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2rem, var(--container-narrow));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-12);
}
.section--tight {
  padding-block: var(--space-10);
}
.section--soft {
  background: var(--color-bg-soft);
}
.section--tint {
  background: linear-gradient(180deg, var(--color-bg-tint) 0%, var(--color-bg) 100%);
}

/* Typography */
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
}
.display--md {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}
.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 36rem;
}
.lead--center { margin-inline: auto; text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.section-header {
  max-width: 36rem;
  margin-bottom: var(--space-8);
}
.section-header--center {
  margin-inline: auto;
  text-align: center;
}
.section-header .lead { margin-top: var(--space-4); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(14, 165, 160, 0.28);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
}
.btn--secondary {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 2px var(--color-shadow);
}
.btn--secondary:hover {
  border-color: var(--color-border-strong);
  color: var(--color-text);
  background: var(--color-white);
}
.btn--ghost {
  color: var(--color-accent);
  padding-inline: var(--space-3);
}
.btn--ghost:hover { color: var(--color-accent-hover); }
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.btn-group--center { justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-lg);
}
.logo:hover { color: var(--color-text); }
.logo__mark {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}
.logo--lockup { gap: 0; }
.logo__lockup {
  background: transparent;
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav__link {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text);
  background: var(--color-bg-soft);
}
.nav__cta { margin-left: var(--space-3); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}
.nav-toggle__bar {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--color-text);
  position: relative;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
}
.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-4);
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 32px var(--color-shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity var(--transition);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
  }
  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-2);
    text-align: center;
  }
}

/* Cards */
.card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: 0 8px 24px var(--color-shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-border-strong);
}
.card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}
.card p { color: var(--color-text-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* Hero */
.hero {
  position: relative;
  padding-block: var(--space-12) var(--space-10);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 20rem; margin-inline: auto; }
}
.hero .display { margin-bottom: var(--space-5); }
.hero .lead { margin-bottom: 0; }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, var(--color-accent-soft) 0%, var(--color-bg-elevated) 45%, var(--color-accent-gold-soft) 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 48px var(--color-shadow-lg);
  overflow: hidden;
}
.hero-visual__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 160, 0.2);
}
.hero-visual__ring--1 {
  inset: 12%;
  background: rgba(255, 252, 248, 0.5);
}
.hero-visual__ring--2 {
  inset: 28%;
  background: rgba(212, 232, 227, 0.6);
}
.hero-visual__core {
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 8px 24px rgba(14, 165, 160, 0.35);
}
.hero-visual__dot {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-accent-gold);
}
.hero-visual__dot--1 { top: 18%; left: 22%; }
.hero-visual__dot--2 { top: 62%; right: 16%; }
.hero-visual__dot--3 { bottom: 20%; left: 35%; width: 0.5rem; height: 0.5rem; }
.hero-visual__label {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  position: relative;
  padding: var(--space-6);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  letter-spacing: var(--tracking-tight);
}
.step h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* Trust / values strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
.trust-item {
  text-align: center;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
.trust-item span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(135deg, var(--color-text) 0%, #243447 55%, #0F766E 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: 0 16px 40px var(--color-shadow-lg);
}
.cta-band .eyebrow { color: var(--color-accent-gold); }
.cta-band .display,
.cta-band h2 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-3);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}
.cta-band .btn--primary {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: none;
}
.cta-band .btn--primary:hover {
  background: var(--color-accent-gold-soft);
  color: var(--color-text);
}
.cta-band .btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-band .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}

/* About / prose */
.prose-block {
  max-width: 40rem;
}
.prose-block p + p { margin-top: var(--space-4); }
.prose-block p { color: var(--color-text-muted); line-height: var(--leading-relaxed); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}
.panel {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.panel h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.checklist { display: flex; flex-direction: column; gap: var(--space-3); }
.checklist li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--color-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6' stroke='%230EA5A0' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 0.75rem;
  background-repeat: no-repeat;
  background-position: center;
}

/* Services detail */
.service-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.service-block__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
  min-width: 2.5rem;
}
.service-block h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.service-block p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
@media (max-width: 600px) {
  .service-block { grid-template-columns: 1fr; }
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.contact-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-2);
}
.contact-card a {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
}
.contact-card a:hover { color: var(--color-accent); }
.contact-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.form {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 2px 8px var(--color-shadow);
}
.form__note {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  margin-bottom: var(--space-5);
  padding: var(--space-3);
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
}
.form-group {
  margin-bottom: var(--space-4);
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}
.form-group textarea { min-height: 8rem; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-success {
  display: none;
  padding: var(--space-4);
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  color: var(--color-accent-hover);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
}
.form-success.is-visible { display: block; }

/* Page hero (inner pages) */
.page-hero {
  padding-block: var(--space-10) var(--space-8);
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 100%);
}
.page-hero .display { margin-bottom: var(--space-4); }
.page-hero .lead { max-width: 36rem; }

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.75);
  padding-block: var(--space-10) var(--space-6);
}
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { color: var(--color-accent-gold); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
.footer__brand .logo { color: var(--color-white); margin-bottom: var(--space-4); }
.footer__brand .logo:hover { color: var(--color-white); }
.footer .logo__lockup,
.site-footer .logo__lockup { height: 56px; }
.footer__brand .logo__word span { color: var(--color-accent-gold); }
.footer__brand p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 22rem;
}
.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer__col a { font-size: var(--text-sm); }
.footer__bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
}

/* Legacy fade-up kept for compatibility */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { animation: fadeUp 0.7s ease both; }
  .fade-up-delay-1 { animation-delay: 0.1s; }
  .fade-up-delay-2 { animation-delay: 0.2s; }
  .fade-up-delay-3 { animation-delay: 0.3s; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}


/* --------------------------------------------------------------------------
   Media, motion, premium elevation (owner redesign)
   -------------------------------------------------------------------------- */

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

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Full-bleed media hero */
.hero--media {
  position: relative;
  min-height: min(88vh, 44rem);
  display: flex;
  align-items: center;
  padding-block: var(--space-12) var(--space-10);
  overflow: hidden;
  color: var(--color-white);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media-layer {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.90) 0%, rgba(15, 23, 42, 0.72) 40%, rgba(15, 118, 110, 0.42) 78%, rgba(6, 182, 212, 0.28) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.55) 0%, transparent 48%);
}
.hero--media .container {
  position: relative;
  z-index: 2;
}
.hero--media .eyebrow {
  color: var(--color-accent-gold);
}
.hero--media .display {
  color: var(--color-white);
  max-width: 18ch;
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero--media .lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
}
.hero--media .btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}
.hero--media .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.55);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 36rem;
}
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-accent-gold);
  line-height: 1.1;
}
.hero__meta span {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Ken Burns fallback when video unavailable / reduced motion poster */
@media (prefers-reduced-motion: no-preference) {
  .ken-burns {
    animation: kenBurns 28s ease-in-out infinite alternate;
  }
  @keyframes kenBurns {
    from { transform: scale(1.05) translate(0, 0); }
    to { transform: scale(1.14) translate(-2%, -1.5%); }
  }
}

/* Stats / trust strip elevated */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: calc(var(--space-8) * -1);
  position: relative;
  z-index: 3;
}
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: var(--space-6); }
}
.stat-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 12px 32px var(--color-shadow-lg);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px var(--color-shadow-lg);
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-1);
}
.stat-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Media cards / value pillars */
.media-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px var(--color-shadow-lg);
  border-color: var(--color-border-strong);
}
.media-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.media-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.media-card:hover .media-card__media img {
  transform: scale(1.06);
}
.media-card__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  flex: 1;
}
.media-card__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-3);
  letter-spacing: var(--tracking-tight);
}
.media-card__body p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Split media section */
.split-media {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) {
  .split-media { grid-template-columns: 1fr; }
}
.media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 48px var(--color-shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-bg-soft);
}
.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}
.media-frame__badge {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  z-index: 1;
}

/* Steps with stronger visual rhythm */
.steps--elevated .step {
  transition: transform var(--transition), box-shadow var(--transition);
}
.steps--elevated .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px var(--color-shadow-lg);
}
.step__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.step__icon svg { width: 1.35rem; height: 1.35rem; }

/* Industries / who we work with */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}
.chip {
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  box-shadow: 0 1px 3px var(--color-shadow);
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}
.chip:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Quote / testimonial-style band */
.quote-band {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 18rem;
  display: flex;
  align-items: center;
  color: var(--color-white);
}
.quote-band__media {
  position: absolute;
  inset: 0;
}
.quote-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.9) 0%, rgba(14, 165, 160, 0.75) 100%);
}
.quote-band__content {
  position: relative;
  z-index: 1;
  padding: var(--space-8) var(--space-6);
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}
.quote-band cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

/* CTA with depth */
.cta-band--depth {
  position: relative;
  overflow: hidden;
}
.cta-band--depth::before {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
  top: -8rem;
  right: -6rem;
  pointer-events: none;
}
.cta-band--depth::after {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 160, 0.35) 0%, transparent 70%);
  bottom: -6rem;
  left: -4rem;
  pointer-events: none;
}
.cta-band--depth > * { position: relative; z-index: 1; }

/* Page hero with media */
.page-hero--media {
  position: relative;
  padding-block: var(--space-12) var(--space-10);
  border-bottom: none;
  overflow: hidden;
  color: var(--color-white);
  min-height: 18rem;
  display: flex;
  align-items: flex-end;
}
.page-hero--media .page-hero__media {
  position: absolute;
  inset: 0;
}
.page-hero--media .page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--media .page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, transparent 60%);
}
.page-hero--media .container {
  position: relative;
  z-index: 1;
}
.page-hero--media .eyebrow { color: var(--color-accent-gold); }
.page-hero--media .display { color: var(--color-white); }
.page-hero--media .lead { color: rgba(255, 255, 255, 0.8); max-width: 38rem; }

/* Service blocks elevated */
.service-block {
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--color-shadow-lg);
}

/* Contact cards hover */
.contact-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px var(--color-shadow-lg);
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .media-card:hover,
  .stat-card:hover,
  .step:hover,
  .service-block:hover,
  .contact-card:hover,
  .chip:hover,
  .card:hover,
  .btn--primary:hover {
    transform: none;
  }
  .media-card:hover .media-card__media img { transform: none; }
  .ken-burns { animation: none !important; }
}

/* Soft geometric wash behind sections */
.section--wash {
  position: relative;
  overflow: hidden;
}
.section--wash::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.08) 0%, transparent 70%);
  top: -10rem;
  right: -8rem;
  pointer-events: none;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }

@media (max-width: 768px) {
  .logo__lockup { height: 40px; }
}
