/* Coming-soon pages: shared layout. Brand tokens (--accent, --ink, fonts…) are set per page in <style>:root. */
:root {
  --bar: 60px;
  --gut: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --f-ui: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0e0e0f;
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* static marketing copy: no text caret, I-beam or selection highlight on click */
  -webkit-user-select: none; user-select: none;
  cursor: default; caret-color: transparent;
}
[hidden] { display: none !important; }
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  padding: 12px 16px; border-radius: 6px;
  background: #fff; color: #111; font: 600 .875rem/1 var(--f-ui); text-decoration: none;
}
.skip:focus { top: 12px; }
.skip:has(~ .pv):focus { top: calc(var(--bar) + 12px); }

/* ---------- preloader ---------- */
.pl {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--pl-bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path .9s var(--ease-io);
}
.pl.is-done { clip-path: inset(0 0 100% 0); }
.pl-inner { display: grid; justify-items: center; gap: 34px; }
.pl-logo { width: auto; height: clamp(100px, 13vw, 136px); }
.pl-logo.is-wide { height: auto; width: clamp(210px, 26vw, 300px); }
.pl-bar { display: block; width: 140px; height: 2px; overflow: hidden; background: rgba(0, 0, 0, .1); }
.pl-dark .pl-bar { background: rgba(255, 255, 255, .14); }
.pl-bar i {
  display: block; height: 100%;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  animation: pl-load 1.5s cubic-bezier(.45, 0, .2, 1) .25s forwards;
}
.pl-dark .pl-bar i { background: var(--mark-dark); }
.pl.is-ready .pl-bar i { animation: pl-end .35s var(--ease) forwards; }
.pl-logo .lg-d {
  transform-box: fill-box; transform-origin: center;
  animation: pl-pop .55s cubic-bezier(.34, 1.56, .64, 1) both;
  animation-delay: calc(var(--n) * 65ms + .15s);
}
.pl-gg .pl-logo .lg-d {
  animation: pl-piece .7s var(--ease) both;
  animation-delay: calc(var(--n) * 130ms + .15s);
}
.pl-logo .lg-w {
  transform-box: fill-box; transform-origin: 50% 0;
  animation: pl-grow .8s cubic-bezier(.65, 0, .35, 1) both;
  animation-delay: calc(var(--n) * 140ms + .15s);
}
.pl-logo .lg-i { animation: pl-fade .7s var(--ease) .8s both; }
@keyframes pl-load { to { transform: scaleX(.88); } }
@keyframes pl-end { from { transform: scaleX(.88); } to { transform: scaleX(1); } }
@keyframes pl-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pl-piece { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pl-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pl-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- preview bar (review tool, not part of the design) ---------- */
.pv {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--bar);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
  background: rgba(14, 14, 15, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #f4f4f4;
  font: 500 .875rem/1 var(--f-ui);
}
.pv a, .pv button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pv-back {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px 0 6px; border-radius: 8px;
  color: rgba(255, 255, 255, .84); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.pv-back:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.pv-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* ---------- page ---------- */
/* only the preview build has the fixed .pv bar; the public sites start flush at the top */
.v {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
}
.pv ~ main { padding-top: var(--bar); }
.pv ~ main .v {
  min-height: calc(100vh - var(--bar));
  min-height: calc(100svh - var(--bar));
}
.rv { opacity: 0; }
.is-ready .v:not([hidden]) .rv {
  animation: rv .9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms + .1s);
}
@keyframes rv { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.dark { color: #fff; --rule: rgba(255, 255, 255, .18); --hover: rgba(255, 255, 255, .1); }
.logo-main { width: auto; height: clamp(68px, 7vw, 92px); }
.logo-main.is-wide { height: auto; width: clamp(180px, 17vw, 240px); }

.eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font: 500 .8125rem/1.2 var(--f-body); letter-spacing: .26em; text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: none; width: 40px; height: 2px; background: var(--mark); }
.title {
  margin: 22px 0 20px;
  font-family: var(--f-head); font-weight: var(--h-w); font-size: var(--h-size);
  text-transform: var(--h-tt); letter-spacing: var(--h-ls);
  line-height: 1.14; text-wrap: balance;
}
.lede { margin: 0; max-width: 36rem; font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.7; }
.ar { width: fit-content; margin: 18px 0 0; font: 400 1.25rem/1.6 "Rubik", system-ui, sans-serif; letter-spacing: 0; }

.foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 32px; padding-top: 22px; border-top: 1px solid var(--rule);
}
.sub { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sub-label { font: 500 .75rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; opacity: .78; }
.sub-logo { width: auto; height: 38px; }
.kids { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 0; padding: 0; list-style: none; }
.kid-logo { width: auto; height: 42px; }
.kid-logo.is-wide { height: 24px; }
.foot-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.social { display: flex; gap: 2px; margin: 0 -10px 0 0; padding: 0; list-style: none; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  transition: background-color .2s, transform .2s;
}
.social a:hover { background: var(--hover); }
.social a:active { transform: scale(.94); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.copy { margin: 0; font-size: .8125rem; opacity: .72; }
@media (max-width: 640px) {
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-end { align-items: flex-start; }
  .social { margin: 0 0 0 -10px; }
}

/* brand lines (Grid D&E red rule, Symmetra's three service lines) run in a reserved right-hand strip */
.v.has-lines { padding-right: calc(var(--gut) + 56px); }
.lines { position: absolute; top: 0; bottom: 0; right: clamp(16px, 2.4vw, 32px); z-index: -1; display: flex; gap: 12px; }
.lines i { width: 6px; background: var(--c); transform: scaleY(0); transform-origin: top; }
.lines i:only-child { width: 10px; }
.is-ready .v:not([hidden]) .lines i { animation: grow 1.4s var(--ease-io) both; animation-delay: calc(var(--d) * .4 + .3s); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 640px) {
  .v.has-lines { padding-right: calc(var(--gut) + 12px); }
  .lines { right: 0; gap: 4px; }
  .lines i, .lines i:only-child { width: 4px; }
}

/* ---------- option 1 · Signature (brand photography) ---------- */
.v1 {
  display: grid; grid-template-rows: auto 1fr auto; gap: 32px;
  padding: clamp(24px, 4vw, 48px) var(--gut) clamp(20px, 3vw, 36px);
  background: #0e0e0f;
}
.v1-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.v1-bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal); }
.is-ready .v1:not([hidden]) .v1-bg img { animation: kb 22s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes kb { from { transform: scale(1.14); } to { transform: scale(1); } }
.v1-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 13, .92) 0%, rgba(12, 12, 13, .74) 45%, rgba(12, 12, 13, .3) 100%),
    linear-gradient(0deg, rgba(12, 12, 13, .8) 0%, rgba(12, 12, 13, 0) 40%);
}
@media (max-width: 760px) {
  .v1-bg::after { background: linear-gradient(0deg, rgba(12, 12, 13, .95) 0%, rgba(12, 12, 13, .72) 55%, rgba(12, 12, 13, .58) 100%); }
}
.v1 .hero { align-self: center; max-width: 50rem; padding-block: 16px; }
.v1 .eyebrow::before { background: var(--mark-dark); }
.v1 .lede { color: rgba(255, 255, 255, .84); }

/* brand voice details */
.brand-gdne .eyebrow { font-family: var(--f-head); font-weight: 700; letter-spacing: .2em; }
.brand-sym .lede { letter-spacing: .02em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
}
