/* DarkTiger Studios - design system (Aesthetic Playbook, dark-room base)
   Palette roles: PAPER=ink #04060b/#0a101c · INK=cream #e9f1fa · MUTED #8fa2b8
   ACCENT text=#8fd6ff, fills=gradient(#3fa9ff -> #1861c9) · SUPPORT live=#7ee0ae */
:root {
  --bg: #04060b;
  --surface: #0a101c;
  --surface2: #0d1524;
  --border: rgba(143, 214, 255, 0.14);
  --border-strong: rgba(143, 214, 255, 0.30);
  --cream: #e9f1fa;
  --muted: #8fa2b8;
  --accent: #8fd6ff;        /* text on dark */
  --accent-bright: #3fa9ff; /* fills, gradient head */
  --accent-deep: #1861c9;   /* gradient tail only */
  --live: #7ee0ae;
  --glass: linear-gradient(165deg, #0d1524 0%, #0a101c 100%);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg); color: var(--cream); overflow-x: clip;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.65; font-size: 16px;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 26px; }

/* ── type scale ── */
.kick { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; margin-top: 10px; }
h2 .b { color: var(--accent); }
.lead { color: var(--muted); font-size: 16.5px; margin-top: 14px; max-width: 60ch; }

/* ── buttons: accent fills are ALWAYS the gradient ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px;
  padding: 13px 26px; border-radius: 12px; cursor: pointer; border: none;
  transition: transform .15s ease-out, box-shadow .2s ease-out, filter .15s; }
.btn.solid { background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-deep) 100%);
  color: #04121f; box-shadow: 0 0 26px rgba(63, 169, 255, 0.35); }
.btn.solid:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 0 40px rgba(63, 169, 255, 0.55); }
.btn.ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--accent); }
.btn.ghost:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(63, 169, 255, 0.30); }

/* ── nav ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center;
  justify-content: space-between; padding: 16px 26px; transition: background .3s, backdrop-filter .3s; }
nav.solid { background: rgba(4, 6, 11, 0.78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.brand { font-weight: 800; letter-spacing: 2px; font-size: 14px; color: var(--cream); }
.brand b { color: var(--accent-bright); }
.navlinks { display: flex; align-items: center; gap: 22px; }
.navlinks a:not(.btn) { color: var(--muted); font-size: 14px; font-weight: 600; }
.navlinks a:not(.btn):hover { color: var(--accent); }
.navlinks .btn { padding: 9px 18px; font-size: 14px; white-space: nowrap; }
@media (max-width: 640px) {
  .hide-mobile { display: none; }
  nav { padding: 12px 18px; flex-wrap: wrap; gap: 8px 14px; }
  .navlinks { gap: 12px; margin-left: auto; }
}

/* ── hero: the living tiger is the film ── */
#c { position: fixed; inset: 0; width: 100%; height: 100vh; display: block; z-index: 0; object-fit: cover; }
.hero { position: relative; min-height: 100vh; z-index: 2; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 10vh 7vw 9vh; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,6,11,0) 34%, rgba(4,6,11,0.45) 66%, rgba(4,6,11,0.92) 100%); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--accent); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; background: rgba(4, 6, 11, 0.55); width: fit-content; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 { color: #eaf5ff; font-size: clamp(40px, 7.6vw, 96px); line-height: 1.02; font-weight: 800;
  letter-spacing: -1px; text-shadow: 0 0 30px rgba(63, 169, 255, 0.4), 0 2px 24px rgba(0, 0, 0, 0.6); }
.hero h1 .b { color: var(--accent-bright); }
.hero .sub { color: #c2d2e0; font-size: clamp(15px, 1.9vw, 19px); margin-top: 18px; max-width: 44ch; }
.hero .row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero .trust { margin-top: 16px; font-size: 13px; color: var(--muted); }
.scrollhint { position: absolute; bottom: 3vh; left: 50%; transform: translateX(-50%); color: #7d90a4;
  font-size: 11px; letter-spacing: 4px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateX(-50%); opacity: .5; } 50% { transform: translateX(-50%) translateY(6px); opacity: 1; } }

