/* Shared foundation: fonts, colour tokens, typography, header and links. */
@font-face {
  font-family: Archivo;
  src: url('../assets/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url('../assets/cormorant.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #101311;
  --ink: #f0f0e6;
  --dim: #a5ada3;
  --line: #363d35;
  --accent: #d8ab61;
  --paper: #e9e9dd;
  --dark: #1c241e;
  --flow-paper: #f3f1e5;
  --flow-dark: #101311;
  font-family: Archivo, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
::selection { background: var(--accent); color: var(--bg); }
main > section { scroll-margin-top: 80px; }

.mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .09em;
  line-height: 1.6;
}
.skip {
  position: fixed;
  top: -80px;
  left: 15px;
  z-index: 20;
  padding: 15px;
  background: var(--paper);
  color: var(--bg);
}
.skip:focus { top: 10px; }

/* Header */
.header {
  position: relative;
  z-index: 4;
  height: 96px;
  padding: 0 4.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: #101311f2;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand .company-logo {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.header nav { display: flex; gap: 32px; font-size: 12px; color: #c7cec4; }
.header nav a:hover { color: var(--accent); }
.header-cta { border: 1px solid #5b6659; padding: 13px 16px; font-size: 12px; }
.header-cta span { margin-left: 24px; }
.header-cta:hover { background: var(--ink); color: var(--bg); }

/* Type */
h1 {
  margin: 0;
  font-size: clamp(66px, 7.2vw, 128px);
  font-weight: 450;
  line-height: .98;
  letter-spacing: -.065em;
}
h2 {
  margin: 0;
  font-size: clamp(35px, 4.1vw, 70px);
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -.05em;
}
em {
  font-family: Cormorant, Georgia, serif;
  font-weight: 700;
  letter-spacing: -.035em;
}
h2 em { font-size: 1.15em; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  font-size: 12px;
  line-height: 1.5;
}
.text-link span { color: var(--accent); font-size: 20px; }
.text-link:hover { color: var(--accent); }

.section-pad { padding: 70px 7% 90px; }

@media (max-width: 1000px) {
  .section-pad { padding-left: 5%; padding-right: 5%; }
}
@media (max-width: 700px) {
  .header .brand { flex-shrink: 0; }
  .header .brand .company-logo { width: 150px; }
}
@media (max-width: 680px) {
  .header { height: 80px; padding: 0 5%; gap: 12px; }
  .header nav { display: none; }
  .header-cta { font-size: 10px; padding: 11px; }
  .header-cta span { margin-left: 10px; }
  h1 { font-size: clamp(51px, 12vw, 78px); }
  h2 { font-size: 35px; }
  .section-pad { padding-top: 44px; padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
