/* =====================================================================
   SCE Distributor — Corporate Design System
   Brand: Tiffany Green | Type: Space Grotesk + Inter
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — Tiffany green family */
  --tiffany:      #0ABAB5;
  --tiffany-bright:#19D3CE;
  --tiffany-600:  #07A39E;
  --tiffany-700:  #068884;
  --tiffany-800:  #0A6B68;
  --tiffany-900:  #0C4F4D;

  /* Ink / dark teal for text + dark sections */
  --ink:    #07211F;
  --ink-2:  #0E312E;
  --teal-950:#04201E;
  --teal-900:#062B28;

  /* Mint surfaces */
  --mint-50:  #F3FCFB;
  --mint-100: #E4F7F5;
  --mint-200: #CDEFEC;
  --mint-300: #A9E4DF;

  /* Neutrals */
  --paper:  #FFFFFF;
  --paper-2:#F7FBFB;
  --muted:  #51635F;       /* secondary text */
  --muted-2:#7B8B88;
  --line:   rgba(7, 33, 31, .10);
  --line-2: rgba(7, 33, 31, .06);

  /* Accent — champagne gold for awards / premium */
  --gold:   #C9A24B;
  --gold-2: #E6C885;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(7,33,31,.06), 0 1px 1px rgba(7,33,31,.04);
  --shadow:    0 10px 30px -12px rgba(7,33,31,.18);
  --shadow-lg: 0 30px 60px -20px rgba(7,33,31,.28);
  --shadow-tiffany: 0 20px 45px -18px rgba(10,186,181,.45);

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --container: 1180px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Fluid type scale */
  --fs-eyebrow: .80rem;
  --fs-body: clamp(1rem, .96rem + .2vw, 1.075rem);
  --fs-lead: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.7rem + 3.8vw, 4.4rem);
  --fs-display: clamp(3rem, 1.8rem + 5.5vw, 6rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4, .display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 600;
}

