@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-var-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-var-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1E1F22;
  --charcoal: #2F3033;
  --slate: #55565B;
  --line: #D9DBDF;
  --mist: #F2F3F4;
  --white: #FFFFFF;
  --gold-light: #F4C688;
  --gold: #C0903E;
  --gold-text: #8A6126;
  --gold-hover: #6A4A1E;
  --eyebrow-dark: #E0B878;
  --muted-dark: #B4B6BC;
  --tower: linear-gradient(180deg, #A47530, #F4C688);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img { display: block; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--gold-text); }
a:hover { color: var(--gold-hover); }

/* Focus: 2px outline, 3px offset; Gold Text on light grounds, Gold Light on dark. */
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--gold-light); }

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--gold-light);
  color: var(--ink);
  font-weight: 600;
  border-radius: 2px;
}
.skip:focus { top: 12px; color: var(--ink); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.dark { background: var(--ink); color: var(--white); }

/* Header */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand img { width: 40px; height: 44px; object-fit: contain; }
.wordmark { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.wordmark-top { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; }
.wordmark-bottom { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--muted-dark); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
.nav a { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--gold-light); }
.nav .btn-outline {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--gold-light);
  border-radius: 2px;
  color: var(--gold-light);
  font-weight: 600;
}
.nav .btn-outline:hover { background: var(--gold-light); color: var(--ink); }

/* Buttons */
.btn-large {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 2px;
  background: var(--gold-light);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.btn-large:hover { background: var(--white); color: var(--ink); }
.link-dark { color: var(--gold-light); font-weight: 500; font-size: 16px; text-underline-offset: 5px; padding: 12px 0; }
.link-dark:hover { color: var(--white); }

/* Hero */
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 56px;
  min-height: 620px;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 78px); line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
.hero-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--line); max-width: 620px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.towers { flex: 1 1 260px; max-width: 360px; height: 340px; display: flex; align-items: flex-end; gap: 10px; }
.towers span { flex: 1 1 0; background: var(--tower); }
.towers span:nth-child(1) { height: 58%; }
.towers span:nth-child(2) { height: 64%; }
.towers span:nth-child(3) { height: 70%; }
.towers span:nth-child(4) { height: 100%; flex-grow: 3; }
.towers span:nth-child(5) { height: 68%; flex-grow: 5; }
.towers span:nth-child(6) { height: 86%; flex-grow: 3; }
.towers span:nth-child(7) { height: 82%; }
.towers span:nth-child(8) { height: 78%; }
.towers span:nth-child(9) { height: 74%; }

.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.dark .eyebrow { color: var(--eyebrow-dark); }

/* Sections */
.section .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section h2, .contact h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; max-width: 760px; text-wrap: balance; }
.mist { background: var(--mist); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px; }
.grid-steps { gap: 48px; list-style: none; margin: 0; padding: 0; }
.item { display: flex; flex-direction: column; gap: 12px; }
.feature { padding-top: 20px; border-top: 1px solid var(--gold); }
.feature-num { font-family: var(--mono); font-size: 13px; color: var(--gold-text); }
.item h3 { font-size: 26px; line-height: 1.2; }
.grid-steps .item h3 { font-size: 24px; }
.item p { color: var(--slate); }
.step-num { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 1; color: var(--gold); }

/* Contact band */
.contact { background: var(--charcoal); color: var(--white); }
.contact .wrap {
  padding-top: 104px;
  padding-bottom: 104px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.contact-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact p { font-size: 18px; line-height: 1.55; color: var(--line); max-width: 560px; }

/* Footer */
.site-footer { color: var(--muted-dark); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.footer-top img { width: 150px; height: 124px; object-fit: contain; }
.footer-contact { font-family: var(--mono); font-size: 13px; line-height: 1.7; font-style: normal; }
.footer-contact a { color: var(--gold-light); display: inline-block; padding: 12px 0; margin: -12px 0; }
.footer-contact a:hover { color: var(--white); }
.footer-name { color: var(--white); }
.rule { height: 1px; background: var(--slate); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; font-family: var(--mono); font-size: 12px; }
.footer-legal a { color: var(--muted-dark); display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.footer-legal a:hover { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }

/* Text pages (privacy, 404) */
.page .wrap { padding-top: 96px; padding-bottom: 112px; }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.prose h1 { font-size: 36px; line-height: 1.15; text-wrap: balance; }
.prose h2 { font-size: 24px; line-height: 1.25; margin-top: 20px; }
.prose ul { margin: 0; padding-left: 20px; }
.prose .meta { font-family: var(--mono); font-size: 14px; color: var(--slate); }
.prose .mono { font-family: var(--mono); font-size: 14px; }
