@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --charcoal: #222421;
  --muted: #5c5e59;      /* secondary text, 6.6:1 on white */
  --gold: #ae8746;       /* logo gold: accents only, never body text */
  --gold-text: #7a5c27;  /* readable gold for text and focus, 6.3:1 on white */
  --rule: #e5e5e3;
  --wrap: 1120px;
  --gutter: 24px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

h1, h2 { margin: 0; font-weight: 600; letter-spacing: -0.015em; }

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 10px 14px;
  background: var(--charcoal);
  color: var(--white);
  z-index: 10;
}
.skip:focus { top: 12px; }

/* Header */

.site-header { border-bottom: 1px solid var(--rule); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 84px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 8px 0;
}
.brand-mark { width: 48px; height: 40px; }
.brand-word { width: 164px; height: 16px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link,
.footer-link {
  display: inline-block;
  padding: 6px 0;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
}
.nav-link:hover,
.footer-link:hover { border-bottom-color: var(--charcoal); }
.nav-link[aria-current="page"] { border-bottom-color: var(--gold); }

/* Shared text */

.lede {
  max-width: 40rem;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.text-link {
  color: var(--gold-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--charcoal); }

.button {
  display: inline-block;
  padding: 14px 24px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
}
.button:hover { background: #3a3c38; }

/* Home */

.hero {
  padding-top: clamp(72px, 12vh, 136px);
  padding-bottom: clamp(72px, 11vh, 120px);
}
.hero h1 {
  max-width: 14ch;
  font-size: clamp(40px, 6.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero .lede { margin-top: 28px; }
.hero .button { margin-top: 40px; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 24px 64px;
  padding-top: 72px;
  padding-bottom: 120px;
  position: relative;
}
.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--rule);
}
.about h2 {
  font-size: 28px;
  line-height: 1.25;
}
.about h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 20px;
  background: var(--gold);
}
.about-body { max-width: 40rem; }
.about-body p + p { margin-top: 20px; }
.about-body p:last-child { margin-top: 32px; }

/* Products */

.page-head {
  padding-top: clamp(64px, 10vh, 112px);
  padding-bottom: 48px;
}
.page-head h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-head .lede { margin-top: 20px; }

.directory {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 48px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.product-name {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.product-logo {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: contain;
}

.product-desc {
  max-width: 38rem;
  color: var(--muted);
}

.product-link a {
  display: inline-block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.product-link a:hover { color: var(--gold-text); }

.brand-note {
  padding: 40px 0 120px;
  color: var(--muted);
}

/* Footer */

.site-footer { border-top: 1px solid var(--rule); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.footer-brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 15px;
  text-decoration: none;
}
.footer-link { font-size: 15px; color: var(--muted); }
.copyright {
  width: 100%;
  font-size: 15px;
  color: var(--muted);
}

/* Narrow screens */

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; padding-bottom: 96px; }
  .product {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .product-desc { max-width: none; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header-inner { padding-top: 12px; padding-bottom: 8px; min-height: 0; }
  .brand-mark { width: 38px; height: 32px; }
  .brand-word { width: 144px; height: 14px; }
  .nav { gap: 4px 24px; }
  .lede { font-size: 18px; }
  .product-name { font-size: 19px; }
  .product-logo { width: 48px; height: 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
