/* ==========================================================================
   SmartCorp — launch announcement site
   Palette and typography taken from "SmartCorp - Theme.pptx" brand deck.
   ========================================================================== */

:root {
  /* Primary */
  --navy:        #1B4489;
  --navy-deep:   #122F5F;
  --navy-ink:    #0C2043;
  --teal:        #33BEAD;

  /* Secondary & neutrals */
  --navy-tint:   #4869A0;
  --teal-tint:   #70D1C5;
  --slate:       #707272;
  --mist:        #F2F3F4;
  --white:       #FFFFFF;

  /* Derived */
  --ink:         #101C2E;
  --body:        #4A5568;
  --hairline:    rgba(18, 47, 95, .12);
  --hairline-on-dark: rgba(255, 255, 255, .16);

  --font: Arial, "Helvetica Neue", Helvetica, "Segoe UI", sans-serif;

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}

p { margin: 0; }

::selection { background: var(--teal); color: var(--navy-ink); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--teal);
  color: var(--navy-ink);
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* -------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(72px, 11vw, 132px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-deep); color: rgba(255,255,255,.78); }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* ------------------------------------------------------------- eyebrow -- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--teal);
  flex: none;
}
.eyebrow--light { color: var(--teal); }

/* ---------------------------------------------------------------- logo -- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: none;
}
.logo img { width: 34px; height: 34px; }
.logo__word {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}
.logo__word b { font-weight: 700; }

/* ----------------------------------------------------------------- nav -- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition: background .32s var(--ease), box-shadow .32s var(--ease), height .32s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  opacity: .82;
  transition: opacity .2s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: right .3s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { right: 0; }
.nav__link[aria-current="page"] { opacity: 1; }

/* solid state, set by site.js on scroll and used on inner pages */
.nav.is-solid {
  background: var(--navy-deep);
  box-shadow: 0 1px 0 var(--hairline-on-dark), 0 12px 34px rgba(12, 32, 67, .22);
}

/* --------------------------------------------------------- arrow motif -- */
/* The brand arrow device, lifted from the theme deck. Purely decorative. */

.motif {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.motif svg {
  position: absolute;
  height: 118%;
  width: auto;
  top: -9%;
  right: -2%;
}
.motif--soft svg { opacity: .5; }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 56px) 0 72px;
  background: var(--navy-deep);
  background-image:
    radial-gradient(120% 90% at 12% 0%, rgba(27, 68, 137, .85) 0%, rgba(18, 47, 95, 0) 62%),
    radial-gradient(70% 60% at 92% 96%, rgba(51, 190, 173, .16) 0%, rgba(18, 47, 95, 0) 70%);
  color: var(--white);
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; }
.hero__inner > * { max-width: 900px; }

.hero h1 {
  color: var(--white);
  font-size: clamp(40px, 7.4vw, 88px);
  letter-spacing: -.035em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero__lede {
  max-width: 60ch;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
}
.hero__lede + .hero__lede { margin-top: 18px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.hero__scroll {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  bottom: 30px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
}
.hero__scroll span[aria-hidden] {
  display: inline-block;
  animation: nudge 2.2s var(--ease) infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* page header for inner pages */
.pagehead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(60px, 9vw, 108px)) 0 clamp(56px, 8vw, 96px);
  background: var(--navy-deep);
  background-image: radial-gradient(115% 100% at 8% 0%, rgba(27, 68, 137, .8) 0%, rgba(18, 47, 95, 0) 60%);
  color: rgba(255, 255, 255, .76);
}
.pagehead__inner { position: relative; z-index: 1; }
.pagehead__inner > * { max-width: 800px; }
.pagehead h1 {
  color: var(--white);
  font-size: clamp(34px, 5.6vw, 62px);
  margin-bottom: 22px;
  text-wrap: balance;
}
.pagehead p { max-width: 58ch; font-size: clamp(16px, 1.9vw, 19px); }

/* -------------------------------------------------------------- button -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--teal { background: var(--teal); color: var(--navy-ink); }
.btn--teal:hover { background: var(--teal-tint); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .34);
  color: var(--white);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .07); }

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }

/* -------------------------------------------------------------- pillars -- */

.lead-block { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.lead-block h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  margin-bottom: 20px;
  text-wrap: balance;
}
.lead-block p { font-size: clamp(16px, 1.9vw, 19px); }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.pillar {
  background: var(--white);
  padding: clamp(30px, 4vw, 44px);
}
.pillar__num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--teal);
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 21px;
  letter-spacing: -.015em;
  margin-bottom: 12px;
}
.pillar p { font-size: 16px; }