::selection { background: var(--tiffany); color: #fff; }

:focus-visible {
  outline: 3px solid var(--tiffany);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.container--wide { max-width: 1320px; }
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-prose { max-width: 62ch; }
.maxw-sm { max-width: 540px; }
.maxw-md { max-width: 720px; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap { gap: 20px; }
.wrap { flex-wrap: wrap; }
.relative { position: relative; }

@media (max-width: 960px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

/* ---------- Typography utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tiffany-700);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--tiffany), transparent);
}
.eyebrow.is-light { color: var(--tiffany-bright); }
.eyebrow.is-center { justify-content: center; }
.eyebrow.is-center::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(270deg, var(--tiffany), transparent);
}

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.55; font-weight: 400; }
.muted { color: var(--muted); }
.balance { text-wrap: balance; }
.grad-text {
  background: linear-gradient(100deg, var(--tiffany-bright), #7ff3ef 50%, #eafffd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Sits on the hero video — luminous stops + a dark halo keep it legible
     over both bright frames and the dark scrim. drop-shadow paints around the
     clipped glyphs where text-shadow would be clipped away. */
  filter: drop-shadow(0 1px 2px rgba(4,32,30,.9)) drop-shadow(0 2px 16px rgba(4,32,30,.55));
}
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.is-center { margin-inline: auto; }
.section-head p { margin-top: 16px; }
.mt-s { margin-top: 14px; } .mt { margin-top: 24px; } .mt-l { margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--tiffany); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { box-shadow: var(--shadow-tiffany); }
.btn--primary:hover { background: var(--tiffany-600); transform: translateY(-2px); box-shadow: 0 26px 50px -16px rgba(10,186,181,.55); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--tiffany); color: var(--tiffany-700); background: var(--mint-50); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mint-100); transform: translateY(-2px); }
.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 1.04rem; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
/* Press feedback: the button should feel like it heard the click.
   Placed after the :hover rules so it wins while pressed; .12s keeps it snappy. */
.btn:active { transform: scale(.97); transition-duration: .12s; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  font-family: "Space Grotesk", sans-serif; color: var(--tiffany-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--mint-100); color: var(--tiffany-800); border: 1px solid var(--line-2);
  font-family: "Space Grotesk", sans-serif; letter-spacing: .01em;
}
.chip--glass { background: rgba(255,255,255,.10); color: #eafdfb; border-color: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.chip--gold { background: rgba(201,162,75,.14); color: #9a7a2f; border-color: rgba(201,162,75,.25); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tiffany); box-shadow: 0 0 0 4px rgba(10,186,181,.18); }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.nav {
  position: fixed; inset: 14px 14px auto; z-index: 100;
  max-width: var(--container); margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 14px 40px -24px rgba(7,33,31,.4);
  transition: background .3s, box-shadow .3s, transform .3s;
}
@media (min-width: 1224px) { .nav { inset: 14px auto auto 50%; transform: translateX(-50%); width: var(--container); } }
.nav.is-scrolled { background: rgba(255,255,255,.92); box-shadow: 0 18px 44px -22px rgba(7,33,31,.5); }
.nav.on-dark:not(.is-scrolled) {
  background: rgba(7,33,31,.34); border-color: rgba(255,255,255,.16);
}
.nav.on-dark:not(.is-scrolled) .nav__link,
.nav.on-dark:not(.is-scrolled) .brand__name { color: #fff; }
.nav.on-dark:not(.is-scrolled) .brand__name span { color: var(--tiffany-bright); }
.nav.on-dark:not(.is-scrolled) .nav__burger span { background: #fff; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__logo { display: inline-flex; align-items: center; height: 44px; padding: 5px 9px; background: #fff; border-radius: 11px; box-shadow: 0 1px 3px rgba(7,33,31,.14); flex: none; }
.brand__logo img { height: 100%; width: auto; display: block; }
.footer .brand__logo { box-shadow: none; }
.brand__name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.brand__name span { color: var(--tiffany-700); }
.brand__sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-top: 3px; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-radius: 999px;
  font-size: .94rem; font-weight: 500; color: var(--ink-2);
  font-family: "Space Grotesk", sans-serif;
  background: transparent; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item:hover .nav__link { color: var(--tiffany-700); background: var(--mint-100); }
.nav__link.is-active { color: var(--tiffany-700); }
.nav__link .caret { width: 14px; height: 14px; transition: transform .25s var(--ease); opacity: .7; }
.nav__item:hover .caret { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 250px; padding: 10px; border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease);
}
/* Invisible bridge across the gap so the menu stays open while the cursor
   travels from the trigger down to the panel. */
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dd-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--ink); transition: background .18s, color .18s; }
.nav__dd-link:hover { background: var(--mint-100); color: var(--tiffany-700); }
.nav__dd-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--mint-100); color: var(--tiffany-700); }
.nav__dd-ico svg { width: 18px; height: 18px; }
.nav__dd-link b { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .92rem; display: block; color: var(--ink); }
.nav__dd-link small { color: var(--muted); font-size: .76rem; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer; transition: transform .12s var(--ease-out), background .2s; }
.nav__burger:active { transform: scale(.92); }
.nav__burger span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__menu, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; padding: calc(var(--nav-h) + 28px) 22px 30px;
  background: rgba(247,251,251,.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.mobile-menu a { padding: 15px 18px; border-radius: 14px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--ink); border: 1px solid transparent; }
