/* gagebysentira.com
   Dark marketing layout. Palette from the GAGE dark-mode logo.
   Font and images are hosted with the site. No external requests. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #0f1317;
  --bg-alt: #151a1f;
  --panel: #1a2026;
  --panel-hi: #222a31;
  --line: rgba(255, 255, 255, 0.09);
  --line-hi: rgba(255, 255, 255, 0.16);
  --text: #f5f6f7;
  --soft: #c8cdd2;
  --muted: #98a1aa;
  --accent: #fc6008;
  --accent-2: #ff9048;
  --ink: #14181c;
  --radius: 22px;
  --pad: clamp(20px, 4vw, 40px);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--text); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-sm { padding: 0.62em 1.15em; font-size: 0.92rem; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-2); }
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { background: #ffffff; }
.btn-ghost { border-color: var(--line-hi); color: var(--text); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 19, 23, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: 0.01em; }
.brand img { height: 32px; width: auto; }
.brand .by { font-weight: 450; color: var(--muted); }
.links { display: flex; gap: 30px; }
.links a { color: var(--soft); text-decoration: none; font-size: 1rem; font-weight: 500; }
.links a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero-photo {
  position: absolute;
  z-index: -2;
  top: 0;
  right: clamp(-300px, -14vw, -90px);
  height: min(100%, 800px);
  width: auto;
  max-width: none;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(15, 19, 23, 0.96) 30%, rgba(15, 19, 23, 0.8) 48%, rgba(15, 19, 23, 0.12) 72%, rgba(15, 19, 23, 0.25) 100%),
    linear-gradient(180deg, rgba(15, 19, 23, 0.55) 0%, rgba(15, 19, 23, 0) 22%, rgba(15, 19, 23, 0) 72%, var(--bg) 100%);
}
.photo-note { position: absolute; right: var(--pad); bottom: 18px; z-index: 1; padding: 6px 14px; border-radius: 999px; background: rgba(15, 19, 23, 0.78); border: 1px solid var(--line-hi); font-size: 0.92rem; font-weight: 550; color: var(--text); }
.hero-in { width: 100%; padding-block: clamp(48px, 6.5vw, 88px); }
.hero-copy { max-width: 600px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-hi);
  border-radius: 999px;
  background: rgba(15, 19, 23, 0.55);
  font-size: 0.96rem;
  font-weight: 550;
  color: var(--text);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(252, 96, 8, 0.22); }

.expansion { margin-top: 26px; font-size: 1.02rem; font-weight: 500; color: var(--soft); letter-spacing: 0.01em; }
.expansion strong { color: var(--accent); font-weight: 700; margin-right: 8px; letter-spacing: 0.04em; }

h1 {
  margin-top: 12px;
  font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.35rem);
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.lead { margin-top: 22px; font-size: clamp(1.06rem, 1rem + 0.3vw, 1.16rem); line-height: 1.6; color: #d4d8dc; }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 9vw, 128px); }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.label { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; color: var(--soft); }
.label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.head { max-width: 780px; margin-inline: auto; text-align: center; }
.head h2, .statement {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.head .label + h2 { margin-top: 16px; }
.head p.sub { margin-top: 18px; color: var(--soft); font-size: 1.12rem; }

/* Problem band */
.problem { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 50% 120%, rgba(252, 96, 8, 0.16), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 22px);
}
.problem .wrap { max-width: 900px; }
.problem .statement { margin-top: 18px; }
.problem p.sub { margin: 24px auto 0; max-width: 62ch; color: var(--soft); font-size: 1.14rem; }

/* Approach cards */
.cards { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 28px 30px 32px; }
.card h3 { font-size: 1.4rem; font-weight: 620; letter-spacing: -0.015em; line-height: 1.2; }
.card p { margin-top: 12px; color: var(--soft); }

/* Keep the dividing line between illustration and explanation level across
   the two cards in each desktop row. The single-column mobile layout retains
   natural heights; older browsers retain the original flex layout. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 861px) {
    .cards > .card {
      display: grid;
      grid-row: span 2;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
  }
}

/* Schematic figures inside the cards */
.fig {
  position: relative;
  min-height: 236px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(252, 96, 8, 0.13), transparent 55%),
    var(--panel-hi);
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--soft);
}
.fig svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-hi); background: rgba(15, 19, 23, 0.55); white-space: nowrap; }
.chip.hot { border-color: var(--accent); color: var(--text); background: rgba(252, 96, 8, 0.12); }

