:root {
  --ink: #181818;
  --ink-deep: #0d0d0d;
  --charcoal: #333;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --wine: #8f303a;
  --wine-dark: #74232d;
  --wine-light: #b45a61;
  --white: #fff;
  --shadow: 0 18px 50px rgba(15, 23, 42, .1);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: #334155;
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(143, 48, 58, .35); outline-offset: 3px; }
::selection { background: rgba(143, 48, 58, .2); color: var(--ink); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  transform: translateY(-140%); background: white; color: var(--ink);
  padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.eyebrow {
  color: var(--wine); font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.display, h1, h2, h3 { color: var(--ink); font-family: "DM Sans", Inter, Arial, sans-serif; }
h1, h2, h3, p { margin-top: 0; }
.section-title { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.12; }
.lead { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.center { margin-inline: auto; text-align: center; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent; transition: .3s ease;
}
.site-header.scrolled { border-color: rgba(226,232,240,.75); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { padding: 6px 10px; border-radius: 7px; background: white; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { border-radius: 999px; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 650; padding: 10px 15px; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.1); color: white; }
.site-header.scrolled .nav a { color: #475569; }
.site-header.scrolled .nav a:hover, .site-header.scrolled .nav a.active { background: rgba(143,48,58,.08); color: var(--wine); }
.nav .contact-link { margin-left: 10px; background: white; color: var(--ink); padding-inline: 22px; }
.site-header.scrolled .nav .contact-link { background: var(--ink); color: white; }
.menu-button { display: none; border: 0; background: transparent; color: white; font-size: 1.65rem; cursor: pointer; }
.site-header.scrolled .menu-button { color: var(--ink); }

.hero {
  position: relative; min-height: 760px; display: grid; align-items: center;
  overflow: hidden; padding: 150px 0 96px; color: white;
  background:
    radial-gradient(circle at 18% 48%, rgba(143,48,58,.3), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.08), transparent 35%),
    linear-gradient(135deg, var(--ink-deep), var(--ink));
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 70px; }
.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.05); color: #d28189; padding: 7px 14px; font-size: .86rem; font-weight: 650; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine-light); }
.hero h1 { max-width: 800px; margin: 30px 0 24px; color: white; font-size: clamp(3rem, 6vw, 5.25rem); line-height: 1.04; letter-spacing: -.04em; }
.hero h1 span { color: #d98991; }
.hero-copy { max-width: 710px; color: #cbd5e1; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid transparent; border-radius: 999px; padding: 11px 24px; font-size: .9rem; font-weight: 800; transition: .25s ease; }
.button.primary { background: var(--wine); color: white; box-shadow: 0 12px 30px rgba(143,48,58,.3); }
.button.primary:hover { background: var(--wine-dark); transform: translateY(-2px); }
.button.outline { border-color: rgba(255,255,255,.32); color: white; }
.button.outline:hover { background: rgba(255,255,255,.1); }
.button.dark { background: var(--ink); color: white; }
.trust-list { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; color: #cbd5e1; font-size: .88rem; }
.trust-list span::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 8px; border: 1px solid var(--wine-light); border-radius: 50%; color: var(--wine-light); font-size: .65rem; }
.capability-panel { border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: rgba(255,255,255,.06); padding: 32px; box-shadow: 0 30px 70px rgba(0,0,0,.3); backdrop-filter: blur(14px); }
.capability-panel h2 { margin: 12px 0 24px; color: white; font-size: 1.55rem; line-height: 1.25; }
.capability-panel ul { margin: 0; padding: 0; list-style: none; }
.capability-panel li { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid rgba(255,255,255,.1); padding: 14px 0; color: #cbd5e1; font-size: .9rem; }
.capability-panel li::after { content: "→"; color: var(--wine-light); }

.stats-wrap { position: relative; z-index: 3; margin-top: -54px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(24,24,24,.97); padding: 36px; color: white; box-shadow: var(--shadow); }
.stat { text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat strong { display: block; font-family: "DM Sans", sans-serif; font-size: 2.8rem; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: #cbd5e1; font-size: .88rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards { margin-top: 54px; }
.card { height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 30px; transition: .25s ease; }
.card:hover { border-color: rgba(143,48,58,.3); transform: translateY(-4px); box-shadow: var(--shadow); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(24,24,24,.06); color: var(--wine); font-size: 1.35rem; font-weight: 800; }
.card h3 { margin: 20px 0 8px; font-size: 1.12rem; }
.card p { color: var(--muted); font-size: .92rem; }
.learn { color: var(--wine); font-size: .86rem; font-weight: 800; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.quote { margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); padding: 24px; color: #475569; font-style: italic; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature { border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.feature b { display: block; color: var(--ink); }
.feature p { margin: 6px 0 0; color: var(--muted); font-size: .82rem; }
.dark-section { background: var(--ink-deep); color: #cbd5e1; }
.dark-section h2, .dark-section h3 { color: white; }
.dark-card { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.05); }
.dark-card:hover { border-color: rgba(180,90,97,.45); }
.dark-card p { color: #94a3b8; }

.cta { position: relative; overflow: hidden; border-radius: 30px; background: radial-gradient(circle at 25% 50%, rgba(143,48,58,.45), transparent 50%), var(--ink); padding: 72px 32px; text-align: center; color: #cbd5e1; }
.cta h2 { margin-bottom: 12px; color: white; font-size: clamp(2rem, 4vw, 2.75rem); }
.cta p { max-width: 700px; margin-inline: auto; font-size: 1.05rem; }
.cta .actions { justify-content: center; }

.page-hero { position: relative; overflow: hidden; padding: 150px 0 80px; background: radial-gradient(circle at 15% 50%, rgba(143,48,58,.25), transparent 42%), linear-gradient(135deg, var(--ink-deep), var(--ink)); color: #cbd5e1; }
.page-hero h1 { max-width: 850px; margin: 10px 0 14px; color: white; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.08; }
.page-hero p { max-width: 720px; font-size: 1.08rem; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding: 34px 0; scroll-margin-top: 110px; }
.service-row + .service-row { border-top: 1px solid var(--line); }
.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--soft); list-style: none; }
.cap-list li { color: #475569; font-size: .88rem; }
.cap-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--wine); }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { margin: 10px 0; color: #475569; }
.check-list li::before { content: "✓"; margin-right: 10px; color: var(--wine); font-weight: 900; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; margin-top: 24px; }
.contact-item b { display: block; color: var(--ink); }
.form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .85rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 12px 14px; color: #334155; }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { margin-top: 14px; color: var(--muted); font-size: .78rem; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 22px; border-radius: 10px; padding: 13px 15px; font-size: .9rem; font-weight: 650; }
.form-status.success { border: 1px solid #86b99a; background: #edf8f1; color: #1f6840; }
.form-status.error { border: 1px solid #d6a0a7; background: #fff2f3; color: #8b2532; }
.jobs-heading { max-width: 760px; margin-bottom: 36px; }
.cats-jobs-panel { min-height: 180px; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: clamp(20px, 4vw, 40px); box-shadow: 0 12px 36px rgba(24,24,24,.06); overflow: hidden; }
.cats-jobs-panel iframe { width: 100% !important; max-width: 100%; border: 0; }
.jobs-support { margin: 28px 0 0; color: var(--muted); text-align: center; }

.site-footer { background: var(--ink-deep); color: #94a3b8; padding: 78px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.1fr; gap: 42px; }
.site-footer h3 { color: white; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; }
.site-footer ul { margin: 16px 0 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; font-size: .88rem; }
.site-footer a:hover { color: white; }
.footer-logo { width: 170px; border-radius: 6px; background: white; padding: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 54px; padding-top: 24px; font-size: .82rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .service-row, .contact-grid { grid-template-columns: 1fr; }
  .capability-panel { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav {
    position: fixed; inset: 82px 0 auto; display: none; flex-direction: column; align-items: stretch;
    border-top: 1px solid var(--line); background: white; padding: 16px 24px 24px; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a, .site-header .nav a { color: #475569; padding: 12px 14px; }
  .nav a:hover, .nav a.active, .site-header .nav a:hover, .site-header .nav a.active { background: rgba(143,48,58,.08); color: var(--wine); }
  .nav .contact-link, .site-header .nav .contact-link { margin: 8px 0 0; background: var(--ink); color: white; text-align: center; }
  .menu-button { display: block; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 76px 0; }
  .header-inner { height: 74px; }
  .brand img { width: 128px; }
  .nav { top: 74px; }
  .hero { min-height: 780px; padding-top: 130px; }
  .hero h1 { font-size: 2.65rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .trust-list { flex-direction: column; gap: 10px; }
  .stats { grid-template-columns: 1fr; gap: 25px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 25px; }
  .grid-3, .grid-2, .feature-grid, .form-grid, .cap-list, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .form { padding: 22px; }
}
