
/* Layout: oversized Montserrat ExtraBold statements on a near-white page, indigo bands for proof and process, one purple-to-blue ticker as the spark. Single brand look by choice. */
:root {
  --indigo: #2A0F5E;
  --purple: #7A3CC8;
  --blue: #0F79E5;
  --lavender: #E9E3F8;
  --paper: #FBFAFE;
  --ink: #2A0F5E;
  --ink-soft: #54437A;
  --line: rgba(42,15,94,.16);
  --on-dark: #FFFFFF;
  --on-dark-soft: #CFC6E8;
  /* Lighter tints of the brand purple and blue, for accents that sit on indigo */
  --lilac: #C4A8FF;
  --sky: #4DA3FF;
  --grad: linear-gradient(100deg, var(--purple), var(--blue));
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
/* Page reset */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
[hidden] { display: none !important; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.lite { font-weight: 300; letter-spacing: -0.03em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.label { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.dark .label { color: var(--on-dark-soft); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 16px; text-decoration: none; padding: 15px 24px; border-radius: 999px; border: 2px solid var(--indigo); transition: transform .18s ease, background .18s ease, color .18s ease; }
.btn-primary { background: var(--indigo); color: var(--paper); }
.btn-primary:hover { background: var(--purple); border-color: var(--purple); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--indigo); }
.btn-ghost:hover { background: var(--indigo); color: var(--paper); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arr { transition: none; } }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(251,250,254,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-word { display: flex; align-items: baseline; gap: .16em; font-family: var(--display); font-size: 30px; line-height: 1; color: var(--indigo); }
.logo-word b { font-weight: 800; letter-spacing: -0.02em; }
.logo-word span { font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 15px; margin-left: auto; }
.nav-links > a:not(.btn) { text-decoration: none; }
.nav-links > a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--purple); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav .btn { padding: 10px 18px; font-size: 15px; white-space: nowrap; }
/* EN / ES toggle */
.lang { display: flex; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; }
.lang a { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1; text-decoration: none; color: var(--ink-soft); }
.lang a:hover { color: var(--indigo); }
.lang a[aria-current="true"] { background: var(--indigo); color: var(--paper); }
/* The language toggle is the last thing in the nav. Once the page is wider than the content column it moves out to the edge of the window. */
@media (min-width: 1420px) { .lang { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); } }
@media (max-width: 860px) { .nav-links { gap: 12px; } .nav .wrap { gap: 12px; } }
@media (max-width: 1000px) { .nav-links > a:not(.btn) { display: none; } }
@media (max-width: 860px) { .logo-mark { width: 34px; height: 34px; } .logo-word { font-size: 25px; } }
@media (max-width: 420px) { .nav .btn { padding: 9px 12px; font-size: 12px; } .lang a[aria-current="true"] { display: none; } .logo-word { font-size: 22px; } .nav-logo { gap: 9px; } .nav-links, .nav .wrap { gap: 8px; } }
/* Narrowest phones: the nav button shows its short label (data-short) so the logo, toggle and button fit on one line */
@media (max-width: 380px) { .nav .btn { font-size: 0; } .nav .btn::after { content: attr(data-short); font-size: 12px; } }

/* Hero */
.hero { position: relative; padding-block: clamp(48px, 8vw, 104px) clamp(80px, 11vw, 140px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { min-width: 0; max-width: min(640px, 52vw); display: grid; gap: 28px; }
/* Sized so "Protect your IP" (about 7.75em wide) always fits on one line of .hero-copy */
.hero h1 { font-size: clamp(34px, 6.5vw, 80px); }
.hero h1 .lite { display: block; font-size: .8em; line-height: 1.1; margin-top: .1em; }
.hero h1 .spark { white-space: nowrap; color: var(--indigo); background: linear-gradient(transparent 64%, #D6C8F5 64%, #D6C8F5 92%, transparent 92%); }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 25em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* Hero art: the logo emblem filling the hero's full height on the right, from the nav down to the ticker.
   The box is capped by viewport width so it never reaches the headline; the SVG crops its right side to fit. */
.art { position: absolute; inset: 0; pointer-events: none; }
.art-box { position: absolute; top: 0; bottom: 0; right: 0; width: min(42vw, 720px); }
.art-emblem { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) {
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 80px); }
  .art { display: none; }
}

/* Ticker */
.ticker { background: var(--grad); color: #fff; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker-row { display: flex; align-items: center; gap: 36px; padding: 18px 18px; font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2.1vw, 25px); white-space: nowrap; }
.ticker-row .sym { font-weight: 300; opacity: .75; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Section scaffolding */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--ink-soft); font-size: 18px; max-width: 32em; }
.section-head .label { grid-column: 1 / -1; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--indigo); }
.svc { padding: 32px 28px 36px 0; display: grid; grid-template-rows: auto auto 1fr; gap: 14px; border-bottom: 1px solid var(--line); min-width: 0; }
.svc:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
.svc-sym { font-family: var(--display); font-weight: 300; font-size: 40px; line-height: 1; color: var(--purple); }
.svc h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.svc p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .svc:nth-child(2n) { padding-left: 0; border-left: 0; }
  .svc { padding-right: 0; }
}

/* Clients */
.client { padding-block: clamp(56px, 7vw, 96px); }
.client-alt { background: var(--lavender); }
.client-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 80px); align-items: start; }
.client-head { display: grid; gap: 18px; min-width: 0; }
.client-head h2 { font-size: clamp(32px, 4.4vw, 56px); }
.client-body { display: grid; gap: 22px; min-width: 0; padding-top: clamp(0px, 2.2vw, 30px); }
.client-body > p { color: var(--ink-soft); font-size: 18px; max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-weight: 700; }
.ticks li::before { content: ""; width: 12px; height: 4px; border-radius: 4px; background: var(--purple); margin-top: .7em; }
@media (max-width: 800px) { .client-grid { grid-template-columns: 1fr; } .client-body { padding-top: 0; } }