/* fig: local */
.fig-local { gap: 0; }
.site { border: 1.5px dashed rgba(255, 255, 255, 0.28); border-radius: 16px; padding: 30px 26px 22px; position: relative; }
.site > span { position: absolute; top: -11px; left: 16px; padding: 0 8px; background: var(--panel-hi); font-size: 0.84rem; color: var(--soft); }
.cut { position: relative; width: clamp(48px, 9vw, 96px); height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 6px, transparent 6px 12px); }
.cut i { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.cut i svg { width: 14px; height: 14px; stroke-width: 2.6; }
.chip.off { color: var(--muted); border-style: dashed; }

/* fig: flow */
.fig-flow { flex-direction: column; gap: 16px; }
.flow { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; }
.flow .chip { font-size: 0.82rem; padding: 7px 10px; }
.flow .arrow { width: 14px; height: 14px; color: var(--muted); }
.rules { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rules .chip { font-size: 0.84rem; padding: 6px 10px; color: var(--soft); }

/* fig: record */
.fig-record { align-items: stretch; }
.record { width: min(100%, 420px); background: rgba(15, 19, 23, 0.6); border: 1px solid var(--line-hi); border-radius: 14px; padding: 16px 18px 18px; }
.record-top { display: flex; justify-content: space-between; align-items: center; color: var(--text); font-size: 0.9rem; font-weight: 620; }
.record-top small { font-size: 0.8rem; font-weight: 500; color: var(--soft); border: 1px solid var(--line-hi); border-radius: 999px; padding: 2px 9px; }
.counts { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.counts div { border-radius: 10px; background: rgba(255, 255, 255, 0.045); padding: 10px 12px; }
.counts b { display: block; font-size: 1.5rem; line-height: 1.1; font-weight: 640; color: var(--text); letter-spacing: -0.02em; }
.counts .use b { color: var(--accent); }
.counts span { font-size: 0.82rem; color: var(--soft); }
.bars { margin-top: 16px; display: grid; gap: 9px; }
.bars i { display: flex; align-items: center; gap: 10px; height: 10px; }
.bars i::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.bars i::after { content: ""; flex: 0 0 var(--w, 70%); height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.bars i.out::before { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.bars i.out::after { background: rgba(255, 255, 255, 0.07); }
.bars i:nth-child(1) { --w: 78%; }
.bars i:nth-child(2) { --w: 61%; }
.bars i:nth-child(3) { --w: 84%; }
.bars i:nth-child(4) { --w: 55%; }
.bars i:nth-child(5) { --w: 70%; }
.bars i:nth-child(6) { --w: 47%; }

/* fig: checks */
.fig-checks { gap: 18px; }
.checks { display: grid; gap: 8px; }
.checks .chip { justify-content: space-between; min-width: 150px; }
.checks .ok svg { color: #8fd3a8; }
.checks .bad { border-color: var(--accent); color: var(--text); }
.checks .bad svg { color: var(--accent); }
.stopped { display: grid; gap: 8px; justify-items: start; }
.stopped .arrow { width: 18px; height: 18px; color: var(--muted); }
.outcome { display: grid; gap: 8px; }

/* Workflow steps */
.steps { position: relative; margin-top: clamp(48px, 6vw, 76px); padding-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 70%, var(--accent) 100%); }
.step { counter-increment: step; position: relative; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid rgba(255, 255, 255, 0.2); border-radius: 0 0 var(--radius) var(--radius); padding: 62px 28px 30px; min-height: 290px; display: flex; flex-direction: column; gap: 24px; }
.step > svg { position: absolute; top: 24px; right: 26px; width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step::before { content: counter(step); position: absolute; top: -31px; left: 24px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255, 255, 255, 0.28); font-weight: 640; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--text); }
.step:last-child::before { border-color: var(--accent); color: var(--accent-2); }
.step:last-child { border-top-color: var(--accent); }
.step p { font-size: 1.26rem; font-weight: 520; line-height: 1.45; letter-spacing: -0.006em; color: var(--text); flex: 1; }
.tag { align-self: flex-start; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--line-hi); font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.tag.part { border-color: var(--accent); color: var(--accent-2); background: rgba(252, 96, 8, 0.1); }

/* Compact development status: public-facing milestone summary, not an engineering backlog. */
.development-section { padding-block: clamp(56px, 7vw, 96px); }
.development-summary {
  max-width: 860px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(252, 96, 8, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(130deg, rgba(252, 96, 8, 0.08), rgba(252, 96, 8, 0) 48%), var(--panel);
}
.development-summary .development-lede {
  color: var(--text);
  font-size: clamp(1.12rem, 1.02rem + 0.35vw, 1.3rem);
  font-weight: 620;
  line-height: 1.5;
}
.development-summary p + p { margin-top: 15px; color: var(--soft); line-height: 1.65; }

/* Who it is for */
.who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.who h2 { margin-top: 16px; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.5rem); font-weight: 620; line-height: 1.16; letter-spacing: -0.022em; text-wrap: balance; }
.who p.sub { margin-top: 18px; color: var(--soft); font-size: 1.14rem; }
.focus-sectors > .label { margin-bottom: 20px; }
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sector { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; display: grid; gap: 22px; font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.sector svg { width: 34px; height: 34px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Contact band */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; border-top: 1px solid var(--line); }
.cta-photo { position: absolute; inset: -6%; z-index: -2; width: 112%; height: 112%; object-fit: cover; filter: blur(10px) brightness(0.32) saturate(0.9); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 50% 100%, rgba(252, 96, 8, 0.22), transparent 70%), linear-gradient(180deg, var(--bg) 0%, rgba(15, 19, 23, 0.35) 40%, rgba(15, 19, 23, 0.7) 100%); }
.cta .wrap { max-width: 860px; }
.cta p.sub { margin: 22px auto 0; max-width: 60ch; color: var(--soft); font-size: 1.14rem; }
.cta p.sub a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 0.2em; }
.cta .actions { justify-content: center; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); background: #0b0e11; color: #a9b1b9; font-size: 1rem; }
.footer-in { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
.footer .brand { color: var(--text); }
.footer p.note { margin-top: 16px; max-width: 34ch; }
.footer h3 { margin: 0 0 14px; font-size: 1rem; font-weight: 620; color: var(--text); }
.footer li + li { margin-top: 9px; }
.footer a { color: #a9b1b9; text-decoration: none; }
.footer a:hover { color: var(--text); }
.legal { border-top: 1px solid var(--line); }
.legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 26px; font-size: 0.95rem; }
.legal a { text-decoration: underline; text-decoration-color: var(--line-hi); text-underline-offset: 0.2em; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
  .hero-photo { animation: settle 1.6s ease-out both; }
  .pill .dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(252, 96, 8, 0.22); } 50% { box-shadow: 0 0 0 7px rgba(252, 96, 8, 0.08); } }

/* ---------- Narrower screens ---------- */

@media (max-width: 1320px) {
  .hero-photo { right: -250px; }
  .hero-copy { max-width: 520px; }
}

@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .steps { gap: 46px 20px; }
  .step { border-top: 1px solid var(--line); border-radius: var(--radius); min-height: 0; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .links { display: none; }
  .hero { display: block; min-height: 0; }
  .hero-in { padding-block: 44px 28px; }
  .hero-photo {
    position: static;
    width: calc(100% - 2 * var(--pad));
    height: auto;
    margin: 0 var(--pad) 8px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    -webkit-mask-image: none;
    mask-image: none;
    height: auto;
  }
  .hero-shade { display: none; }
  .hero-stack { display: flex; flex-direction: column; }
  .hero-stack .hero-photo { order: 2; right: auto; }
  .photo-note { position: static; order: 3; align-self: flex-end; margin: 2px var(--pad) 26px 0; }
  .hero-copy { max-width: 640px; }
}

@media (max-width: 860px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .sectors { grid-template-columns: minmax(0, 1fr); }
  .sector { grid-template-columns: auto 1fr; align-items: center; gap: 16px; padding: 18px 20px; }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
  .brand .by { display: none; }
  .fig { padding: 22px 16px; }
  .fig-checks { flex-direction: column; align-items: center; }
  .fig-checks > .arrow { transform: rotate(90deg); }
  .fig-local { flex-direction: column; }
  .cut { width: 2px; height: 44px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0 6px, transparent 6px 12px); }
}
