/* ===== Novi Digital — design tokens ===== */
:root {
  --black: #0a0a09;
  --black-2: #131311;
  --ink: #1a1917;
  --off: #f4f1ea;
  --off-2: #ebe6db;
  --white: #ffffff;
  --gold: #c8a86b;
  --gold-hi: #e8d3a2;
  --gold-lo: #9c7b43;
  --gold-grad: linear-gradient(120deg, var(--gold-lo) 0%, var(--gold-hi) 45%, var(--gold) 70%, var(--gold-lo) 100%);
  --line-d: rgba(244, 241, 234, .12);
  --line-l: rgba(26, 25, 23, .14);
  --mute-d: rgba(244, 241, 234, .62);
  --mute-l: rgba(26, 25, 23, .62);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--off);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--gold); color: var(--black); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.dark { background: var(--black); color: var(--off); }
.light { background: var(--off); color: var(--ink); }
.light em { color: var(--gold-lo); }
.dark em { color: var(--gold-hi); }
.muted { color: var(--mute-d); max-width: 52ch; }
.light .muted { color: var(--mute-l); }

/* ===== Type ===== */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 24px; font-weight: 500;
}
.light .eyebrow { color: var(--gold-lo); }
.h2 { font-size: clamp(38px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.03em; font-weight: 500; margin: 0 0 24px; }
.h3 { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.025em; font-weight: 500; margin: 0 0 16px; line-height: 1.05; }
.display { font-size: clamp(56px, 10vw, 156px); line-height: .92; letter-spacing: -.045em; font-weight: 500; margin: 0 0 32px; }
.lead { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; margin: 0 0 20px; letter-spacing: -.01em; }
.lead-sm { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.4; margin: 0 0 20px; letter-spacing: -.01em; }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 900px; }
.note { font-size: 13px; color: var(--mute-d); font-style: italic; margin: 0 0 28px; }
.small { font-size: 13px; color: var(--mute-d); margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 30px; border-radius: 999px; font: 500 13px/1 var(--sans);
  letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent;
  cursor: pointer; transition: transform .4s var(--ease), background-position .8s var(--ease), border-color .3s, color .3s;
}
.btn .arr, .btn-link .arr { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arr, .btn-link:hover .arr { transform: translateX(4px); }
.btn-gold { background: var(--gold-grad); background-size: 220% 100%; color: var(--black); }
.btn-gold:hover { background-position: 100% 0; }
.btn-ghost { background: transparent; border-color: var(--line-d); color: var(--off); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { padding: 12px 20px; font-size: 11px; }
.btn-link {
  display: inline-flex; gap: 10px; align-items: center; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 500; padding: 8px 0; border-bottom: 1px solid currentColor;
}

/* ===== Brand ===== */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  background: url("assets/n-mark.png") center / contain no-repeat;
}
.brand-word { font-family: var(--serif); font-size: 22px; letter-spacing: .32em; line-height: 1; display: flex; flex-direction: column; }
.brand-word small { font-family: var(--sans); font-size: 8px; letter-spacing: .5em; margin-top: 4px; color: var(--gold); }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); transition: background .4s, backdrop-filter .4s, padding .4s;
}
.nav.scrolled { background: rgba(10, 10, 9, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-d); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-links a:not(.btn) { color: var(--mute-d); transition: color .3s; }
.nav-links a:not(.btn):hover { color: var(--off); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--off); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav.open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ===== 01 Hero ===== */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 40px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-mark {
  position: absolute; right: -4vw; top: 50%; width: min(62vw, 820px); aspect-ratio: 1;
  transform: translateY(-50%) translate3d(var(--mx, 0), var(--my, 0), 0);
  background: url("assets/logo.webp") 49% 32% / 190% no-repeat;
  mix-blend-mode: lighten; opacity: .4; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 78%);
          mask-image: radial-gradient(closest-side, #000 50%, transparent 78%);
  transition: transform 1.2s var(--ease);
}
.hero-inner { position: relative; width: 100%; }
.hero-title { font-size: clamp(48px, 9.2vw, 148px); line-height: .94; letter-spacing: -.05em; font-weight: 500; margin: 0 0 32px; max-width: 13ch; }
.hero-title em { white-space: nowrap; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-sub { font-size: clamp(18px, 1.7vw, 22px); color: var(--mute-d); max-width: 40ch; margin: 0 0 44px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.nav-links .nav-call { color: var(--off); letter-spacing: .04em; white-space: nowrap; }
.nav-links .nav-call::before { content: "☎"; color: var(--gold); margin-right: 8px; }
.hero-foot { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 80px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute-d); }
.scroll-cue { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== 02 Credibility ===== */
.statement { font-size: clamp(34px, 5vw, 72px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; margin: 0 0 72px; max-width: 18ch; }
.cred-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); }
.cred-row div { padding: 28px 24px 0 0; }
.cred-row .k { font-size: 12px; color: var(--gold-lo); letter-spacing: .2em; }
.cred-row p { margin: 8px 0 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }

/* ===== 03 Work ===== */
.case { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.case-media {
  aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 20% 10%, #2a241a 0%, #121110 55%, #0b0b0a 100%);
  border: 1px solid var(--line-d);
}
.case-ui {
  position: absolute; left: 10%; right: 10%; top: 14%; bottom: 14%; border-radius: 12px; background: #161513;
  border: 1px solid rgba(232, 211, 162, .18); box-shadow: 0 40px 80px rgba(0,0,0,.5);
  transition: transform 1s var(--ease);
}
.case:hover .case-ui { transform: translateY(-8px) scale(1.01); }
.ui-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-d); }
.ui-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(244,241,234,.18); }
.ui-body { padding: 6%; display: grid; gap: 8%; height: calc(100% - 33px); grid-template-rows: 1.4fr 1fr; }
.ui-hero { border-radius: 8px; background: linear-gradient(120deg, rgba(200,168,107,.25), rgba(200,168,107,.04)); }
.ui-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.ui-row span { border-radius: 8px; background: rgba(244,241,234,.06); }
.ui-chip {
  position: absolute; right: -6%; bottom: 10%; padding: 12px 18px; border-radius: 999px; font-size: 13px;
  background: var(--off); color: var(--ink); font-weight: 500; box-shadow: 0 20px 40px rgba(0,0,0,.4); white-space: nowrap;
}
.ui-chip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3a9a5b; margin-right: 10px; vertical-align: 1px; }
.case-metrics { list-style: none; padding: 0; margin: 32px 0 12px; border-top: 1px solid var(--line-d); }
.case-metrics li { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.case-metrics b { font-weight: 500; }
.case-metrics span { color: var(--mute-d); }

/* ===== 04 Products ===== */
.prod-list { border-top: 1px solid var(--line-l); }
.prod {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr 40px; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-l); position: relative;
  transition: padding .5s var(--ease);
}
.prod::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; }
.prod > * { position: relative; z-index: 1; transition: color .4s; }
.prod:hover::before { transform: scaleY(1); }
.prod:hover { padding-left: 24px; padding-right: 24px; }
.prod:hover > * { color: var(--off); }
.prod:hover .prod-n, .prod:hover .prod-arr { color: var(--gold-hi); }
.prod-n { font-size: 12px; letter-spacing: .2em; color: var(--gold-lo); }
.prod-name { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.03em; font-weight: 500; line-height: 1; }
.prod-desc { color: var(--mute-l); font-size: 17px; }
.prod-arr { font-size: 24px; text-align: right; }