/* everything after the hero rides on solid ink above the canvas */
.after { position: relative; z-index: 2; background: var(--bg); }
section { padding: 100px 0; }

/* ── ambient sections: the tiger's light leaks into the page ── */
.ambient { position: relative; }
.ambient::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('assets/tiger-face.jpg'); background-size: cover; background-position: center;
  filter: blur(52px) brightness(1.15); opacity: 0.10; }
.ambient::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(4, 6, 11, 0.88); }
.ambient > * { position: relative; z-index: 1; }
.ambient-b::before { background-image: url('assets/tiger-poster.jpg'); background-position: 30% 20%; }

/* ── stats strip ── */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(10, 16, 28, 0.6); padding: 0; }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 26px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; color: var(--accent);
  text-shadow: 0 0 16px rgba(143, 214, 255, 0.4); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .statgrid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } }

/* ── work cards ── */
.cases { display: flex; flex-direction: column; gap: 22px; margin-top: 44px; }
.case { background: var(--glass); border: 1px solid var(--border); border-radius: 20px; padding: 38px 36px;
  transition: transform .25s ease-out, box-shadow .25s ease-out, border-color .25s; }
.case:hover { border-color: var(--border-strong); transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(63, 169, 255, 0.12); }
.case .badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: rgba(63, 169, 255, 0.12); color: var(--accent); border: 1px solid rgba(63, 169, 255, 0.3); }
.case .badge.media { background: rgba(126, 224, 174, 0.10); color: var(--live); border-color: rgba(126, 224, 174, 0.3); }
.case h3 { font-size: clamp(23px, 2.8vw, 32px); font-weight: 800; margin: 14px 0 4px; }
.case .tagline { color: var(--accent); font-weight: 600; font-size: 15.5px; margin-bottom: 12px; }
.case p { color: var(--muted); font-size: 15.5px; max-width: 70ch; }
.case .status { margin-top: 16px; font-size: 14.5px; font-weight: 600; }
.case.withmedia { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.case-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); height: 250px; }
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.case-media.portrait { height: 300px; width: 240px; justify-self: end; }
.case-media.portrait img { object-position: top; }
.breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px;
  padding-top: 20px; border-top: 1px solid var(--border); }
.breakdown dt { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 5px; }
.breakdown dd { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .case.withmedia { grid-template-columns: 1fr; }
  .case-media, .case-media.portrait { width: 100%; height: 220px; justify-self: stretch; }
  .breakdown { grid-template-columns: 1fr; gap: 14px; }
}

/* ── the studio floor (live proof) ── */
.floor { max-width: 780px; margin: 44px auto 0; background: var(--glass); border: 1px solid var(--border-strong);
  border-radius: 18px; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5); }
