:root {
  --paper: #f5f1e8;
  --surface: #fffdf8;
  --ink: #17231f;
  --muted: #59635e;
  --line: #d8d5cb;
  --blue: #315b72;
  --blue-dark: #244657;
  --sage: #aab8ad;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Century Gothic", Futura, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--blue); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 10; background: var(--ink); color: white; padding: .65rem 1rem; }
.skip-link:focus { left: 1rem; }
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.nav-shell { max-width: var(--max); margin: auto; padding: 1.4rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; text-decoration: none; letter-spacing: -.02em; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 2rem; font-size: .83rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: .25rem; }

.hero { max-width: var(--max); min-height: 650px; margin: auto; padding: clamp(5rem, 11vw, 9rem) 2rem 6rem; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 5rem; align-items: end; }
.eyebrow { margin: 0 0 1.2rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 820px; margin: 0; font-size: clamp(3.6rem, 8vw, 7.4rem); }
.hero-copy { margin: 0 0 .8rem; padding-top: 1.4rem; border-top: 1px solid var(--ink); color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.65; }
.section { padding: clamp(5rem, 9vw, 8rem) 2rem; }
.section-inner { max-width: var(--max); margin: auto; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-bottom: 3.5rem; align-items: start; }
.section-heading h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.section-heading p { max-width: 580px; margin: .5rem 0 0; color: var(--muted); }
.products { background: var(--ink); color: var(--paper); }
.products .eyebrow { color: var(--sage); }
.products .section-heading p { color: #bfc7c2; }
.product-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1rem; }
.product-card { min-height: 390px; padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; background: #21312b; border: 1px solid #40504a; transition: transform .25s ease, background-color .25s ease; }
.product-card:hover { transform: translateY(-5px); background: #263a33; }
.product-number { color: var(--sage); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.product-card h3 { margin: auto 0 1rem; font-size: clamp(2.8rem, 5vw, 4.7rem); }
.product-card p { max-width: 650px; margin: 0; color: #cdd3cf; }
.product-link { display: inline-block; margin-top: 1.5rem; color: white; font-weight: 700; text-decoration-thickness: 1px; }
.about-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); }
.about-grid h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.about-copy { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.55; }
.contact { background: var(--blue); color: #f8f5ee; }
.contact-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.contact h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.8rem); }
.contact a { font-size: clamp(1rem, 2vw, 1.35rem); }

.legal-main { max-width: 900px; margin: auto; padding: clamp(4rem, 9vw, 8rem) 2rem; }
.legal-header { margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.legal-header h1 { max-width: none; font-size: clamp(3rem, 7vw, 6.2rem); }
.updated { margin: 1.25rem 0 0; color: var(--muted); font-size: .9rem; }
.legal-content { max-width: 760px; }
.legal-content h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #38443f; }
.legal-content ul { padding-left: 1.25rem; }
.prominent { margin: 3.5rem -2rem; padding: 2.5rem 2rem; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--blue); }
.prominent h2 { margin-top: 0; color: var(--blue-dark); }
.sample { padding: 1.5rem; background: var(--ink); color: var(--paper) !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--max); margin: auto; padding: 2.3rem 2rem; display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .82rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 1.5rem; flex-shrink: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: reveal .7s ease both; }
  .hero-copy { animation-delay: .15s; }
  @keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 760px) {
  .nav-shell { align-items: flex-start; padding: 1.2rem; }
  .nav-links { flex-direction: column; align-items: flex-end; gap: .45rem; font-size: .7rem; }
  .hero { min-height: auto; padding: 5rem 1.2rem; grid-template-columns: 1fr; gap: 3rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .section { padding: 4.5rem 1.2rem; }
  .section-heading, .product-grid, .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-card { min-height: 330px; }
  .contact-row, .footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-main { padding: 4rem 1.2rem; }
  .prominent { margin-left: 0; margin-right: 0; padding: 1.5rem; }
  .footer-inner { padding: 2rem 1.2rem; }
}
