:root {
  --paper: #fafaf7;
  --ink: #131c28;
  --slate: #5c6470;
  --slate-light: #a8b0bc;
  --brass: #9c7c46;
  --brass-light: #c9a86b;
  --hairline: #e5e2da;
  --gutter: clamp(24px, 5vw, 80px);
}

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

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brass);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Page shell — single viewport, no scroll on desktop */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Header */
.site-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.wordmark:hover {
  text-decoration: none;
}

.header-contact {
  font-size: 14px;
  font-weight: 500;
}

/* Main split: identity (paper) + products (ink) */
.main {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 0;
}

.identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 7vh, 88px) var(--gutter);
  max-width: 760px;
}

.eyebrow {
  color: var(--brass);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}

.headline {
  font-size: clamp(28px, min(3.6vw, 6vh), 46px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

.brass-rule {
  width: 96px;
  height: 2px;
  background: var(--brass);
  border: 0;
  margin: clamp(24px, 3.2vh, 36px) 0;
}

.lead {
  color: var(--slate);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  max-width: 46ch;
}

.firm {
  margin-top: clamp(28px, 4.5vh, 52px);
  max-width: 46ch;
}

.firm-label {
  color: var(--slate);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.firm-text {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

/* Products — full-bleed ink panel */
.products {
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 7vh, 88px) var(--gutter);
}

.products-label {
  color: var(--brass-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: clamp(18px, 2.6vh, 28px);
}

.product-list {
  list-style: none;
}

.product {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: clamp(16px, 2.6vh, 26px) 0;
  border-top: 1px solid rgba(250, 250, 247, 0.14);
}

.product:last-child {
  border-bottom: 1px solid rgba(250, 250, 247, 0.14);
}

.product-index {
  color: var(--brass-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
}

.product-name {
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--paper);
}

.product-desc {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate-light);
}

/* Footer */
.site-footer {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gutter);
  border-top: 1px solid var(--hairline);
}

.site-footer p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

.site-footer .muted {
  opacity: 0.85;
}

/* Responsive — stack below the split; mobile may scroll */
@media (max-width: 860px) {
  .main {
    grid-template-columns: 1fr;
  }

  .identity {
    max-width: none;
    padding: clamp(40px, 8vh, 64px) var(--gutter);
  }

  .products {
    padding: clamp(36px, 7vh, 56px) var(--gutter);
  }
}

@media (max-width: 520px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
