/* ==========================================================================
   Azul Performance — ui.css
   Section & component layer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO (home)
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(40px, 5vw, 76px));
  padding-bottom: clamp(48px, 6vw, 84px);
  background: var(--vellum);
  position: relative;
  overflow: hidden;
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: clamp(36px, 4.6vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 560px; }
.hero__title { margin-top: 4px; }
.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .08em;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: swipe 1s var(--ease-out) .5s forwards;
}
@keyframes swipe { to { transform: scaleX(1); } }
.hero__lede { margin-top: 22px; max-width: 500px; }
.hero__acts { margin-top: 34px; }
.hero__meta {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line-hard);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hero__meta b {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: var(--w-light);
  letter-spacing: -.03em;
  color: var(--slate-900);
  line-height: 1;
}
.hero__meta span {
  display: block;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate-600);
}

/* Page hero (inner pages) */
.phero {
  padding-top: calc(var(--nav-h) + clamp(38px, 4.6vw, 66px));
  padding-bottom: clamp(38px, 4.6vw, 62px);
  background: var(--vellum);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.phero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 60px); align-items: end; }
.phero__title { margin-top: 24px; }
.phero__lede { margin-top: 20px; max-width: 620px; }
.phero__aside { padding-bottom: 6px; }
.phero--solo .phero__in { grid-template-columns: minmax(0, 1fr); }
.phero--solo .phero__lede { max-width: 720px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs a, .crumbs span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--iron);
}
.crumbs a:hover { color: var(--slate-900); }
.crumbs .sep { color: var(--cloud); }
.crumbs [aria-current] { color: var(--slate-900); }

/* --------------------------------------------------------------------------
   2. CONSOLE (hero product visual)
   -------------------------------------------------------------------------- */
.console {
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 14px;
  position: relative;
}
.console::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r);
  border: 1px solid var(--accent-hair);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.console:hover::after { opacity: 1; }

.console__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--frost);
}
.console__title {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--slate-700);
}
.console__bar .pill { margin-left: auto; }

.console__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0 12px;
  align-items: stretch;
}

.panel {
  background: var(--carbon);
  border-radius: var(--r);
  padding: 14px;
  color: var(--cloud);
}
.panel__h {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--iron);
  margin-bottom: 12px;
}
.panel__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 12.5px;
  color: var(--cloud);
  border-top: 1px solid rgba(255,255,255,.07);
}
.panel__row:first-of-type { border-top: 0; }
.panel__row .ico { width: 15px; height: 15px; color: var(--mist); }
.panel__row b { margin-left: auto; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; color: var(--iron); letter-spacing: .06em; }
.panel__row.is-hot .ico, .panel__row.is-hot b { color: var(--accent-lift); }

.console__link { display: flex; align-items: center; justify-content: center; }
.console__link svg { width: 100%; height: 100%; overflow: visible; }
.flow-path {
  fill: none;
  stroke: var(--cloud);
  stroke-width: 1.4;
}
.flow-live {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-dasharray: 6 90;
  animation: dashflow 2.6s linear infinite;
}
.flow-live--b { animation-delay: .6s; }
.flow-live--c { animation-delay: 1.3s; }
.flow-live--d { animation-delay: 1.9s; }
@keyframes dashflow { to { stroke-dashoffset: -96; } }
.flow-hub { fill: var(--accent); }
.flow-ring { fill: none; stroke: var(--accent); stroke-width: 1.2; transform-origin: center; animation: hubpulse 2.8s var(--ease-out) infinite; }
@keyframes hubpulse {
  0% { transform: scale(.55); opacity: .9; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.console__feed {
  background: var(--carbon-950);
  border-radius: var(--r);
  padding: 10px 12px;
  height: 122px;
  overflow: hidden;
  position: relative;
}
.console__feed::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42px;
  background: linear-gradient(to top, var(--carbon-950), transparent);
  pointer-events: none;
}
.feed-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 10px;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: var(--steel);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  animation: feedIn .45s var(--ease-out);
}
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } }
.feed-row em { font-style: normal; color: var(--cloud); }
.feed-row i { font-style: normal; color: var(--accent-lift); }
.feed-row s { text-decoration: none; color: var(--iron); }