/* ===== 05 Complete ===== */
.complete { overflow: hidden; background: radial-gradient(80% 60% at 85% 50%, #1e1a12 0%, var(--black) 70%); }
.complete-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 6vw, 120px); align-items: center; }
.complete .display { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.complete .muted { margin-bottom: 40px; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; position: relative; }
.flow::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line-d); }
.flow::after {
  content: ""; position: absolute; left: 7px; top: 12px; width: 1px; height: calc(var(--p, 0) * (100% - 24px));
  background: linear-gradient(var(--gold-hi), var(--gold)); transition: height 2.4s var(--ease);
}
.flow li {
  position: relative; padding: 13px 0 13px 44px; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em;
  color: rgba(244,241,234,.35); transition: color .6s var(--ease);
}
.flow li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%;
  background: var(--black); border: 1px solid var(--line-d); z-index: 1; transition: background .5s, border-color .5s, box-shadow .5s;
}
.flow li.on { color: var(--off); }
.flow li.on::before { background: var(--gold); border-color: var(--gold-hi); box-shadow: 0 0 0 6px rgba(200,168,107,.12); }
.flow li.flow-last.on { color: var(--gold-hi); }

/* ===== 06 Process ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-l); }
.step { padding: 32px 24px 0 0; border-right: 1px solid var(--line-l); margin-right: 24px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step span { font-family: var(--serif); font-size: 44px; color: var(--gold-lo); line-height: 1; font-style: italic; }
.step h3 { font-size: 22px; font-weight: 500; margin: 32px 0 12px; letter-spacing: -.01em; }
.step p { color: var(--mute-l); margin: 0; font-size: 16px; }

/* ===== 07 Demo ===== */
.demo-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 6vw, 120px); align-items: center; }
.demo-copy .muted { margin-bottom: 36px; }
.demo-panel {
  background: linear-gradient(180deg, #151412, #0e0e0d); border: 1px solid var(--line-d); border-radius: 20px;
  padding: clamp(20px, 3vw, 36px); position: relative;
}
.dstep { display: grid; grid-template-columns: 22px 1fr; gap: 16px; padding: 14px 0; position: relative; opacity: .18; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.dstep:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 34px; bottom: -10px; width: 1px; background: var(--line-d); }
.dstep.on { opacity: 1; transform: none; }
.dstep .dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold); margin-top: 6px; transition: background .4s; }
.dstep.on .dot { background: var(--gold); }
.dstep.done.on .dot { background: #3a9a5b; border-color: #3a9a5b; box-shadow: 0 0 0 5px rgba(58,154,91,.18); }
.dstep b { font-weight: 500; display: block; }
.dstep small { color: var(--mute-d); font-size: 14px; }
.lead-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 10px 0 0; padding: 14px 16px; border-radius: 10px; background: rgba(244,241,234,.04); border: 1px solid var(--line-d); font-size: 14px; }
.lead-card dt { color: var(--mute-d); }
.lead-card dd { margin: 0; }

