/* sentiralabs.ai
   Same design system as gagebysentira.com. Palette from the dark-mode logos.
   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); }
.nw { white-space: nowrap; }

.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;
  white-space: nowrap;
  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: 12px; text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: 0.01em; }
.brand img { height: 40px; width: auto; }
.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; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 62% at 78% 46%, rgba(252, 96, 8, 0.2), transparent 72%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 22px);
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(56px, 7.5vw, 112px) clamp(72px, 8.5vw, 124px);
}

h1 {
  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: 24px; max-width: 34em; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.2rem); line-height: 1.6; color: #d4d8dc; }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Framed product photo */
.shot { position: relative; }
.shot-frame { position: relative; }
.shot-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 86% 50%;
  border-radius: var(--radius);
  border: 1px solid var(--line-hi);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 120px -30px rgba(252, 96, 8, 0.28);
}
.photo-note { position: absolute; right: 14px; top: 14px; 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); }
.shot-product {
  position: absolute;
  left: -22px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-hi);
  background: rgba(21, 26, 31, 0.94);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.95);
}
.shot-product img { height: 40px; width: auto; }
.shot-product p { font-size: 0.96rem; line-height: 1.35; color: var(--soft); }
.shot-product strong { display: block; font-size: 1.04rem; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.shot-product .by { font-weight: 450; color: var(--muted); }

.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 { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(252, 96, 8, 0.22); }

/* ---------- 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); }

.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;
}

/* Problem and approach */
.problem { position: relative; overflow: hidden; isolation: isolate; }
.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 50% 118%, rgba(252, 96, 8, 0.15), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 22px);
}
.narrow { max-width: 860px; margin-inline: auto; text-align: center; }
.narrow .statement { margin-top: 18px; }
.narrow p.sub { margin: 24px auto 0; max-width: 62ch; color: var(--soft); font-size: 1.14rem; }
.bridge { margin-top: clamp(36px, 4.5vw, 56px); font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem); font-weight: 620; letter-spacing: -0.012em; color: var(--text); }

.principles { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  display: grid;
  gap: 22px;
  align-content: start;
}
.principle svg { width: 36px; height: 36px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.principle p { font-size: 1.2rem; font-weight: 520; line-height: 1.45; letter-spacing: -0.006em; color: var(--text); }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.product h2 { margin-top: 14px; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4rem); font-weight: 660; line-height: 1; letter-spacing: -0.03em; }
.expansion { margin-top: 12px; font-size: 1.08rem; font-weight: 550; color: var(--accent-2); letter-spacing: 0.01em; }
.product p.sub { margin-top: 20px; color: var(--soft); font-size: 1.14rem; }
.product-art {
  min-height: 340px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  border: 1px solid rgba(252, 96, 8, 0.36);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(252, 96, 8, 0.16), transparent 58%),
    var(--panel);
}
.product-art img { width: min(100%, 400px); height: auto; }

/* Founder */
.who { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.who h2 { margin-top: 14px; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 620; line-height: 1.1; letter-spacing: -0.024em; }
.who p.sub { margin-top: 20px; color: var(--soft); font-size: 1.14rem; }
.who .actions { margin-top: 28px; }
.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; align-content: start; 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; }
/* Founder background: one row per item, so longer words have room */
.sectors.rows { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sectors.rows .sector { grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 20px 24px; font-size: 1.08rem; }

/* Contact band */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; background: var(--bg); }
.cta-mark { position: absolute; z-index: -2; left: 50%; top: 50%; width: auto; height: 150%; max-width: none; transform: translate(-50%, -46%); opacity: 0.07; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 110% at 50% 108%, rgba(252, 96, 8, 0.24), transparent 70%); }
.cta .wrap { max-width: 860px; }
.cta .statement { margin-top: 16px; overflow-wrap: anywhere; }
.cta .statement a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 0.06em; text-underline-offset: 0.16em; }
.cta .statement a:hover { color: #ffffff; text-decoration-color: var(--accent-2); }
.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; }

/* ---------- 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.07s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
  .shot { animation: settle 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s 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: translateY(18px) scale(0.985); } 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: 1100px) {
  .links { display: none; }
}

@media (max-width: 1020px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-block: 48px 76px; }
  .hero-copy { max-width: 680px; }
  .shot { max-width: 720px; }
  .shot-photo { aspect-ratio: 16 / 10; object-position: 70% 50%; }
  .shot-product { left: 14px; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product-art { min-height: 0; }
  .who { grid-template-columns: minmax(0, 1fr); }
  .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .principles { grid-template-columns: minmax(0, 1fr); }
  .principle { grid-template-columns: auto 1fr; align-items: center; gap: 20px; padding: 22px 24px; }
}

@media (max-width: 560px) {
  .nav .more { display: none; }
  .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); }
  .btn { padding: 0.8em 1.25em; }
  .btn-sm { padding: 0.62em 1.15em; }
  .shot-product { position: static; margin-top: 12px; }
  .shot-product p { font-size: 0.94rem; }
  .photo-note { top: auto; right: 10px; bottom: 10px; padding: 4px 11px; font-size: 0.84rem; }
  .product-art { padding-inline: 14px; }
  .product-art .pill { font-size: 0.86rem; }
  .cta .statement { font-size: clamp(1.45rem, 0.6rem + 5vw, 1.9rem); }
}
