@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-400.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/instrument-sans-600.woff2") format("woff2");
}

:root {
  --bg: #100e0c;
  --bg-raise: #1b1813;
  --ivory: #f4efe4;
  --muted: #d2c7b4;
  --gold: #e0c27a;
  --gold-deep: #c6a15b;
  --ink: #14120c;
  --line: rgba(224, 194, 122, 0.4);
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --measure: 68rem;
  --pad: 1.15rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 0% -10%, rgba(224, 194, 122, 0.14), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(224, 194, 122, 0.08), transparent 55%);
  z-index: -1;
}

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

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

p,
address,
.hint,
.fine,
.lede {
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--ivory);
}

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

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 20;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(var(--measure), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 8vw, 4.7rem);
  max-width: 11em;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.3rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

p {
  margin: 0 0 0.9rem;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 14, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  width: min(var(--measure), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.wordmark {
  margin-right: auto;
  color: var(--ivory);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.wordmark img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.pdf-frame {
  display: block;
  width: 100%;
  height: min(78vh, 920px);
  margin: 0.4rem 0 1.2rem;
  border: 1px solid var(--line);
  background: #f7f2e8;
}

.wordmark:hover {
  color: var(--gold);
}

.menu {
  position: relative;
}

.menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  color: var(--ivory);
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu nav {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 15rem;
  padding: 0.4rem 0.9rem 0.7rem;
  background: #16130f;
  border: 1px solid var(--line);
}

.menu a {
  color: var(--ivory);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.menu a:hover {
  color: var(--gold);
}

.header-call {
  flex: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-call:hover {
  color: var(--ink);
  background: #f0d9a0;
}

.hero {
  padding: 2.4rem 0 1.4rem;
}

.cta-row,
.stack-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.3rem 0 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: #f0d9a0;
  color: var(--ink);
}

.btn-line {
  border-color: var(--line);
  color: var(--ivory);
  background: transparent;
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-block {
  width: 100%;
}

.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.facts {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li,
.panel,
.who li,
.step,
.term {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  padding: 1rem;
}

.facts strong,
.term dt {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.founding-banner {
  background: var(--gold);
  color: var(--ink);
}

.founding-banner .wrap {
  padding: 0.95rem 0;
}

.founding-banner p {
  margin: 0;
}

.founding-banner a {
  color: var(--ink);
  font-weight: 600;
}

section {
  padding: 3.2rem 0;
}

.section-intro {
  max-width: 40rem;
  color: var(--muted);
}

.product-grid,
.sample-list,
.who,
.steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.product,
.sample-list figure {
  margin: 0;
  background: var(--bg-raise);
  border: 1px solid var(--line);
}

.product img,
.sample-list img {
  width: 100%;
  background: #14110d;
}

.product img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.sample-list img {
  height: auto;
  object-fit: contain;
}

.product div,
.sample-list figcaption {
  padding: 0.95rem 1rem 1.1rem;
}

.product p,
.sample-list p,
.who p {
  margin: 0;
  color: var(--muted);
}

.quote-flag,
.concept-badge {
  display: inline-block;
  margin: 0 0 0.55rem;
  color: var(--ink);
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  line-height: 1.2;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 4.2rem;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--gold);
}

.terms {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.term dd {
  margin: 0.25rem 0 0;
}

.founding {
  background:
    linear-gradient(180deg, rgba(224, 194, 122, 0.14), transparent 28%),
    var(--bg);
}

.founding-card {
  border: 1px solid var(--gold);
  padding: 1.3rem 1.1rem;
  background: #221c12;
}

.who li {
  display: grid;
  gap: 0.25rem;
}

.who h3 {
  font-size: 1.7rem;
}

.quote-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-card,
.form-card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.contact-card h3 {
  font-size: 1.8rem;
}

.stack-links a {
  min-height: 48px;
}

address {
  font-style: normal;
  margin-top: 1rem;
}

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form {
  display: grid;
  gap: 0.9rem;
}

label,
legend {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.req,
.opt {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices {
  display: grid;
  gap: 0.5rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
}

.choice input {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 0;
  accent-color: var(--gold-deep);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.75rem;
  border: 1px solid #cbbfa8;
  border-radius: 0;
  background: #f7f2e8;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input[type="file"] {
  padding: 0.55rem;
  background: #f7f2e8;
}

.hint,
.deposit-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.deposit-note {
  margin: 0;
  color: var(--ivory);
  border-left: 3px solid var(--gold);
  padding-left: 0.8rem;
}

button.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

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

.site-footer a {
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.simple {
  padding: 3rem 0 4rem;
}

.simple h1 {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
}

@media (min-width: 720px) {
  :root {
    --pad: 1.5rem;
  }

  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .btn {
    width: auto;
  }

  .facts,
  .product-grid,
  .sample-list,
  .who {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 960px) {
  .menu summary {
    display: none;
  }

  .menu nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    gap: 1rem;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
  }

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

  .quote-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .contact-card {
    position: sticky;
    top: 5.2rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

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