:root {
  --bg: #0b0f12;
  --bg-soft: #11171b;
  --paper: #f4efe6;
  --paper-2: #e6ded2;
  --ink: #11171b;
  --muted: #82909a;
  --muted-dark: #52606a;
  --line: rgba(244,239,230,.16);
  --line-dark: rgba(17,23,27,.14);
  --card: rgba(255,255,255,.055);
  --card-2: rgba(255,255,255,.085);
  --accent: #c5a15f;
  --cyan: #74d7df;
  --max: 1240px;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 28px 90px rgba(0,0,0,.36);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 0%, rgba(116,215,223,.13), transparent 34rem),
    radial-gradient(circle at 8% 18%, rgba(197,161,95,.12), transparent 30rem),
    var(--bg);
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .045;
  background-image: linear-gradient(rgba(244,239,230,.75) 1px, transparent 1px), linear-gradient(90deg, rgba(244,239,230,.75) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; position: relative; z-index: 1; }
.section { position: relative; padding: 112px 0; }
.section-head { max-width: 860px; margin-bottom: 44px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 850; }
h1 { max-width: 1050px; margin-bottom: 28px; font-size: clamp(44px, 7vw, 92px); line-height: .94; letter-spacing: -.07em; }
h2 { margin-bottom: 20px; font-size: clamp(34px, 4.3vw, 64px); line-height: 1.01; letter-spacing: -.052em; }
h3 { margin-bottom: 12px; font-size: 22px; line-height: 1.15; letter-spacing: -.026em; }

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 1340px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(244,239,230,.15);
  border-radius: 999px;
  background: rgba(11,15,18,.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 44px rgba(0,0,0,.26);
}
.site-header.is-scrolled { background: rgba(11,15,18,.88); }
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.brand__logo { width: 42px; height: 42px; object-fit: contain; filter: invert(1); }
.brand__text { font-size: 16px; font-weight: 900; letter-spacing: .13em; }
.nav { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
.nav a { padding: 10px 11px; color: var(--muted); border-radius: 999px; font-size: 14px; transition: .2s ease; }
.nav a:hover { color: var(--paper); background: rgba(255,255,255,.07); }
.header-cta { min-width: max-content; padding: 11px 16px; border-radius: 999px; color: #15110a; background: var(--accent); font-size: 14px; font-weight: 850; }

.section--hero { min-height: 96vh; display: flex; align-items: center; padding-top: 150px; overflow: hidden; }
.hero__visual { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,18,.96) 0%, rgba(11,15,18,.72) 52%, rgba(11,15,18,.44) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.08); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .65fr); gap: 58px; align-items: end; }
.hero__lead { max-width: 800px; color: var(--paper-2); font-size: clamp(18px, 2vw, 25px); }
.hero__descriptor { max-width: 760px; margin: -8px 0 24px; color: var(--accent); font-size: clamp(16px, 2vw, 22px); font-weight: 850; letter-spacing: -.015em; }
.hero__actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 850; cursor: pointer; transition: .2s ease; }
.btn--primary { color: #15110a; background: var(--accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(197,161,95,.22); }
.btn--ghost { border-color: rgba(244,239,230,.18); background: rgba(255,255,255,.045); color: var(--paper); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); border-color: rgba(244,239,230,.34); }
.btn--small { min-height: 42px; padding: 0 16px; color: #15110a; background: var(--accent); }
.hero__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.055); backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.fact { min-height: 164px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(0,0,0,.22); }
.fact--large { grid-column: 1 / -1; }
.fact span { display: block; margin-bottom: 22px; color: var(--accent); font-weight: 950; letter-spacing: -.02em; }
.fact strong { display: block; margin-bottom: 6px; font-size: 24px; line-height: 1.05; }
.fact p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.text-block { color: var(--paper-2); font-size: 19px; }
.text-block p { margin-bottom: 18px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.process-card { min-height: 260px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)); }
.process-card span { display: block; margin-bottom: 42px; color: var(--accent); font-weight: 950; }
.process-card p { margin: 0; color: var(--muted); }