.mobile-menu a:hover, .mobile-menu a.is-active { background: var(--mint-100); color: var(--tiffany-700); border-color: var(--line-2); }
.mobile-menu .mm-group-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); padding: 18px 18px 6px; font-weight: 700; }
.mobile-menu .btn { margin-top: 18px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding-top: calc(var(--nav-h) + 70px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.mesh {
  position: absolute; inset: -20% -10% auto; height: 140%; filter: blur(10px);
  background:
    radial-gradient(40% 50% at 18% 22%, rgba(25,211,206,.55), transparent 60%),
    radial-gradient(45% 55% at 82% 14%, rgba(10,186,181,.42), transparent 62%),
    radial-gradient(50% 60% at 65% 88%, rgba(6,136,132,.45), transparent 60%),
    radial-gradient(40% 50% at 12% 92%, rgba(12,79,77,.5), transparent 60%);
}
.hero--dark { background: radial-gradient(120% 120% at 50% 0%, #0a3331 0%, var(--teal-950) 60%); color: #eafdfb; }
.hero--dark h1, .hero--dark .h1 { color: #fff; }
.hero--dark .lead { color: #b8e6e2; }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.glow-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; animation: float 14s var(--ease) infinite; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(14px); } }
@media (prefers-reduced-motion: reduce) { .glow-orb { animation: none; } }

.grid-lines { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%);
}

/* =====================================================================
   HERO BACKGROUND VIDEO (mouse-scrub controlled)
   ===================================================================== */
.hero-video {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
  background: #04201e; pointer-events: none;
}
/* Hero shows the fixed video behind it; a scrim keeps the light text legible. */
.hero--video { position: relative; z-index: 1; background: transparent; }
.hero--video .hero__bg, .hero--video .grain { display: none; }
.hero--video::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,32,30,.34) 0%, rgba(4,32,30,.12) 44%, rgba(4,32,30,.52) 100%);
}
.hero--video > .container { position: relative; z-index: 1; }
/* Lift the scrim but keep text crisp on bright frames via a soft diffuse shadow
   instead of a heavy overlay. */
.hero--video h1,
.hero--video .lead { text-shadow: 0 1px 26px rgba(4,32,30,.5); }
/* Everything below the hero gets an opaque surface so it covers the
   fixed video once the user scrolls past the hero. */
.hero--video ~ section,
.hero--video ~ footer { position: relative; z-index: 1; background: var(--paper); }

/* Page hero (interior pages) */
.pagehero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + 64px); padding-bottom: clamp(48px, 7vw, 92px);
  background: radial-gradient(120% 130% at 50% -10%, #0c3936 0%, var(--teal-950) 65%); color: #eafdfb; }
.pagehero h1 { color: #fff; max-width: 16ch; }
.pagehero .lead { color: #b8e6e2; max-width: 60ch; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: #8fcfca; margin-bottom: 22px; font-family: "Space Grotesk", sans-serif; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.pagehero__deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 460px; height: 460px; opacity: .5; z-index: 0; pointer-events: none; }

/* =====================================================================
   CARDS
   ===================================================================== */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--mint-300); }
.card--mint { background: var(--mint-50); }
.card--ink { background: var(--ink); color: #d8f5f2; border-color: rgba(255,255,255,.08); }
.card--ink h3, .card--ink .h3 { color: #fff; }
.card__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-100); color: var(--tiffany-700); margin-bottom: 22px; transition: background .3s, color .3s, transform .3s; }
.card__ico svg { width: 26px; height: 26px; }
.card--hover:hover .card__ico { background: var(--tiffany); color: #fff; transform: scale(1.05) rotate(-3deg); }
.card h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 2.6rem; color: var(--mint-200); line-height: 1; position: absolute; top: 20px; right: 24px; }

/* Bento */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); }
.bento > * { grid-column: span 2; }
.bento .span-2 { grid-column: span 2; }
.bento .span-4 { grid-column: span 4; }
.bento .row-2 { grid-row: span 2; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; } .bento > *, .bento .span-2, .bento .span-4 { grid-column: span 2; } }

/* =====================================================================
   STATS
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 36px); }
.stat__num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat__num .u { color: var(--tiffany); }
.stat__label { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.stats--light .stat__num { color: #fff; }
.stats--light .stat__num .u { color: var(--tiffany-bright); }
.stats--light .stat__label { color: #9fd8d3; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 18px; } }

/* =====================================================================
   SPLIT (image + text)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--media-right { direction: ltr; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* =====================================================================
   PLACEHOLDER (elegant image stand-in)
   ===================================================================== */