.console__note {
  padding: 10px 4px 2px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   3. MEDIA TILES
   -------------------------------------------------------------------------- */
.tile {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--frost);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.tile--r43 { aspect-ratio: 4 / 3; }
.tile--r32 { aspect-ratio: 3 / 2; }
.tile--r11 { aspect-ratio: 1 / 1; }
.tile--r169 { aspect-ratio: 16 / 9; }
.tile--r54 { aspect-ratio: 5 / 4; }
.tile:hover img { transform: scale(1.045); }

.tile--framed {
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--frost);
  box-shadow: var(--sh);
}
.tile--framed > img,
.tile--framed .tile__inner { border-radius: var(--r); overflow: hidden; }

.tile__badge {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(11,11,11,.78);
  backdrop-filter: blur(6px);
  border-radius: var(--r);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}


.media-stack { position: relative; }
.media-stack__over {
  position: absolute;
  right: -18px; bottom: -22px;
  width: 45%;
  min-width: 190px;
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--r);
  box-shadow: var(--sh-lift);
  padding: 18px;
}
.media-stack__over b {
  display: block;
  font-size: 30px;
  font-weight: var(--w-light);
  letter-spacing: -.03em;
  color: var(--slate-900);
  line-height: 1;
}
.media-stack__over span {
  display: block;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--slate-600);
}

/* --------------------------------------------------------------------------
   4. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--r);
  padding: 28px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-lift); border-color: var(--cloud); }
.card__ico {
  width: 46px; height: 46px;
  border: 1px solid var(--frost);
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  margin-bottom: 20px;
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.card:hover .card__ico { color: var(--accent); border-color: var(--accent-hair); background: var(--accent-tint); }
.card__h { font-size: var(--t-sub); line-height: 1.28; letter-spacing: -.018em; font-weight: var(--w-reg); color: var(--slate-900); }
.card__p { margin-top: 12px; font-size: 15px; line-height: 1.62; color: var(--slate-600); }
.card__foot { margin-top: auto; padding-top: 20px; }
.card__num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--cloud);
}

.card--dark { background: var(--carbon); border-color: var(--carbon); }
.card--dark .card__h { color: #fff; }
.card--dark .card__p { color: var(--mist); }
.card--dark .card__ico { border-color: rgba(255,255,255,.14); color: var(--cloud); }
.card--dark:hover .card__ico { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); color: #fff; }
.card--dark .card__num { color: var(--steel); }

.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--cloud); }
.card--pad-lg { padding: 34px; }

/* Solution split cards */
.scard {
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease-out);
  height: 100%;
}
.scard:hover { box-shadow: var(--sh-lift); transform: translateY(-3px); }
.scard__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--carbon); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1s var(--ease-out), opacity .4s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.05); opacity: .95; }
.scard__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  border-radius: var(--r);
  padding: 6px 11px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-900);
}
.scard__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.scard__list { margin-top: 18px; }
.scard__list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--slate-600);
}
.scard__list li .ico { color: var(--accent); width: 16px; height: 16px; margin-top: 3px; }
.scard__body .btn { margin-top: 26px; align-self: flex-start; }

/* Vertical cards */
.vcard {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--carbon);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.vcard img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  z-index: -2;
  transition: transform 1.2s var(--ease-out), opacity .5s var(--ease);
}
.vcard::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11,11,11,.94) 12%, rgba(11,11,11,.42) 58%, rgba(11,11,11,.24) 100%);
}
.vcard:hover img { transform: scale(1.06); opacity: .62; }
.vcard__body { padding: 26px; width: 100%; }
.vcard__ico {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 16px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.vcard:hover .vcard__ico { background: var(--accent); border-color: var(--accent); }
.vcard__h { font-size: 21px; font-weight: var(--w-med); letter-spacing: -.02em; color: #fff; }
.vcard__p { margin-top: 10px; font-size: 14px; line-height: 1.58; color: var(--cloud); }
.vcard__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.vcard__tags span {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cloud);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r);
  padding: 4px 8px;
}

