@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-medium.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-semibold.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-regular.woff2") format("woff2");
}

:root {
  --bg: #1a1410;
  --cream: #f6f1e7;
  --ink: #1a1410;
  --ink-soft: #5a4e43;
  --text: #f6f1e7;
  --muted: #d2c4ae;
  --tan: #c4a87a;
  --orange: #e8753a;
  --orange-deep: #a3471c;
  --line: rgba(196, 168, 122, 0.35);
  --paper-line: #e0d4c2;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--orange);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--orange);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.mark {
  display: block;
}

.mark-sm {
  width: 34px;
  height: 34px;
  flex: none;
}

.wordmark {
  font-family: var(--mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  line-height: 1;
  color: var(--tan);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.top-rail {
  height: 4px;
  background: var(--orange);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--tan);
}

.brand .wordmark {
  font-size: 0.92rem;
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text);
}

.nav a:hover {
  color: var(--tan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--bg);
}

.btn-primary:hover {
  background: #f0915c;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--tan);
}

.btn-ghost:hover {
  background: rgba(196, 168, 122, 0.12);
}

.btn-ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--orange-deep);
}

.btn-ghost-ink:hover {
  background: rgba(163, 71, 28, 0.08);
}

.hero {
  padding: 4.25rem 0 4.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(200px, 0.7fr);
  gap: 3rem 4rem;
  align-items: center;
}

.kicker {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 2.7vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 16em;
}

h1 .rest {
  color: var(--tan);
  font-weight: 500;
}

.deck {
  margin: 1.25rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.rates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 2.5rem 0 0;
}

.rates div {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 3px solid var(--tan);
}

.rates dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan);
}

.rates dd {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
}

.rates strong {
  display: block;
  color: var(--orange);
  font-weight: 600;
  font-size: 1.2rem;
}

.hero-brand {
  justify-self: end;
  width: min(100%, 280px);
}

.hero-brand .mark {
  width: 100%;
  height: auto;
}

.hero-brand .wordmark {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.46em;
  padding-left: 0.46em;
  color: var(--tan);
}

section {
  scroll-margin-top: 6.5rem;
}

.block {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.idx {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--tan);
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.scope {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scope li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 1.5rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.scope li:last-child {
  border-bottom: 1px solid var(--line);
}

.scope-price {
  margin-left: auto;
  color: var(--orange);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  text-align: right;
}

.sheet {
  background: var(--cream);
  color: var(--ink);
  border-top: 10px solid var(--tan);
  padding: 4.5rem 0 4.75rem;
}

.sheet h2,
.sheet .lede,
.sheet p {
  color: var(--ink);
}

.sheet .idx {
  color: var(--orange-deep);
}

.sheet .lede {
  color: var(--ink-soft);
}

.sheet table {
  width: 100%;
  border-collapse: collapse;
}

.sheet caption {
  caption-side: top;
  margin: 0 0 0.85rem;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sheet th,
.sheet td {
  padding: 1rem 1.25rem 1rem 0;
  text-align: left;
  vertical-align: top;
}

.sheet thead th {
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--tan);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.sheet tbody th {
  width: 24%;
  font-weight: 600;
}

.sheet td.price {
  width: 24%;
  color: var(--orange-deep);
  font-weight: 600;
}

.sheet tbody tr + tr th,
.sheet tbody tr + tr td {
  border-top: 1px solid var(--paper-line);
}

.notes {
  margin-top: 1.75rem;
  max-width: 46rem;
}

.notes p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.sheet .actions {
  margin-top: 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.7fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
}

.logo-frame {
  width: 210px;
  height: 292px;
  overflow: hidden;
  justify-self: end;
  align-self: center;
}

.about-logo {
  width: 467px;
  max-width: none;
  height: auto;
  margin: -117px 0 0 -128px;
  display: block;
}

.creds {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 38rem;
}

.creds li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.creds li:last-child {
  border-bottom: 1px solid var(--line);
}

.name {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.who {
  margin: 0;
  color: var(--muted);
}

.reach {
  margin: 0.35rem 0;
}

.reach a {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration-color: var(--tan);
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

.reach a:hover {
  color: var(--tan);
}

.contact .actions {
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.missing {
  padding: 5rem 0 6rem;
}

.missing h1 {
  max-width: none;
}

.missing p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    display: none;
  }

  .logo-frame {
    justify-self: start;
    margin-top: 0.5rem;
  }

  .hero-brand .wordmark {
    text-align: left;
    padding-left: 0;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(1080px, calc(100% - 2rem));
  }

  .header-tools {
    width: 100%;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .header-tools .btn {
    width: 100%;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .block,
  .sheet {
    padding: 3.25rem 0;
  }

  .rates {
    grid-template-columns: 1fr;
  }

  .scope li {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.12rem;
  }

  .scope-price {
    margin-left: 0;
    text-align: left;
  }

  .actions .btn {
    width: 100%;
  }

  .sheet table,
  .sheet thead,
  .sheet tbody,
  .sheet tr,
  .sheet th,
  .sheet td {
    display: block;
    width: auto;
  }

  .sheet thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .sheet tbody tr {
    padding: 1.1rem 0;
    border-top: 1px solid var(--paper-line);
  }

  .sheet tbody tr + tr th,
  .sheet tbody tr + tr td {
    border-top: 0;
  }

  .sheet th,
  .sheet td {
    padding: 0.12rem 0;
  }

  .sheet tbody th,
  .sheet td.price,
  .sheet caption {
    width: auto;
  }

  .sheet table {
    width: 100%;
  }

  .sheet caption {
    display: block;
    width: 100%;
  }

  .sheet td.price {
    font-size: 1.15rem;
    margin: 0.15rem 0 0.25rem;
  }
}

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

@media print {
  :root {
    color-scheme: light;
  }

  body,
  .site-header,
  .hero,
  .block,
  .sheet,
  .site-footer {
    background: white !important;
    color: black !important;
  }

  .top-rail,
  .site-header {
    position: static;
  }

  .sheet {
    border-top-color: #c4a87a;
  }

  a {
    text-decoration: underline;
  }

  .btn {
    border: 1px solid black;
    background: white !important;
    color: black !important;
  }
}