.floor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; border-bottom: 1px solid var(--border); }
.floor-head .t { font-weight: 700; font-size: 15px; }
.floor-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--live); }
.floor-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.8s infinite; }
.floor-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.floor-kpi { padding: 16px 10px; text-align: center; border-right: 1px solid var(--border); }
.floor-kpi:last-child { border-right: none; }
.floor-kpi b { display: block; font-size: 26px; font-weight: 800; color: var(--cream); font-variant-numeric: tabular-nums; transition: color .3s; }
.floor-kpi b.bump { color: var(--accent); }
.floor-kpi span { font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.floor-feed { padding: 8px 0 10px; min-height: 250px; }
.floor-row { display: flex; align-items: center; gap: 12px; padding: 9px 22px; font-size: 14px; overflow: hidden; }
.floor-row.enter { animation: settle .4s ease-out; }
@keyframes settle { from { opacity: 0; transform: translateY(-10px); } }
.floor-row .dot { width: 30px; height: 30px; border-radius: 9px; flex: none; display: flex; align-items: center;
  justify-content: center; font-size: 13px; background: rgba(63, 169, 255, 0.12); border: 1px solid var(--border); }
.floor-row .what { flex: 1; min-width: 0; }
.floor-row .what b { display: block; font-size: 13.5px; }
.floor-row .what small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.floor-row .when { font-size: 11.5px; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.floor-foot { padding: 12px 22px 14px; border-top: 1px solid var(--border); display: flex; align-items: center;
  justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

/* ── services / packages ── */
.pkggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pkg { background: var(--glass); border: 1px solid var(--border); border-radius: 18px; padding: 30px 26px;
  display: flex; flex-direction: column; transition: transform .25s ease-out, border-color .25s; }
.pkg:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pkg.feat { border-color: rgba(63, 169, 255, 0.45); box-shadow: 0 0 60px rgba(63, 169, 255, 0.10); }
.pkg .pkgtag { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pkg h3 { font-size: 20px; margin-bottom: 9px; }
.pkg p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.pkg ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.pkg li { color: var(--muted); font-size: 14px; line-height: 1.7; padding-left: 18px; position: relative; }
.pkg li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 2px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep)); }
.pkg .pkglink { font-weight: 700; font-size: 14.5px; }
@media (max-width: 820px) { .pkggrid { grid-template-columns: 1fr; } }

/* ── ethos ── */
.ethos-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.ethos-grid p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.ethos-grid p b { color: var(--cream); font-weight: 700; }
@media (max-width: 820px) { .ethos-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ── contact ── */
.cbox { text-align: center; background: var(--glass); border: 1px solid var(--border); border-radius: 24px;
  padding: 64px 30px; box-shadow: 0 0 90px rgba(63, 169, 255, 0.06) inset; }
.cbox h2 { margin-top: 0; }
.cbox > p { color: var(--muted); margin: 14px 0 28px; font-size: 16.5px; }
.cform { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.frow { display: flex; gap: 12px; }
.frow input, .frow select { flex: 1; min-width: 0; }
.cform input, .cform textarea, .cform select { background: rgba(4, 6, 11, 0.6); border: 1px solid var(--border);
  border-radius: 10px; color: var(--cream); padding: 13px 15px; font-size: 15px; font-family: inherit; width: 100%;
  transition: border-color .2s, box-shadow .2s; }
.cform input:focus, .cform textarea:focus, .cform select:focus { outline: none; border-color: rgba(63, 169, 255, 0.6);
  box-shadow: 0 0 18px rgba(63, 169, 255, 0.22); }
.cform textarea { resize: vertical; }
.cform select { cursor: pointer; }
.cform select option { background: #0a0d14; color: var(--cream); }
.cform .btn { align-self: center; margin-top: 6px; }
.cbox .alt { font-size: 14px; margin-top: 20px; color: var(--muted); }
.sent { display: none; margin-top: 18px; color: var(--live); font-weight: 700; font-size: 15px; }
.sent.show { display: block; }
@media (max-width: 520px) { .frow { flex-direction: column; } }

/* ── footer ── */
footer { border-top: 1px solid var(--border); padding: 40px 0 56px; background: rgba(10, 16, 28, 0.7); }
.footrow { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.fine { color: var(--muted); font-size: 13px; }
.footlinks { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; min-width: 0; }
.footlinks a { color: var(--muted); font-size: 13px; }
.footlinks a:hover { color: var(--accent); }

/* ── settle physics: nothing pops, everything settles ── */
.stl { opacity: 0; transform: translateY(14px); transition: opacity .32s ease-out, transform .32s ease-out; }
.stl.in { opacity: 1; transform: none; }

/* ── legal document treatment ── */
.legal { max-width: 760px; margin: 0 auto; padding: 120px 26px 80px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 42px); font-weight: 800; letter-spacing: -0.5px; }
.doc-head { border: 1px solid var(--border-strong); border-radius: 14px; padding: 18px 22px; margin: 26px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; background: var(--surface); }
.doc-head div span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 3px; }
.doc-head div b { font-size: 13.5px; font-weight: 600; color: var(--cream); }
.legal h2 { font-size: 21px; margin: 38px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal strong { color: var(--cream); }

/* About page */
.studio-about { min-height: 100vh; padding: 128px 0 90px; }
.studio-about-inner { max-width: 980px; }
.studio-about-hero {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr);
  gap: 56px; align-items: center; padding: 42px 0 70px;
  border-bottom: 1px solid var(--border);
}
.studio-about h1 {
  color: #eaf5ff; font-size: clamp(42px, 7vw, 76px); line-height: 1.02;
  font-weight: 800; letter-spacing: -1px; margin-top: 12px;
  text-shadow: 0 0 30px rgba(63, 169, 255, 0.28);
}
.studio-about h1 span { color: var(--accent-bright); }
.studio-about .about-lead {
  color: #c2d2e0; font-size: clamp(17px, 2vw, 20px); line-height: 1.7;
  max-width: 60ch; margin-top: 22px;
}
.founder-card {
  background: var(--glass); border: 1px solid var(--border-strong); border-radius: 22px;
  padding: 28px; box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}
.founder-mark {
  width: 112px; height: 112px; border-radius: 28px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: #04121f; font-size: 38px; font-weight: 900; letter-spacing: -2px;
  box-shadow: 0 0 34px rgba(63, 169, 255, .28); margin-bottom: 22px;
}
.founder-photo {
  display: block; width: 100%; height: auto; border-radius: 16px;
  border: 1px solid var(--border-strong); margin-bottom: 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .42);
}
.founder-card b { display: block; font-size: 19px; }
.founder-card span { display: block; color: var(--muted); font-size: 14px; margin-top: 5px; }
.about-quote {
  margin: 26px 0 0; padding: 26px 30px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--border);
  border-left: 3px solid var(--accent-bright);
}
.about-quote p {
  color: #c8d7e4; font-size: clamp(17px, 1.9vw, 20px); line-height: 1.72; max-width: 58ch;
}
.about-quote p + p { margin-top: 15px; }
.about-quote cite {
  display: block; margin-top: 16px; color: var(--muted);
  font-size: 14px; font-style: normal;
}
.studio-about-section { padding: 70px 0 0; }
.studio-about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 34px; }
.about-panel {
  background: var(--glass); border: 1px solid var(--border); border-radius: 18px;
  padding: 30px 28px;
}
.about-panel h3 { font-size: 20px; margin-bottom: 12px; }
.about-panel p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.about-panel p + p { margin-top: 14px; }
.about-facts { list-style: none; display: grid; gap: 12px; }
.about-facts li {
  color: var(--muted); font-size: 14.5px; padding: 12px 0 12px 18px;
  border-bottom: 1px solid var(--border); position: relative;
}
.about-facts li:last-child { border-bottom: 0; }
.about-facts li::before {
  content: ''; position: absolute; left: 0; top: 21px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--accent-bright);
}
.about-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.about-projects a {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; color: var(--cream);
}
.about-projects a:hover { border-color: var(--border-strong); }
.about-projects b { display: block; font-size: 18px; }
.about-projects span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.about-cta { margin-top: 70px; text-align: center; }
.about-cta .cbox { padding: 48px 30px; }
@media (max-width: 760px) {
  .studio-about { padding-top: 112px; }
  .studio-about-hero, .studio-about-grid { grid-template-columns: 1fr; gap: 26px; }
  .founder-card { max-width: 360px; }
  .about-projects { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .studio-about { padding-top: 136px; }
  .studio-about h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .stl { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── product status board (replaces simulated feed) ── */
.status-row { display: flex; align-items: center; gap: 14px; padding: 16px 22px;
  border-bottom: 1px solid var(--border); color: var(--cream); transition: background .2s; }
.status-row:last-of-type { border-bottom: none; }
.status-row:hover { background: rgba(63, 169, 255, 0.06); }
.status-row .what { flex: 1; min-width: 0; }
.status-row .what b { display: block; font-size: 15.5px; font-weight: 800; }
.status-row .what small { color: var(--muted); font-size: 13px; }
.status-row .status-pill { flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: 0.5px;
  color: var(--live); text-transform: uppercase; text-align: right; }
@media (max-width: 560px) { .status-row { flex-wrap: wrap; } .status-row .status-pill { width: 100%; text-align: left; } }
.stat b.cap { font-size: clamp(22px, 3vw, 32px); letter-spacing: 0.5px; }