/* ===== 08 Industries ===== */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind { background: var(--white); border-radius: 20px; padding: clamp(28px, 3vw, 44px); min-height: 320px; display: flex; flex-direction: column; border: 1px solid var(--line-l); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ind:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(26,25,23,.08); }
.ind h3 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.025em; font-weight: 500; margin: 0 0 auto; }
.ind-sys { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lo); margin: 48px 0 10px; }
.ind p:last-child { color: var(--mute-l); margin: 0; }

/* ===== 09 Results ===== */
.metric-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.metric-list li { padding: 36px 28px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.015em; position: relative; }
.metric-list li::before { content: "—"; display: block; font-family: var(--serif); color: var(--gold); font-size: 40px; line-height: 1; margin-bottom: 28px; }

/* ===== 10 Founder ===== */
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.founder-photo { aspect-ratio: 4 / 5; border-radius: 20px; background: linear-gradient(160deg, #1d1b18, #0b0b0a); position: relative; overflow: hidden; display: grid; place-items: center; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-mark { width: 45%; aspect-ratio: 1; background: url("assets/logo.webp") 49% 30% / 260% no-repeat; mix-blend-mode: lighten; opacity: .8; }

/* ===== 11 CTA ===== */
.cta { min-height: 100svh; display: flex; align-items: center; background: radial-gradient(70% 55% at 50% 30%, #1f1a11 0%, var(--black) 70%); }
.cta-inner { text-align: center; width: 100%; }
.cta .display { margin-left: auto; margin-right: auto; }
.cta .lead { color: var(--mute-d); margin-bottom: 56px; }
.cta-form { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.cta-form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); }
.cta-form .full { grid-column: 1 / -1; }
.cta-form input, .cta-form textarea {
  font: 400 17px/1.4 var(--sans); color: var(--off); background: rgba(244,241,234,.04); border: 1px solid var(--line-d);
  border-radius: 12px; padding: 16px 18px; outline: none; transition: border-color .3s, background .3s; width: 100%; resize: vertical;
}
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--gold); background: rgba(244,241,234,.06); }
.cta-form button { margin-top: 8px; }
.form-msg { text-align: center; color: var(--gold-hi); min-height: 1.5em; margin: 0; font-size: 15px; }
.form-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--mute-d); text-align: center; text-transform: none; letter-spacing: 0; }
.form-note a, .legal-links a { color: var(--off); border-bottom: 1px solid var(--line-d); }
.form-note a:hover, .legal-links a:hover { color: var(--gold-hi); border-color: var(--gold); }

