@import url('https://api.fontshare.com/v2/css?f[]=zodiak@400,500,700&f[]=satoshi@400,500,700&f[]=clash-display@600,700&display=swap');

/* ============================================================
   Vertiq Holdings, Inc. — corporate identity
   Paper-and-ink system. Deliberately restrained and
   institutional, distinct from the vertiq.tv consumer brand.
   ============================================================ */

:root {
  /* Surfaces */
  --paper:        #FBF9F5;
  --paper-deep:   #F3EFE7;
  --surface:      #FFFFFF;

  /* Ink */
  --ink:          #14130F;
  --ink-2:        #3D3931;
  --muted:        #625D53;
  --faint:        #8A8478;

  /* Lines */
  --rule:         #E4DED2;
  --rule-strong:  #D2CABA;

  /* Accent — carried over from the product mark, darkened for
     legibility on paper (>=4.5:1 on --paper) */
  --accent:       #8A5D0A;
  --accent-soft:  #F4E9D2;
  --vq-accent:    #C08A1E;   /* the play triangle in the mark */

  /* Type */
  --serif: 'Zodiak', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'Satoshi', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Clash Display', var(--sans);

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.3125rem;
  --text-2xl:  1.625rem;
  --text-3xl:  2.125rem;
  --text-4xl:  2.875rem;
  --text-5xl:  3.75rem;

  /* Rhythm */
  --gutter: 2rem;
  --maxw:   1160px;
  --sec-y:  6.5rem;

  --radius: 4px;
  --radius-lg: 8px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: .75rem 1.25rem; font-size: var(--text-sm); text-decoration: none;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Service-mark superscript — small, upright, never italic */
.sm {
  font-size: 0.56em;
  font-weight: 500;
  vertical-align: super;
  line-height: 0;
  font-style: normal;
  letter-spacing: .01em;
  margin-left: .06em;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ---------- Logo lockup ---------- */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  text-decoration: none;
  color: var(--ink);
}
.lockup-mark { display: block; width: 30px; flex: none; }
.lockup-mark svg { width: 100%; height: auto; }
.lockup-type { display: flex; flex-direction: column; gap: .12rem; }
.lockup-word { display: block; }
/* the product wordmark, set in corporate ink — the amber "i" is
   neutralised here so the mark carries the only colour */
.lockup-word svg { height: 19px; width: auto; --vq-accent: currentColor; }
.lockup-sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,249,245,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 74px;
}
.site-nav { display: flex; gap: 1.75rem; margin-left: auto; }
.site-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-block: .35rem;
  transition: color .2s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  width: 42px; height: 38px;
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.5px; background: var(--ink);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: .5rem var(--gutter) 1.25rem;
}
.mobile-nav a {
  padding: .8rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 500;
}
.mobile-nav a:last-child { border-bottom: 0; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: .8rem 1.4rem;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2A261E; }
.btn-outline { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); background: transparent; padding-inline: .25rem; }
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: .55rem 1rem; font-size: var(--text-xs); }
.btn-block { width: 100%; padding-block: .95rem; }

/* ---------- Hero ---------- */
.hero { padding: 5.5rem 0 4rem; }
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, var(--text-5xl));
  max-width: 15ch;
  margin-bottom: 1.5rem;
}
.lede {
  font-size: var(--text-xl);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 54ch;
  margin-bottom: 2.25rem;
}
.lede strong { font-weight: 700; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-bottom: 3rem; }

.chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; padding: 0; margin: 0;
}
.chips li {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--rule-strong);
  border-radius: 100px;
  padding: .4rem .85rem;
  background: var(--surface);
}

/* ---------- Section grid ---------- */
.section { padding: var(--sec-y) 0; }
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.col-label { position: sticky; top: 110px; }
.num {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .17em;
  color: var(--faint);
  margin-bottom: .7rem;
}
.col-label h2 { font-size: var(--text-2xl); }
.col-body { max-width: 68ch; }
.col-body > p, .col-body > ul { color: var(--ink-2); }
.big {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--ink) !important;
  margin-bottom: 1.4em;
}
.sub-h {
  font-size: var(--text-xl);
  margin: 2.75rem 0 1rem;
}
.note {
  font-size: var(--text-sm);
  color: var(--muted);
}
.col-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.col-body a:hover { text-decoration-thickness: 2px; }

/* ---------- Callout ---------- */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.65;
}
.callout p { color: var(--ink-2); }

/* ---------- Notice ---------- */
.notice {
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.75rem;
  background: var(--surface);
  margin-bottom: 2rem;
}
.notice-strong { border-color: var(--ink); border-width: 1.5px; }
.notice h3 {
  font-size: var(--text-lg);
  margin-bottom: .7rem;
}
.notice p { font-size: var(--text-sm); color: var(--ink-2); margin: 0; line-height: 1.7; }

/* ---------- Features ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.feature h3 { font-size: var(--text-lg); margin-bottom: .55rem; }
.feature p { font-size: var(--text-sm); color: var(--muted); margin: 0; }

/* ---------- Facts table ---------- */
.facts {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 1rem;
  font-size: var(--text-sm);
}
.facts th, .facts td {
  text-align: left;
  vertical-align: top;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule);
}
.facts th {
  font-weight: 500;
  color: var(--muted);
  width: 38%;
  padding-right: 1.5rem;
}
.facts td { color: var(--ink); font-weight: 500; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }

/* ---------- Data figures (market) ---------- */
.figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2.25rem 0;
}
.figure {
  background: var(--surface);
  padding: 1.5rem 1.4rem;
}
.figure .val {
  display: block;
  font-family: var(--serif);
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}
.figure .cap {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: .55rem;
}
.figure .src {
  display: block;
  font-size: var(--text-xs);
  color: var(--faint);
  line-height: 1.45;
}
.figure .src a { color: var(--faint); }
.figure .src a:hover { color: var(--accent); }

/* ---------- Lists ---------- */
.ticked, .crossed {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: var(--text-sm);
}
.ticked li, .crossed li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  color: var(--ink-2);
}
.ticked li::before {
  content: '';
  position: absolute; left: 0; top: .52em;
  width: 9px; height: 5px;
  border-left: 1.75px solid var(--accent);
  border-bottom: 1.75px solid var(--accent);
  transform: rotate(-45deg);
}
.crossed li::before {
  content: '';
  position: absolute; left: 1px; top: .62em;
  width: 9px; height: 1.75px;
  background: var(--faint);
}

/* ---------- People ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.person {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}
.person h4 { font-size: var(--text-lg); margin-bottom: .2rem; }
.person .role {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .8rem;
}
.person p:not(.role) { font-size: var(--text-sm); color: var(--muted); margin: 0; }
.placeholder-person { border-top-color: var(--rule-strong); }
.placeholder-person .role { color: var(--faint); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}
.contact-grid .sub-h { font-size: var(--text-base); margin: 0 0 .3rem; }
.contact-grid p { font-size: var(--text-sm); margin: 0; }

/* ---------- Request section ---------- */
.request-section { padding-block: 0 var(--sec-y); }
.request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.request-copy h2 { font-size: var(--text-3xl); margin-bottom: 1rem; }
.request-copy > p { color: var(--ink-2); font-size: var(--text-base); }
.request-copy .note { margin-top: 1.25rem; }

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: .4rem;
}
.field .opt { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: .7rem .85rem;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23625D53' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
}
.field input.invalid, .field select.invalid { border-color: #9E2B1E; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

#submit-btn { position: relative; margin-top: .5rem; }
.btn-spinner { display: none; width: 15px; height: 15px; }
#submit-btn.loading .btn-label { opacity: .55; }
#submit-btn.loading .btn-spinner {
  display: block;
  border: 2px solid rgba(251,249,245,.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  font-size: var(--text-sm);
  margin: .85rem 0 0;
  min-height: 1.2em;
}
.form-note.error { color: #9E2B1E; }
.fineprint {
  font-size: var(--text-xs);
  color: var(--faint);
  margin: 1rem 0 0;
  line-height: 1.6;
}
.fineprint a { color: var(--muted); }

.request-success { text-align: center; padding: 2rem 0; align-self: center; }
.request-success .tick {
  width: 46px; height: 46px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.request-success .tick svg { width: 22px; height: 22px; }
.request-success h3 { font-size: var(--text-2xl); margin-bottom: .6rem; }
.request-success p { font-size: var(--text-sm); color: var(--muted); max-width: 34ch; margin-inline: auto; }
.request-success a { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
  padding: 3.5rem 0 2.5rem;
}
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.75rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--rule-strong);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a {
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.legal { padding: 2.25rem 0; border-bottom: 1px solid var(--rule-strong); }
.legal h4 {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.legal p {
  font-size: var(--text-xs);
  line-height: 1.75;
  color: var(--muted);
  max-width: 96ch;
  margin-bottom: .9rem;
}
.legal strong { color: var(--ink-2); font-weight: 700; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  padding-top: 1.75rem;
}
.footer-bottom p { font-size: var(--text-xs); color: var(--muted); margin: 0; }
.footer-bottom .addr { color: var(--faint); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  :root { --sec-y: 4.5rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 1.75rem; }
  .col-label { position: static; display: flex; align-items: baseline; gap: .9rem; }
  .num { margin-bottom: 0; }
  .request-card { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.25rem; }
}

@media (max-width: 820px) {
  :root { --gutter: 1.5rem; }
  .site-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav:not([hidden]) { display: flex; }
  .hero { padding: 3.5rem 0 2.5rem; }
  .figures { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .people { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --sec-y: 3.5rem; }
  .lede { font-size: var(--text-lg); }
  .hero-actions { gap: .85rem; }
  .hero-actions .btn { width: 100%; }
  .btn-ghost { justify-content: flex-start; padding-inline: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .request-card { padding: 1.5rem; }
  .request-copy h2 { font-size: var(--text-2xl); }
  .facts th { width: 44%; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Dark preference — a quieter night version of the same
   document. No toggle: the corporate site follows the OS.
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --paper:       #12110F;
    --paper-deep:  #0D0C0B;
    --surface:     #1A1917;
    --ink:         #F2EFE8;
    --ink-2:       #D3CEC3;
    --muted:       #9C968A;
    --faint:       #7E786C;
    --rule:        #2A2825;
    --rule-strong: #3A3733;
    --accent:      #E0AC48;
    --accent-soft: #241D0E;
    --vq-accent:   #E8B341;
  }
  .site-header { background: rgba(18,17,15,.86); }
  .btn-primary { background: var(--ink); color: #12110F; }
  .btn-primary:hover { background: #FFFFFF; }
  .notice-strong { border-color: var(--rule-strong); }
  .person { border-top-color: var(--ink); }
  .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%239C968A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  #submit-btn.loading .btn-spinner {
    border-color: rgba(18,17,15,.3);
    border-top-color: #12110F;
  }
}
