:root {
  --ink: #101827;
  --ink-soft: #415065;
  --paper: #f7f5f0;
  --paper-deep: #ece8e0;
  --surface: #ffffff;
  --navy: #0b1220;
  --navy-soft: #1a2739;
  --gold: #c89c46;
  --gold-pale: #e8d3a7;
  --line: rgba(16, 24, 39, 0.14);
  --shadow: 0 18px 46px rgba(11, 18, 32, 0.1);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  transform: translateY(-150%);
  border-radius: 8px;
}

.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 22px rgba(11, 18, 32, 0.05);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--gold-pale);
  background: var(--navy);
  border-radius: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1;
}

.brand-muted { color: var(--ink-soft); font-weight: 520; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 610;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.menu-toggle { display: none; }

.hero {
  padding: 116px 0 104px;
  background: radial-gradient(circle at 86% 20%, rgba(200, 156, 70, 0.16), transparent 21rem), var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 82px;
}

.eyebrow {
  margin: 0 0 13px;
  color: #8a6929;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 760;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  color: var(--navy);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  max-width: 690px;
  margin-bottom: 25px;
  font-size: clamp(3.1rem, 7.4vw, 6.55rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 3.8rem);
  font-weight: 730;
}

h3 {
  margin-bottom: 19px;
  font-size: clamp(2.15rem, 3.7vw, 3.65rem);
  font-weight: 740;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 33px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.23rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 720;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11, 18, 32, 0.13);
}

.button-primary { color: white; background: var(--navy); }
.button-primary:hover, .button-primary:focus-visible { background: var(--navy-soft); }
.button-secondary { border-color: var(--line); color: var(--navy); background: rgba(255,255,255,0.5); }
.button-secondary:hover, .button-secondary:focus-visible { background: white; }
.button-dark { color: var(--navy); background: var(--gold-pale); }
.button-dark:hover, .button-dark:focus-visible { background: #f1ddba; }

.hero-panel {
  min-height: 287px;
  padding: 31px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(232, 211, 167, 0.3);
  border-radius: 999px;
}

.hero-panel::before { width: 235px; height: 235px; right: -94px; top: -90px; }
.hero-panel::after { width: 148px; height: 148px; right: 35px; top: 19px; }

.panel-line {
  width: 46px;
  height: 2px;
  margin-bottom: auto;
  background: var(--gold);
}

.panel-kicker {
  position: relative;
  margin: 0 0 12px;
  color: var(--gold-pale);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.7rem;
  font-weight: 720;
}

.panel-statement {
  position: relative;
  max-width: 295px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.22;
}

.section { padding: 110px 0; }

.section-company { background: var(--surface); }

.company-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 110px;
  align-items: start;
}

.company-copy {
  max-width: 600px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.company-copy p:last-child { margin-bottom: 0; }

.section-products { background: var(--paper-deep); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.text-link {
  padding-bottom: 4px;
  color: var(--navy);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 720;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  min-height: 420px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card-content {
  padding: clamp(32px, 6vw, 67px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.product-label {
  display: inline-block;
  margin-bottom: 25px;
  padding: 7px 10px;
  color: #7d5d1f;
  border: 1px solid #d6bb84;
  border-radius: 999px;
  background: #fbf6ea;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.68rem;
  font-weight: 760;
}

.product-card-content p {
  max-width: 580px;
  margin-bottom: 29px;
  color: var(--ink-soft);
  font-size: 1.07rem;
}

.product-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 35px;
  color: var(--gold-pale);
  background: linear-gradient(150deg, #25344a 0%, #0b1220 67%);
  overflow: hidden;
}

.product-metric::before {
  position: absolute;
  content: "";
  width: 410px;
  height: 410px;
  border: 1px solid rgba(232, 211, 167, 0.3);
  border-radius: 999px;
  right: -240px;
  bottom: -227px;
}

.product-metric::after {
  position: absolute;
  content: "";
  width: 230px;
  height: 230px;
  border: 1px solid rgba(232, 211, 167, 0.3);
  border-radius: 999px;
  right: -110px;
  bottom: -100px;
}

.metric-top {
  position: relative;
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 760;
}

.metric-name {
  position: relative;
  color: white;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.section-contact { background: var(--surface); }

.contact-card {
  max-width: 570px;
  padding-top: 7px;
}

.contact-card > p:first-child {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.contact-email {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3.1vw, 2.7rem);
  font-weight: 720;
  letter-spacing: -0.04em;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}

.contact-email:hover, .contact-email:focus-visible { color: var(--gold); }

.contact-note { margin-bottom: 0; color: var(--ink-soft); }

.site-footer {
  padding: 27px 0;
  color: #c7cfdb;
  background: var(--navy);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin: 0;
  font-size: 0.87rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 19px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 620;
}

:focus-visible {
  outline: 3px solid #d8aa50;
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 36px), var(--max-width)); }

  .nav-wrap { min-height: 68px; }

  .menu-toggle {
    display: inline-grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface);
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 100%;
    height: 2px;
    background: var(--navy);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 24px rgba(11, 18, 32, 0.07);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }

  .site-nav a { padding: 12px 0; }

  .hero { padding: 77px 0 72px; }
  .hero-grid, .company-grid, .contact-grid, .product-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .hero-panel { min-height: 245px; }
  .section { padding: 76px 0; }
  .company-grid, .contact-grid { gap: 30px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .product-card { min-height: unset; }
  .product-metric { min-height: 220px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; gap: 14px 19px; }
}

@media (max-width: 420px) {
  h1 { font-size: 3.1rem; }
  .hero-actions .button { width: 100%; }
  .product-card-content { padding: 32px 26px; }
  .product-metric { padding: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
