@font-face {
  font-family: "Space Grotesk";
  src: url("space-grotesk-variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: oklch(0.1149 0 0);
  --surface: oklch(0.1553 0.0042 285.9);
  --surface-strong: oklch(0.184 0.0081 285.58);
  --text: oklch(0.9764 0.0013 286.38);
  --body: oklch(0.7882 0.0112 286.14);
  --muted: oklch(0.62 0.0149 285.96);
  --purple: oklch(0.6569 0.1758 286.11);
  --purple-strong: oklch(0.56 0.19 286.11);
  --purple-soft: rgba(139, 124, 246, 0.12);
  --line: oklch(0.2776 0.0036 286.16);
  --line-purple: rgba(139, 124, 246, 0.32);
  --success: #96e2bd;
  --max: 1280px;
  --font: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 78% 8%, rgba(110, 93, 231, 0.16), transparent 32rem),
    radial-gradient(circle at 10% 44%, rgba(139, 124, 246, 0.08), transparent 28rem),
    var(--bg);
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(139, 124, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 246, 0.1) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, black, transparent 38%);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--max), calc(100% - clamp(40px, 8vw, 112px)));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 12%, rgba(139, 124, 246, 0.34), transparent 88%);
  content: "";
  opacity: 0;
  transition: opacity 0.25s ease;
}

.site-header.is-scrolled::after,
.site-header.is-open::after {
  opacity: 1;
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand span {
  color: var(--purple);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--text);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-action {
  flex: 0 0 auto;
  min-height: 42px;
  border-color: var(--line-purple);
  color: var(--text);
}

.nav-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-action:hover {
  background: var(--purple-soft);
  border-color: var(--purple);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-action {
  display: none;
}

.mobile-language {
  display: none;
}

.hero {
  position: relative;
  min-height: 740px;
  padding: 176px 0 108px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(139, 124, 246, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 246, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(60px, 8vw, 110px);
}

.hero-copy,
.section-heading > *,
.split > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 18px var(--purple);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.2vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy > p {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--body);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

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

.button-primary {
  background: var(--purple);
  color: #09080e;
}

.button-primary:hover {
  background: #a094ff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--line-purple);
  background: var(--purple-soft);
}

.cta-note {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.hero-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line-purple);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(139, 124, 246, 0.11), rgba(12, 12, 14, 0.86) 42%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.hero-panel::before {
  position: absolute;
  top: -1px;
  right: 16%;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  content: "";
}

.panel-label {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-flow {
  display: grid;
  gap: 10px;
}

.panel-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.26);
}

.panel-step span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 700;
}

.panel-step strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.panel-step small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 142px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 9px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: -0.04em;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.section {
  padding: 118px 0;
}

.section-tight {
  padding: 88px 0;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
}

.section-heading h2,
.split-copy h2,
.cta-box h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.section-heading p,
.split-copy > p,
.cta-box > p {
  margin-bottom: 0;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.75;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.situation-card,
.delivery-card,
.case-card,
.capability-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.situation-card:hover,
.delivery-card:hover,
.case-card:hover,
.capability-card:hover {
  border-color: var(--line-purple);
  background: var(--surface-strong);
  transform: translateY(-3px);
}

.situation-card {
  grid-column: span 2;
  min-height: 225px;
  padding: 28px;
}

.situation-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.situation-card .number,
.case-index,
.step-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.situation-card h3,
.delivery-card h3,
.case-card h3,
.capability-card h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.situation-card p,
.delivery-card p,
.case-card p,
.capability-card p,
.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.68;
}

.delivery-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.delivery-card,
.capability-card {
  padding: 34px;
}

.delivery-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.delivery-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 700;
}

.delivery-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.delivery-card > p {
  min-height: 100px;
  margin-bottom: 24px;
}

.clean-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 18px;
  color: var(--body);
  font-size: 0.82rem;
  line-height: 1.5;
}

