@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/fonts/Jost.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/SchibstedGrotesk.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Aurevia Technologies — aureviatech.ca */

/* ---------- fonts (self-hosted, latin subset) ---------- */

:root {
  --ground: #f5f5f3;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #5f5f5f;
  --ink-3: #8f8f8f;
  --line: #d6d6d3;
  --line-soft: #e4e4e1;
  --shadow: 0 1px 1px rgba(17, 17, 17, .04), 0 24px 56px -32px rgba(17, 17, 17, .35);

  --display: "Jost", "Futura", "Century Gothic", ui-sans-serif, system-ui, sans-serif;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0f1011;
    --surface: #171819;
    --ink: #f0f0ee;
    --ink-2: #9d9d9b;
    --ink-3: #6b6b6a;
    --line: #292a2b;
    --line-soft: #202122;
    --shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 28px 60px -32px rgba(0, 0, 0, .9);
  }
}

:root[data-theme="dark"] {
  --ground: #0f1011;
  --surface: #171819;
  --ink: #f0f0ee;
  --ink-2: #9d9d9b;
  --ink-3: #6b6b6a;
  --line: #292a2b;
  --line-soft: #202122;
  --shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 28px 60px -32px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--ground); }

.shell {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding-inline: clamp(20px, 5.5vw, 88px);
  padding-block: clamp(20px, 3.2vh, 36px);
  max-width: 1360px;
  margin: 0 auto;
}

/* ---------- entrance ---------- */
.rise {
  animation: rise .8s var(--ease) both;
  animation-delay: var(--d, 0ms);
}

.masthead { --d: 0ms; }
.eyebrow  { --d: 90ms; }
h1        { --d: 160ms; }
.lede     { --d: 250ms; }
.footer   { --d: 560ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- masthead ---------- */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lockup {
  display: block;
  width: clamp(148px, 17vw, 176px);
  height: auto;
  color: var(--ink);
}

.locale {
  font-family: var(--display);
  font-weight: 400;
  font-size: .64rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ---------- main ---------- */
.main {
  display: grid;
  align-content: center;
  row-gap: clamp(36px, 6.5vh, 72px);
  padding-block: clamp(20px, 3vh, 48px);
}

.hero {
  display: grid;
  gap: clamp(18px, 2.8vh, 30px);
}

.eyebrow {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: .66rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-2);
}

h1 {
  margin: 0;
  max-width: 24ch;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.3rem, 4.8vw, 4.3rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  text-wrap: balance;
}

h1 b { font-weight: 500; white-space: nowrap; }

.lede {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- signal: the rule above the footer ---------- */
.signal {
  display: block;
  width: 100%;
  height: 28px;
}

/* ---------- footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 6px;
}

.legal {
  font-family: var(--display);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ---------- controls ---------- */
.btn {
  text-decoration: none;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ground);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: .95em 1.55em .95em 1.7em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .9em;
  white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.btn .arrow {
  display: inline-block;
  width: 14px;
  height: 10px;
  transition: transform .3s var(--ease);
}

.btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

:where(a, button):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- narrow ---------- */
@media (max-width: 800px) {
  .shell { padding-block: 18px; }
  .main { row-gap: 26px; padding-block: 12px; }
  .hero { gap: 14px; }
  h1 { font-size: clamp(1.8rem, 7.4vw, 2.4rem); max-width: none; }
  h1 b { white-space: normal; }
  .lede { font-size: .92rem; max-width: none; }
  .signal { height: 20px; }
  .footer { padding-top: 4px; }
  .btn { font-size: .66rem; padding: .85em 1.2em .85em 1.35em; }
  .locale { font-size: .58rem; letter-spacing: .24em; }
  .legal { font-size: .56rem; letter-spacing: .14em; }
}

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- standalone page ---------- */
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; }
[hidden] { display: none !important; }
