:root {
  --bg: #09090a;
  --panel: #0f0f11;
  --panel2: #141416;
  --text: #f5f1ec;
  --soft: #c9c3bd;
  --muted: #8f898d;
  --wine: #5A1028;
  --wine2: #761a37;
  --wine-soft: rgba(90, 16, 40, .18);
  --wine-glow: rgba(90, 16, 40, .34);
  --line: rgba(245, 241, 236, .105);
  --line-strong: rgba(245, 241, 236, .18);
  --shell: min(90vw, 1320px);
  --display: 'Inter Tight', 'Inter', Arial, sans-serif;
  --body: 'Inter', Arial, sans-serif;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--wine); color: #fff; }
.shell { width: var(--shell); margin-inline: auto; }
.anchor { scroll-margin-top: 112px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(9, 9, 10, .66);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  border-bottom: 1px solid rgba(255,255,255,.075);
}
.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  position: relative;
  font-size: 13px;
  color: var(--soft);
  transition: color .35s var(--ease);
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  padding: 12px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.nav-cta:hover { background: var(--wine); border-color: var(--wine); transform: translateY(-2px); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 50%;
  cursor: pointer;
}
.mobile-nav { display: none; }

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 180px 0 118px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: min(58vw, 850px);
  height: min(58vw, 850px);
  border-radius: 50%;
  right: -18vw;
  top: -17vw;
  background: radial-gradient(circle, rgba(90,16,40,.38), rgba(90,16,40,.11) 44%, transparent 70%);
  filter: blur(14px);
  animation: heroGlow 9s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 55%, rgba(90,16,40,.045) 70%, transparent 88%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  gap: clamp(60px, 7vw, 110px);
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--soft);
  font-weight: 650;
  animation: heroEnter .9s .08s var(--ease-out) both;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 26px rgba(90,16,40,.9);
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -.052em; }
.hero h1 {
  font-size: clamp(60px, 7.7vw, 116px);
  line-height: .92;
  margin-top: 32px;
  max-width: 900px;
  text-wrap: balance;
  animation: heroEnter 1.05s .16s var(--ease-out) both;
}
.hero h1 em { font-style: normal; color: var(--soft); }
.hero-copy > p {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.72;
  color: var(--soft);
  max-width: 660px;
  margin-top: 34px;
  animation: heroEnter 1s .28s var(--ease-out) both;
}
.hero-actions {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 44px;
  animation: heroEnter 1s .38s var(--ease-out) both;
}
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 25px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 720;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .35s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -2px;
  background: linear-gradient(110deg, transparent 28%, rgba(255,255,255,.24) 48%, transparent 67%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn span { transition: transform .4s var(--ease-out); }
.btn:hover span { transform: translate(3px, -3px); }
.btn-primary {
  background: var(--wine);
  color: white;
  box-shadow: 0 14px 46px rgba(90,16,40,.22);
}
.btn-primary:hover {
  background: #68132f;
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(90,16,40,.34);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.text-link span { color: var(--wine2); margin-left: 8px; transition: transform .35s var(--ease-out); }
.text-link:hover span { transform: translateX(6px); }

.hero-visual {
  height: 540px;
  position: relative;
  display: grid;
  place-items: center;
  animation: heroVisualEnter 1.25s .24s var(--ease-out) both;
}
.orb {
  position: absolute;
  border: 1px solid rgba(90,16,40,.42);
  border-radius: 50%;
}
.orb.a { width: 72%; height: 72%; animation: orbit 24s linear infinite; }
.orb.b { width: 96%; height: 96%; border-style: dashed; opacity: .75; animation: orbitReverse 36s linear infinite; }
.core {
  width: 192px;
  height: 192px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7a1c3d, var(--wine) 49%, #270611 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 105px rgba(90,16,40,.36), inset 0 1px 0 rgba(255,255,255,.08);
  z-index: 2;
  animation: floatCore 6s ease-in-out infinite;
}
.core small { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.65); }
.core strong { font-family: var(--display); font-size: 30px; margin: 6px 0; letter-spacing: -.04em; }
.node {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(15,15,17,.86);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  font-size: 11px;
  color: var(--soft);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  animation: nodeFloat 7s ease-in-out infinite;
}
.n1 { top: 13%; left: 7%; }
.n2 { top: 20%; right: 0; animation-delay: -1.7s; }
.n3 { bottom: 20%; left: 0; animation-delay: -3.2s; }
.n4 { bottom: 12%; right: 10%; animation-delay: -4.8s; }

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.trust-items {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.section { position: relative; padding: 180px 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,.025); }
.section-head {
  display: grid;
  grid-template-columns: .32fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
  margin-bottom: 92px;
}
.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}
.section-head h2,
.about-grid h2,
.growth-copy h2 {
  font-size: clamp(44px, 5.45vw, 76px);
  line-height: .97;
  text-wrap: balance;
}
.section-head p,
.growth-copy p {
  margin-top: 30px;
  max-width: 700px;
  color: var(--soft);
  line-height: 1.78;
  font-size: 17px;
}

