/* Fonts are self-hosted (SIL Open Font License / Apache 2.0) so the site makes no third-party requests. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("../fonts/roboto-condensed-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --navy: #0b1f33;
  --navy-2: #13304d;
  --navy-deep: #06141f;
  --ink: #0f1d2a;
  --muted: #56626e;
  --line: #dde2e8;
  --tint: #eef1f5;
  --band: #e6eaf0;
  --gold: #c9a45c;
  --gold-dark: #9a7531;
  --gold-light: #e8cc8f;

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-caps: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;

  --radius: 0;
  --header-h: 104px;
  --agency-h: 32px;
  --gutter: 40px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: clip;
}

body {
  margin: 0;
  font: 400 16px/1.65 var(--font-body);
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: var(--navy);
}
h2 { font-size: clamp(30px, 3.4vw, 44px); text-wrap: balance; }
h3 { font-size: 20px; }

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

/* Layout primitives */
.container { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 112px 0; }

/* Text */
.eyebrow {
  margin-bottom: 16px;
  font: 700 14px/1 var(--font-caps);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow--light { color: var(--gold); }

.note { margin-top: 28px; font-size: 13px; font-style: italic; color: var(--muted); }
.note--light { color: rgba(255, 255, 255, .5); }

/* Uppercase link with an arrow that nudges forward, used for "view all" style actions */
.link-caps {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: 700 15px/1 var(--font-caps);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: color .3s;
}
.link-caps svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.link-caps:hover { color: var(--gold-dark); }
.link-caps:hover svg { transform: translateX(6px); }

/* Accessibility helpers */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 400;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Buttons: square, uppercase, the fill wipes in from the left on hover */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font: 700 15px/1 var(--font-caps);
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .45s var(--ease-out), border-color .45s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold::before { background: #fff; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy::before { background: var(--gold); }
.btn--navy:hover { color: var(--navy); }

.btn:disabled { opacity: .7; cursor: progress; }

@media (max-width: 1080px) {
  :root { --header-h: 76px; --gutter: 28px; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; --gutter: 16px; }
  html { scroll-padding-top: 70px; }
  body { font-size: 15.5px; }
  h2 { font-size: clamp(28px, 8vw, 36px); }
  .section { padding: 72px 0; }
  .eyebrow { font-size: 13px; margin-bottom: 12px; }
  h1, h2, h3, p, li, blockquote { overflow-wrap: break-word; }
  .btn:active { transform: scale(.98); }
}