/* --------------------------------------------------------------------------
   5. STATS
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { background: var(--paper); padding: 32px 26px; }
.stat b {
  display: block;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: var(--w-light);
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--slate-900);
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 14px;
  line-height: 1.45;
  color: var(--slate-600);
}
.section--carbon .stats { background: var(--line-dark); border-color: var(--line-dark); }
.section--carbon .stat { background: var(--carbon-900); }
.section--carbon .stat b { color: #fff; }
.section--carbon .stat span { color: var(--iron); }

/* --------------------------------------------------------------------------
   6. MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}
.marquee__item .ico { width: 16px; height: 16px; color: var(--mist); }
.marquee--dark { background: var(--carbon-950); border-color: var(--line-dark); }
.marquee--dark .marquee__item { color: var(--iron); }
.marquee--rev .marquee__track { animation-direction: reverse; }

/* --------------------------------------------------------------------------
   7. STEPS / PROCESS
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps::before {
  content: '';
  position: absolute;
  top: 21px; left: 6%; right: 6%;
  height: 1px;
  background: var(--line-hard);
}
.steps--dark::before { background: rgba(255,255,255,.16); }
.step { position: relative; padding-top: 0; }
.step__dot {
  width: 42px; height: 42px;
  border-radius: var(--r);
  border: 1px solid var(--line-hard);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-700);
  position: relative;
  z-index: 1;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.step:hover .step__dot { background: var(--accent); color: #fff; border-color: var(--accent); }
.steps--dark .step__dot { background: var(--carbon-900); border-color: rgba(255,255,255,.2); color: var(--cloud); }
.step__h { margin-top: 22px; font-size: 18px; font-weight: var(--w-med); letter-spacing: -.015em; color: var(--slate-900); }
.steps--dark .step__h { color: #fff; }
.step__p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--slate-600); }
.steps--dark .step__p { color: var(--iron); }

/* Vertical timeline (about) */
.tline { position: relative; padding-left: 34px; }
.tline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line-hard);
}
.tline__item { position: relative; padding-bottom: 34px; }
.tline__item:last-child { padding-bottom: 0; }
.tline__item::before {
  content: '';
  position: absolute;
  left: -34px; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line-hard);
  background: var(--paper);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.tline__item:hover::before { background: var(--accent); border-color: var(--accent); }
.tline__yr {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .13em;
  color: var(--accent);
  text-transform: uppercase;
}
.tline__h { margin-top: 8px; font-size: 18px; font-weight: var(--w-med); letter-spacing: -.015em; color: var(--slate-900); }
.tline__p { margin-top: 8px; font-size: 14.5px; line-height: 1.62; color: var(--slate-600); }

/* --------------------------------------------------------------------------
   8. TABS
   -------------------------------------------------------------------------- */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 32px;
}
.tabs__btn {
  flex: 1 1 auto;
  min-width: 130px;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: var(--w-med);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--slate-600);
  transition: background-color .25s var(--ease), color .25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tabs__btn:hover { color: var(--slate-900); background: rgba(16,24,40,.04); }
