:root {
  --indigo-950: #120b2b;
  --indigo-900: #1e1442;
  --indigo-800: #291c57;
  --indigo-700: #3a2a70;
  --violet: #725394;
  --lavender: #b4a8c0;
  --lavender-200: #ddd6e8;
  --lavender-100: #ece8f3;
  --lavender-50: #f6f4f9;
  --gold: #c7ab7d;
  --gold-dark: #9c7f50;
  --ink: #1e1442;
  --text: #4a4560;
  --muted: #6f6a82;
  --line: #e4dfec;
  --line-dark: rgba(180, 168, 192, 0.22);
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(30, 20, 66, 0.04), 0 12px 32px rgba(30, 20, 66, 0.06);
  --radius: 4px;
  --max: 1200px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
section[id] { scroll-margin-top: 84px; }

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

.section { padding: 112px 0; }
.section-tint { background: var(--lavender-50); }
.section-dark {
  background: var(--indigo-900);
  color: rgba(255, 255, 255, 0.78);
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
}
h1, h2, .metric strong, .numbered .card::before, .service .num, .contact-name strong {
  font-variant-numeric: lining-nums;
}
h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 760px;
}
h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  max-width: 760px;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
h4 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
p {
  font-size: 16px;
  color: var(--muted);
}
strong { color: var(--ink); font-weight: 600; }
.lead {
  margin-top: 24px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(30, 20, 66, 0.07); }
.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 104px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--indigo-900);
  border-radius: var(--radius);
  color: var(--indigo-900);
  font-weight: 600;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--indigo-900); color: var(--white); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--indigo-900);
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--indigo-900); color: var(--white); }
.btn-primary:hover { background: var(--indigo-700); }
.btn-gold { background: var(--gold); color: var(--indigo-950); }
.btn-gold:hover { background: #d6be95; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(114, 83, 148, 0.45), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(58, 42, 112, 0.6), transparent 50%),
    var(--indigo-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 96px 0 104px;
}
.hero-mark {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 720px;
  opacity: 0.07;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}
.hero .eyebrow { color: var(--lavender); }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255, 255, 255, 0.74); }
.hero .lead strong { color: var(--white); }
.hero-contact {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hero-contact a { color: var(--gold); }
.hero-contact a:hover { color: #dcc69f; }
.hero .pill-list { margin-top: 30px; }
.hero .pill {
  border-color: rgba(180, 168, 192, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
}
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  opacity: 0.7;
}
.hero-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 410 / 560;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

/* Pills & tags */
.pill-list, .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.pill, .tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 2px;
  border: 1px solid var(--lavender-200);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--indigo-800);
}
.section-tint .tag { background: var(--white); }

/* Layout */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.split-center { align-items: center; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head p { max-width: 440px; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { border-color: var(--lavender-200); box-shadow: var(--shadow); }
.card-accent { border-top: 2px solid var(--gold); }

.prose p + p { margin-top: 18px; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--text); }

/* About metrics */
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.metric {
  padding: 32px 28px 0 0;
  position: relative;
}
.metric + .metric { padding-left: 28px; border-left: 1px solid var(--line); }
.metric::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.metric + .metric::before { left: 28px; }
.metric strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}
.metric p { font-size: 15px; }

/* Projects */
.project-list { border-top: 1px solid var(--ink); }
.project {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--lavender-200);
}
.project h3 { font-size: 17px; margin: 0; }
.project h3 span { color: var(--violet); font-weight: 500; }
.project p { font-size: 15.5px; color: var(--text); }

/* Feature cards with images */
.feature-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.feature-card .feature-body { padding: 28px 32px 32px; }
.feature-visual {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--lavender-100);
}
.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(30, 20, 66, 0.18));
}
.feature-card:hover .feature-visual img { transform: scale(1.03); }
.grid-3 .feature-visual { height: 220px; }

/* Portfolio */
.list-card h3 {
  padding-bottom: 18px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: var(--text);
}
.bullet-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15.5px;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}
.row-list { margin-top: 8px; }
.row-list li {
  padding: 12px 0 12px 22px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
.row-list li:last-child { border-bottom: 0; }
.row-list li::before { top: 1.2em; background: var(--violet); }

.wide-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--lavender-50);
  border-color: var(--lavender-100);
}
.wide-card .tag-list { margin-top: 0; }

/* Numbered cards */
.numbered { counter-reset: item; }
.numbered .card { position: relative; padding-top: 72px; }
.numbered .card::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  top: 28px;
  left: 32px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}

/* Supplier network */
.supplier {
  padding: 36px 32px 32px;
  border-left: 1px solid var(--line);
}
.supplier:first-child { border-left: 0; padding-left: 0; }
.supplier .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lavender-200);
  border-radius: 50%;
  color: var(--violet);
}
.supplier .icon svg { width: 20px; height: 20px; }
.grid-flush { gap: 0; border-top: 1px solid var(--line); }

