/* AALVAA site — shared shell, nav, theme. Pages link this + ../_rows.css (if they use rows) + /_theme.js */
@import url('fonts.css');
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--display:'Poppins','Inter',sans-serif;--font:'Inter',Helvetica,Arial,sans-serif;--bg:#05080d;--panel:#0e141c;--text:#eafcff;--dim:#6e8a93;--accent:#2CB7C4;--accent2:#1899a6;--accent3:#7fdde6;
 --card:#0e141c;--line:rgba(44,224,240,.16);--onaccent:#03121a;--ghost:rgba(255,255,255,.07);--r2:14px;--gut:2rem;
 --grid:rgba(44,224,240,.5);--glow1:rgba(44,224,240,.3);--glow2:rgba(24,153,166,.22);--live:#ff4a3d;--prev:#2CB7C4}
html[data-theme="light"]{--bg:#eef5f6;--panel:#ffffff;--text:#00242b;--dim:#527578;--accent:#1899a6;--accent2:#2CB7C4;--accent3:#0a5560;
 --card:#ffffff;--line:rgba(0,57,67,.13);--onaccent:#ffffff;--ghost:rgba(0,57,67,.05);
 --grid:rgba(0,86,99,.16);--glow1:rgba(44,183,196,.26);--glow2:rgba(127,221,230,.4);--live:#e23b2e;--prev:#1899a6}
body{font-family:var(--font);background:var(--bg);color:var(--text);overflow-x:hidden;transition:background .4s,color .4s}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.tag{position:fixed;top:8px;left:8px;z-index:99;font-size:.56rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);background:rgba(0,0,0,.45);padding:.3rem .7rem;border-radius:6px;border:1px solid var(--line)}

/* ── live ticker (from Concept Q) */
.ticker{position:relative;display:flex;align-items:stretch;border-bottom:1px solid var(--line);background:var(--panel);overflow:hidden}
.ticker .lab{display:flex;align-items:center;gap:.4rem;flex:0 0 auto;padding:.5rem .95rem;background:var(--live);color:#fff;font-size:.62rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;z-index:2}
.ticker .lab .dot{width:8px;height:8px;border-radius:50%;background:#fff;animation:blink 1.3s infinite}
.ticker .sw{overflow:hidden;flex:1}
.ticker .scroll{display:inline-flex;gap:2.2rem;white-space:nowrap;padding:.5rem 0 .5rem 1.3rem;animation:tick 34s linear infinite;font-size:.72rem;color:var(--dim)}
.ticker .scroll b{color:var(--text);font-family:var(--display);font-weight:800}.ticker .scroll .up{color:var(--accent)}
@keyframes tick{to{transform:translateX(-50%)}}
@keyframes blink{50%{opacity:.25}}

/* ── nav */
/* Three columns (1fr · auto · 1fr) so the 5 links sit DEAD CENTRE of the page no
   matter how wide the brand or the button group get. The markup is byte-identical
   on every page — only the .active class moves. */
nav{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;padding:.7rem 1.6rem;background:color-mix(in srgb,var(--bg) 70%,transparent);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);border-bottom:1px solid var(--line)}
.brand{font-family:var(--display);font-weight:900;letter-spacing:.22em;font-size:.86rem;justify-self:start}.brand b{color:var(--accent)}
.navlinks{display:flex;gap:1.15rem;justify-self:center}
.navlinks a{font-size:.72rem;letter-spacing:.05em;color:var(--dim);padding:.2rem 0;border-bottom:1.5px solid transparent}
.navlinks a:hover{color:var(--text)}.navlinks a.active{color:var(--text);border-bottom-color:var(--accent)}
.navr{display:flex;align-items:center;gap:.7rem;justify-self:end}
.live{display:flex;align-items:center;gap:.4rem;font-size:.62rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:.4rem .7rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--live) 55%,transparent);color:var(--live)}
.live .rdot{width:8px;height:8px;border-radius:50%;background:var(--live);box-shadow:0 0 0 0 color-mix(in srgb,var(--live) 70%,transparent);animation:rpulse 1.4s infinite}
@keyframes rpulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--live) 60%,transparent)}70%{box-shadow:0 0 0 7px transparent}100%{box-shadow:0 0 0 0 transparent}}
.live.off{border-color:var(--line);color:var(--dim)}.live.off .rdot{background:var(--dim);animation:none}
.theme-toggle{cursor:pointer;font-family:inherit;font-size:.62rem;font-weight:600;padding:.4rem .65rem;border-radius:999px;background:var(--ghost);border:1px solid var(--line);color:var(--text)}
.nav-cta{display:flex;align-items:center;gap:.4rem;font-size:.64rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.45rem .9rem;border-radius:999px;background:linear-gradient(135deg,var(--accent2),var(--accent));color:var(--onaccent)}
.nav-cta .me{width:13px;height:13px;border-radius:50%;background:var(--onaccent);opacity:.5}
/* QUOTE — the money door. Sits at the end of the nav links, styled like the
   "Build a quote" button on Services so the same action always looks the same. */