/* ----------------------------------------------------------- statement -- */

.statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: clamp(72px, 11vw, 132px) 0;
}
.statement__inner { position: relative; z-index: 1; }
.statement__inner > * { max-width: 900px; }
.statement blockquote {
  margin: 0;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.03em;
  color: var(--white);
  text-wrap: balance;
}
.statement footer {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-tint);
}

/* ---------------------------------------------------------------- team -- */

.team-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(34px, 5.5vw, 76px);
  align-items: center;
  margin-bottom: clamp(52px, 7vw, 92px);
}
.team-intro .lead-block { margin-bottom: 0; max-width: none; }

@media (max-width: 900px) {
  .team-intro { grid-template-columns: 1fr; }
  .team-photo { max-width: min(460px, 100%); }
}

.team-photo {
  position: relative;
  margin-bottom: 0;
}
.team-photo figure { margin: 0; }
.team-photo img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.team-photo figcaption {
  margin-top: 18px;
  font-size: 14px;
  color: var(--slate);
  max-width: 58ch;
}
/* teal rule tucked behind the top-left corner of the photo */
.team-photo::before {
  content: "";
  position: absolute;
  left: -14px;
  top: -14px;
  width: 96px;
  height: 96px;
  border-left: 4px solid var(--teal);
  border-top: 4px solid var(--teal);
}

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
/* Borders live on the cells, so part-filled final rows leave no ghost tiles. */
.person {
  padding: 30px clamp(22px, 3vw, 34px) 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
}
.person__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
}
.person__role {
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
}
.person__place {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}
.person__place::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 9px;
  vertical-align: 1px;
  background: var(--teal);
}

.roster-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--slate);
  max-width: 62ch;
}

/* ------------------------------------------------------------ contact -- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .74);
  padding: clamp(72px, 10vw, 118px) 0;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
}
.cta h2 {
  color: var(--white);
  font-size: clamp(28px, 4.4vw, 46px);
  margin-bottom: 18px;
  text-wrap: balance;
}
.cta p { max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 820px) {
  .cta__inner { grid-template-columns: 1fr; align-items: start; }
}

/* -------------------------------------------------------------- footer -- */

.footer {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, .56);
  padding: 56px 0 40px;
  font-size: 14px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline-on-dark);
}
.footer .logo { color: var(--white); }
.footer__links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__links a {
  text-decoration: none;
  letter-spacing: .06em;
  transition: color .2s var(--ease);
}
.footer__links a:hover { color: var(--teal); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
}

/* ------------------------------------------------------------ 404 page -- */

.notfound {
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: left;
}
.notfound h1 { font-size: clamp(38px, 7vw, 76px); }

/* -------------------------------------------------------- reveal on scroll */

/* Only hide these when JS is present to reveal them again — a failed or
   blocked site.js must never leave content invisible. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span[aria-hidden] { animation: none; }
  .btn:hover { transform: none; }
}

/* ------------------------------------------------------------- narrow -- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links { gap: 16px; }
  .nav__link { font-size: 12px; letter-spacing: .08em; }
  .logo__word { font-size: 21px; }
  .logo img { width: 30px; height: 30px; }
  .hero__scroll { display: none; }
  .motif svg { height: 78%; top: auto; bottom: -6%; right: -22%; }
}