.tabs__btn[aria-selected="true"] { background: var(--accent); color: #fff; }
.tabs__btn[aria-selected="true"] .ico { color: #fff; }
.tabs__btn .ico { width: 17px; height: 17px; color: var(--mist); }

.tabs__panel { display: none; }
.tabs__panel.is-on { display: block; animation: panelIn .45s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

.tabs--dark .tabs__nav { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.tabs--dark .tabs__btn { color: var(--mist); }
.tabs--dark .tabs__btn:hover { color: #fff; background: rgba(255,255,255,.07); }

/* --------------------------------------------------------------------------
   9. ACCORDION
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: var(--w-med);
  letter-spacing: -.015em;
  color: var(--slate-900);
  transition: color .2s var(--ease);
}
.acc__btn:hover { color: var(--accent); }
.acc__sign {
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--line-hard);
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  transition: transform .35s var(--ease-out), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease);
}
.acc__btn[aria-expanded="true"] .acc__sign {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.acc__wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease-out);
}
.acc__item.is-open .acc__wrap { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__body { padding: 0 60px 26px 0; font-size: 15.5px; line-height: 1.68; color: var(--slate-600); }
.acc__body p + p { margin-top: 14px; }
.acc__body a { color: var(--slate-900); text-decoration: underline; text-underline-offset: 3px; }

.acc--dark { border-color: var(--line-dark); }
.acc--dark .acc__item { border-color: var(--line-dark); }
.acc--dark .acc__btn { color: #fff; }
.acc--dark .acc__sign { border-color: rgba(255,255,255,.22); color: var(--cloud); }
.acc--dark .acc__body { color: var(--mist); }

/* --------------------------------------------------------------------------
   10. QUOTES / SLIDER
   -------------------------------------------------------------------------- */
.slider { position: relative; }
.slider__view { overflow: hidden; border-radius: var(--r); }
.slider__track {
  display: flex;
  transition: transform .58s var(--ease-out);
  will-change: transform;
}
.slider__slide { flex: 0 0 100%; min-width: 0; padding: 2px; }

.quote {
  background: var(--paper);
  border: 1px solid var(--frost);
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  height: 100%;
}
.quote__mark { color: var(--accent); width: 34px; height: 34px; margin-bottom: 18px; }
.quote__text {
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.42;
  letter-spacing: -.02em;
  font-weight: var(--w-light);
  color: var(--slate-900);
}
.quote__by { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.quote__by img { width: 56px; height: 56px; border-radius: var(--r); object-fit: cover; }
.quote__by b { display: block; font-size: 15px; font-weight: var(--w-med); color: var(--slate-900); }
.quote__by span { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--steel); }
.quote__side { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 40px); }
.quote__side dl { display: grid; gap: 22px; }
.quote__side dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.quote__side dd { margin: 6px 0 0; font-size: 15px; color: var(--slate-900); font-weight: var(--w-med); }

.slider__ui { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.sbtn {
  width: 44px; height: 44px;
  border: 1px solid var(--line-hard);
  border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--slate-700);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.sbtn:hover { border-color: var(--slate-900); color: var(--slate-900); }
.sbtn:disabled { opacity: .35; cursor: not-allowed; }
.sdots { display: flex; gap: 7px; margin-left: auto; }
.sdot {
  width: 26px; height: 4px;
  border-radius: 2px;
  background: var(--cloud);
  transition: background-color .25s var(--ease), width .25s var(--ease);
}
.sdot.is-on { background: var(--accent); width: 40px; }

/* --------------------------------------------------------------------------
   11. SPEC TABLE / KEY-VALUE
   -------------------------------------------------------------------------- */
.spec {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper);
}
.spec table { font-size: 14.5px; }
.spec th, .spec td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  background: var(--vellum);
}
.spec tbody th { font-weight: var(--w-med); color: var(--slate-900); width: 30%; }
.spec tbody td { color: var(--slate-600); }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }
.spec tbody tr:hover { background: var(--vellum); }
.spec .ok { color: var(--accent); }
.spec-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.kv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.kv > div { background: var(--paper); padding: 22px; }
.kv dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--steel); }
.kv dd { margin: 10px 0 0; font-size: 17px; font-weight: var(--w-med); letter-spacing: -.015em; color: var(--slate-900); }
.section--carbon .kv { background: var(--line-dark); border-color: var(--line-dark); }
.section--carbon .kv > div { background: var(--carbon); }
.section--carbon .kv dd { color: #fff; }

/* --------------------------------------------------------------------------
   12. CHECKLIST / NOTE
   -------------------------------------------------------------------------- */
.chk li {
  display: flex;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-600);
}
.chk li:first-child { border-top: 0; padding-top: 0; }
.chk .ico { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.chk b { color: var(--slate-900); font-weight: var(--w-med); }
.section--carbon .chk li { border-color: var(--line-dark); color: var(--mist); }
.section--carbon .chk b { color: #fff; }

.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  background: var(--paper);
  padding: 22px 24px;
}
.note__h {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.note p { font-size: 14.5px; line-height: 1.65; color: var(--slate-600); }
.note--muted { border-left-color: var(--cloud); }
.note--muted .note__h { color: var(--steel); }

/* --------------------------------------------------------------------------
   13. CTA BAND
   -------------------------------------------------------------------------- */
.cta {
  background: var(--carbon-950);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.cta__in {
  position: relative;
  z-index: 1;
  padding-block: clamp(56px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.cta__title {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -.028em;
  font-weight: var(--w-light);
  color: #fff;
}
.cta__p { margin-top: 18px; font-size: 16.5px; line-height: 1.6; color: var(--mist); max-width: 520px; }
.cta__acts { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta__acts .btn { justify-content: space-between; }
.cta__mail {
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
}
.cta__mail a { color: var(--cloud); text-decoration: underline; text-underline-offset: 3px; }
.cta__mail a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   14. LOGO / TRUST STRIP
   -------------------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.trust__i {
  background: var(--paper);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: background-color .3s var(--ease);
}
.trust__i:hover { background: var(--vellum); }
.trust__i .ico { color: var(--slate-600); width: 22px; height: 22px; }
.trust__i b { font-size: 14px; font-weight: var(--w-med); color: var(--slate-900); letter-spacing: -.01em; }
.trust__i span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: var(--steel); }

/* --------------------------------------------------------------------------
   15. PEOPLE / JOBS / CONTACT
   -------------------------------------------------------------------------- */
.person { text-align: left; }
.person__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 1/1; background: var(--frost); }
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.03); transition: filter .5s var(--ease), transform 1s var(--ease-out); }
.person:hover .person__img img { filter: grayscale(0); transform: scale(1.04); }
.person b { display: block; margin-top: 16px; font-size: 16.5px; font-weight: var(--w-med); letter-spacing: -.015em; color: var(--slate-900); }
.person span { display: block; margin-top: 5px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--steel); }
.person p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--slate-600); }