/* specificity note: it lives inside .navlinks, whose `a` rule would otherwise win */
.navlinks a.nav-quote,.nav-quote{display:inline-flex;align-items:center;gap:.35rem;font-family:var(--display);font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  padding:.5rem 1.05rem;border-radius:9px;background:linear-gradient(135deg,var(--accent2),var(--accent));color:var(--onaccent);
  transition:filter .16s,transform .16s;white-space:nowrap;opacity:1}
.navlinks a.nav-quote::after{opacity:1}
.navlinks a.nav-quote:hover,.nav-quote:hover{filter:brightness(1.08);transform:translateY(-1px);color:var(--onaccent)}
.nav-quote::after{content:'→';font-weight:700}
@media(max-width:920px){.nav-quote{display:none}}
@media(max-width:920px){.navlinks{display:none}}

/* ── logo strip */
.logos{overflow:hidden;padding:.7rem 0;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--panel) 55%,transparent);-webkit-mask:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.logos .lt{display:flex;align-items:center;gap:2.8rem;width:max-content;animation:logom 34s linear infinite}
.logos:hover .lt{animation-play-state:paused}@keyframes logom{to{transform:translateX(-50%)}}
.logos img{height:20px;width:auto;max-width:100px;object-fit:contain;filter:brightness(0) invert(1);opacity:.42}
html[data-theme="light"] .logos img{filter:brightness(0);opacity:.42}

/* ── buttons */
.btn{display:inline-block;padding:.9rem 1.7rem;border-radius:9px;font-size:.73rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;cursor:pointer}
.btn.solid{background:linear-gradient(135deg,var(--accent2),var(--accent));color:var(--onaccent)}
.btn.line{background:var(--ghost);border:1px solid var(--line);color:var(--text)}

/* ── sections */
.sec{max-width:1280px;margin:0 auto;padding:3.4rem 1.6rem}
.sec .k{font-size:.62rem;letter-spacing:.26em;text-transform:uppercase;color:var(--accent);margin-bottom:.7rem}
/* Titles follow the landing hero ("CREATE" / "WATCH"): same face + weight, uppercase,
   tight tracking — just smaller. One rule here sets every section title sitewide. */
.sec h2{font-family:var(--display);font-weight:900;font-size:clamp(1.5rem,3vw,2.3rem);line-height:.9;letter-spacing:-.035em;text-transform:uppercase}
.sec p.lead{color:var(--dim);max-width:620px;line-height:1.65;margin-top:.8rem}

/* ── page hero (non-home) */
.phero{position:relative;overflow:hidden;padding:4rem 1.6rem 3rem;border-bottom:1px solid var(--line)}
/* The thin-line grid backdrop is RETIRED (Adam, 2 Aug 2026) — the landing's photo +
   glow treatment is the house style now. The rule is kept as a no-op so any stray
   `<div class="grid">` still in a page renders nothing instead of reappearing. */
