@font-face {
  font-family: "Clash Display";
  src: url("./clash-display-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: optional;
}

@font-face {
  font-family: Satoshi;
  src: url("./satoshi-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: optional;
}

:root {
  color-scheme: light;
  --paper: #fffefa;
  --ink: #211a0c;
  --muted: #615643;
  --line: #e8e1d2;
  --gold: #fdca28;
  --light-gold: #ffdb60;
  --navy: #141920;
  --display: "Clash Display", system-ui, sans-serif;
  --body: Satoshi, system-ui, sans-serif;
  --gutter: clamp(1rem, 3.4vw, 3rem);
  --mobile-bar: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
}

::selection { background: #ffdf74; color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; text-wrap: balance; }

.shell {
  width: min(calc(100% - var(--gutter) * 2), 75rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-175%);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  background: var(--paper);
}

.skip-link:focus { transform: none; }

.header,
.header nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header { min-height: 5.25rem; gap: 0.75rem; }
.header nav { gap: clamp(1rem, 3vw, 2.375rem); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  font: 600 clamp(1.2rem, 1rem + 0.65vw, 1.65rem)/1 var(--display);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  background: var(--ink);
  border-radius: 0.5rem;
}

.brand-icon::after {
  content: "";
  width: 1.125rem;
  height: 0.875rem;
  background: var(--gold);
  clip-path: polygon(0 24%, 29% 46%, 50% 0, 71% 46%, 100% 24%, 86% 93%, 14% 93%);
}

.brand-company { color: var(--muted); margin-inline-start: 0.11em; }

.button,
.text-link,
.nav-roles,
.footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
}

.button {
  gap: 0.6875rem;
  min-height: 3.5rem;
  padding: 0.625rem 1.375rem;
  border: 1px solid transparent;
  border-radius: 4rem;
  background: var(--ink);
  color: var(--paper);
  font: 650 1rem/1.25 system-ui, sans-serif;
  text-align: center;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.button:hover { background: #3e3017; }
.button .arrow { color: var(--light-gold); font-size: 1.125em; }
.button:focus-visible { outline: 2px solid var(--ink); }

.button-outline {
  min-height: 2.75rem;
  padding-inline: 1.0625rem;
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
}

.button-outline:hover { background: #fff1bc; }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold .arrow { color: inherit; }
.button-gold:hover { background: var(--light-gold); }

.nav-roles, .text-link {
  gap: 0.4rem;
  font: 550 0.9rem/1.3 system-ui, sans-serif;
}

.text-link { text-decoration: underline; text-underline-offset: 0.24em; }
.nav-roles:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 0.24em; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 0.98fr;
  min-height: clamp(28rem, 43vw, 33rem);
  border-radius: clamp(1.25rem, 2.5vw, 2rem);
  overflow: clip;
  background: var(--gold);
}

.hero-copy {
  align-self: center;
  padding: clamp(2rem, 5.3vw, 4.875rem) 0 clamp(2rem, 5.3vw, 4.875rem) clamp(2rem, 5.3vw, 4.875rem);
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font: 650 0.75rem/1.25 system-ui, sans-serif;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.375rem;
  aspect-ratio: 1;
  background: currentColor;
  transform: rotate(45deg);
}

.hero h1 {
  font-size: clamp(3.45rem, 6.2vw + 0.5rem, 6.25rem);
  line-height: 0.94;
  letter-spacing: -0.037em;
  word-spacing: 0.055em;
  text-wrap: initial;
}

.hero-description {
  margin-top: 1.375rem;
  max-width: 32ch;
  color: #3f2e10;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem 1.25rem;
  margin-top: 1.625rem;
}

.hero-visual { position: relative; min-width: 0; background: #322616; }

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% center;
}

.access {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) 2.8fr;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: clamp(1.75rem, 4.3vw, 3.5rem) clamp(0rem, 2.4vw, 2rem);
}

.access h2 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.025em; }
.access p { margin-top: 0.3125rem; font-size: 0.9375rem; color: var(--muted); }

.role-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(max-content, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  border-block: 1px solid var(--line);
}

.role-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 0.5rem;
  font: 580 0.875rem/1.3 system-ui, sans-serif;
  text-align: center;
}

.role-list li + li { border-inline-start: 1px solid var(--line); }

.role-list li::before {
  content: "";
  width: 0.32rem;
  height: 0.32rem;
  flex: none;
  background: #a46e0b;
  transform: rotate(45deg);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.5rem, 4.3vw, 3.5rem);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  background: var(--navy);
  color: var(--paper);
}

.contact h2 {
  font-size: clamp(1.875rem, 1.2rem + 2.45vw, 3.125rem);
  letter-spacing: -0.027em;
  line-height: 1.06;
  text-wrap: initial;
}

.contact p { margin-top: 0.5rem; color: #d8d5ce; }
.contact .button { flex: none; }
.contact .button:focus-visible { outline-color: var(--paper); }

.contact .contact-status {
  max-width: 23ch;
  margin: 0;
  padding-inline-start: 0.875rem;
  border-inline-start: 1px solid #b99436;
  font-size: 0.875rem;
}

.footer {
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
  min-height: 5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer small { font-size: inherit; }
.mobile-contact { display: none; }

.privacy {
  max-width: 42rem;
  padding-block: clamp(3rem, 8vw, 6.5rem);
}

.privacy h1 { font-size: clamp(2.5rem, 1.75rem + 3vw, 4rem); line-height: 1; }
.privacy h2 { margin-top: 2rem; font-size: 1.5rem; }
.privacy p { margin-top: 1rem; max-width: 62ch; color: var(--muted); }
.privacy .text-link { margin-top: 1rem; }

@media (max-width: 940px) {
  .access { grid-template-columns: 1fr; gap: 1rem; }
  .hero-actions { column-gap: 0.75rem; }
}

@media (max-width: 740px) {
  html { scroll-padding-bottom: var(--mobile-bar); }
  body:has(.mobile-contact) { padding-bottom: var(--mobile-bar); }
  .header { min-height: 4.25rem; }
  .header .brand { gap: 0.5rem; font-size: 1.0625rem; white-space: normal; }
  .header .button-outline { gap: 0.375rem; padding-inline: 0.75rem; }
  .nav-roles { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: clamp(1.5rem, 6.5vw, 2.75rem); }
  .hero h1 { font-size: clamp(2.75rem, 1.9rem + 6vw, 4.75rem); }
  .eyebrow { margin-bottom: 0.875rem; }
  .hero-description, .hero-actions { margin-top: 1rem; }
  .hero-visual { aspect-ratio: 1.65; }
  .hero-visual img { object-position: center 22%; }
  .contact { flex-direction: column; align-items: flex-start; }
  .footer { min-height: 4rem; }

  .mobile-contact {
    position: fixed;
    z-index: 2;
    inset: auto 0 0;
    display: grid;
    padding: 0.625rem max(var(--gutter), env(safe-area-inset-right, 0px))
      calc(0.625rem + env(safe-area-inset-bottom, 0px))
      max(var(--gutter), env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    background: var(--paper);
  }

  .mobile-contact .button { min-height: 3.1875rem; }
}

@media (max-width: 480px) {
  .role-list { grid-template-columns: repeat(2, 1fr); border-block-start: 0; }

  .role-list li {
    justify-content: flex-start;
    border-block-start: 1px solid var(--line);
    padding-inline: 0.75rem;
  }

  .role-list li:nth-child(odd) { border-inline-start: 0; }
  .role-list li:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