.clean-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple);
  content: "";
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.process-step {
  position: relative;
  min-height: 280px;
  padding: 38px 28px 36px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step::after {
  position: absolute;
  z-index: 1;
  top: 52px;
  right: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--purple);
  content: "";
}

.process-step:last-child::after {
  display: none;
}

.process-step h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.process-step small {
  display: block;
  margin-top: 22px;
  color: var(--body);
  font-size: 0.76rem;
  line-height: 1.6;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.case-card {
  min-height: 380px;
  padding: 34px;
}

.case-card.featured {
  grid-column: span 2;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}

.case-type {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card h3 {
  font-size: clamp(1.28rem, 2.4vw, 1.75rem);
  letter-spacing: -0.03em;
}

.case-result {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.case-result strong {
  color: var(--success);
  font-size: 0.84rem;
  line-height: 1.55;
}

.case-result span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tag {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.portrait-frame {
  position: relative;
  max-width: 430px;
}

.portrait-frame::before {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 68%;
  height: 68%;
  border: 1px solid var(--line-purple);
  border-radius: 22px;
  content: "";
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.split-copy .eyebrow {
  margin-bottom: 20px;
}

.split-copy h2 {
  margin-bottom: 28px;
}

.split-copy > p + p {
  margin-top: 18px;
}

.signature-line {
  margin-top: 30px !important;
  padding-left: 18px;
  border-left: 2px solid var(--purple);
  color: var(--text) !important;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--purple);
}

.cta-section {
  padding: 70px 0 110px;
}

.cta-box {
  position: relative;
  padding: clamp(42px, 7vw, 82px);
  border: 1px solid var(--line-purple);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(139, 124, 246, 0.2), transparent 42%),
    var(--surface);
  overflow: hidden;
}

.cta-box h2 {
  max-width: 780px;
  margin-bottom: 24px;
}

.cta-box > p {
  max-width: 700px;
  margin-bottom: 32px;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-brand p {
  max-width: 470px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links a[aria-current="page"] {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
}

/* Legal pages */
.legal-hero {
  position: relative;
  padding: 164px 0 78px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.legal-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(139, 124, 246, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 124, 246, 0.11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.legal-hero-inner {
  max-width: 900px;
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.5vw, 6rem);
}

.legal-lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--body);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.legal-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.legal-content {
  padding: 82px 0 118px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 8vw, 104px);
}

.legal-toc {
  position: sticky;
  top: 112px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.legal-toc strong {
  display: block;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc nav {
  display: grid;
  gap: 3px;
}

.legal-toc a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-toc a:hover {
  color: var(--purple);
  transform: translateX(3px);
}

.legal-document {
  max-width: 780px;
}

.legal-intro {
  margin-bottom: 52px;
  padding: 28px;
  border: 1px solid var(--line-purple);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(139, 124, 246, 0.13), transparent 48%),
    var(--surface);
}

.legal-intro p {
  margin: 0;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-block {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 112px;
}

.legal-block:last-of-type {
  margin-bottom: 0;
}

.legal-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-bottom: 20px;
}

.legal-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-purple);
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 700;
}

.legal-block h2 {
  margin: 3px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.legal-block p,
.legal-block li {
  color: var(--body);
  font-size: 0.98rem;
  line-height: 1.78;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.legal-block li + li {
  margin-top: 10px;
}

.legal-block a,
.legal-intro a {
  color: var(--purple);
  text-underline-offset: 4px;
}

.legal-contact {
  padding: 28px;
  border: 1px solid var(--line-purple);
  border-radius: 20px;
  background: var(--surface);
}

.legal-contact .legal-heading {
  margin-bottom: 16px;
}

.legal-updated {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

/* About pages */
.profile-hero {
  padding-bottom: 80px;
}

.profile-hero .hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
}

.profile-hero h1 {
  font-size: clamp(2.9rem, 5.8vw, 5rem);
}

.profile-photo {
  max-width: 360px;
  margin-left: auto;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-purple);
  border-radius: 28px;
  object-fit: cover;
}

.profile-role {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.profile-role::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.73rem;
}

.language-switch a {
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.about-story {
  max-width: 840px;
  margin-inline: auto;
}

.about-story p {
  color: var(--body);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.82;
}

.about-story p + p {
  margin-top: 22px;
}

.about-story strong {
  color: var(--text);
}

.story-title {
  margin-bottom: 34px;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

.credential-list {
  padding-top: 0;
  border-top: 0;
}

.stack-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-wrap span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 90px 0;
  text-align: center;
}

.not-found .container {
  position: relative;
  max-width: 820px;
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid var(--line-purple);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 10%, rgba(139, 124, 246, 0.18), transparent 42%),
    rgba(12, 12, 14, 0.86);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.42);
}

.not-found h1 {
  margin-inline: auto;
}

.not-found p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--body);
  line-height: 1.7;
}

.not-found [hidden] {
  display: none;
}

.confirmation-details {
  color: var(--text) !important;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .nav-menu {
    gap: 18px;
  }

  .nav-menu a {
    font-size: 0.75rem;
  }

  .hero-grid,
  .profile-hero .hero-grid {
    grid-template-columns: 1fr 340px;
    gap: 50px;
  }

  .situation-card {
    grid-column: span 3;
  }

  .situation-card:nth-child(4) {
    grid-column: span 3;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 40px, var(--max));
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-action,
  .nav > .language-switch {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.97);
  }

  .site-header.is-open .nav-menu {
    display: grid;
  }

  .nav-menu a {
    display: block;
    padding: 13px 8px;
    font-size: 0.88rem;
  }

  .mobile-action {
    display: block;
    margin-top: 8px;
    padding: 0 !important;
  }

  .mobile-action .button {
    padding-inline: 18px;
    text-align: center;
  }

  .mobile-language {
    display: flex;
    gap: 8px;
    padding: 12px 8px 4px;
    color: var(--muted);
    font-size: 0.78rem;
  }

  .hero,
  .profile-hero {
    min-height: 0;
    padding: 132px 0 82px;
  }

  .hero-grid,
  .profile-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

  .profile-photo {
    max-width: 330px;
    margin: 0;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .proof-item:nth-child(3) {
    padding-left: 0;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading,
  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .delivery-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .delivery-card > p {
    min-height: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .process-step:nth-child(2)::after {
    display: none;
  }

  .case-card.featured {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .profile-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .actions {
    display: grid;
  }

  .actions .button {
    width: 100%;
  }

  .hero-panel {
    padding: 20px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:nth-child(3) {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

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

  .situation-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .situation-card,
  .situation-card:nth-child(4),
  .case-card.featured {
    grid-column: auto;
  }

  .situation-card,
  .case-card {
    min-height: 0;
    padding: 26px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .process-step::after {
    display: none;
  }

  .delivery-card,
  .capability-card {
    padding: 26px;
  }

  .portrait-frame {
    width: calc(100% - 18px);
  }

  .cta-section {
    padding-bottom: 80px;
  }

  .cta-box {
    border-radius: 22px;
  }

  .footer-bottom {
    display: grid;
  }

  .legal-hero {
    padding: 130px 0 60px;
  }

  .legal-hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.4rem);
  }

  .legal-content {
    padding: 62px 0 82px;
  }

  .legal-toc {
    padding: 20px;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .legal-intro,
  .legal-contact {
    padding: 22px;
    border-radius: 18px;
  }

  .legal-heading {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 13px;
  }

  .legal-number {
    width: 36px;
    height: 36px;
  }
}

/* ── PROJETOS (vitrine de produtos clicáveis) ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.project-card:hover {
  border-color: var(--line-purple);
  background: var(--surface-strong);
  transform: translateY(-3px);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.project-badge {
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-open {
  color: var(--muted);
  font-size: 1.1rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.project-card:hover .project-open {
  color: var(--purple);
  transform: translate(2px, -2px);
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.project-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.68;
}

.project-host {
  margin-top: auto;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 980px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
