/* Imperator Native — brand palette */
@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/Cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --red: #D90F1F;
  --red-light: #E8202E;
  --red-dark: #7A0711;
  --ink: #0B0B0D;
  --ink-2: #121316;
  --ink-3: #1A1C20;
  --steel-hi: #F4F5F7;
  --steel-l: #C3C8CE;
  --steel-m: #8A9098;
  --steel-d: #4E535A;
  --line: #26282D;

  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--steel-l);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--steel-hi); margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.01em; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.eyebrow {
  color: var(--red-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.accent { color: var(--red-light); }
.lede { font-size: 1.12rem; color: var(--steel-l); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--red);
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--red-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(217, 15, 31, .35); }
.btn-ghost { background: transparent; color: var(--steel-hi); border-color: var(--steel-d); }
.btn-ghost:hover { background: var(--ink-3); box-shadow: none; border-color: var(--steel-m); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn:focus-visible, .nav a:focus-visible, .brand:focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 11, 13, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name {
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem;
  color: var(--steel-hi); letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.brand-name span { color: var(--steel-m); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; color: var(--steel-l); font-size: .95rem; }
.nav a:not(.btn):hover { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1000px 500px at 85% 40%, rgba(217, 15, 31, .16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
  padding: 96px 0 104px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art { position: relative; justify-self: center; }
.hero-art img { position: relative; width: min(440px, 100%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.hero-glow {
  position: absolute; inset: 10%;
  background: radial-gradient(circle, rgba(217, 15, 31, .45), transparent 65%);
  filter: blur(40px);
}

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2, .why h2, .cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: border-color .25s, transform .25s;
}
.card::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 3px;
  background: var(--red); border-radius: 0 0 3px 3px;
}
.card:hover { border-color: var(--steel-d); transform: translateY(-4px); }
.card-num { font-family: var(--serif); font-weight: 700; color: var(--red-light); font-size: 1.4rem; margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card ul { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.card li { padding: 10px 0 0 22px; position: relative; color: var(--steel-hi); font-size: .95rem; }
.card li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--red); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { border-top: 2px solid var(--steel-d); padding-top: 22px; }
.steps li:first-child { border-top-color: var(--red); }
.step-num { display: block; font-family: var(--serif); color: var(--red-light); font-weight: 700; margin-bottom: 10px; }
.steps h3 { margin-bottom: 10px; }

/* why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why .lede { margin-top: 8px; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pillars li {
  background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 10px; padding: 20px 24px;
}
.pillars h3 { margin-bottom: 6px; }

/* cta */
.cta {
  padding: 104px 0;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(217, 15, 31, .22), transparent 70%),
    var(--ink-2);
  border-top: 1px solid var(--line);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta p { max-width: 52ch; margin-bottom: 12px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer p { color: var(--steel-m); font-size: .9rem; }
.site-footer .brand-name { font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 72px; gap: 32px; }
  .hero-art { order: -1; }
  .hero-art img { width: 220px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .header-inner { height: 64px; }
  .site-header .brand { gap: 9px; }
  .site-header .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: .82rem; letter-spacing: .03em; }
  .btn-sm { padding: 8px 13px; font-size: .82rem; }
  .section, .cta { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
