/* ==========================================================================
   Whao Solutions — Apple-minimal redesign
   Single bundle: index-CdE7m0Ys.css
   No external fonts. System Apple stack. White, air, magenta accent.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --border: #d2d2d7;
  --accent: #e6007e;
  --accent-hover: #c7006d;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.04);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 260ms;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

/* Reset --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--accent); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* Container helper --------------------------------------------------------- */
.navbar__container,
.hero__container,
.services__container,
.verticals__container,
.projects__container,
.training__container,
.collab__container,
.contact__container,
.footer__container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

/* Section eyebrow ---------------------------------------------------------- */
.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 18px;
}

/* Reveal animations -------------------------------------------------------- */
.reveal,
.scroll-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible,
.scroll-reveal.is-visible,
.reveal.visible,
.scroll-reveal.visible,
.reveal.in-view,
.scroll-reveal.in-view {
  opacity: 1;
  transform: none;
}
/* Failsafe: always show after 2.5s in case JS doesn't toggle classes */
@keyframes whaoFadeUp {
  to { opacity: 1; transform: none; }
}
.reveal, .scroll-reveal {
  animation: whaoFadeUp 700ms var(--ease) 200ms forwards;
}

/* NAVBAR ------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar__logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.navbar__logo span {
  color: var(--accent);
  font-weight: 700;
  margin: 0 1px;
}
.navbar__menu {
  display: flex;
  gap: 36px;
  align-items: center;
}
.navbar__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.navbar__menu a:hover { color: var(--accent); }
.navbar__menu .navbar__cta {
  background: var(--text);
  color: #fff;
  padding: 8px 18px;
  border-radius: 980px;
  transition: background var(--t-fast) var(--ease);
}
.navbar__menu .navbar__cta:hover {
  background: var(--accent);
  color: #fff;
}
.navbar__toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.navbar__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  margin: 0 auto;
  transition: transform var(--t-fast) var(--ease);
}

/* HERO --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(80px, 14vw, 180px) 0 clamp(80px, 12vw, 160px);
  background: var(--bg);
  overflow: hidden;
}
.hero__bg, .hero__orb { display: none; } /* kill the orbs from old design */
.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
  max-width: 14ch;
}
.hero__line { display: block; }
.hero__accent {
  position: relative;
  color: var(--text);
}
.hero__accent::after {
  content: "";
  display: block;
  width: 0.5em;
  height: 4px;
  background: var(--accent);
  margin-top: 0.18em;
  border-radius: 2px;
}
.hero__claim {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 32ch;
}
.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 44ch;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 980px;
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
  letter-spacing: -0.005em;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
  padding: 13px 8px;
}
.btn--ghost::after {
  content: "›";
  margin-left: 4px;
  transition: transform var(--t-fast) var(--ease);
}
.btn--ghost:hover { color: var(--accent); }
.btn--ghost:hover::after { transform: translateX(3px); }
.btn--full { width: 100%; }

/* Generic section heading style ------------------------------------------- */
.services__title,
.verticals__title,
.projects__title,
.training__title,
.team__title,
.collab__title,
.contact__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 22ch;
}

/* Section base ------------------------------------------------------------- */
section {
  padding: clamp(80px, 12vw, 140px) 0;
}
.services { background: var(--bg); }
.verticals { background: var(--bg-alt); }
.projects { background: var(--bg); }
.training { background: var(--bg-alt); }
.team { background: var(--bg); }
.collab { background: var(--bg-alt); }
.contact { background: var(--bg); }

/* SERVICES ----------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--t-med) var(--ease);
}
.service:hover { background: var(--bg-alt); }
.service__num {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.service__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.service__tag {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}
.service__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* VERTICALS ---------------------------------------------------------------- */
.verticals__axis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 72px);
  font-size: 14px;
  color: var(--text-muted);
}
.axis__label {
  font-weight: 500;
  color: var(--text);
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 980px;
}
.axis__line {
  flex: 0 0 28px;
  height: 1px;
  background: var(--border);
}
.axis__hub {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.verticals__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.vertical {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.vertical:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.vertical__name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.vertical__claim {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}
.vertical__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.vertical__tags li {
  font-size: 13px;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 980px;
  font-weight: 500;
}

/* PROJECTS ----------------------------------------------------------------- */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.project__header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.project__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.project__client {
  font-size: 12px;
  color: var(--text-muted);
}
.project__name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.project__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.project__no-ai {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-style: normal;
}

.projects__track {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.projects__track-item {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.projects__track-item strong {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.projects__track-item span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.projects__track-item em {
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.85;
}

/* TRAINING ----------------------------------------------------------------- */
.training__board {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.training__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.training__row--last { border-bottom: 0; padding-bottom: 0; }
.training__row-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding-top: 6px;
}
.training__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.training__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--text);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.training__pill:hover {
  border-color: var(--text);
}
.training__pill strong {
  font-weight: 600;
}
.training__pill em {
  font-style: normal;
  color: var(--text-muted);
  font-size: 12px;
}
.training__pill em::before { content: "·"; margin-right: 4px; }
.training__pill--highlight {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.training__pill--highlight em { color: rgba(255,255,255,0.7); }

.training__impact {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.training__impact-stat {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.training__impact-stat strong {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.training__impact-stat strong span {
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 500;
}
.training__impact-stat p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.training__impact-stat--claim p {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.training__programs {
  margin-top: clamp(48px, 6vw, 64px);
}
.training__programs-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.training__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.training__topic {
  font-size: 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 980px;
  padding: 7px 14px;
  color: var(--text);
}

/* COLLAB ------------------------------------------------------------------- */
.collab__block {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.collab__block:last-of-type { margin-bottom: 0; }
.collab__cat {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.collab__logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.collab__logo {
  background: var(--bg);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: background var(--t-fast) var(--ease);
}
.collab__logo:hover { background: var(--bg-alt); }
.collab__logo img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.95);
  opacity: 0.7;
  transition: filter var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.collab__logo:hover img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
}
.collab__logo--tall img { max-height: 56px; }
.collab__logo--square img { max-height: 50px; }
.collab__logo--text span {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}
.collab__disclaimer {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.collab__disclaimer em { font-style: normal; }

/* CONTACT ------------------------------------------------------------------ */
.contact__container {
  text-align: center;
  max-width: 720px;
}
.contact__title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  max-width: none;
}
.contact__phone {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 48px;
  letter-spacing: -0.015em;
}
.contact__phone a:hover { color: var(--accent); }
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact__form input,
.contact__form textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  width: 100%;
  outline: none;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--text-muted);
}
.contact__form input:focus,
.contact__form textarea:focus {
  background: var(--bg);
  border-color: var(--text);
}
.contact__form textarea { resize: vertical; min-height: 130px; }

/* FOOTER ------------------------------------------------------------------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer__container { width: 100%; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer__logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.footer__logo span { color: var(--accent); font-weight: 700; }
.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* MOBILE ------------------------------------------------------------------- */
@media (max-width: 820px) {
  .navbar__menu {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    gap: 18px;
    transform: translateY(-105%);
    transition: transform var(--t-med) var(--ease);
    align-items: flex-start;
  }
  .navbar__menu.is-open,
  .navbar__menu.open,
  .navbar__menu.active {
    transform: translateY(0);
  }
  .navbar__toggle {
    display: inline-flex;
  }
  .training__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .training__row-label { padding-top: 0; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero__title { letter-spacing: -0.04em; }
  .vertical, .service, .project-card { padding: 24px; }
  section { padding: 72px 0; }
}

/* Print fallback */
@media print {
  .navbar, .footer { display: none; }
  body { background: #fff; color: #000; }
}