/* Services (dark) */
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--lavender); }
.section-dark .grid-4 {
  gap: 0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.service {
  padding: 40px 32px;
  border-left: 1px solid var(--line-dark);
  transition: background 0.25s ease;
}
.service:first-child { border-left: 0; }
.service:hover { background: rgba(255, 255, 255, 0.03); }
.service .num {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 28px;
}
.service h4 { color: var(--white); font-size: 18px; }
.service p { color: rgba(255, 255, 255, 0.66); font-size: 15px; }

/* Why / Who */
.why-card { padding: 44px; }
.why-card h2 { font-size: clamp(28px, 2.8vw, 38px); }
.why-card .bullet-list { margin-top: 28px; }
.why-card .bullet-list li {
  padding: 14px 0 14px 34px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.why-card .bullet-list li:last-child { border-bottom: 0; }
.why-card .bullet-list li::before {
  content: "";
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  transform: none;
  border-radius: 50%;
  background: var(--lavender-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23725394' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.why-card.dark {
  background: var(--indigo-900);
  border-color: var(--indigo-900);
}
.why-card.dark h2 { color: var(--white); }
.why-card.dark .eyebrow { color: var(--lavender); }
.why-card.dark .bullet-list li { color: rgba(255, 255, 255, 0.88); border-color: var(--line-dark); }
.why-card.dark .bullet-list li::before {
  background-color: rgba(199, 171, 125, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23c7ab7d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Process */
.process { position: relative; }
.process .step {
  position: relative;
  padding: 40px 28px 0 0;
}
.process .step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--lavender-200);
}
.process .step::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--gold);
  background: var(--white);
  border-radius: 50%;
}

/* Contact */
.contact-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  padding: 72px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(114, 83, 148, 0.5), transparent 55%),
    var(--indigo-900);
  color: rgba(255, 255, 255, 0.78);
}
.contact-box .eyebrow { color: var(--lavender); }
.contact-box h2 { color: var(--white); }
.contact-box .lead { color: rgba(255, 255, 255, 0.72); }
.contact-box > * { position: relative; z-index: 1; }
.contact-box > .hero-mark {
  position: absolute;
  z-index: 0;
  right: -60px;
  top: auto;
  bottom: -200px;
  width: 520px;
  opacity: 0.06;
}
.contact-data {
  display: grid;
  gap: 0;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  font-size: 15px;
}
.contact-data div { padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.contact-data div:last-of-type { border-bottom: 0; }
.contact-data strong { color: var(--white); }
.contact-data .contact-name strong { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.contact-data a { color: var(--gold); }
.contact-data a:hover { color: #dcc69f; }
.contact-data .btn-row { margin-top: 20px; }
.contact-data .btn { width: 100%; }
.contact-data .btn-gold, .contact-data .btn-gold:hover { color: var(--indigo-950); }

/* Footer */
.footer {
  background: var(--indigo-950);
  color: rgba(255, 255, 255, 0.55);
  padding: 56px 0 48px;
  font-size: 13.5px;
  line-height: 1.7;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-logo {
  width: 96px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
}
.footer-legal { max-width: 860px; }

@media (max-width: 1120px) {
  .hero-grid, .split, .wide-card, .contact-box { grid-template-columns: 1fr; }
  .hero-grid { gap: 64px; }
  .hero-visual { justify-self: start; max-width: 380px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4, .metric-band { grid-template-columns: 1fr 1fr; }
  .metric { padding-bottom: 28px; }
  .metric:nth-child(3) { padding-left: 0; border-left: 0; }
  .metric:nth-child(3)::before { left: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .supplier, .supplier:first-child { padding: 32px 28px; }
  .supplier:first-child { border-left: 0; }
  .section-dark .grid-4 .service:nth-child(3) { border-left: 0; }
  .section-dark .grid-4 .service:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .process .step { padding-bottom: 32px; }
  .contact-box { padding: 56px; gap: 40px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(30, 20, 66, 0.08);
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin-top: 16px; text-align: center; border-bottom: 1px solid var(--indigo-900); }
  .grid-flush.grid-3 { grid-template-columns: 1fr; }
  .supplier, .supplier:first-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav { height: 72px; }
  .brand img { width: 88px; }
  section[id] { scroll-margin-top: 72px; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-visual { max-width: calc(100% - 22px); }
  .grid-2, .grid-3, .grid-4, .metric-band, .project { grid-template-columns: 1fr; }
  .project { gap: 8px; padding: 22px 0; }
  .metric, .metric + .metric { padding: 24px 0; border-left: 0; }
  .metric + .metric { border-top: 1px solid var(--line); }
  .metric + .metric::before { left: 0; }
  .section-dark .grid-4 .service { border-left: 0; }
  .section-dark .grid-4 .service + .service { border-top: 1px solid var(--line-dark); }
  .card, .why-card { padding: 26px; }
  .numbered .card { padding-top: 64px; }
  .numbered .card::before { left: 26px; top: 24px; }
  .feature-card .feature-body { padding: 24px 26px 28px; }
  .feature-visual, .grid-3 .feature-visual { height: 220px; }
  .contact-box { padding: 36px 24px; }
  .contact-data { padding: 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
