:root {
  --violet: #5b1fa6;
  --violet-dark: #35106e;
  --ink: #17151d;
  --graphite: #34323a;
  --steel: #64707f;
  --line: #e7e1ee;
  --soft: #f7f4fb;
  --field: #f1f5f4;
  --energy: #d8a12d;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  overflow-y: scroll;
  scroll-padding-top: 95px;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  margin: 0;
  padding-top: 95px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  overflow-y: initial;
  overscroll-behavior-y: auto;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(91, 31, 166, .13);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img { width: 315px; }

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 760;
}

.menu a {
  position: relative;
  padding: 10px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--energy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.menu a:hover::after { transform: scaleX(1); }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(28, 18, 45, .16);
}

.btn-primary {
  color: #fff;
  background: var(--violet);
}

.btn-primary:hover { background: var(--violet-dark); }

.btn-secondary {
  color: var(--violet-dark);
  background: #fff;
  border-color: rgba(91, 31, 166, .35);
}

.btn-light {
  color: var(--violet-dark);
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 46%, rgba(247,244,251,.2) 100%),
    repeating-linear-gradient(90deg, rgba(91,31,166,.08) 0 1px, transparent 1px 96px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding: 58px 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 900;
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin: 26px 0 34px;
  color: #484650;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  touch-action: pan-y;
  border-radius: 6px;
  background: #ddd;
  box-shadow: 0 32px 70px rgba(18, 15, 24, .18);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16,13,22,.02), rgba(16,13,22,.32));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 26px;
  width: min(250px, calc(100% - 52px));
  padding: 18px 20px;
  color: #fff;
  background: rgba(25, 18, 34, .72);
  border-left: 4px solid var(--energy);
  backdrop-filter: blur(10px);
}

.hero-panel strong {
  display: block;
  font-size: 42px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 7px;
  color: #f4eefc;
  font-size: 14px;
  line-height: 1.45;
}

.intro,
.services,
.company,
.works,
.positioning {
  padding: 82px 0;
}

.intro {
  background: var(--white);
}

.intro-grid,
.positioning-grid {
  display: grid;
  grid-template-columns: .78fr 1fr;
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.intro p:last-child {
  margin: 34px 0 0;
  color: #50505a;
  font-size: 18px;
  line-height: 1.75;
}

.services {
  background: var(--field);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 680px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 315px;
  padding: 30px;
  background: #fff;
  border: 1px solid #dce4e2;
  border-radius: 6px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 31, 166, .35);
  box-shadow: 0 22px 48px rgba(31, 38, 44, .11);
}

.service-card.featured {
  color: #fff;
  background: linear-gradient(145deg, var(--violet-dark), var(--violet));
  border-color: transparent;
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 42px;
  color: var(--violet);
  background: #f4effb;
  border-radius: 50%;
  font-weight: 900;
}

.service-card.featured span {
  color: #1e1630;
  background: var(--energy);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.16;
}

.service-card p {
  margin: 0;
  color: #575865;
  line-height: 1.68;
}

.service-card.featured p {
  color: #f1e9fb;
}

.company {
  background: #fff;
}

.company-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 64px;
  align-items: center;
}

.company-image {
  overflow: hidden;
  aspect-ratio: 5 / 3;
  border-radius: 6px;
  box-shadow: 0 24px 54px rgba(18, 15, 24, .12);
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.company-copy p:not(.section-kicker) {
  color: #52515b;
  font-size: 17px;
  line-height: 1.75;
}

.timeline {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline strong {
  color: var(--violet);
  font-size: 18px;
}

.timeline span {
  color: #4e4d56;
  line-height: 1.55;
}

.works {
  background: #17151d;
  color: #fff;
}

.works .section-kicker { color: var(--energy); }

.works-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.works-image {
  overflow: hidden;
  width: min(100%, 780px);
  aspect-ratio: 1717 / 916;
  min-height: 0;
  touch-action: pan-y;
  background: #22202a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
}

.works-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
}

.works-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.work-list,
.sector-lists article {
  background: #22202a;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
}

.work-list {
  padding: 26px;
}

.work-list h3,
.sector-lists h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 21px;
}

.work-list ul,
.sector-lists ul {
  margin: 0;
  padding-left: 19px;
  color: #d9d5df;
  line-height: 1.62;
}

.work-list li,
.sector-lists li {
  margin-bottom: 9px;
}

.work-list li::marker,
.sector-lists li::marker {
  color: var(--energy);
}

.sector-lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sector-lists article {
  padding: 24px;
}

.positioning {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 48%, rgba(247,244,251,.94) 100%),
    repeating-linear-gradient(0deg, rgba(91,31,166,.08) 0 1px, transparent 1px 82px);
}

.pillars {
  display: grid;
  gap: 14px;
}

.pillars article {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  min-height: 78px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--energy);
  border-radius: 5px;
}

.pillars strong {
  color: var(--violet);
  font-size: 22px;
}

.pillars span {
  color: #45434d;
  line-height: 1.5;
}

.cta {
  color: #fff;
  background: linear-gradient(120deg, var(--violet-dark), var(--violet));
}

.cta-inner {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta .section-kicker {
  color: #f0c96a;
}

.cta p:not(.section-kicker) {
  max-width: 740px;
  color: #f0e9fb;
  line-height: 1.65;
}

.site-footer {
  padding: 54px 0 26px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr .9fr;
  gap: 48px;
}

.footer-logo {
  width: 240px;
  margin-bottom: 18px;
}

.site-footer h3 {
  margin: 0 0 15px;
  color: var(--violet);
  font-size: 15px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 9px;
  color: #585764;
  font-size: 14px;
  line-height: 1.55;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #6c6874;
  font-size: 12px;
}

@media (max-width: 1040px) {
  .nav-btn { display: none; }
  .menu { gap: 20px; }
  .hero-grid,
  .intro-grid,
  .company-grid,
  .positioning-grid,
  .works-layout {
    grid-template-columns: 1fr;
  }
  .hero-grid { min-height: auto; }
  .service-grid,
  .sector-lists {
    grid-template-columns: repeat(2, 1fr);
  }
  .works-image img { min-height: 320px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  body { padding-top: 78px; }
  .container { width: min(100% - 28px, 1180px); }
  .nav { min-height: 78px; }
  .brand img { width: 235px; }
  .menu { display: none; }
  .hero-grid { padding: 44px 0 54px; gap: 34px; }
  .hero h1 { font-size: 36px; }
  .lead { font-size: 16px; }
  .hero-visual,
  .hero-visual img {
    min-height: 390px;
  }
  .intro,
  .services,
  .company,
  .works,
  .positioning {
    padding: 58px 0;
  }
  .service-grid,
  .works-lists,
  .sector-lists,
  .footer-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .service-card { min-height: auto; }
  .service-card span { margin-bottom: 30px; }
  .timeline article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .hero h1 { font-size: 32px; }
  .hero-actions .btn,
  .cta .btn {
    width: 100%;
  }
  .pillars article {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
