:root {
  --violet: #5b36c4;
  --violet-deep: #391e85;
  --ink: #211938;
  --ink-2: #2e1e5c;
  --lavender: #937cd4;
  --cream: #f1eee7;
  --cream-2: #f8f6f4;
  --steel: #4f626d;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Manrope", system-ui, sans-serif; color: var(--ink); background: var(--cream-2); }
.font-display { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
.t-hero { font-size: clamp(2.9rem, 9vw, 6.8rem); line-height: .9; letter-spacing: -0.015em; }
.t-h1 { font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: .95; letter-spacing: -0.01em; }
.t-h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: .98; letter-spacing: -0.01em; }
.t-h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.05; }
.t-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; }
.prose-pla p { line-height: 1.8; margin-bottom: 1.1rem; }
.prose-pla p:last-child { margin-bottom: 0; }

/* nod to the diamond plate of the old site, kept subtle */
.plate {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px);
}
.grid-lines {
  background-image: linear-gradient(rgba(91,54,196,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,54,196,.08) 1px, transparent 1px);
  background-size: 48px 48px;
}
.clip-hero { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
@media (min-width: 1024px) { .clip-hero { clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); } }
.clip-slant { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }

/* header */
.site-header { transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background-color: rgba(248,246,244,.9); box-shadow: 0 8px 30px -18px rgba(33,25,56,.45); }
.dropdown-panel { opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; }
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: none; }

/* buttons + cards */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; border-radius: 999px; padding: .95rem 1.6rem; min-height: 48px; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 14px 30px -14px rgba(91,54,196,.9); }
.btn-primary:hover { background: var(--violet-deep); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.card-lift { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(33,25,56,.55); }
.zoom-img { overflow: hidden; }
.zoom-img img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.zoom-img:hover img, .card-lift:hover .zoom-img img { transform: scale(1.06); }

/* forms */
.field { width: 100%; border-radius: .9rem; border: 1.5px solid #d9d3e6; background: #fff; padding: .85rem 1rem; min-height: 50px; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91,54,196,.15); }
.label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.grecaptcha-badge { visibility: hidden; }
button[disabled] { opacity: .6; cursor: progress; transform: none !important; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

/* carousel */
.carousel-track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.carousel-track > * { flex: 0 0 100%; }
@media (min-width: 768px) { .carousel-track > * { flex-basis: 50%; } }
@media (min-width: 1280px) { .carousel-track > * { flex-basis: 33.3333%; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(20,14,36,.94); display: none; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
