@font-face {
  font-family: "Geist";
  src: url("./geist-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ub-bg: #f1f4f5;
  --ub-surface: #ffffff;
  --ub-border: #cdd2d3;
  --ub-ink: #051230;
  --ub-ink-secondary: #34454c;
  --ub-ink-muted: #657275;
  --ub-primary: #005b8d;
  --ub-primary-hover: #064f6e;
  --ub-focus: #005b8d;
  --ub-accent: #ae5224;
  --ub-chrome-surface: #051230;
  --ub-chrome-border: #12354e;
  --ub-chrome-ink: #ffffff;
  --ub-chrome-ink-secondary: #bce4e5;
  --ub-chrome-ink-muted: #a5c8d1;
  --ub-chrome-focus: #97acc8;
  --ub-font: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  min-width: 320px;
  background: var(--ub-bg);
  color: var(--ub-ink);
  font-family: var(--ub-font);
  font-synthesis: none;
}

body {
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 2px solid var(--ub-focus);
  outline-offset: 4px;
  border-radius: 2px;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(18rem, 42%) minmax(0, 1fr);
}

.brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 5.5rem);
  background: var(--ub-chrome-surface);
  color: var(--ub-chrome-ink);
}

.graticule {
  position: absolute;
  inset: 0;
  z-index: -1;
  color: var(--ub-chrome-ink-secondary);
  opacity: 0.1;
}

.graticule i {
  position: absolute;
  display: block;
  background: currentColor;
}

.graticule .v {
  inset-block: 0;
  left: calc(var(--i) * 6.25%);
  width: 1px;
}

.graticule .h {
  inset-inline: 0;
  top: calc(var(--i) * 11.111%);
  height: 1px;
}

.graticule .n0 { --i: 0; }
.graticule .n1 { --i: 1; }
.graticule .n2 { --i: 2; }
.graticule .n3 { --i: 3; }
.graticule .n4 { --i: 4; }
.graticule .n5 { --i: 5; }
.graticule .n6 { --i: 6; }
.graticule .n7 { --i: 7; }
.graticule .n8 { --i: 8; }
.graticule .n9 { --i: 9; }
.graticule .n10 { --i: 10; }
.graticule .n11 { --i: 11; }
.graticule .n12 { --i: 12; }
.graticule .n13 { --i: 13; }
.graticule .n14 { --i: 14; }
.graticule .n15 { --i: 15; }
.graticule .n16 { --i: 16; }

.wordmark {
  align-self: flex-start;
  color: var(--ub-chrome-ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
}

.brand-panel a:focus-visible {
  outline-color: var(--ub-chrome-focus);
}

.brand-copy {
  max-width: 31rem;
}

.brand-eyebrow,
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-eyebrow {
  color: var(--ub-chrome-ink-muted);
}

.slogan {
  max-width: 12ch;
  margin: 0;
  color: var(--ub-chrome-ink);
  font-size: clamp(2.5rem, 6.1vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.content-panel {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 7vw, 7rem) 2rem;
  background: var(--ub-surface);
}

.language-nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
  color: var(--ub-ink-secondary);
  font-size: 0.875rem;
}

.language-nav a {
  padding-block: 0.25rem;
  text-decoration: none;
}

.language-nav a:hover {
  color: var(--ub-primary);
}

.language-nav [aria-current="page"] {
  border-bottom: 2px solid var(--ub-primary);
  color: var(--ub-ink);
  font-weight: 600;
}

.ownership {
  align-self: center;
  max-width: 42rem;
  padding-block: 4rem;
}

.eyebrow {
  color: var(--ub-primary);
}

h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--ub-ink);
  font-size: clamp(2.5rem, 5.3vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.standfirst {
  max-width: 33rem;
  margin: 2rem 0 0;
  color: var(--ub-ink-secondary);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.25rem;
  color: var(--ub-primary);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.primary-link:hover {
  color: var(--ub-primary-hover);
}

footer {
  color: var(--ub-ink-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

footer p {
  margin: 0.85rem 0 0;
}

.timescale {
  position: relative;
  display: flex;
  height: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.timescale span {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--ub-border);
}

.timescale i {
  position: relative;
  width: 1px;
  height: 0.4rem;
  background: var(--ub-border);
}

.timescale .now {
  height: 1rem;
  background: var(--ub-accent);
}

@media (max-width: 760px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 42vh;
    padding: 2rem 1.5rem;
  }

  .slogan {
    max-width: 14ch;
    margin-top: 4rem;
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .content-panel {
    min-height: 58vh;
    padding: 1.5rem;
  }

  .ownership {
    padding-block: 4.5rem;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
