:root {
  --ink: #101820;
  --navy: #162536;
  --mist: #eef1f4;
  --paper: #f8f9fb;
  --line: #d5dde6;
  --accent: #3d7a72;
  --accent-2: #c4a574;
  --muted: #5c6b7a;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* Weave atmosphere */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(248,249,251,0.92), rgba(238,241,244,0.95)),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(22,37,54,0.035) 11px 12px),
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(22,37,54,0.03) 11px 12px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #c9d3de;
  background: var(--navy);
  padding: 8px 0;
}
.topbar a:hover { color: #fff; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(248, 249, 251, 0.9);
  border-bottom: 1px solid rgba(213, 221, 230, 0.8);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}
.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu a {
  display: block;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.menu a:hover::after,
.menu a.active::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* Hero - one composition */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(16,24,32,0.88) 18%, rgba(22,37,54,0.55) 58%, rgba(61,122,114,0.35) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(196,165,116,0.25), transparent 50%),
    linear-gradient(160deg, #1b2d40, #0f1a24 45%, #244a46);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,0.03) 18px 19px),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255,255,255,0.025) 18px 19px);
  animation: weave-drift 28s linear infinite;
  pointer-events: none;
}
@keyframes weave-drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-18px, -18px, 0); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 0 72px;
  max-width: 720px;
  animation: rise 0.9s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.hero .brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 18px;
}
.hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.hero p {
  margin: 0 0 28px;
  max-width: 38ch;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  margin-left: 10px;
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}

.section {
  padding: 88px 0;
}
.section-head {
  margin-bottom: 36px;
  max-width: 640px;
}
.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
  animation: rise 0.8s ease both;
}
.panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.stat {
  border-top: 2px solid var(--accent);
  padding-top: 12px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}
.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-media {
  height: 180px;
  background:
    linear-gradient(135deg, #203246, #3d7a72 70%, #c4a574);
  position: relative;
}
.product-media span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.product-body { padding: 18px; }
.product-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 48px;
}
.page-hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}
.breadcrumb {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.breadcrumb a:hover { color: #fff; }
.content-cms {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
  box-shadow: var(--shadow);
}
.content-cms h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.content-cms p { color: #31404e; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}
.contact-item strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.contact-item span, .contact-item a {
  color: var(--muted);
  white-space: pre-line;
}

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.footer a { color: rgba(255,255,255,0.78); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    background: #fff;
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
  }
  .menu.open { display: flex; }
  .split, .product-grid, .contact-grid, .footer-grid, .stat-row {
    grid-template-columns: 1fr;
  }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .hero { min-height: 78vh; }
}
