/* One Spot Digital — tokens from design_handoff_osd_website/README.md */
:root {
  --acc: #e4e9f0;
  --bg: #050505;
  --fg: #f2f2f2;
  --surf: #0d0d0d;
  --st-a: #0d0d0d;
  --st-b: #111111;
  --grid: #121212;
  --line: #1e1e1e;
  --sel: #161616;
  --muted: #a6a6a6;
  --faint: #6b6b6b;
  --ink: #050505;
  --acc-ink: var(--acc);
  --acc-deep: color-mix(in oklch, var(--acc) 9%, var(--bg));
  --logo-filter: invert(1);
  --gutter: 56px;
  --head: 'Tektur', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #f5f5f2;
  --fg: #0a0a0a;
  --surf: #ebebe6;
  --st-a: #ebebe6;
  --st-b: #e2e2dc;
  --grid: #e7e7e1;
  --line: #d2d2ca;
  --sel: #dededa;
  --muted: #4a4a46;
  --faint: #7a7a72;
  --acc-ink: color-mix(in oklch, var(--acc) 50%, #000);
  --acc-deep: color-mix(in oklch, var(--acc) 22%, var(--bg));
  --logo-filter: none;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--head); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--acc-ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--acc); color: var(--ink); padding: 8px 12px; z-index: 10; font-family: var(--mono); }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.accent { color: var(--acc-ink); }
.grid-bg {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ---------- type ---------- */
.label { font: 400 12px var(--mono); color: var(--acc-ink); text-transform: uppercase; letter-spacing: 0; }
.label--sm { font-size: 11px; }
.meta { font: 400 13px var(--mono); color: var(--muted); }
.display { font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.9; font-size: 112px; text-wrap: balance; }
.display--page { font-size: 72px; line-height: 0.92; }
.display--xl { font-size: 88px; }
.display--about { font-size: 80px; line-height: 0.92; max-width: 1000px; }
.display--contact { font-size: 76px; line-height: 0.92; }
.h2 { font-weight: 800; font-size: 56px; line-height: 0.95; text-transform: uppercase; }
.h3 { font-weight: 800; font-size: 36px; line-height: 1; text-transform: uppercase; }
.lead { font: 400 16px/1.65 var(--mono); color: var(--muted); }
.lead--sm { font-size: 15px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack--sm { gap: 6px; }
.stack--lg { gap: 24px; }

/* ---------- buttons ---------- */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; font: 600 16px var(--head); padding: 14px 24px; border: 2px solid transparent; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--acc); color: var(--ink); }
.btn--secondary { border-color: var(--fg); font-weight: 400; padding: 12px 24px; }
.btn--secondary:hover { background: var(--fg); color: var(--bg); }
.btn--ink { background: var(--ink); color: var(--acc); padding: 14px 22px; }
.btn--ink-outline { border-color: var(--ink); color: var(--ink); padding: 12px 22px; }
.btn--sm { font-size: 14px; padding: 10px 18px; }
.link-btn { font: 400 13px var(--mono); color: var(--muted); }
.link-btn:hover { color: var(--fg); }

/* ---------- nav ---------- */
.nav { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; position: relative; z-index: 5; }
.logo img { height: 42px; width: auto; filter: var(--logo-filter); }
.nav-links { display: flex; gap: 28px; align-items: center; font: 400 13px var(--mono); color: var(--muted); }
.nav-links a:hover, .nav-links a.is-active { color: var(--acc-ink); }
.nav-links .pill { background: var(--acc); color: var(--ink); padding: 8px 14px; font-weight: 700; }
.nav-links .pill:hover { color: var(--ink); }
.theme-toggle { font: 400 11px var(--mono); color: var(--faint); border: 2px solid var(--line); padding: 5px 9px; }
.theme-toggle:hover { color: var(--fg); border-color: var(--fg); }
.theme-toggle__light { display: none; }
[data-theme='light'] .theme-toggle__light { display: inline; }
[data-theme='light'] .theme-toggle__dark { display: none; }
.menu-btn { display: none; font: 700 13px var(--mono); border: 2px solid var(--fg); padding: 8px 14px; }

