/* ===================================================================
   Ariana.Digital — site.css (shared across pages)
   Light-first brand, with one signature dark moment per page.
   Strategy: anti-fluff consulting (Diagnose → Build → Run).
   =================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--fg-2);
  line-height: var(--lh-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- utility --------------------------------------------------- */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
}
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.eyebrow-line::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--brand-orange);
}
.eyebrow-line.cyan { color: var(--cyan-700); }
.eyebrow-line.cyan::before { background: var(--cyan-700); }
.eyebrow-line.warm { color: var(--brand-orange); }
.eyebrow-line.warm::before { background: var(--brand-orange); }
.eyebrow-line.light { color: rgba(255,255,255,0.75); }
.eyebrow-line.light::before { background: var(--brand-orange); }

/* ---- headline accents ------------------------------------------ */
.hl-accent { color: var(--brand-orange); }
.hl-cyan { color: var(--brand-cyan); }
.hl-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hl-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 5px;
  background: var(--brand-cyan);
  opacity: 0.9;
}

/* ---- buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  transition: transform var(--dur-fast) var(--ease-standard),
              background var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: var(--shadow-glow-orange);
}
.btn-primary:hover { background: var(--orange-700); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn-ghost:hover { border-color: var(--ink-900); background: var(--ink-50); }
.btn-ghost.on-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.btn-cyan {
  background: var(--brand-cyan);
  color: #fff;
}
.btn-cyan:hover { background: var(--cyan-700); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-orange);
  font-weight: 500;
  font-size: 14px;
  transition: gap var(--dur-fast) var(--ease-standard);
}
.btn-link:hover { gap: 12px; }

/* ---- NAV ------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.nav-brand-mark {
  width: 30px; height: 30px;
  background: var(--ink-900);
  color: var(--brand-orange);
  display: grid;
  place-items: center;
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.03em;
  border-radius: 4px;
}
.nav-brand-mark span { color: #fff; }
.nav-brand-wm { color: var(--brand-cyan); font-weight: 900; }
.nav-brand-dot { color: var(--brand-orange); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--ink-700); transition: color var(--dur-fast); }
.nav-links a:hover, .nav-links a.active { color: var(--brand-orange); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  background: var(--brand-orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--orange-700); }

/* ---- FOOTER ---------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: #fff;
  padding: 64px 0 32px;
}
.site-footer .container { padding-bottom: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-block .brand-mark-lg {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand-block .brand-mark-lg .cy { color: var(--brand-cyan); }
.footer-brand-block .brand-mark-lg .dot { color: var(--brand-orange); margin: 0 2px; }
.footer-brand-block p {
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  transition: color var(--dur-fast);
}
.footer-col a:hover { color: var(--brand-orange); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .legal { display: flex; gap: 24px; }

/* ---- section label (generic) ----------------------------------- */
.section-label {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-default);
}
.section-label .sl-num {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 14px;
  color: var(--brand-orange);
  letter-spacing: 0.04em;
}
.section-label .sl-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-900);
}

/* ---- shared hero-style heading --------------------------------- */
.display-hd {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  text-wrap: balance;
}
.display-hd em {
  font-style: italic;
  font-weight: 300;
  font-family: var(--font-sans);
  color: var(--brand-orange);
}

.section-hd {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: balance;
}
.section-hd em {
  font-style: italic;
  font-weight: 300;
  font-family: var(--font-sans);
  color: var(--brand-orange);
}
.section-hd.on-dark { color: #fff; }
.section-hd.on-dark em { color: var(--brand-orange); }

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 560px;
}
.lede.on-dark { color: rgba(255,255,255,0.82); }

/* ---- site logo (nav + footer) ---------------------------------- */
.nav-brand { gap: 0; }
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  /* Logo PNG has significant top whitespace — offset to sit visually centered */
  margin: -8px 0;
}
.nav-brand-text { display: none; }
@media (max-width: 540px) {
  .nav-logo-img { height: 46px; margin: -6px 0; }
}
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--ink-900); color: #fff;
  padding: 8px 12px; border-radius: 4px;
  font-size: 13px; font-weight: 500; z-index: 1000;
}
.skip-link:focus { top: 8px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; border-radius: 2px; }

/* ---- MOBILE NAV (hamburger → overlay drawer) ------------------- */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-900);
  z-index: 110;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; width: 22px; height: 2px;
  background: currentColor;
  transition: transform .3s ease, top .3s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--ink-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 88px 28px 40px;
  transform: translateX(100%);
  transition: transform .34s var(--ease-standard);
  z-index: 99;
  visibility: hidden;
  overflow-y: auto;
}
.mobile-drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}
.mobile-drawer a {
  font-family: var(--font-condensed);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.015em;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-drawer a:last-of-type { border-bottom: none; }
.mobile-drawer a.active { color: var(--brand-orange); }
.mobile-drawer .md-cta {
  margin-top: 28px;
  background: var(--brand-orange);
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: var(--radius-pill);
  border-bottom: none;
}
body[data-drawer="true"] { overflow: hidden; }

/* ---- RESPONSIVE ------------------------------------------------ */
@media (max-width: 960px) {
  .container, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .nav-cta { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 540px) {
  .container, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .btn { padding: 12px 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================================================================
   Shared Partner Band — drop anywhere with <section class="partners-band">
   =================================================================== */
.partners-band {
  background: #fff;
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: 32px 0;
}
.partners-band.compact { padding: 24px 0; }
.partners-band.dark {
  background: var(--ink-900);
  border-color: var(--ink-700);
}
.partners-band-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.partners-band .pb-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1.5;
}
.partners-band.dark .pb-label { color: rgba(255,255,255,0.55); }
.partners-band .pb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.partners-band .pb-row img {
  max-height: 38px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.62;
  transition: all var(--dur-base) var(--ease-standard);
}
.partners-band.dark .pb-row img { filter: grayscale(1) brightness(2.5) contrast(0.7); opacity: 0.7; }
.partners-band .pb-row img:hover { filter: grayscale(0); opacity: 1; }
.partners-band .pb-wm {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  opacity: 0.62;
  filter: grayscale(1);
  transition: all var(--dur-base);
  white-space: nowrap;
}
.partners-band .pb-wm:hover { filter: grayscale(0); opacity: 1; }
.partners-band .pb-wm.adobe { color: #FA0F00; font-weight: 700; }
.partners-band .pb-wm.microsoft { color: #00A4EF; }
.partners-band.dark .pb-wm.adobe,
.partners-band.dark .pb-wm.microsoft { filter: grayscale(0); opacity: 0.85; }
.partners-band .pb-wm.nvidia {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid currentColor;
  color: #76B900;
  line-height: 1.2;
}
.partners-band .pb-wm.nvidia strong { font-weight: 700; display: block; }
.partners-band.dark .pb-wm.nvidia { color: #76B900; opacity: 0.95; filter: none; }

@media (max-width: 760px) {
  .partners-band-inner { grid-template-columns: 1fr; gap: 18px; }
  .partners-band .pb-row { gap: 18px; justify-content: flex-start; }
  .partners-band .pb-row img { max-height: 30px; }
  .partners-band .pb-wm { font-size: 15px; }
}
