/*
  Styles for the Voren one-page site (index.html).
  Dark industrial look taken from the logo: black field, brushed-silver text, one electric blue.
  Barlow is self-hosted from assets/fonts (SIL OFL, see assets/fonts/OFL.txt).
*/

@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  /* The hero must stay pure black: the logo file has a solid black background. */
  --black: #000;
  --panel: #0b0c0e;
  --line: #22252a;
  --line-strong: #34383f;
  --silver: #d4d7dc;
  --steel: #9aa0a8;
  --dim: #6c727b;
  /* Blue sampled from the logo (#006edb), lifted for text contrast on black. */
  --blue: #1f86ff;
  --blue-deep: #006edb;
  --wrap: 1120px;
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--black);
  color: var(--silver);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -48px;
  background: var(--blue-deep); color: #fff; padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; z-index: 10; }

/* Top bar */
.bar {
  position: sticky; top: 0; z-index: 5;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.bar__mark {
  font-weight: 600; letter-spacing: 0.32em; font-size: 15px;
  text-decoration: none; color: var(--silver);
}
.bar__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.bar__nav a { text-decoration: none; color: var(--steel); transition: color 0.15s; }
.bar__nav a:hover { color: var(--silver); }
.bar__nav .bar__call { color: var(--silver); font-weight: 500; letter-spacing: 0.04em; }

/* Hero */
.hero { padding: 72px 0 96px; border-bottom: 1px solid var(--line); }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { width: 100%; max-width: 880px; }
.hero__line {
  max-width: 34ch; margin-top: 20px;
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: var(--silver);
}
/* "Coming soon" notice, styled like the logo's tagline: blue caps between two thin rules. */
.soon {
  display: flex; align-items: center; gap: 16px; margin-top: 28px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue);
}
.soon::before, .soon::after { content: ""; width: 40px; height: 1px; background: var(--blue-deep); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

.btn {
  display: inline-block; padding: 14px 26px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--solid { background: var(--blue-deep); color: #fff; }
.btn--solid:hover { background: var(--blue); }
.btn--line { border-color: var(--line-strong); color: var(--silver); }
.btn--line:hover { border-color: var(--silver); }

/* Shared section heading */
.head { max-width: 640px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue);
}
/* Short rule echoes the blue lines either side of the logo's tagline. */
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue-deep); }
.head__lede { margin-top: 16px; color: var(--steel); max-width: 48ch; }
h2 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 42px); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: #fff;
}

/* Services */
.services { padding: 96px 0; background: var(--panel); border-bottom: 1px solid var(--line); }
.grid {
  list-style: none; padding: 0; margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.card { padding: 28px 28px 8px 0; }
.card + .card { padding-left: 28px; border-left: 1px solid var(--line); }
.card__no { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--dim); }
.card h3 { margin-top: 18px; font-size: 21px; font-weight: 600; color: #fff; }
.card p { margin-top: 10px; font-size: 16px; color: var(--steel); max-width: 32ch; }

/* Contact */
.contact { padding: 104px 0 112px; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.contact__list { border-top: 1px solid var(--line-strong); }
.contact__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.contact__row dt { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.contact__row dd { font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.contact__row a { text-decoration: none; color: #fff; border-bottom: 1px solid transparent; transition: border-color 0.15s, color 0.15s; }
.contact__row a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--dim); }
.foot__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__tag { letter-spacing: 0.24em; text-transform: uppercase; font-size: 12px; color: var(--blue-deep); }

/* Tablet */
@media (max-width: 960px) {
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .bar__nav a:not(.bar__call) { display: none; }
  .hero { padding: 40px 0 64px; }
  .soon { font-size: 12px; letter-spacing: 0.2em; gap: 12px; }
  .soon::before, .soon::after { width: 24px; }
  /* "Coming soon" notice, styled like the logo's tagline: blue caps between two thin rules. */
.soon {
  display: flex; align-items: center; gap: 16px; margin-top: 28px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue);
}
.soon::before, .soon::after { content: ""; width: 40px; height: 1px; background: var(--blue-deep); }
.hero__actions { flex-direction: column; width: 100%; }
  .btn { text-align: center; }
  .services, .contact { padding: 72px 0; }
  .grid { grid-template-columns: 1fr; margin-top: 40px; }
  .card, .card + .card { padding: 24px 0; border-left: 0; }
  .card + .card { border-top: 1px solid var(--line); }
  .contact__row { flex-direction: column; gap: 6px; }
  .contact__row dd { text-align: left; }
}

/* Phone numbers never wrap. Done in CSS rather than with &#8209; because Barlow has no
   non-breaking hyphen glyph, so the browser would draw it in a fallback font. */
a[href^="tel:"] { white-space: nowrap; }