/* ---------- placeholders ---------- */
.ph {
  position: relative; border: 2px solid var(--line); overflow: hidden;
  background: repeating-linear-gradient(45deg, var(--st-a) 0 10px, var(--st-b) 10px 20px);
  display: flex; align-items: flex-end; padding: 14px; font: 400 12px var(--mono); color: var(--faint);
}
.ph--short { height: 120px; padding: 10px; font-size: 11px; }
.ph--hero { aspect-ratio: 4 / 3; } /* service header videos are made at 4:3 */
.ph--hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph--proof { height: 260px; }
.ph--photo { height: 380px; }
.ph--brand { height: 280px; border: 0; padding: 12px; font-size: 11px; }
.ph--shot { height: 150px; padding: 10px; font-size: 11px; }

/* ---------- home hero ---------- */
.hero-zone { display: flex; flex-direction: column; gap: 56px; padding-bottom: 64px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: -16px; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__copy .lead { max-width: 480px; }
.kicker { display: flex; gap: 8px; align-items: center; font: 400 13px var(--mono); color: var(--acc-ink); }
.kicker__mark { width: 10px; height: 12px; background: var(--acc); }
.hero__media { display: flex; justify-content: center; align-items: center; }
.orb { width: 500px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--surf); }
.orb video { width: 100%; height: 100%; object-fit: cover; }
.reel { aspect-ratio: 992 / 432; padding: 0; } /* matches the hero reel video, so nothing is cropped */
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__bar { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; font: 400 12px var(--mono); color: var(--faint); pointer-events: none; }

/* ---------- own-products strip ---------- */
.ours { border-block: 2px solid var(--line); }
.ours__inner { display: flex; align-items: center; gap: 40px; padding-block: 22px; }
.ours__inner .label { flex: none; }
.ours__list { display: flex; justify-content: space-between; flex: 1; gap: 16px; font-weight: 600; font-size: 20px; text-transform: uppercase; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: 80px; display: flex; flex-direction: column; gap: 32px; }
.section--tight { padding-top: 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head--split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head--split > div { display: flex; flex-direction: column; gap: 12px; }
.section-head__aside { font: 400 14px/1.6 var(--mono); color: var(--muted); max-width: 360px; }
.cols-1 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }

.glyph { display: block; width: 16px; height: 20px; border: 4px solid var(--acc-ink); flex: none; }
.card { background: var(--surf); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card--rule { border-top: 4px solid var(--acc-ink); }
.card--tall { gap: 22px; min-height: 170px; }
.steps .card { padding: 22px; gap: 10px; }
.card__title { font-weight: 600; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.card__title--sm { font-size: 20px; line-height: 1.2; text-transform: none; }
.card__text { font: 400 13px/1.6 var(--mono); color: var(--muted); }

/* ---------- services module picker ---------- */
.modules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.tile { background: var(--surf); border: 2px solid var(--surf); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 130px; text-align: left; transition: border-color .15s ease; }
.tile:hover { border-color: var(--acc-ink); }
.tile.is-selected { background: var(--sel); border-color: var(--acc-ink); }
.tile__top { display: flex; justify-content: space-between; align-items: center; }
.tile__n { font: 400 11px var(--mono); color: var(--faint); }
.tile__name { font-weight: 600; font-size: 20px; text-transform: uppercase; }
.panel { border: 2px solid var(--acc-ink); background: var(--acc-deep); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.panel__title { font-weight: 800; font-size: 38px; line-height: 1; text-transform: uppercase; }
.panel__what { font: 400 15px/1.6 var(--mono); color: var(--muted); }
.bullets { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.bullets li { font: 400 14px/1.5 var(--mono); color: var(--muted); display: flex; gap: 10px; }
.bullets li::before { content: '■'; color: var(--acc-ink); }
.ticker {
  height: 120px; border: 2px solid var(--line); overflow: hidden; display: flex; align-items: center;
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; flex: none; white-space: nowrap; animation: ticker var(--dur, 20s) linear infinite; }
.ticker__run { padding-right: 0.6em; font: 700 22px var(--mono); text-transform: uppercase; color: var(--acc-ink); letter-spacing: 0.02em; }
.ticker--proof { height: auto; min-height: 260px; }
.ticker--proof .ticker__run { font-size: 34px; }
.ticker--proof .ticker__track { animation-duration: calc(var(--dur, 20s) * 1.5); } /* bigger text, same reading speed */
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; }
.panel__foot .meta { font-size: 12px; color: var(--faint); }

/* ---------- bundles ---------- */
.bundle { background: var(--surf); color: var(--fg); border: 2px solid var(--acc-ink); padding: 26px; display: flex; flex-direction: column; gap: 16px; min-height: 240px; transition: transform .15s ease; }
.bundle:hover { transform: translateY(-2px); }
.bundle--featured { background: var(--acc); color: var(--ink); border-color: var(--acc); }
.bundle__n { font: 400 11px var(--mono); opacity: .7; }
.bundle__name { font-weight: 800; font-size: 28px; line-height: 1; text-transform: uppercase; }
.bundle__items { display: flex; flex-direction: column; gap: 6px; font: 400 13px var(--mono); }
.bundle__go { margin-top: auto; font-weight: 600; font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--acc); color: var(--ink); padding: 44px 56px; margin-bottom: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band__title { font-weight: 800; font-size: 44px; line-height: .95; text-transform: uppercase; }
.cta-band .btn { flex: none; }
.cta-band--big { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding: 56px; }
.cta-band--big .cta-band__title { font-size: 64px; line-height: .92; }
.cta-band__side { display: flex; flex-direction: column; gap: 14px; font: 400 15px/1.6 var(--mono); }
.cta-band__side .btn-row { gap: 10px; }

/* ---------- footer ---------- */
.footer { border-top: 2px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 36px; font: 400 13px/1.9 var(--mono); color: var(--muted); }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__brand img { height: 36px; width: auto; align-self: flex-start; filter: var(--logo-filter); }
.footer__col { display: flex; flex-direction: column; }
.footer__col a:hover { color: var(--fg); }
.footer__title { color: var(--acc-ink); }

/* ---------- service page ---------- */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; padding-top: 40px; }
.tab { flex: none; white-space: nowrap; font: 400 12px var(--mono); padding: 10px 16px; border: 2px solid var(--surf); background: var(--surf); text-transform: uppercase; }
.tab:hover { color: var(--acc-ink); }
.tab.is-selected { background: var(--sel); border-color: var(--acc-ink); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding-block: 72px; }
.hero-split--service { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; padding-block: 56px; }
.hero-split--end { align-items: end; }
.hero-split--end .lead { padding-bottom: 10px; }
.hero-block { display: flex; flex-direction: column; gap: 20px; padding-block: 72px; }
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 4px; padding-bottom: 72px; }
.tint-panel { border: 2px solid var(--acc-ink); background: var(--acc-deep); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.tint-panel .h3 { font-size: 34px; }
.proof__text { font: 400 18px/1.5 var(--mono); }
.plugs { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 2px solid var(--line); padding: 32px 0 56px; }
.plugs__list { font-weight: 600; font-size: 22px; text-transform: uppercase; }
.plugs__list a:hover { color: var(--acc-ink); }

/* ---------- products ---------- */
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--line); padding-bottom: 12px; }
.product { background: var(--surf); border: 2px solid var(--surf); display: flex; flex-direction: column; transition: border-color .15s ease; }
.product:hover { border-color: var(--acc-ink); }
.product__foot { padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.product__foot .card__title { font-size: 22px; }
.product--saas { border-color: var(--line); padding: 24px; gap: 18px; }
.card-link { font: 400 12px var(--mono); color: var(--acc-ink); }
.card-link--off { color: var(--faint); }

/* ---------- about ---------- */
.about-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; padding-bottom: 72px; }
.prose { display: flex; flex-direction: column; gap: 18px; font: 400 16px/1.7 var(--mono); color: var(--muted); }
.chain { display: flex; gap: 4px; }
.chain li { flex: 1; background: var(--surf); border: 2px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.chain__t { font-weight: 600; font-size: 18px; text-transform: uppercase; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; padding-block: 72px; }
.direct { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.direct div { display: flex; justify-content: space-between; gap: 16px; background: var(--surf); border: 2px solid var(--line); padding: 16px 18px; font: 400 13px var(--mono); }
.direct dt { color: var(--acc-ink); }
.brief { background: var(--surf); border: 2px solid var(--acc-ink); padding: 36px; display: flex; flex-direction: column; gap: 24px; min-height: 520px; }
.brief__bars { display: flex; gap: 4px; }
.brief__bars span { flex: 1; height: 6px; background: var(--line); transition: background-color .2s ease; }
.brief__bars span.is-on { background: var(--acc); }
.brief__step { display: flex; flex-direction: column; gap: 16px; }
.brief__step[hidden] { display: none; }
.brief__q { font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1; padding: 0; margin-bottom: 0; float: left; width: 100%; }
.brief__q + * { clear: both; }
.brief__done { padding-block: 30px; gap: 14px; }
.brief__done .brief__q { font-size: 44px; }
.opt { border: 2px solid var(--line); padding: 16px 18px; font-size: 17px; display: flex; justify-content: space-between; text-align: left; transition: border-color .15s ease; }
.opt:hover, .opt.is-selected { border-color: var(--acc-ink); }
.opt.is-selected { background: var(--sel); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.check { border: 2px solid var(--line); padding: 14px 16px; font-size: 15px; display: flex; gap: 10px; align-items: center; text-transform: uppercase; text-align: left; }
.check:hover { border-color: var(--acc-ink); }
.check__box { width: 14px; height: 14px; border: 3px solid var(--acc-ink); flex: none; }
.check[aria-pressed='true'] { border-color: var(--acc-ink); background: var(--sel); }
.check[aria-pressed='true'] .check__box { background: var(--acc); }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--line); padding: 12px 0; font: 400 14px var(--mono); color: var(--fg); border-radius: 0; resize: vertical; }
.field--area textarea { border: 2px solid var(--line); padding: 12px; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--acc-ink); }
.field input.is-invalid { border-color: #ff5a5a; }
.brief__error { font: 400 13px var(--mono); color: #ff7a7a; }
.brief__nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.brief__nav [data-next] { margin-left: auto; }

.book { scroll-margin-top: 24px; }
.book__embed { border: 2px solid var(--acc-ink); background: var(--surf); padding: 8px; min-height: 640px; }
.book__embed iframe { display: block; width: 100%; border: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .display { font-size: 88px; }
  .orb { width: 400px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .menu-btn { display: inline-block; }
  .nav { padding-top: 20px; }
  .logo img { height: 34px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border: 2px solid var(--line); font-size: 15px; }
  .nav-links.is-open { display: flex; }
  .nav-links > * { padding: 16px 18px; border-bottom: 2px solid var(--line); text-align: left; }
  .nav-links > *:last-child { border-bottom: 0; }
  .nav-links .theme-toggle { border-width: 0 0 2px; font-size: 13px; }
  .hero, .hero-split, .hero-split--service, .modules, .proof, .about-story, .contact, .cta-band--big { grid-template-columns: minmax(0, 1fr); }
  .hero { margin-top: 0; gap: 32px; }
  .hero-zone { gap: 32px; padding-bottom: 40px; }
  .display { font-size: 56px; }
  .display--page, .display--xl, .display--about, .display--contact { font-size: 48px; }
  .h2 { font-size: 40px; }
  .orb { width: 320px; }
  .section { padding-block: 56px; gap: 24px; }
  .section--tight { padding-top: 0; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ours__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ours__list { flex-wrap: wrap; gap: 8px 20px; font-size: 16px; justify-content: flex-start; }
  .cta-band, .cta-band--big { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .cta-band__title, .cta-band--big .cta-band__title { font-size: 36px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-top: 28px; scrollbar-width: none; }
  .hero-split, .hero-block, .contact { padding-block: 48px; }
  .plugs { flex-direction: column; align-items: flex-start; }
  .chain { flex-direction: column; }
  .brief { padding: 24px; min-height: 0; }
  .brief__q { font-size: 28px; }
  .panel { padding: 24px; }
  .panel__title { font-size: 30px; }
}
@media (max-width: 560px) {
  .cols-3, .cols-4, .tiles, .checks { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .display { font-size: 52px; }
  .tile { min-height: 0; gap: 18px; }
  .panel__foot { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .ticker { -webkit-mask-image: none; mask-image: none; padding: 12px 16px; }
  .ticker__track { animation: none; white-space: normal; }
  .ticker__run { font-size: 16px; line-height: 1.5; }
  .ticker__run + .ticker__run { display: none; }
}
