:root {
  --cobalt: #2035e8;
  --cobalt-deep: #1626b8;
  --ink: #0a1033;
  --paper: #f2f4ff;
  --pink: #ffb8df;
  --line: #c9cef0;
  --muted: #4a5280;
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 28px; }

/* Header */
.top { background: var(--cobalt); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em;
  text-decoration: none; color: inherit;
}
.brand svg { width: 30px; height: 30px; }
.brand path { fill: none; stroke: var(--pink); stroke-width: 3.6; stroke-linecap: round; }
.nav nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.nav nav a { text-decoration: none; opacity: 0.85; }
.nav nav a:hover { opacity: 1; }
.nav .nav-cta {
  opacity: 1; background: #fff; color: var(--cobalt);
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
}

/* Hero */
.hero { background: var(--cobalt); color: #fff; padding-block: 64px 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(48px, 7.4vw, 100px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 11ch;
}
.lead { margin-top: 28px; max-width: 54ch; font-size: 20px; color: #dfe3ff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--pink); color: var(--ink); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* The flow line: the page's one signature moment */
.flow { position: relative; margin: 0; height: 520px; }
.flow svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow-line {
  fill: none; stroke: var(--pink); stroke-width: 6; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2600; stroke-dashoffset: 2600;
  animation: draw 2.2s cubic-bezier(.6,.05,.25,1) .2s forwards;
}
.flow-stops { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.flow-stops li {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  background: #fff; color: var(--cobalt);
  font-family: var(--display); font-weight: 700; font-size: 17px;
  padding: 8px 18px; border-radius: 999px;
  opacity: 0; animation: pop .4s ease forwards;
}
.flow-stops li:nth-child(1) { animation-delay: .8s; }
.flow-stops li:nth-child(2) { animation-delay: 1.2s; }
.flow-stops li:nth-child(3) { animation-delay: 1.6s; }
.flow-stops li:nth-child(4) { animation-delay: 2s; background: var(--pink); color: var(--ink); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -30%); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* Section headings */
.services h2, .process h2, .segments h2, .formats h2, .faq h2 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1;
}
.services h2, .process h2, .faq h2 { margin-bottom: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head p { max-width: 40ch; color: var(--muted); font-size: 18px; }
img { display: block; max-width: 100%; height: auto; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-block: 112px 24px; }
.about-photo { margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 3.4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 800; line-height: 1.05; margin-bottom: 24px; }
.about-copy p { color: var(--muted); max-width: 52ch; }
.about-copy p + p { margin-top: 14px; }

/* Services */
.services { padding-block: 96px; }
.svc-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.svc { border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-body { padding: 28px 30px 32px; }
.svc h3 { font-size: 26px; font-weight: 700; line-height: 1.1; margin-bottom: 12px; }
.svc p { color: var(--muted); }
.svc-team {
  grid-column: 1 / -1; background: var(--pink); box-shadow: none; padding: 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: start;
}
.svc-team h3 { font-size: clamp(32px, 3.6vw, 48px); max-width: 13ch; grid-row: span 2; margin: 0; }
.svc-team p { color: var(--ink); }
.roles { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 999px; }

/* Segments */
.segments { background: #fff; padding-block: 104px; border-block: 1px solid var(--line); }
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seg { margin: 0; }
.seg img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.seg figcaption { padding: 20px 4px 0; }
.seg h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.seg p { color: var(--muted); }
.seg-more { margin-top: 36px; font-size: 18px; color: var(--ink); }

/* Formats */
.formats { padding-block: 104px; }
.fmt-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; align-items: stretch; }
.fmt { border-radius: 28px; padding: 36px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.fmt h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.fmt > p { color: var(--muted); }
.fmt ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.fmt li { padding-left: 28px; position: relative; }
.fmt li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 16px; height: 8px; border-radius: 8px;
  background: var(--cobalt);
}
.fmt-main { background: var(--cobalt); color: #fff; box-shadow: none; }
.fmt-main > p { color: #dfe3ff; }
.fmt-main li::before { background: var(--pink); }
.fmt-main .btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--cobalt); }
.fmt-main ul { margin-bottom: 32px; }

/* FAQ */
.faq { padding-block: 104px; max-width: 920px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--display); font-weight: 700; font-size: 21px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 500;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--pink); box-shadow: none; }
.faq details p { color: var(--muted); padding: 0 56px 24px 0; max-width: 64ch; }

/* Process: a real sequence, so it is numbered */
.process { background: var(--ink); color: #fff; padding-block: 104px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 20px;
  background: var(--cobalt); color: #fff;
}
.steps li::after {
  content: ""; position: absolute; top: 23px; left: 60px; right: -20px;
  border-top: 2px dashed rgba(255,255,255,.25);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: #b8bfe6; }

/* Contact */
.contact { background: var(--cobalt); color: #fff; padding-block: 96px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.contact-photo { margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 1; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; line-height: 0.98; letter-spacing: -0.04em; max-width: 11ch; }
.contact-copy > p { margin-top: 20px; color: #dfe3ff; max-width: 42ch; font-size: 19px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact .contact-addr { margin-top: 32px; font-size: 15px; color: #b9c1ff; }

/* Footer: legal data Meta checks during business verification */
.foot { background: var(--cobalt-deep); color: #dfe3ff; padding-block: 64px 32px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1.2fr; gap: 40px; }
.brand-foot { color: #fff; margin-bottom: 10px; }
.foot dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.foot dt { color: #fff; font-weight: 600; }
.foot dd { margin: 0; }
.foot a { color: #fff; }
.foot .copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); color: #aab3f0; font-size: 14px; }

/* Legal pages */
.doc { padding-block: 64px 96px; max-width: 820px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; margin-bottom: 12px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc a { color: var(--cobalt); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .flow { height: 300px; }
  .about, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid, .seg-grid, .fmt-grid { grid-template-columns: 1fr; }
  .svc-team { grid-template-columns: 1fr; }
  .svc-team h3 { grid-row: auto; }
  .seg img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 20px; }
  .nav nav a:not(.nav-cta) { display: none; }
  .hero { padding-block: 48px 56px; }
  .lead { font-size: 18px; }
  .flow { height: 240px; }
  .flow-stops li { font-size: 14px; padding: 6px 12px; }
  .svc-team, .fmt { padding: 28px; }
  .steps { grid-template-columns: 1fr; }
  .about { padding-top: 72px; }
  .services, .process, .contact, .segments, .formats, .faq { padding-block: 72px; }
  .faq summary { font-size: 18px; }
  .faq details p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-line { animation: none; stroke-dashoffset: 0; }
  .flow-stops li { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