.ph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    linear-gradient(135deg, var(--mint-100), var(--mint-200));
  border: 1px solid var(--line);
  display: grid; place-items: center; min-height: 240px; color: var(--tiffany-800);
  isolation: isolate;
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(10,186,181,.25) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
.ph__inner { text-align: center; padding: 28px; display: grid; gap: 12px; justify-items: center; }
.ph__icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.7); display: grid; place-items: center; color: var(--tiffany-700); box-shadow: var(--shadow-sm); }
.ph__icon svg { width: 28px; height: 28px; }
.ph__label { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .95rem; color: var(--tiffany-900); }
.ph__sub { font-size: .8rem; color: var(--tiffany-800); opacity: .75; max-width: 32ch; }
.ph--ink { background: linear-gradient(135deg, #0c3936, var(--teal-950)); color: #cdeeeb; border-color: rgba(255,255,255,.08); }
.ph--ink .ph__icon { background: rgba(255,255,255,.08); color: var(--tiffany-bright); }
.ph--ink .ph__label { color: #eafdfb; }
.ph--ink .ph__sub { color: #9fd8d3; }
.ph--tall { min-height: 420px; }
.ph--wide { aspect-ratio: 16/9; min-height: 0; }
.ph--square { aspect-ratio: 1; min-height: 0; }
.ph--portrait { aspect-ratio: 3/4; min-height: 0; }
.tag-ph { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* Real photo dropped into a placeholder box (keeps the box sizing/clipping). */
.ph--photo { background: #08231f; border: 0; }
.ph--photo::before { display: none; }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph__img--contain { object-fit: contain; background: #fff; }
.ph__img--top { object-position: top center; }

/* =====================================================================
   MARQUEE / LOGO WALL
   ===================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; } }

.logo-tile {
  flex: none; display: grid; place-items: center; gap: 6px;
  width: 168px; height: 92px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); color: var(--muted);
  transition: color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.logo-tile:hover { color: var(--tiffany-700); border-color: var(--mint-300); transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-wm { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.32rem; letter-spacing: -.01em; }
.brand-logo {
  display: block; width: 124px; height: 40px;
  background-color: var(--muted);
  -webkit-mask: var(--logo) center / contain no-repeat;
          mask: var(--logo) center / contain no-repeat;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.logo-tile:hover .brand-logo { background-color: var(--tiffany-700); }
.media-logo {
  height: 36px; width: auto; max-width: 120px; object-fit: contain;
  transition: transform .25s var(--ease);
}
.logo-tile:hover .media-logo { transform: scale(1.05); }
.media-wm { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink-2); }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-grid .logo-tile { width: 100%; }
.logo-grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .logo-grid, .logo-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-grid, .logo-grid--5 { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   TIMELINE / PROCESS
   ===================================================================== */
.timeline { position: relative; display: grid; gap: 8px; }
.tl-step { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 26px; padding-bottom: 36px; }
.tl-step:not(:last-child)::before { content: ""; position: absolute; left: 41px; top: 70px; bottom: -8px; width: 2px; background: linear-gradient(var(--mint-300), var(--mint-100)); }
.tl-num { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--mint-50); border: 1px solid var(--line); color: var(--tiffany-700); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.7rem; position: relative; z-index: 1; transition: background .3s, color .3s, transform .3s; }
.tl-step:hover .tl-num { background: var(--tiffany); color: #fff; transform: scale(1.04); }
.tl-body { padding-top: 6px; }
.tl-body h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.tl-body .chip { margin-bottom: 12px; }
@media (max-width: 620px) { .tl-step { grid-template-columns: 60px 1fr; gap: 18px; } .tl-num { width: 60px; height: 60px; border-radius: 18px; font-size: 1.3rem; } .tl-step:not(:last-child)::before { left: 29px; } }

/* =====================================================================
   TESTIMONIAL
   ===================================================================== */
.quote { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.4; letter-spacing: -.01em; color: var(--ink); font-weight: 500; }
.quote-mark { font-family: "Space Grotesk", sans-serif; font-size: 4rem; line-height: .6; color: var(--tiffany); height: 34px; display: block; }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--tiffany), var(--tiffany-800)); display: grid; place-items: center; color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; flex: none; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }

/* =====================================================================
   ACCORDION
   ===================================================================== */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc + .acc { margin-top: 14px; }
.acc__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: none; border: 0; text-align: left; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.acc__head:hover { color: var(--tiffany-700); }
.acc__icon { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s; }
.acc__icon svg { width: 16px; height: 16px; }
.acc.is-open .acc__icon { transform: rotate(45deg); background: var(--tiffany); color: #fff; border-color: var(--tiffany); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc__body-inner { padding: 0 24px 24px; color: var(--muted); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 76px); background: radial-gradient(120% 160% at 0% 0%, #0c4f4d, var(--teal-950)); color: #eafdfb; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #a9e4df; }
.cta-band .glow-orb { animation: none; }

/* =====================================================================
   FORM
   ===================================================================== */
.field { display: grid; gap: 8px; }
.field label { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .88rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper-2); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tiffany); box-shadow: 0 0 0 4px rgba(10,186,181,.14); background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

/* Responsive two-column layouts (replaces inline grid-template-columns so
   they collapse on mobile instead of squishing). */
.grid--split-13 { grid-template-columns: 1.3fr 1fr; }
.grid--split-14 { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 880px) {
  .grid--split-13, .grid--split-14 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* Contact info item */
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--mint-100); color: var(--tiffany-700); display: grid; place-items: center; }
.info-ico svg { width: 22px; height: 22px; }
.info-row b { font-family: "Space Grotesk", sans-serif; display: block; margin-bottom: 2px; }
.info-row span, .info-row a { color: var(--muted); }
.info-row a:hover { color: var(--tiffany-700); }

/* =====================================================================
   FEATURE LIST (checks)
   ===================================================================== */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.check-ico { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--mint-100); color: var(--tiffany-700); display: grid; place-items: center; margin-top: 2px; }
.check-ico svg { width: 14px; height: 14px; }

/* Pills row */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }

/* Divider */
.hr { height: 1px; background: var(--line); border: 0; margin-block: clamp(40px, 6vw, 72px); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: radial-gradient(120% 140% at 80% 0%, #0c3936, var(--teal-950)); color: #c4e9e5; padding-top: clamp(56px, 7vw, 88px); margin-top: clamp(40px,6vw,80px); }
.footer a { color: #c4e9e5; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: var(--tiffany-bright); }
.footer__brand p { color: #8fc4bf; margin-top: 18px; max-width: 34ch; }
.footer h4 { font-family: "Space Grotesk", sans-serif; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #6fb3ad; margin-bottom: 20px; font-weight: 600; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.social { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #c4e9e5; transition: background .25s, color .25s, transform .25s, border-color .25s; }
.social:hover { background: var(--tiffany); color: #fff; border-color: var(--tiffany); transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #79b8b2; }
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Floating card / mock device */
.device {
  border-radius: 20px; background: linear-gradient(160deg, #0e3a37, var(--teal-950));
  border: 1px solid rgba(255,255,255,.1); padding: 16px; box-shadow: var(--shadow-lg);
}
.device__screen { border-radius: 12px; background: linear-gradient(160deg, #06302d, #04201e); aspect-ratio: 16/10; padding: 18px; position: relative; overflow: hidden; }
.device__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.float-badge { position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; }
.float-badge .fb-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--mint-100); color: var(--tiffany-700); display: grid; place-items: center; flex: none; }
.float-badge .fb-ico svg { width: 20px; height: 20px; }
.float-badge b { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; display: block; line-height: 1.1; color: var(--ink); }
.float-badge small { color: var(--muted); font-size: .76rem; }

.anim-float { animation: float 7s var(--ease) infinite; }
.anim-float-2 { animation: float 9s var(--ease) infinite reverse; }
@media (prefers-reduced-motion: reduce) { .anim-float, .anim-float-2 { animation: none; } }

/* Utility spacing */
.mb-0 { margin-bottom: 0; }
.full-w { width: 100%; }

/* =====================================================================
   LANGUAGE SWITCH
   ===================================================================== */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0,0,0,.03); }
.nav.on-dark:not(.is-scrolled) .lang-switch { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.06); }
.lang-opt { font: 600 .76rem/1 "Space Grotesk", sans-serif; letter-spacing: .04em; padding: 6px 11px; border: 0; background: transparent; color: inherit; border-radius: 999px; cursor: pointer; opacity: .65; transition: opacity .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.lang-opt:hover { opacity: 1; }
.lang-opt.is-active { background: var(--tiffany); color: #06302e; opacity: 1; }
.lang-switch--mobile { display: flex; width: 100%; margin-top: 22px; }
.lang-switch--mobile .lang-opt { flex: 1; padding: 13px; font-size: .92rem; }
@media (max-width: 1100px) { .nav__cta .lang-switch { display: none; } }

/* =====================================================================
   REVIEW WALL — auto-scrolling customer testimonials
   ===================================================================== */
.review-wall { display: grid; gap: 16px; }
.review-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.review-track { display: flex; gap: 16px; width: max-content; animation: scroll-x 90s linear infinite; }
.review-track--rev { animation-direction: reverse; }
.review-wall:hover .review-track { animation-play-state: paused; }
.review-card { width: 230px; flex: none; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.review-card img { display: block; width: 100%; height: 318px; object-fit: cover; object-position: top center; }
@media (prefers-reduced-motion: reduce) { .review-track { animation: none; } .review-row { overflow-x: auto; } }

/* AWARD MARQUEE — looping recognition gallery */
.award-strip .marquee__track { animation: scroll-x 64s linear infinite; gap: 20px; }
.award-strip:hover .marquee__track { animation-play-state: paused; }
.marquee__track--rev { animation-direction: reverse; }

/* TikTok video embed (Life at SCE) */
.tiktok-wrap { display: flex; justify-content: center; }
.tiktok-wrap .tiktok-embed { margin: 0 auto !important; }
.tiktok-wrap iframe { max-width: 100% !important; }

/* Newspaper clippings gallery */
.news-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; }
.news-item { margin: 0; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #f4f6f5; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(2, 32, 30, .10); transition: transform .2s, box-shadow .2s; }
.news-item:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(2, 32, 30, .16); }
.news-item:focus-visible { outline: 2px solid var(--tiffany); outline-offset: 2px; }
.news-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Office culture gallery */
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.office-item { margin: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; box-shadow: 0 10px 26px rgba(2, 32, 30, .10); transition: transform .2s, box-shadow .2s; }
.office-item:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(2, 32, 30, .16); }
.office-item:focus-visible { outline: 2px solid var(--tiffany); outline-offset: 2px; }
.office-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .office-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }

/* Featured case-study cross-fade slideshow */
.case-slideshow { position: relative; overflow: hidden; }
.case-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Generic CSS-only cross-fade slideshow */
.slideshow { position: relative; overflow: hidden; }
.slideshow .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.slideshow .slide.is-active { opacity: 1; }

/* Filterable review grid */
.container--wide { max-width: 1280px; }
.rev-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.rev-fbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid #d7e6e4; background: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .9rem; color: #0f2e2c; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.rev-fbtn:hover { border-color: var(--tiffany); }
.rev-fbtn.is-active { background: var(--accent, var(--tiffany)); border-color: var(--accent, var(--tiffany)); color: #fff; }
.rev-fbtn__ico { display: inline-flex; width: 16px; height: 16px; }
.rev-fbtn__ico svg { width: 16px; height: 16px; }
.rev-fbtn__count { opacity: .65; font-size: .8rem; }
.rev-fbtn.is-active .rev-fbtn__count { opacity: .9; }
.rev-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.rev-item { margin: 0; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #eef4f3; box-shadow: 0 8px 22px rgba(2, 32, 30, .10); cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.rev-item:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(2, 32, 30, .16); }
.rev-item:focus-visible { outline: 2px solid var(--tiffany); outline-offset: 2px; }
.rev-item.is-hidden { display: none; }
.rev-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
@media (max-width: 1100px) { .rev-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 900px)  { .rev-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  {
  .rev-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  /* filter bar becomes a single swipeable row */
  .rev-filter { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-bottom: 24px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .rev-filter::-webkit-scrollbar { display: none; }
  .rev-fbtn { flex: 0 0 auto; padding: 8px 14px; font-size: .85rem; }
}
@media (max-width: 380px) { .rev-grid { gap: 8px; } }

/* See more / fewer */
.rev-more-wrap { display: flex; justify-content: center; margin-top: 32px; }
.rev-more { padding: 12px 26px; border-radius: 999px; border: 1px solid var(--tiffany); background: #fff; color: var(--tiffany-800); font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s; }
.rev-more:hover { background: var(--tiffany); color: #fff; }

/* Lightbox */
.rev-lb { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(4, 20, 19, .9); backdrop-filter: blur(4px); padding: clamp(16px, 4vw, 48px); touch-action: manipulation; }
.rev-lb[hidden] { display: none; }
.rev-lb__img { max-width: min(92vw, 620px); max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }
.rev-lb__btn { position: absolute; display: grid; place-items: center; border: none; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); border-radius: 999px; transition: background .2s; }
.rev-lb__btn:hover { background: rgba(255, 255, 255, .28); }
.rev-lb__close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; }
.rev-lb__prev, .rev-lb__next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.rev-lb__prev { left: clamp(10px, 3vw, 36px); }
.rev-lb__next { right: clamp(10px, 3vw, 36px); }
@media (max-width: 560px) { .rev-lb__prev, .rev-lb__next { width: 42px; height: 42px; font-size: 1.5rem; } }

/* Awards hero plaque cluster */
.award-hero-media { position: relative; min-height: 480px; }
.award-plaque { position: absolute; margin: 0; width: 62%; border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.42); will-change: transform; }
.award-plaque img { display: block; width: 100%; height: auto; border-radius: 12px; }
.award-plaque--back { left: 0; top: 4%; z-index: 1; }
.award-plaque--front { right: 0; top: 26%; z-index: 2; }
@media (max-width: 900px) {
  .award-hero-media { min-height: 400px; max-width: 480px; margin: 20px auto 0; width: 100%; }
}
@media (max-width: 480px) {
  .award-hero-media { min-height: 340px; }
  .award-plaque { width: 66%; }
}
.award-card { width: 208px; flex: none; height: 286px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; padding: 12px; }
.award-card img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }

/* =====================================================================
   CERTIFICATION GALLERY + LIGHTBOX
   ===================================================================== */
.cert-card { margin: 0; }
.cert-zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; aspect-ratio: 3/4; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.cert-zoom:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-300); }
.cert-zoom:active { transform: scale(.98); transition-duration: .12s; }
.cert-zoom img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 12px; }
.cert-card figcaption { margin-top: 12px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .9rem; color: var(--ink-2); text-align: center; line-height: 1.35; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: clamp(16px, 4vw, 56px); background: rgba(4,32,30,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: zoom-out; opacity: 0; transition: opacity .2s var(--ease); }
.lightbox.is-open { display: grid; opacity: 1; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.55); background: #fff; }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s var(--ease); }
.lightbox__close:hover { background: rgba(255,255,255,.3); }
.cert-card--feature { grid-column: 1 / -1; margin-top: 6px; }
.cert-card--feature .cert-zoom { aspect-ratio: 1677 / 1586; max-width: 720px; margin-inline: auto; }
@media (max-width: 760px) { #certGrid { grid-template-columns: 1fr 1fr; } }

/* Floating certification badges (animate in on load/scroll, then drift) */
.cert-float {
  position: relative; aspect-ratio: 3/4; max-width: 420px; margin-inline: auto;
  border-radius: var(--radius-xl); overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, var(--mint-100), var(--mint-200));
  border: 1px solid var(--line);
}
.cert-float::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(rgba(10,186,181,.20) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.cert-float__glow {
  position: absolute; z-index: -1; width: 70%; height: 55%; left: 15%; top: 22%;
  background: radial-gradient(circle, rgba(25,211,206,.42), transparent 70%); filter: blur(34px);
  animation: cbFloat 11s var(--ease) infinite;
}
.cert-badge { position: absolute; animation: cbFloat var(--ft, 7s) ease-in-out infinite; animation-delay: var(--fd, 0s); }
.cert-badge__inner {
  display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 15px;
  background: #fff; box-shadow: var(--shadow); white-space: nowrap;
  opacity: 0; transform: scale(.82) translateY(8px);
  animation: cbPop .7s var(--ease-out) forwards; animation-delay: var(--d, 0s);
}
.cert-badge__ico { width: 36px; height: 36px; border-radius: 11px; background: var(--mint-100); color: var(--tiffany-700); display: grid; place-items: center; flex: none; }
.cert-badge__ico svg { width: 20px; height: 20px; }
.cert-badge__txt b { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.05; display: block; }
.cert-badge__txt small { color: var(--muted); font-size: .72rem; }
@keyframes cbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes cbPop { to { opacity: 1; transform: scale(1) translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .cert-badge, .cert-float__glow { animation: none; }
  .cert-badge__inner { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 480px) { .cert-badge__inner { padding: 10px 13px; } .cert-badge__txt b { font-size: .92rem; } }

/* EVOLUTION OF REFURBISHED LAPTOPS — tier cards */
.evo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.evo-card { position: relative; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.evo-card--hi { background: linear-gradient(150deg, #0c3936, var(--teal-950)); color: #eafdfb; border-color: rgba(255,255,255,.08); }
.evo-tier { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--mint-300); }
.evo-card--hi .evo-tier { color: var(--tiffany-bright); }
.evo-name { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.12rem; margin-top: 10px; }
.evo-card p { font-size: .92rem; margin-top: 8px; }
.evo-card--hi p { color: #a9e4df; }
@media (max-width: 760px) { .evo-grid { grid-template-columns: 1fr; } }