.job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .25s var(--ease), transform .25s var(--ease-out), box-shadow .25s var(--ease);
}
.job:hover { border-color: var(--slate-900); transform: translateY(-2px); box-shadow: var(--sh-lift); }
.job__h { font-size: 19px; font-weight: var(--w-med); letter-spacing: -.018em; color: var(--slate-900); }
.job__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }

.cinfo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  height: 100%;
}
.cinfo__ico {
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--accent-tint);
  border: 1px solid var(--accent-hair);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cinfo h3 { font-size: 17px; font-weight: var(--w-med); letter-spacing: -.015em; color: var(--slate-900); }
.cinfo p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--slate-600); }
.cinfo a.big {
  display: inline-block;
  margin-top: 14px;
  font-size: 16px;
  font-weight: var(--w-med);
  color: var(--slate-900);
  border-bottom: 1px solid var(--cloud);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
  word-break: break-word;
}
.cinfo a.big:hover { color: var(--accent); border-color: var(--accent); }

.deskrow {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 6px 20px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.deskrow > *:first-child { grid-row: span 2; }
.deskrow a { overflow-wrap: anywhere; }
.deskrow:last-child { border-bottom: 1px solid var(--line); }
.deskrow b { font-size: 15.5px; font-weight: var(--w-med); color: var(--slate-900); letter-spacing: -.012em; }
.deskrow p { font-size: 14px; color: var(--slate-600); line-height: 1.6; }
.deskrow a { font-family: var(--f-mono); font-size: 13px; color: var(--slate-900); border-bottom: 1px solid var(--cloud); transition: color .2s var(--ease), border-color .2s var(--ease); }
.deskrow a:hover { color: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   16. DIAGRAM
   -------------------------------------------------------------------------- */
.diagram {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 3vw, 36px);
}
.diagram svg { width: 100%; height: auto; }
.dg-box { fill: var(--vellum); stroke: var(--cloud); stroke-width: 1; }
.dg-box--dark { fill: var(--carbon); stroke: var(--carbon); }
.dg-box--acc { fill: var(--accent-tint); stroke: var(--accent-hair); }
.dg-t { font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; fill: var(--steel); }
.dg-t--w { fill: var(--cloud); }
.dg-h { font-family: 'Inter Tight', sans-serif; font-size: 13px; font-weight: 500; fill: var(--slate-900); letter-spacing: -.01em; }
.dg-h--w { fill: #fff; }
.dg-line { stroke: var(--cloud); stroke-width: 1.2; fill: none; }
.dg-arrow { fill: var(--mist); }
.dg-pulse {
  stroke: var(--accent);
  stroke-width: 1.6;
  fill: none;
  stroke-dasharray: 8 120;
  animation: dashflow2 3.2s linear infinite;
}
@keyframes dashflow2 { to { stroke-dashoffset: -128; } }

/* --------------------------------------------------------------------------
   17. LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); }
.toc__h { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.toc__list { border-left: 1px solid var(--line); }
.toc__list a {
  display: block;
  padding: 8px 0 8px 16px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--slate-600);
  border-left: 1px solid transparent;
  margin-left: -1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.toc__list a:hover { color: var(--slate-900); }
.toc__list a.is-on { color: var(--accent); border-left-color: var(--accent); }

.doc h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: var(--w-med);
  letter-spacing: -.02em;
  color: var(--slate-900);
  margin-top: 48px;
  margin-bottom: 16px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.doc > h2:first-child { margin-top: 0; }
.doc h3 {
  font-size: 17px;
  font-weight: var(--w-med);
  letter-spacing: -.015em;
  color: var(--slate-900);
  margin-top: 28px;
  margin-bottom: 12px;
}
.doc p { font-size: 15.5px; line-height: 1.72; color: var(--slate-600); margin-bottom: 15px; }
.doc ul, .doc ol { margin: 0 0 18px; padding-left: 0; }
.doc li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--slate-600);
  margin-bottom: 9px;
}
.doc ul > li::before {
  content: '';
  position: absolute;
  left: 2px; top: 11px;
  width: 6px; height: 1px;
  background: var(--accent);
}
.doc ol { counter-reset: n; }
.doc ol > li { counter-increment: n; }
.doc ol > li::before {
  content: counter(n) '.';
  position: absolute;
  left: 0; top: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
}
.doc a { color: var(--slate-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--cloud); }
.doc a:hover { text-decoration-color: var(--accent); color: var(--accent); }
.doc strong { color: var(--slate-900); font-weight: var(--w-med); }
.doc .upper { text-transform: uppercase; font-size: 13.5px; letter-spacing: .01em; }
.doc address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-600);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  background: var(--paper);
}
.doc__meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   18. 404
   -------------------------------------------------------------------------- */
.nf { min-height: 76vh; display: grid; place-items: center; text-align: center; padding-top: var(--nav-h); }
.nf__code {
  font-size: clamp(80px, 18vw, 200px);
  font-weight: var(--w-thin);
  letter-spacing: -.05em;
  line-height: .85;
  color: var(--slate-900);
}
.nf__code i { font-style: normal; color: var(--accent); }

/* --------------------------------------------------------------------------
   19. UTIL
   -------------------------------------------------------------------------- */
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}
.mt-32{margin-top:32px}.mt-40{margin-top:40px}.mt-48{margin-top:48px}
.mb-0{margin-bottom:0}
.maxw-560{max-width:560px}.maxw-680{max-width:680px}.maxw-760{max-width:760px}
.flexrow{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.between{justify-content:space-between}
.parallax{will-change:transform}

/* --------------------------------------------------------------------------
   20. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote { grid-template-columns: minmax(0, 1fr); }
  .quote__side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
  .quote__side dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc__list { display: flex; flex-wrap: wrap; border-left: 0; border-top: 1px solid var(--line); padding-top: 12px; gap: 4px 18px; }
  .toc__list a { padding: 4px 0; border-left: 0; margin-left: 0; }
  .toc__list a.is-on { border-left: 0; }
}

@media (max-width: 980px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__copy { max-width: 640px; }
  .phero__in { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
  .cta__in { grid-template-columns: minmax(0, 1fr); }
  .media-stack__over { position: static; width: 100%; margin-top: 16px; box-shadow: none; }
  .deskrow { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .deskrow > *:first-child { grid-row: auto; }
}

@media (max-width: 680px) {
  .console__body { grid-template-columns: minmax(0, 1fr); }
  .console__link { height: 58px; }
  .console__link svg { max-height: 58px; }
  .hero__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero__meta b { font-size: 22px; }
  .hero__meta span { font-size: 9px; letter-spacing: .08em; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .quote__side dl { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .acc__body { padding-right: 0; }
  .job { grid-template-columns: minmax(0, 1fr); }
  .tabs__btn { min-width: 100%; }
  .card { padding: 24px; }
  .scard__body { padding: 24px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marquee__track { gap: 30px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .quote__by img { width: 48px; height: 48px; }
}
