:root {
  --bg: #101413;
  --bg-soft: #171d1b;
  --panel: #f3efe5;
  --panel-soft: #e8dfcf;
  --text: #f7f1e6;
  --text-dark: #18201d;
  --muted: #b8c0b9;
  --muted-dark: #5c675f;
  --line: rgba(247, 241, 230, 0.15);
  --accent: #d9b56f;
  --green: #244536;
  --sage: #a4b89c;
  --clay: #bc765d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 181, 111, 0.14), transparent 34rem),
    radial-gradient(circle at 80% 20%, rgba(164, 184, 156, 0.12), transparent 28rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem clamp(1rem, 5vw, 4rem);
  backdrop-filter: blur(18px);
  background: rgba(16, 20, 19, 0.82);
  border-bottom: 1px solid var(--line);
}

.brand,
.top-nav a,
.product-card a,
.button {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--text-dark);
  background: var(--accent);
  border-radius: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: -0.04em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(217, 181, 111, 0.45);
  border-radius: 999px;
  color: var(--text) !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.7fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 72vh;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
}

.hero-text {
  max-width: 44rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: var(--text-dark);
  background: var(--accent);
}

.button.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}

.hero-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}

.panel-line {
  padding: 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.panel-line:last-child {
  border-bottom: 0;
}

.panel-line.active {
  color: var(--text-dark);
  background: var(--panel);
  border-radius: 1.1rem;
  font-weight: 900;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.intro-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.intro-grid article,
.product-card,
.principles {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.045);
}

.intro-grid article {
  padding: 1.35rem;
}

.intro-grid h2,
.product-card h3 {
  margin-bottom: 0.65rem;
}

.intro-grid p,
.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.principles h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  padding: 1.25rem;
}

.product-card.featured {
  background: var(--panel);
  color: var(--text-dark);
  border-color: transparent;
}

.product-card.featured p {
  color: var(--muted-dark);
}

.product-card a,
.product-card span {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

.product-card.featured a {
  color: var(--green);
}

.status {
  width: fit-content;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(36, 69, 54, 0.12);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card:not(.featured) .status {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.product-card.muted {
  opacity: 0.75;
}

.principles {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 2rem;
}

.principles ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .intro-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .principles {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.82rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    max-width: 9ch;
  }

  .intro-grid,
  .product-grid,
  .principles {
    display: grid;
    grid-template-columns: 1fr;
  }
}