.problem-grid, .service-grid, .value-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.027), rgba(255,255,255,.004));
  border-radius: 24px;
  padding: 38px;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  transition: transform .55s var(--ease-out), border-color .55s var(--ease-out), background .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.card::after {
  content: '';
  position: absolute;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  right: -110px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(90,16,40,.2), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease), transform .7s var(--ease-out);
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(90,16,40,.025));
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
}
.card:hover::after { opacity: 1; transform: scale(1.15); }
.card .num { position: relative; z-index: 1; font-size: 11px; color: #8d2748; letter-spacing: .15em; }
.card h3 { position: relative; z-index: 1; font-size: 30px; line-height: 1.02; margin-top: auto; }
.card p { position: relative; z-index: 1; color: var(--muted); line-height: 1.72; margin-top: 17px; }

.services, .work, .process {
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.service-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
.service-card { min-height: 355px; }
.service-card h3 { font-size: 38px; }
.service-card ul { position: relative; z-index: 1; list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.service-card li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.service-card li::before { content: '↗'; color: #8d2748; margin-right: 11px; }

.growth {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: clamp(80px, 9vw, 140px);
  align-items: start;
}
.growth-copy { position: sticky; top: 142px; }
.growth-copy h2 { margin-top: 26px; }
.growth-list { border-top: 1px solid var(--line); }
.growth-row {
  display: grid;
  grid-template-columns: 60px 170px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease-out), background .45s var(--ease);
}
.growth-row:hover { padding-inline: 14px; background: linear-gradient(90deg, rgba(90,16,40,.07), transparent 78%); }
.growth-row span { color: #8d2748; font-size: 11px; }
.growth-row strong { font-family: var(--display); font-size: 24px; letter-spacing: -.025em; }
.growth-row p { color: var(--muted); line-height: 1.68; }

.work-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; }
.work-card {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .6s var(--ease-out), border-color .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.work-card.wide { grid-row: span 2; min-height: 1066px; }
.work-card::before {
  content: '';
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  right: -24%;
  bottom: -34%;
  background: radial-gradient(circle, var(--wine), rgba(90,16,40,.18) 46%, transparent 70%);
  transition: transform 1s var(--ease-out), filter 1s var(--ease-out);
}
.work-card:hover { transform: translateY(-7px); border-color: var(--line-strong); box-shadow: 0 34px 90px rgba(0,0,0,.23); }
.work-card:hover::before { transform: translate(-5%, -5%) scale(1.08); filter: saturate(1.12); }
.work-card .tag { position: relative; z-index: 1; font-size: 10px; text-transform: uppercase; letter-spacing: .17em; color: var(--muted); }
.work-card h3 { position: relative; z-index: 1; font-size: clamp(46px,5.6vw,84px); line-height: .91; max-width: 9ch; }
.work-card p { position: relative; z-index: 1; color: var(--soft); max-width: 520px; line-height: 1.72; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px, 9vw, 130px); }
.about-copy p { font-size: 18px; line-height: 1.82; color: var(--soft); }
.about-copy p + p { margin-top: 28px; }
.value-grid { margin-top: 90px; gap: 22px; }
.value-grid .card { min-height: 275px; }

.process-list { border-top: 1px solid var(--line); }
.process-row {
  display: grid;
  grid-template-columns: 72px 235px 1fr;
  gap: 34px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .45s var(--ease-out), background .45s var(--ease);
}
.process-row:hover { padding-inline: 14px; background: linear-gradient(90deg, rgba(90,16,40,.065), transparent 75%); }
.process-row span { color: #8d2748; font-size: 11px; }
.process-row strong { font-family: var(--display); font-size: 29px; letter-spacing: -.03em; }
.process-row p { color: var(--muted); line-height: 1.72; }

.faq-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(70px, 9vw, 130px); }
.faq-grid h2 { font-size: clamp(44px,5vw,68px); margin-top: 22px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.025em;
}
summary::-webkit-details-marker { display: none; }
summary span { color: #8d2748; transition: transform .35s var(--ease-out); }
details[open] summary span { transform: rotate(45deg); }
details p { padding: 0 54px 30px 0; color: var(--muted); line-height: 1.78; }

.contact {
  position: relative;
  overflow: hidden;
  background: var(--wine);
  padding: 145px 0;
}
.contact::before {
  content: '';
  position: absolute;
  width: 650px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  right: -220px;
  top: -330px;
  box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012);
}
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(70px,9vw,130px); align-items: start; }
.contact h2 { font-size: clamp(48px,6vw,82px); line-height: .94; text-wrap: balance; }
.contact p { margin-top: 28px; color: rgba(255,255,255,.76); line-height: 1.75; max-width: 620px; }
.contact-card {
  background: rgba(9,9,10,.93);
  padding: 42px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
.contact-card a.email { font-family: var(--display); font-size: clamp(28px,3.4vw,46px); letter-spacing: -.045em; display: block; margin-top: 12px; }
.contact-card ul { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.contact-card li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--soft); font-size: 13px; }

.site-footer { background: #070708; padding: 90px 0 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 70px; align-items: flex-start; }
.footer-top p { color: var(--muted); max-width: 390px; margin-top: 22px; line-height: 1.72; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 7px; }
.footer-links a { position: relative; font-size: 13px; color: var(--soft); transition: color .3s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 78px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroVisualEnter {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroGlow {
  to { transform: translate(-4vw, 5vw) scale(1.08); }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitReverse { to { transform: rotate(-360deg); } }
@keyframes floatCore {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes nodeFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes sectionReveal {
  from { opacity: 0; transform: translateY(36px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(44px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lineReveal {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll-driven progressive enhancement. Content is never hidden unless the browser supports view timelines. */
@supports (animation-timeline: view()) {
  .section .label,
  .section-head > div:last-child,
  .growth-copy,
  .about-grid > *,
  .faq-grid > *,
  .contact-grid > * {
    animation: sectionReveal .95s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 5% cover 28%;
  }
  .card,
  .work-card {
    animation: cardReveal 1s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 2% cover 27%;
  }
  .card:nth-child(2n), .work-card:nth-child(2n) { animation-range: entry 7% cover 31%; }
  .card:nth-child(3n) { animation-range: entry 11% cover 34%; }
  .growth-row,
  .process-row,
  details {
    animation: lineReveal .8s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 6% cover 25%;
  }
  .trust-strip {
    animation: sectionReveal .8s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
  }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .mobile-nav {
    position: fixed;
    inset: 88px 0 auto;
    background: rgba(9,9,10,.975);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--line);
    padding: 30px 5vw 36px;
    flex-direction: column;
    gap: 20px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font-family: var(--display); font-size: 33px; letter-spacing: -.04em; }
  .hero-grid, .growth, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 430px; max-width: 650px; width: 100%; margin-inline: auto; }
  .section-head { grid-template-columns: 1fr; gap: 28px; }
  .problem-grid, .value-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .growth-copy { position: static; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.wide { grid-row: auto; min-height: 620px; }
  .process-row, .growth-row { grid-template-columns: 48px 1fr; }
  .process-row p, .growth-row p { grid-column: 2; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --shell: min(89vw, 1320px); }
  .nav { height: 74px; }
  .mobile-nav { inset: 74px 0 auto; }
  .hero { padding: 135px 0 88px; min-height: auto; }
  .hero h1 { font-size: clamp(50px, 14.5vw, 74px); margin-top: 25px; }
  .hero-copy > p { margin-top: 26px; line-height: 1.68; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 34px; }
  .hero-visual { height: 340px; margin-top: 35px; }
  .core { width: 142px; height: 142px; }
  .node { font-size: 9px; padding: 8px 10px; }
  .trust-strip { padding: 20px 0; }
  .trust-items { justify-content: flex-start; gap: 14px 24px; }
  .section { padding: 118px 0; }
  .section-head { margin-bottom: 62px; }
  .section-head h2, .about-grid h2, .growth-copy h2 { font-size: clamp(40px, 11.5vw, 57px); }
  .section-head p, .growth-copy p { font-size: 16px; line-height: 1.72; }
  .card { padding: 29px; min-height: 260px; }
  .service-card { min-height: 330px; }
  .service-card h3 { font-size: 32px; }
  .growth { gap: 60px; }
  .growth-row { padding: 30px 0; gap: 15px; }
  .work-card, .work-card.wide { min-height: 470px; padding: 30px; }
  .work-card h3 { font-size: 49px; }
  .about-grid { gap: 46px; }
  .about-copy p { font-size: 17px; }
  .value-grid { margin-top: 62px; }
  .process-row { grid-template-columns: 40px 1fr; gap: 15px; padding: 30px 0; }
  .process-row strong { font-size: 25px; }
  .faq-grid { gap: 48px; }
  summary { font-size: 20px; padding: 26px 0; }
  details p { padding-right: 0; }
  .contact { padding: 105px 0; }
  .contact-grid { gap: 55px; }
  .contact-card { padding: 29px; }
  .site-footer { padding-top: 74px; }
  .footer-bottom { flex-direction: column; margin-top: 60px; }
  .btn { width: 100%; }
  .hero-actions .text-link { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .001ms !important;
  }
}