/* ===== Legal pages (privacy.html, terms.html) ===== */
.legal { padding: clamp(140px, 16vw, 200px) 0 clamp(80px, 10vw, 140px); }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(44px, 7vw, 88px); line-height: .95; letter-spacing: -.045em; font-weight: 500; margin: 0 0 20px; }
.legal .updated { color: var(--mute-d); font-size: 14px; margin: 0 0 48px; }
.legal .summary { border: 1px solid rgba(200,168,107,.3); background: rgba(200,168,107,.06); border-radius: 18px; padding: 24px 28px; margin: 0 0 56px; }
.legal .summary h2 { margin-top: 0; font-size: 20px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; font-weight: 500; margin: 56px 0 16px; }
.legal h3 { font-size: 18px; font-weight: 500; margin: 28px 0 10px; }
.legal p, .legal li { color: rgba(244,241,234,.8); font-size: 16.5px; line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold-hi); border-bottom: 1px solid rgba(200,168,107,.4); }
.legal strong { color: var(--off); font-weight: 500; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-d); vertical-align: top; color: rgba(244,241,234,.8); }
.legal th { color: var(--mute-d); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.legal .toc { columns: 2; column-gap: 32px; padding: 0; list-style: none; margin: 0 0 8px; }
.legal .toc a { border: 0; color: var(--mute-d); }
.legal .toc a:hover { color: var(--gold-hi); }
@media (max-width: 700px) { .legal .toc { columns: 1; } .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td { border: 0; padding: 4px 0; } .legal tr { border-bottom: 1px solid var(--line-d); padding: 12px 0; } }

/* ===== Footer ===== */
.footer { padding: 56px 0; border-top: 1px solid var(--line-d); }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; color: var(--mute-d); }
.footer nav a:hover { color: var(--off); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .case, .complete-grid, .demo-grid, .founder-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line-l); padding-bottom: 32px; }
  .step h3 { margin-top: 20px; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind { min-height: 0; }
  .ind-sys { margin-top: 32px; }
  .founder-photo { max-width: 460px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; background: var(--black); flex-direction: column; justify-content: center; gap: 28px;
    font-size: 28px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .nav-links a:not(.btn) { color: var(--off); }
  .nav-links .btn-sm { font-size: 13px; padding: 16px 28px; margin-top: 12px; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-mark { right: 50%; top: 20%; width: 95vw; transform: translate(50%, -50%); opacity: .25; }
  .cred-row { grid-template-columns: 1fr 1fr; }
  .prod { grid-template-columns: 1fr 28px; gap: 6px 16px; }
  .prod-n { grid-column: 1 / -1; }
  .prod-desc { grid-column: 1; }
  .prod-arr { grid-row: 2; grid-column: 2; }
  .prod:hover { padding-left: 16px; padding-right: 16px; }
  .cta-form { grid-template-columns: 1fr; }
  .ui-chip { right: 4%; font-size: 12px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .hero-foot span:first-child, .hero-foot span:last-child { display: none; }
  .hero-foot { justify-content: center; margin-top: 56px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .dstep { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Product pages ===== */
.page-hero { min-height: 88svh; display: flex; align-items: flex-end; padding: 180px 0 clamp(64px, 8vw, 110px); overflow: hidden; background: radial-gradient(70% 60% at 85% 20%, #1e1a12 0%, var(--black) 70%); }
.page-hero .hero-mark {
  top: 42%; opacity: .22;
  -webkit-mask-image: radial-gradient(closest-side, #000 38%, transparent 66%);
          mask-image: radial-gradient(closest-side, #000 38%, transparent 66%);
}
.page-hero .wrap { position: relative; width: 100%; }
.crumb { font-size: 13px; color: var(--mute-d); margin: 0 0 40px; letter-spacing: .04em; }
.crumb a:hover { color: var(--gold-hi); }
.page-title { font-size: clamp(56px, 11vw, 176px); line-height: .9; letter-spacing: -.05em; font-weight: 500; margin: 0 0 28px; }
.page-title em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.page-tag { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.015em; line-height: 1.25; margin: 0 0 48px; max-width: 26ch; }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; border-top: 1px solid var(--line-d); padding-top: 28px; }
.price { display: flex; flex-direction: column; gap: 4px; }
.price small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-d); }
.price b { font-weight: 500; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.01em; }

.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.intro-grid .h2 { margin: 0; }
.intro-grid p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; margin: 0 0 20px; color: var(--ink); }
.intro-grid p.muted { font-size: 17px; }

.incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.incl li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line-d); display: flex; gap: 16px; align-items: baseline; font-size: 18px; letter-spacing: -.01em; }
.incl li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }
.incl-plus { margin: 0 0 32px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }

.day-sec { padding-bottom: 0; }
.day { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-l); counter-reset: d; }
.day li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.day li b { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lo); font-weight: 500; }
.day li span { font-size: 18px; letter-spacing: -.01em; max-width: 720px; }
@media (max-width: 700px) { .day li { grid-template-columns: 1fr; gap: 6px; } }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rung { border: 1px solid var(--line-l); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 170px; transition: border-color .3s, transform .5s var(--ease); background: var(--white); }
.rung:hover { transform: translateY(-4px); border-color: var(--gold-lo); }
.rung small { font-size: 11px; letter-spacing: .2em; color: var(--gold-lo); text-transform: uppercase; }
.rung b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.rung span { color: var(--mute-l); font-size: 14px; margin-top: auto; }
.rung.current { background: var(--ink); color: var(--off); border-color: var(--ink); }
.rung.current span { color: var(--mute-d); }
.rung.current small { color: var(--gold-hi); }

.price-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; border: 1px solid var(--line-d); border-radius: 24px; padding: clamp(28px, 5vw, 64px); background: linear-gradient(160deg, #16140f, #0c0c0b); }
.price-rows { display: grid; gap: 0; }
.price-rows div { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-d); }
.price-rows div:first-child { border-top: 1px solid var(--line-d); }
.price-rows span { color: var(--mute-d); }
.price-rows b { font-weight: 500; text-align: right; }
.price-card .note { margin: 20px 0 0; }

.next-prod { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line-d); }
.next-prod small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.next-prod b { font-size: clamp(40px, 7vw, 104px); font-weight: 500; letter-spacing: -.045em; line-height: .95; transition: color .4s; }
.next-prod .arr { font-size: clamp(32px, 5vw, 72px); transition: transform .5s var(--ease); }
.next-prod:hover b { color: var(--gold-hi); }
.next-prod:hover .arr { transform: translateX(12px); }

