/* Vibetronics LLC — company site. Colors and type follow the Vibetronics brand guide (Sept 2026). */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-variable.ttf") format("truetype");
  font-weight: 100 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #102329;
  --paper: #F6F3EA;
  --white: #FFFDF7;
  --copper: #ED6B41;
  --copper-dark: #A84222;
  --teal: #276D63;
  --gray: #5C6D70;
  --line: #CBD4CF;
  --line-on-ink: rgba(203, 212, 207, .28);

  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --max: 72rem;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--copper-dark); }
:focus-visible { outline: 3px solid var(--copper-dark); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.skip-link {
  position: absolute; left: -999px; top: 1rem; z-index: 10;
  background: var(--ink); color: var(--paper); padding: .5rem .8rem; border-radius: 4px;
}
.skip-link:focus { left: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 2rem; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand, .brand:hover { display: inline-flex; color: var(--ink); } /* the lockup keeps its kit colorway */
.brand svg { display: block; height: 44px; width: auto; aspect-ratio: 625 / 112; }
.site-header nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; padding: 0; }
.site-header nav a { text-decoration: none; font-weight: 500; font-size: .975rem; }
.site-header nav a:hover { text-decoration: underline; }

/* Shared labels */
.eyebrow, .label, .product-kind, .status, dt, .k {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.label { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.1rem; color: var(--teal); }
.label::before { content: ""; width: .62rem; height: .62rem; border-radius: 1px; background: var(--copper); flex: none; }

h1, h2, h3 { font-weight: 700; margin: 0; overflow-wrap: break-word; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; max-width: 22ch; }
.prose { max-width: 40rem; margin: 1.1rem 0 0; font-size: 1.125rem; }

/* Hero */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.eyebrow { margin: 0 0 1.25rem; color: var(--teal); }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; }
.lede { max-width: 38rem; margin: 1.6rem 0 0; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin: 2.25rem 0 0; }
.button {
  display: inline-flex; align-items: center; background: var(--ink); color: var(--paper);
  padding: .85rem 1.3rem; border-radius: 4px; font-weight: 600; text-decoration: none;
}
.button:hover { background: var(--copper-dark); color: var(--white); }
.text-link { font-weight: 600; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }

/* Products */
/* One column on phones; two on tablets with the third card spanning the row; three from 58rem. */
.products {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
}
@media (min-width: 40rem) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product:last-child { grid-column: 1 / -1; }
}
@media (min-width: 58rem) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product:last-child { grid-column: auto; }
}
.status-note { margin: 1rem 0 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--gray); }
.product {
  display: flex; flex-direction: column; gap: .9rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 1.75rem;
}
.product p { margin: 0; }
.product-kind { color: var(--gray); }
.product h3 { font-size: 1.65rem; line-height: 1.15; letter-spacing: -.02em; }
.status {
  display: inline-flex; align-items: center; gap: .5rem; width: fit-content;
  color: var(--teal); border: 1px solid var(--line); border-radius: 999px; padding: .28rem .75rem;
}
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal); flex: none; }
.status-pilot { color: var(--copper-dark); }
.status-pilot::before { background: var(--copper); }
.note { font-size: .9rem; color: var(--gray); border-left: 2px solid var(--copper); padding-left: .8rem; }
.product-link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: auto;
  padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; text-decoration: none;
  overflow-wrap: anywhere;
}
.product-link svg { width: 1.05rem; height: 1.05rem; flex: none; }
.product-link:hover { text-decoration: underline; }

/* About band (dark ground) */
.band { background: var(--ink); color: var(--paper); border-top: 0; }
.band .label { color: var(--line); }
.band a:hover { color: var(--copper); }
.band :focus-visible { outline-color: var(--copper); } /* copper-dark is only 2.7:1 on ink; copper is 5.2:1 */
/* Explicit columns so every row is full: 1, then 2, then 4. */
.facts {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  margin: 2.5rem 0 0; background: var(--line-on-ink); border: 1px solid var(--line-on-ink);
}
@media (min-width: 30rem) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { background: var(--ink); padding: 1.25rem 1.35rem; }
.facts dt { color: var(--line); margin: 0 0 .35rem; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.1rem; }

/* Contact */
.contact-list { list-style: none; max-width: 40rem; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li {
  display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.125rem;
}
.contact-list .k { color: var(--gray); }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.75rem; color: var(--gray); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2.5rem; }
.site-footer p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.footer-brand svg { width: 28px; height: 28px; flex: none; }
.footer-notes { display: grid; gap: .3rem; }

@media (max-width: 40rem) {
  .brand svg { height: 36px; }
  .site-header nav ul { gap: 1.25rem; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
}

/* 404 page */
.notfound { padding: clamp(4rem, 12vw, 9rem) 0; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -.03em; }
