/* TOVANOWORLD Website 2.0 (owner brief 2026-10-19): cinematic black/navy + gold, condensed display type.
   Layered over styles.css: existing pages keep their structure and gain the new look. Fonts are self-hosted (SIL OFL,
   see /fonts/OFL.txt) so no visitor data goes to a font CDN. */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/BarlowCondensed-Bold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/Barlow-Regular.ttf") format("truetype"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/fonts/Barlow-SemiBold.ttf") format("truetype"); }

:root {
  --bg: #05070c;
  --panel: #0a111d;
  --card: #0e1726;
  --line: #1f2a3c;
  --gold: #e2aa3c;
  --gold-soft: #f3cf7a;
  --gold-deep: #b9811f;
  --text: #eef0f4;
  --muted: #9ba6b8;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
}
body { font-family: var(--body); font-size: 16.5px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: .5px; }
h1 { text-transform: uppercase; font-weight: 700; line-height: .98; letter-spacing: 0;
  background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; }
h1 .gold, h2 .gold { color: var(--gold); }
h2 { text-transform: uppercase; color: #fff; font-weight: 700; }
h3 { font-weight: 600; }
.kicker { font-family: var(--display); font-weight: 600; letter-spacing: 4px; }
.btn { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .5px; border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold)); border-color: var(--gold); color: #120d04; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn .arr { margin-left: 8px; }
.card { background: linear-gradient(180deg, #0f1828, #0a111d); }

/* header: logo, navigation, Client Portal + Get a Quote */
.site-head { background: rgba(5, 7, 12, .9); }
.brand b { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: 2px; color: #fff; }
.brand span { font-family: var(--display); letter-spacing: 3px; color: var(--gold); }
.brand .crown { display: inline-block; width: 26px; height: 18px; margin-right: 8px; vertical-align: -2px; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: .4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); background: transparent; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.head-actions { display: flex; gap: 8px; align-items: center; }
.head-actions .btn { padding: 8px 14px; font-size: 15px; }
@media (max-width: 1100px) { .head-actions .btn.ghost { display: none; } }
@media (max-width: 860px) { .head-actions { order: 2; } .head-actions .btn { padding: 7px 12px; font-size: 14px; } }

/* hero */
.hero2 { position: relative; min-height: min(86vh, 760px); display: grid; align-items: center; overflow: hidden;
  border-bottom: 1px solid var(--line); background: #000; }
.hero2 > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 30%; }
.hero2::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 12, .97) 0%, rgba(5, 7, 12, .78) 38%, rgba(5, 7, 12, .15) 75%),
              linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero2 .wrap { position: relative; z-index: 2; padding: 90px 0 70px; }
.hero2 h1 { font-size: clamp(46px, 8.2vw, 104px); max-width: 11ch; margin-bottom: 14px; }
.hero2 .sub { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2.2vw, 24px); color: #fff; margin: 0 0 14px; }
.hero2 .lead { color: #d8dce4; max-width: 560px; }
.hero2 .play { position: absolute; z-index: 2; right: 18%; top: 44%; width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid #fff; background: rgba(0, 0, 0, .25); display: grid; place-items: center; cursor: pointer; }
.hero2 .play::before { content: ""; border-left: 30px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; margin-left: 8px; }
.hero2 .play:hover { border-color: var(--gold); }
.hero2 .caption { position: absolute; z-index: 2; right: 32px; bottom: 30px; text-align: right; font-family: var(--display); }
.hero2 .caption b { display: block; font-size: 20px; letter-spacing: 1px; }
.hero2 .caption span { font-size: 13px; letter-spacing: 3px; color: var(--muted); }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #e6e9ef; font-size: 15px; }
.trust li::before { content: "◆"; color: var(--gold); margin-right: 8px; font-size: 11px; vertical-align: 2px; }
@media (max-width: 860px) {
  .hero2 { min-height: 0; }
  .hero2 .play { right: 50%; transform: translateX(50%); top: auto; bottom: 22px; width: 64px; height: 64px; }
  .hero2 .play::before { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 5px; }
  .hero2 .caption { display: none; }
  .hero2 .wrap { padding: 70px 0 110px; }
}

/* showreel dialog */
dialog.reel { padding: 0; border: 1px solid var(--gold); background: #000; width: min(1100px, 94vw); border-radius: 12px; }
dialog.reel::backdrop { background: rgba(0, 0, 0, .82); }
dialog.reel video { width: 100%; display: block; }
dialog.reel .close { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(0, 0, 0, .6); color: #fff;
  border: 1px solid #fff; border-radius: 999px; padding: 4px 12px; font: 600 14px var(--body); cursor: pointer; }

/* section heads, services catalogue */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); }
.sec-head p { margin: 0; color: var(--muted); }
.sec-head .more { margin-left: auto; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; }
.sec-head .more:hover { color: var(--gold); }
.svc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.svc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; min-width: 0; }
.svc:hover, .svc:focus-visible { border-color: var(--gold); }
.svc .img { aspect-ratio: 16 / 9; background: radial-gradient(120% 120% at 30% 20%, #1b2a44, #070b13 70%);
  display: grid; place-items: center; overflow: hidden; }
.svc .img img { width: 100%; height: 100%; object-fit: cover; }
.svc .img svg { width: 44px; height: 44px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.svc .txt { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.svc h3 { margin: 0; color: #fff; font-size: 21px; }
.svc p { margin: 0; color: var(--muted); font-size: 14.5px; }
.svc .price { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--gold); }
.svc .price.quote { color: var(--gold-soft); font-weight: 600; font-size: 17px; }

/* how it works, 5 steps */
.how5 { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; }
.how5 li { counter-increment: s; position: relative; padding-top: 52px; }
.how5 li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: #120d04; display: grid; place-items: center; font: 700 20px var(--display); }
.how5 h3 { margin: 0 0 4px; color: #fff; font-size: 20px; }
.how5 p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) { .how5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .how5 { grid-template-columns: minmax(0, 1fr); } }

/* featured work, B2B band, portal teaser */
.feat { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.feat figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feat video, .feat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.feat figcaption { padding: 10px 14px 12px; }
.feat figcaption b { display: block; font-family: var(--display); font-size: 18px; color: #fff; }
.feat figcaption span { font-size: 13.5px; color: var(--muted); }
.band { background: linear-gradient(120deg, #0d1625, #120f08); border: 1px solid #3a2c12; border-radius: 16px; padding: 28px; }
.band .cols2 { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
@media (max-width: 860px) { .band .cols2 { grid-template-columns: minmax(0, 1fr); } }
.chiplist { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chiplist li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: #e6e9ef; }

/* Studio Assistant widget (static, guided; no server, no internal access) */
.assist-btn { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px; background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: #120d04;
  border: 0; border-radius: 999px; padding: 12px 18px; font: 700 16px var(--display); letter-spacing: .5px; cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.assist { position: fixed; z-index: 41; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(78px, calc(env(safe-area-inset-bottom, 0px) + 78px));
  width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column;
  background: #0a111d; border: 1px solid var(--gold); border-radius: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); overflow: hidden; }
.assist header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.assist header b { font-family: var(--display); font-size: 19px; letter-spacing: 1px; }
.assist header small { display: block; color: var(--muted); font-size: 12.5px; }
.assist header button { background: none; border: 1px solid var(--line); color: #fff; border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.assist .log { padding: 12px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.assist .msg { background: #111b2c; border-radius: 10px; padding: 10px 12px; font-size: 14.5px; color: #e6e9ef; }
.assist .msg.me { align-self: flex-end; background: #2a2010; color: var(--gold-soft); }
.assist .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.assist .opts button, .assist .opts a { background: transparent; border: 1px solid var(--gold); color: var(--gold-soft); border-radius: 999px;
  padding: 6px 12px; font: 600 14px var(--body); cursor: pointer; text-decoration: none; }
.assist .opts button:hover, .assist .opts a:hover { background: #2a2010; }
.assist .note { font-size: 12px; margin: 0; padding: 8px 14px 12px; border-left: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
form.inquiry label.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
form.inquiry label.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }

/* layout fixes after the 1440 px review */
.site-head .wrap { width: min(1320px, 100% - 32px); gap: 12px; }
.nav ul { flex-wrap: nowrap; gap: 0; }
.nav a { padding: 8px 9px; font-size: 15px; white-space: nowrap; }
.head-actions .btn { white-space: nowrap; }
.brand span { white-space: nowrap; font-size: 9px; }
@media (max-width: 1240px) { .brand span { display: none; } }
@media (max-width: 860px) { .nav ul { flex-wrap: wrap; } }
.feat img, .feat video { height: auto; }
.split .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc .img img { height: 100%; }
.svc .img img[src*="spotlight-sample-poster"] { object-position: 50% 62%; }

/* business client portal */
.portal-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.portal-grid .pcol.wide { order: 0; }
[data-portal="project"] .portal-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
@media (max-width: 900px) { .portal-grid, [data-portal="project"] .portal-grid { grid-template-columns: minmax(0, 1fr); } }
.pcol { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pcard, .quote, .preview { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; }
.pcard h4, .quote header b, .preview header b { margin: 0; font: 600 20px var(--display); color: #fff; }
.quote header, .preview header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.quote header span, .preview header span { color: var(--muted); font-size: 14px; text-transform: capitalize; }
.quote.q-sent { border-color: var(--gold); }
.quote.q-accepted { border-color: #2f5f3f; }
.team { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.team small { color: var(--muted); }
.team-add, .qa, .rev, .pupload, .pform form { display: grid; gap: 10px; }
.pform { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.pform summary { cursor: pointer; color: var(--gold-soft); font-family: var(--display); font-weight: 600; font-size: 18px; }
.pform form { margin-top: 12px; }
.plist { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; text-decoration: none; color: inherit; }
.prow:hover { border-color: var(--gold); }
.prow b { font-family: var(--display); font-size: 19px; color: #fff; }
.prow span { color: var(--muted); font-size: 14px; }
.prow .pill { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--gold-soft); border-color: var(--gold-deep); }
.pipeline { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.pipeline li { font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pipeline li.done { color: #7fd69a; border-color: #2f5f3f; }
.pipeline li.now { color: #120d04; background: var(--gold); border-color: var(--gold); font-weight: 600; }
.brief { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 0; }
.brief dt { color: var(--muted); font-size: 14px; }
.brief dd { margin: 0; overflow-wrap: anywhere; }
.files { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.files small, .revs small { color: var(--muted); }
.preview video, .preview img { width: 100%; max-height: 520px; background: #000; border-radius: 8px; object-fit: contain; }
.revs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.revs li { background: var(--panel); border-radius: 8px; padding: 8px 10px; font-size: 14.5px; }
.revs li.addressed { opacity: .75; }