.phero .grid{display:none}
.phero .glow{position:absolute;right:-10%;top:-30%;width:55%;height:120%;z-index:0;filter:blur(70px);background:radial-gradient(circle,var(--glow1),transparent 60%)}
/* Non-home heroes echo the landing: a soft photo-less wash instead of the grid. */
.phero::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(1100px 420px at 18% -20%,var(--glow1),transparent 62%),
             radial-gradient(820px 340px at 88% 0%,var(--glow2),transparent 64%);opacity:.5}
html[data-theme="light"] .phero::before{opacity:.32}
.phero .in{position:relative;z-index:2;max-width:1280px;margin:0 auto}
.phero .k{font-size:.62rem;letter-spacing:.28em;text-transform:uppercase;color:var(--accent);margin-bottom:.9rem}
.phero h1{font-family:var(--display);font-weight:900;font-size:clamp(2.4rem,6vw,4.6rem);line-height:.92;letter-spacing:-.03em}
.phero h1 em{font-style:normal;color:var(--accent)}
.phero p{margin:1.1rem 0 1.5rem;max-width:560px;color:var(--dim);line-height:1.6}

/* ── audience doors (outline icons) */
.doors{max-width:1280px;margin:1.2rem auto 0;padding:0 1.6rem;display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem}
.door{display:flex;align-items:center;gap:.8rem;border:1px solid var(--line);border-radius:14px;background:var(--card);padding:1rem 1.1rem;transition:.16s}
.door:hover{border-color:var(--accent);transform:translateY(-3px)}
.door svg{width:26px;height:26px;flex:0 0 auto;color:var(--accent)}
.door b{font-family:var(--display);font-weight:800;font-size:.9rem;display:block}.door i{font-style:normal;color:var(--dim);font-size:.68rem;display:block;margin-top:.1rem}
@media(max-width:820px){.doors{grid-template-columns:1fr 1fr}}

/* ── footer */
.foot{border-top:1px solid var(--line);margin-top:2.5rem;padding:2.4rem 1.6rem;color:var(--dim);font-size:.72rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.foot a{color:var(--dim)}.foot a:hover{color:var(--accent)}
.foot .ft-links{display:flex;gap:1.2rem;flex-wrap:wrap}

/* ═══════════ OUTLINE TITLES — the landing page's signature, made shareable ═══════
   Adam, 8 Aug: "I like the thin line title style on the landing page … make sure we
   have title sizes, fonts, styles matching that of the landing page."
   That style is the stroked lettering on WATCH / CREATE: transparent fill, 1.5px
   outline, solid on hover. It lived only inside index.html; this promotes it to the
   shared sheet so every page hero can wear it.

   Usage:  <h1 class="outline">Services</h1>
           <h1 class="outline solid">Services</h1>   ← filled, still the same metrics
   The @supports guard means browsers without text-stroke get solid text, never
   invisible text. */
.phero h1,.whero h1{font-family:var(--display);font-weight:900;letter-spacing:-.03em;line-height:.92;text-transform:uppercase}
.outline{font-family:var(--display);font-weight:900;letter-spacing:-.03em;line-height:.92;text-transform:uppercase}
@supports(-webkit-text-stroke:1px #000){
  .outline:not(.solid){color:transparent;-webkit-text-stroke:1.5px color-mix(in srgb,var(--text) 34%,transparent);
    transition:color .35s ease,-webkit-text-stroke-color .35s ease}
  .outline:not(.solid):hover,.outline:not(.solid).lit{color:var(--text);-webkit-text-stroke-color:transparent}
  /* the accent word inside an outline title stays solid — it's the emphasis */
  .outline em,.outline b{font-style:normal;color:var(--accent);-webkit-text-stroke-color:transparent}
}