/* Dark sections */
.dark { background: var(--indigo); color: var(--on-dark); }
.dark .section-head p { color: var(--on-dark-soft); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.principle { padding: 0 28px 0 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.principle::before { content: ""; width: 44px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--lilac), var(--sky)); margin-bottom: 8px; }
.principle + .principle { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.principle h3 { font-size: clamp(26px, 2.8vw, 36px); }
.principle p { color: var(--on-dark-soft); font-size: 17px; }
@media (max-width: 800px) {
  .principles { grid-template-columns: 1fr; row-gap: 36px; }
  .principle, .principle + .principle { padding: 0; border-left: 0; }
}

/* About */
.about { background: var(--lavender); }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photo { position: relative; max-width: 460px; width: 100%; display: grid; gap: 14px; }
.about-copy { display: grid; gap: 24px; min-width: 0; }
.about-copy h2 { font-size: clamp(38px, 5vw, 66px); }
.about-copy h2 .lite { display: block; font-size: .62em; margin-top: .2em; color: var(--ink-soft); }
.about-copy > p { font-size: 18px; max-width: 36em; }
.creds { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; border-top: 2px solid var(--indigo); }
.creds li { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.creds .yr { font-family: var(--body); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); padding-top: 3px; font-variant-numeric: tabular-nums; }
.creds strong { font-weight: 800; display: block; line-height: 1.3; }
.creds span { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 420px; } }
@media (max-width: 480px) { .creds li { grid-template-columns: 1fr; gap: 4px; } }
.honors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--indigo); border-bottom: 1px solid var(--line); margin: clamp(40px, 5vw, 64px) 0 0; padding-bottom: 20px; }
.honors + .creds { margin-top: 0; border-top: 0; }
.honors > div { padding: 20px 20px 0 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.honors > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.honors b { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); line-height: 1; letter-spacing: -0.01em; }
.honors span { color: var(--ink-soft); font-size: 15px; max-width: 18em; }
@media (max-width: 640px) {
  .honors { grid-template-columns: 1fr; }
  .honors > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; }
}

/* Contact */
.contact { padding-block: clamp(80px, 11vw, 140px); position: relative; overflow: hidden; }
.contact .wrap { display: grid; gap: 36px; position: relative; }
.contact h2 { font-size: clamp(48px, 8vw, 112px); max-width: 11em; }
.contact h2 .lite { color: var(--lilac); }
.contact-sub { font-size: 20px; color: var(--on-dark-soft); max-width: 34em; }
.contact-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.contact .btn-primary { background: var(--paper); border-color: var(--paper); color: var(--indigo); }
.contact .btn-primary:hover { background: var(--lilac); border-color: var(--lilac); }
.contact .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,.5); }
.contact .btn-ghost:hover { background: var(--paper); color: var(--indigo); border-color: var(--paper); }
.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 28px; margin-top: 12px; }
.contact-details div { display: grid; gap: 6px; min-width: 0; }
.contact-details .val { font-weight: 700; font-size: 18px; overflow-wrap: anywhere; user-select: all; }
/* The brand's overlapping curves, in the corner of the contact band */
.contact::before, .contact::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.contact::before { width: clamp(260px, 38vw, 560px); aspect-ratio: 1; right: -12%; top: -34%; background: var(--purple); opacity: .55; }
.contact::after { width: clamp(300px, 44vw, 640px); aspect-ratio: 1; right: -18%; bottom: -52%; background: linear-gradient(140deg, var(--blue), #0B3E98); opacity: .8; }
.copy-btn { font: inherit; font-family: var(--body); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; background: transparent; color: var(--lilac); border: 0; padding: 0; cursor: pointer; justify-self: start; }
.copy-btn:hover { text-decoration: underline; }
@media (max-width: 760px) { .contact-details { grid-template-columns: 1fr; } .contact::before { opacity: .3; } .contact::after { opacity: .4; } }

/* Footer */
.foot { background: var(--indigo); color: var(--on-dark-soft); border-top: 1px solid rgba(255,255,255,.12); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-block: 28px; font-size: 14px; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); }
.foot-brand svg { width: 28px; height: 28px; }
.foot-brand b { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.foot-brand .lite { font-size: 20px; margin-left: -6px; }
.foot-note { max-width: 40em; }