.cta-band { padding: clamp(96px, 12vw, 160px) 0; text-align: center; background: radial-gradient(70% 70% at 50% 40%, #1f1a11 0%, var(--black) 70%); }
.cta-band .h2 { margin-bottom: 20px; }
.cta-band p { color: var(--mute-d); margin: 0 0 40px; font-size: 19px; }
.cta-band .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 36px; align-items: center; }

.footer .contact-line { font-size: 14px; color: var(--mute-d); }
.footer .contact-line a { color: var(--off); border-bottom: 1px solid var(--line-d); }
.footer .contact-line a:hover { color: var(--gold-hi); border-color: var(--gold); }

@media (max-width: 1000px) {
  .intro-grid, .price-card { grid-template-columns: 1fr; }
  .incl { grid-template-columns: 1fr 1fr; }
  .ladder { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .incl { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .rung { min-height: 0; }
  .page-hero .hero-mark { top: 26%; }
}
.cta-alt { margin: 28px 0 0; color: var(--mute-d); font-size: 15px; }
.cta-alt a { color: var(--off); border-bottom: 1px solid var(--gold); }
.cta-alt a:hover { color: var(--gold-hi); }
.cta-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 720px; margin: 40px auto 0; }
.cta-contact-item {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border: 1px solid var(--line-d); border-radius: 14px;
  color: var(--off); font-size: 15px; overflow-wrap: anywhere; transition: border-color .3s, color .3s;
}
.cta-contact-item span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.cta-contact-item:hover { border-color: var(--gold); color: var(--gold-hi); }
@media (max-width: 760px) { .cta-contact { grid-template-columns: 1fr; } }

/* ===== Hero background video ===== */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 0; transition: opacity 1.4s linear; pointer-events: none; --vid-op: .9; }
.hero-video.is-active { opacity: var(--vid-op); }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(10,10,9,.75) 30%, rgba(10,10,9,.15) 60%, transparent 80%),
    linear-gradient(0deg, var(--black) 0%, transparent 22%),
    linear-gradient(180deg, rgba(10,10,9,.7) 0%, transparent 18%);
}
.hero .hero-canvas { z-index: 1; opacity: .5; }
.hero-inner, .hero-foot, .page-hero .wrap { z-index: 2; }
@media (max-width: 860px) {
  .hero-video { object-position: 72% center; --vid-op: .55; }
  .hero-shade { background: linear-gradient(0deg, var(--black) 0%, rgba(10,10,9,.55) 45%, rgba(10,10,9,.35) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } .hero, .page-hero { background: var(--black) url("assets/hero-poster.jpg") right center / cover no-repeat; } }

/* ===== Checkout ===== */
.checkout { min-height: 100svh; padding: 130px 0 96px; background: radial-gradient(60% 50% at 15% 10%, #1e1a12 0%, var(--black) 65%); }
.checkout-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.co-summary { position: sticky; top: 110px; }
.co-summary .crumb { display: inline-block; margin-bottom: 36px; }
.co-name { font-size: clamp(44px, 6vw, 84px); line-height: .95; letter-spacing: -.045em; font-weight: 500; margin: 0 0 16px; }
.co-tag { font-size: 18px; margin: 0 0 36px; }
.co-price { display: flex; align-items: baseline; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); margin-bottom: 28px; }
.co-price b { font-size: clamp(40px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.co-price span { color: var(--mute-d); }
.co-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.co-points li { display: flex; gap: 14px; align-items: baseline; }
.co-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }
.co-summary .note a { color: var(--off); border-bottom: 1px solid var(--line-d); }
.co-pay { background: var(--white); color: var(--ink); border-radius: 20px; padding: clamp(8px, 1.5vw, 16px); min-height: 520px; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.co-embed { min-height: 500px; }
.co-loading { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 500px; color: var(--mute-l); font-size: 15px; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-l); border-top-color: var(--gold-lo); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-error { padding: clamp(28px, 4vw, 48px); }
.co-error h2 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 12px; }
.co-error p { color: var(--mute-l); margin: 0; }
.co-error a { color: var(--ink); border-bottom: 1px solid var(--gold-lo); }
.price-card .btn { margin-top: 12px; }
.page-meta .btn-link { font-size: 12px; }
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}

/* Never show the browser's own play button on the background video */
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-play-button,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }
/* Autoplay blocked (e.g. iPhone Low Power Mode): hide the video, show the still ribbons instead */
.video-blocked .hero-video { visibility: hidden; }
.video-blocked::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("assets/hero-poster.jpg") right center / cover no-repeat; opacity: .9;
}
@media (max-width: 860px) { .video-blocked::before { background-position: 72% center; opacity: .55; } }