.products { background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.055); box-shadow: 0 22px 72px rgba(0,0,0,.20); }
.product-card--wide { grid-column: span 2; }
.product-card--full { grid-column: 1 / -1; display: grid; grid-template-columns: .95fr 1.05fr; align-items: stretch; }
.product-card img, .product-card video { width: 100%; height: 230px; object-fit: cover; border-bottom: 1px solid var(--line); background: #10161b; }
.product-card--full img, .product-card--full video { height: 100%; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.product-card-media { display: block; width: 100%; height: 100%; overflow: hidden; background: #f4f1ec; }
.product-card-media img { display: block; }
.product-card--full .product-card-media { min-height: 340px; border-right: 1px solid var(--line); }
.product-card--full .product-card-media img { border-right: 0; }
.product-card--full h3 { font-size: clamp(30px, 4vw, 52px); }
.product-card--full p:not(.eyebrow) { font-size: 19px; color: var(--paper-2); }
.product-card div { padding: 26px; }
.product-card--full div { padding: 44px; align-self: center; }
.product-card p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.text-link { display: inline-flex; margin-top: 22px; color: var(--cyan); font-weight: 900; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.case-feature { display: grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: stretch; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.055); box-shadow: 0 22px 72px rgba(0,0,0,.2); }
.case-feature img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.case-feature > div { padding: 34px; }
.case-feature p, .case-card p { color: var(--muted); }
ul { margin: 20px 0 0; padding-left: 20px; color: var(--paper-2); }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.052); }
.case-card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--line); }
.case-card div { padding: 22px; }
.case-card p { margin-bottom: 0; }

.team { background: var(--paper); color: var(--ink); }
.team .eyebrow { color: #5d7b80; }
.team .section-head p { color: var(--muted-dark); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { overflow: hidden; min-height: 520px; display: flex; flex-direction: column; border: 1px solid var(--line-dark); border-radius: 24px; background: rgba(255,255,255,.62); box-shadow: 0 16px 48px rgba(17,23,27,.08); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #d8d0c4; }
.person div { flex: 1; display: flex; flex-direction: column; padding: 18px; }
.person h3 { margin-bottom: 8px; font-size: 19px; }
.person p { margin: 0; color: var(--muted-dark); font-size: 14px; }
.person p strong { color: var(--ink); }
.person__link { display: inline-flex; align-self: flex-start; margin-top: auto; padding: 9px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 850; transition: .2s ease; }
.person__link:hover { background: var(--ink); color: var(--paper); }

.proof { background: linear-gradient(180deg, rgba(197,161,95,.09), rgba(255,255,255,0)); }
.proof__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.proof-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.065); box-shadow: var(--shadow); }
.proof-card > p { color: var(--paper-2); font-size: 20px; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 0; }
dl div { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,.18); }
dt { margin-bottom: 6px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
dd { margin: 0; font-weight: 850; }

.contacts__inner { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: start; }
.contact-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.065); box-shadow: var(--shadow); }
.contact-card a, .contact-card p { display: block; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--paper); font-size: 22px; font-weight: 850; }
.contact-card span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; font-weight: 850; }

.footer { padding: 34px 0 100px; color: var(--muted); border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer a { color: var(--paper-2); }
.cookie { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 30; display: none; width: min(920px, calc(100% - 28px)); gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(11,15,18,.92); backdrop-filter: blur(22px); box-shadow: var(--shadow); }
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; color: var(--muted); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(22px); transition: .72s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .12s; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .hero__inner, .split, .case-feature, .proof__inner, .contacts__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 720px; }
  .process-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 78px 0; }
  .section--hero { padding-top: 126px; min-height: auto; }
  .site-header { top: 10px; border-radius: 24px; }
  .brand__logo { width: 38px; height: 38px; }
  .brand__text { font-size: 15px; letter-spacing: .09em; }
  .header-cta { display: none; }
  h1 { font-size: clamp(38px, 12vw, 52px); line-height: 1.02; }
  h2 { font-size: clamp(30px, 9vw, 43px); }
  .hero__inner { gap: 28px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero__panel, .process-grid, .product-grid, .case-grid, .team-grid, dl { grid-template-columns: 1fr; }
  .product-card--wide, .product-card--full { grid-column: auto; }
  .product-card--full { display: block; }
  .product-card img, .product-card video, .product-card--full img, .product-card--full video { height: 210px; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-card-media, .product-card--full .product-card-media { height: auto; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-card--full .product-card-media img { border-bottom: 0; object-position: center center; }
  .product-card--full div { padding: 26px; }
  .case-feature img { min-height: 260px; }
  .case-card img { height: 210px; }
  .person { min-height: auto; }
  .contact-card a, .contact-card p { font-size: 18px; }
  .cookie { flex-direction: column; align-items: stretch; }
  .footer__inner { display: block; }
  .footer p + p { margin-top: 12px; }
}

