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

:root {
  --font-sans: Geist, Arial, Helvetica, sans-serif;
  --paper: #faf9f6;
  --ink: #252725;
  --muted: #646761;
  --copper: #d58d59;
  --line: #deded5;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--font-sans);
}

a { color: inherit; text-decoration: none; }
a:hover { color: #a95c2b; }
a:focus-visible { outline: 3px solid var(--copper); outline-offset: 6px; }

.wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -100px;
  z-index: 10;
  padding: 10px;
  background: white;
}
.skip:focus { top: 10px; }

header { background: #171817; color: #f8f5ee; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid #ffffff13;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--copper);
  font-size: 15px;
  letter-spacing: 4px;
}

/* Preserve the cropping used by the existing logo asset. */
.mark {
  display: block;
  position: relative;
  width: 70px;
  height: 45px;
  overflow: hidden;
}
.mark img {
  position: absolute;
  top: -36px;
  left: -23px;
  width: 116px;
  height: 116px;
  max-width: none;
}

.navlinks {
  display: flex;
  gap: 32px;
  color: var(--copper);
  font-size: 14px;
}

.hero { padding: 56px 0 64px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

h1, h2 { font-weight: 500; }

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  /* Allow natural wrapping on narrow screens. */
  white-space: normal;
}

.hero-description {
  max-width: 680px;
  margin: 18px 0 0;
  color: #c2c4bc;
  font-size: 18px;
  line-height: 1.55;
}

section {
  padding: 57px 0;
  border-bottom: 1px solid var(--line);
}

.number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 7px;
  color: #a65d31;
  font-size: 12px;
}
.number span { width: 37px; height: 1px; background: #c88a62; }

h2 {
  margin: 0 0 24px;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -1px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 70px;
  margin-top: 5px;
}
.split p { color: var(--muted); }

#contact { padding-bottom: 72px; border-bottom: 0; }

.contact-links {
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.contact-links p { margin-bottom: 9px; }
.contact-links a { text-decoration: underline; text-underline-offset: 4px; }

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer-row {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px 0;
}
.footer-row p { flex: 1; margin: 0; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .split { grid-template-columns: 1fr 1.5fr; gap: 35px; }
  .brand { font-size: 13px; letter-spacing: 2px; }
  .navlinks { gap: 20px; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  nav { flex-wrap: wrap; gap: 19px; padding: 19px 0; }
  .brand { font-size: 12px; }
  .mark { width: 52px; }
  .navlinks { width: 100%; justify-content: flex-start; gap: 24px; font-size: 13px; }
  .hero { padding: 36px 0 44px; }
  .eyebrow { font-size: 9px; letter-spacing: 2.3px; }
  .hero-description { font-size: 16px; margin-top: 16px; }
  section { padding: 39px 0; }
  h2 { font-size: 31px; margin-bottom: 16px; }
  .split { grid-template-columns: 1fr; gap: 4px; }
  #contact { padding-bottom: 48px; }
  .footer-row { flex-wrap: wrap; gap: 14px 26px; }
  .footer-row p { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