/* ===== Industry pages ===== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); }
.pain { padding: 32px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line-l); }
.pain:last-child { border-right: 0; margin-right: 0; }
.pain span { font-family: var(--serif); font-size: 44px; color: var(--gold-lo); line-height: 1; font-style: italic; }
.pain h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; margin: 28px 0 12px; }
.pain p { color: var(--mute-l); margin: 0; }
.ladder-3 { grid-template-columns: repeat(3, 1fr); }
.ladder-3 .rung { min-height: 130px; }
@media (max-width: 1000px) {
  .pain-grid { grid-template-columns: 1fr; }
  .pain { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line-l); padding-bottom: 32px; }
  .ladder-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .ladder-3 { grid-template-columns: 1fr; } }
.ind-link { margin-top: 24px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--gold-lo); }
a.ind:hover .ind-link { color: var(--ink); }

/* ===== Website chat widget (chat.js) ===== */
.nchat { position: fixed; right: 20px; bottom: 20px; z-index: 80; font-family: var(--sans); }
.nchat-fab { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; cursor: pointer; color: var(--black); background: var(--gold-grad); background-size: 220% 100%; font: 500 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 12px 34px rgba(0,0,0,.45); transition: background-position .8s var(--ease), transform .3s var(--ease); }
.nchat-fab:hover { background-position: 100% 0; transform: translateY(-2px); }
.nchat.open .nchat-fab { display: none; }
.nchat-panel { padding: 0; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100svh - 40px)); display: flex; flex-direction: column; background: #121210; color: var(--off); border: 1px solid rgba(200,168,107,.3); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: nchatIn .3s var(--ease); }
.nchat-panel[hidden] { display: none; }
@keyframes nchatIn { from { opacity: 0; transform: translateY(12px); } }
.nchat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line-d); background: linear-gradient(160deg, rgba(200,168,107,.12), transparent 60%); }
.nchat-head div { flex: 1; min-width: 0; }
.nchat-head b { display: block; font-weight: 500; font-size: 15px; }
.nchat-head small { color: var(--mute-d); font-size: 12px; }
.nchat-mark { width: 30px; height: 30px; flex: none; background: url("assets/n-mark.png") center / contain no-repeat; }
.nchat-close { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-d); background: none; color: var(--mute-d); cursor: pointer; }
.nchat-close:hover { color: var(--off); border-color: var(--gold); }
.nchat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.nchat-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.nchat-msg p { margin: 0 0 6px; } .nchat-msg p:last-child { margin: 0; }
.nchat-msg ul { margin: 4px 0 6px; padding-left: 18px; } .nchat-msg li { margin-bottom: 3px; }
.nchat-msg strong { font-weight: 600; color: #fff; }
.nchat-msg.assistant { align-self: flex-start; background: rgba(244,241,234,.07); border-bottom-left-radius: 4px; }
.nchat-msg.user { align-self: flex-end; background: rgba(200,168,107,.18); border: 1px solid rgba(200,168,107,.28); border-bottom-right-radius: 4px; }
.nchat-msg.error { color: #f1b3a8; }
.nchat-msg.typing::after { content: ""; display: inline-block; width: 28px; height: 8px; background: radial-gradient(circle, var(--gold) 3px, transparent 3.5px) 0 0 / 10px 8px repeat-x; animation: nchatDots 1s steps(3) infinite; }
@keyframes nchatDots { from { width: 8px; } to { width: 28px; } }
.nchat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.nchat-chips:empty { display: none; }
.nchat-chips button { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(200,168,107,.35); background: none; color: var(--gold-hi); font: 13px var(--sans); cursor: pointer; }
.nchat-chips button:hover { background: rgba(200,168,107,.12); }
.nchat-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line-d); }
.nchat-form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-d); background: #0a0a09; color: var(--off); font: 14.5px/1.4 var(--sans); outline: none; }
.nchat-form textarea:focus { border-color: var(--gold); }
.nchat-form button { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--gold-grad); color: var(--black); cursor: pointer; }
.nchat-form button:disabled { opacity: .5; cursor: progress; }
.nchat-note { margin: 0; padding: 0 14px 12px; font-size: 11.5px; color: var(--mute-d); }
.nchat-note a { color: var(--off); border-bottom: 1px solid var(--line-d); }
@media (max-width: 520px) {
  .nchat { right: 12px; bottom: 12px; }
  .nchat-fab span { display: none; }
  .nchat-fab { padding: 15px; }
  .nchat.open { inset: 0; right: 0; bottom: 0; }
  .nchat-panel { width: 100vw; height: 100svh; border-radius: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) { .nchat-panel, .nchat-msg.typing::after { animation: none; } }

/* ===== Print (legal pages, receipts etc.): clean black-on-white, no site chrome ===== */
@media print {
  @page { margin: 18mm 16mm; }
  .nav, .nav-toggle, .hero-video, .hero-shade, .hero-canvas, .scroll-cue, .footer nav, .cta-band, #novi-chat, [data-chat], .chat-launcher { display: none !important; }
  html, body, section, .dark, .light, main, footer, header, [class*="card"], [class*="box"] { background: #fff !important; color: #111 !important; box-shadow: none !important; }
  * { color: #111 !important; border-color: #ccc !important; -webkit-text-fill-color: #111 !important; text-shadow: none !important; }
  em, .eyebrow { color: #7a5f2e !important; -webkit-text-fill-color: #7a5f2e !important; }
  a { text-decoration: underline; }
  section, main { padding-top: 0 !important; padding-bottom: 12pt !important; min-height: 0 !important; }
  h1, h2, h3 { break-after: avoid; }
  li, p { orphans: 3; widows: 3; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* ===== SEO landing pages + blog ===== */
.hero-still { position: relative; background: var(--black) url("/assets/hero-poster.jpg") right center / cover no-repeat; }
.page-title.sm { font-size: clamp(38px, 6.4vw, 96px); line-height: .98; letter-spacing: -.04em; max-width: 14ch; }
.faq { border-top: 1px solid var(--line-l); max-width: 900px; }
.dark .faq { border-color: var(--line-d); }
.faq details { border-bottom: 1px solid var(--line-l); padding: 22px 0; }
.dark .faq details { border-color: var(--line-d); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; font-size: clamp(18px, 1.8vw, 22px); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { max-width: 760px; margin: 14px 0 0; color: var(--mute-l); line-height: 1.65; }
.dark .faq p { color: var(--mute-d); }
.faq a { border-bottom: 1px solid var(--gold); }
.footer .foot-solutions { width: 100%; gap: 10px 22px; font-size: 13px; }
.post h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.post .crumb { margin: 0 0 24px; }
.post .updated a { color: var(--off); border-bottom: 1px solid var(--line-d); }
.post h2 { font-size: clamp(24px, 2.6vw, 32px); }
.post ol { padding-left: 22px; }
.post ol li { margin-bottom: 8px; }
.post-cta { border: 1px solid rgba(200,168,107,.3); background: rgba(200,168,107,.06); border-radius: 18px; padding: 28px 32px; margin: 56px 0 8px; }
.post-cta h2 { margin-top: 0; }
.post-cta .btn { border-bottom: 0; color: var(--black); }
.post-list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line-d); }
.post-list li { padding: 32px 0; border-bottom: 1px solid var(--line-d); margin: 0; }
.post-list a { border-bottom: 0; }
.post-list h2 { margin: 0 0 10px; font-size: clamp(22px, 2.4vw, 30px); }
.post-list a:hover h2 { color: var(--gold-hi); }
.post-list p { margin: 0 0 8px; }
.post-list .meta { color: var(--mute-d); font-size: 13px; }
.post-links { padding-left: 20px; }
/* Completed-work case study image + two-card industries grid */
.case-media { display: block; }
.case-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 1s var(--ease); }
.case:hover .case-media img { transform: scale(1.03); }
.ind-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .ind-grid { grid-template-columns: 1fr; } }

/* ===== Online forms (/forms/*) ===== */
.fm-page .wrap { max-width: 860px; }
.fm-intro { color: rgba(244,241,234,.85); font-size: 17px; line-height: 1.6; margin: 0 0 36px; }
.fm-sec { border: 1px solid var(--line-d); border-radius: 18px; padding: 8px 28px 26px; margin: 0 0 20px; background: rgba(244,241,234,.025); }
.fm-sec h2 { margin: 22px 0 18px; font-size: clamp(20px, 2.2vw, 26px); }
.fm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fld { display: grid; gap: 7px; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.fld.full { grid-column: 1 / -1; }
.fld > label, .fld > legend { font-size: 14px; color: rgba(244,241,234,.85); line-height: 1.4; padding: 0; }
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=date], .fld textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--off); background: rgba(244,241,234,.05); border: 1px solid var(--line-d); border-radius: 12px; padding: 12px 14px; outline: none; color-scheme: dark; }
.fld input:focus, .fld textarea:focus { border-color: var(--gold); background: rgba(244,241,234,.08); }
.fld textarea { resize: vertical; min-height: 84px; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: rgba(244,241,234,.88); padding: 6px 0; cursor: pointer; }
.chk input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--gold); }
.req { color: var(--gold-hi); }
.err { color: #f0a58f; font-size: 13px; min-height: 0; }
.fm-note { font-size: 13px; color: var(--mute-d); line-height: 1.55; margin: 22px 0 8px; }
.fm-note a { color: var(--off); border-bottom: 1px solid var(--line-d); }
.fm-msg { min-height: 1.5em; color: var(--gold-hi); margin: 0 0 10px; }
.fm-done { border: 1px solid rgba(200,168,107,.35); background: rgba(200,168,107,.06); border-radius: 18px; padding: 8px 28px 26px; }
.fm button[disabled] { opacity: .6; cursor: wait; }
@media (max-width: 700px) { .fm-grid { grid-template-columns: 1fr; } .fm-sec { padding: 6px 18px 20px; } }
/* Online forms: step-by-step flow, big tap targets, signature pad */
.fm-sec[hidden], .fm-done[hidden], .fm-progress[hidden] { display: none; }
.fm-progress { height: 5px; border-radius: 99px; background: var(--line-d); overflow: hidden; margin: 0 0 10px; }
.fm-progress i { display: block; height: 100%; background: var(--gold-grad); border-radius: 99px; transition: width .4s var(--ease); }
.fm-step { margin: 0 0 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); }
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=date], .fld select, .fld textarea { font-size: 17px; padding: 15px 16px; min-height: 52px; }
.fld select { width: 100%; font-family: var(--sans); color: var(--off); background: rgba(244,241,234,.05); border: 1px solid var(--line-d); border-radius: 12px; color-scheme: dark; }
.chk { padding: 12px 0; font-size: 16px; }
.chk input { width: 24px; height: 24px; margin-top: 1px; }
.fm-nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.fm-nav .btn { min-height: 54px; flex: 1 1 160px; justify-content: center; font-size: 15px; }
.fm-nav #fm-submit { flex: 2 1 220px; }
.sign-text { font-size: 16px; line-height: 1.6; color: rgba(244,241,234,.9); border-left: 3px solid var(--gold-soft, #c8a86b); padding-left: 14px; margin: 0 0 20px; }
.fld .lbl { font-size: 14px; color: rgba(244,241,234,.85); line-height: 1.4; }
.sigpad { position: relative; border-radius: 14px; background: #fbf9f3; border: 2px dashed rgba(200,168,107,.7); overflow: hidden; }
.sigpad canvas { display: block; width: 100%; height: 190px; touch-action: none; cursor: crosshair; }
.sig-hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #b9b0a0; font-size: 22px; font-family: var(--serif); font-style: italic; pointer-events: none; }
.sig-hint[hidden] { display: none; }
.sigtools { display: flex; justify-content: flex-end; margin-top: 6px; }
.linkbtn { background: none; border: 0; color: var(--gold-hi); cursor: pointer; font: inherit; font-size: 14px; padding: 8px 0; text-decoration: underline; }
.hint { font-size: 13px; color: var(--mute-d); }
.linkout { word-break: break-all; font-size: 14px; background: rgba(244,241,234,.05); border: 1px solid var(--line-d); border-radius: 12px; padding: 14px; color: var(--off); }
@media (max-width: 700px) {
  .fm-nav { position: sticky; bottom: 0; padding: 12px 0 14px; margin: 14px -4px 0; background: linear-gradient(180deg, transparent, var(--black) 28%); z-index: 5; }
  .fm-nav .btn { flex: 1 1 0; }
}
@media (max-width: 700px) { .fm-nav #fm-back { flex: 0 0 96px; min-width: 0; padding-left: 0; padding-right: 0; } .fm-nav #fm-next, .fm-nav #fm-submit { flex: 1 1 0; min-width: 0; } .fm-nav { flex-wrap: nowrap; } }

/* ===== Review fixes: prices in the product list, 4 industry cards, notes ===== */
.prod { grid-template-columns: 80px 1.1fr 1.4fr auto 40px; }
.prod-price { font-size: clamp(16px, 1.4vw, 20px); letter-spacing: -.01em; white-space: nowrap; color: var(--gold-lo); font-weight: 500; }
.prod-note { margin: 28px 0 0; font-style: normal; color: var(--mute-l); }
.ind { min-height: 240px; }
.ind .ind-link { margin-top: 20px; color: var(--gold-lo); font-size: 14px; letter-spacing: .08em; }
@media (max-width: 860px) {
  .prod { grid-template-columns: 1fr auto 28px; }
  .prod-n { grid-column: 1 / -1; }
  .prod-name { grid-column: 1; }
  .prod-desc { grid-column: 1 / 3; }
  .prod-price { grid-column: 2; grid-row: 2; align-self: center; }
  .prod-arr { grid-column: 3; grid-row: 2; }
}
/* Contract signing page (/forms/contractor.html) */
.novi-signed { border: 1px solid rgba(200,168,107,.4); background: rgba(200,168,107,.07); border-radius: 14px; padding: 14px 18px; margin: 0 0 22px; }
.novi-signed p { margin: 0 0 8px; color: var(--off); }
.novi-signed img { background: #fff; border-radius: 8px; max-width: 220px; width: 100%; display: block; }
.fm-hint { font-size: 14px; color: var(--mute-d); margin: -6px 0 14px; }
.agreement { max-height: 62vh; overflow: auto; padding: 4px 18px 12px; border: 1px solid var(--line-d); border-radius: 14px; background: rgba(244,241,234,.04); font-size: 15px; line-height: 1.65; color: rgba(244,241,234,.88); -webkit-overflow-scrolling: touch; }
.agreement h2, .agreement h3, .agreement h4 { font-size: 17px; margin: 22px 0 8px; color: var(--off); letter-spacing: -.01em; }
.agreement p, .agreement li { margin: 0 0 10px; }
.agreement .ag-list { padding-left: 20px; }
.agreement hr { border: 0; border-top: 1px solid var(--line-d); margin: 18px 0; }
.agreement .tbl-scroll { overflow-x: auto; }
.agreement table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 13.5px; }
.agreement th, .agreement td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-d); vertical-align: top; }
.agreement th { color: var(--mute-d); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.agreement .fill { background: rgba(200,168,107,.14); border-bottom: 1px dashed var(--gold); padding: 0 4px; border-radius: 3px; color: var(--gold-hi); }
.agreement .fill.filled { background: transparent; border-bottom-color: transparent; color: var(--off); font-weight: 500; }.nav-links .nav-portal { color: var(--off); border: 1px solid var(--line-d); border-radius: 999px; padding: 7px 16px; transition: border-color .3s, color .3s; }
.nav-links .nav-portal:hover { border-color: var(--gold); color: var(--gold-hi); }
