
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

:root{
  --burdigala:#781428;
  --ink:#171717;
  --ink2: rgba(23,23,23,.72);
  --paper:#fbf7f6;
}

html{ scroll-behavior:smooth; }
body{ background: var(--paper); color: var(--ink); }
::selection { background: rgba(120,20,40,0.18); }

.paper-texture{
  position:absolute; inset:0; pointer-events:none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(120,20,40,0.06), rgba(120,20,40,0) 45%),
    radial-gradient(circle at 88% 22%, rgba(120,20,40,0.05), rgba(120,20,40,0) 48%),
    radial-gradient(circle at 55% 92%, rgba(120,20,40,0.04), rgba(120,20,40,0) 45%),
    linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  mix-blend-mode:multiply;
  opacity:.9;
}

.spotlight{
  position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(900px circle at var(--x, 50%) var(--y, 18%),
    rgba(120,20,40,0.12),
    rgba(120,20,40,0) 55%);
}

.orb{
  position:absolute; border-radius:9999px; filter: blur(70px);
  opacity:.28; pointer-events:none;
  background: radial-gradient(circle at 30% 30%,
    rgba(120,20,40,0.24),
    rgba(120,20,40,0) 62%);
  transform: translateZ(0);
}
.orb-a{ left:-160px; top:-180px; width:520px; height:520px; }
.orb-b{ right:-210px; top:140px; width:600px; height:600px; }
.orb-c{ left:18%; bottom:-280px; width:640px; height:640px; }

.site-nav{
  position: sticky; top:0; z-index:50;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
}

.logo-badge{
  height:36px; width:36px; display:grid; place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.95);
}
.logo-badge span{ font-size:12px; font-weight:700; color:var(--burdigala); }

.navlink{
  font-size: 14px;
  color: rgba(0,0,0,0.58);
  transition: color .2s ease;
}
.navlink:hover{ color: rgba(0,0,0,0.88); }
.navlink.active{ color: rgba(0,0,0,0.88); }
.navlink.active::after{
  content:"";
  display:block;
  height:2px;
  margin-top:6px;
  border-radius:999px;
  background: linear-gradient(to right, rgba(120,20,40,0), rgba(120,20,40,0.75), rgba(120,20,40,0));
}

.glass{
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(120,20,40,0.10);
  backdrop-filter: blur(10px);
}

.hover-glow{ position:relative; overflow:hidden; }
.hover-glow::before{
  content:""; position:absolute; inset:0; opacity:0;
  transition: opacity 250ms ease;
  background: radial-gradient(circle at 30% 20%,
    rgba(120,20,40,0.14),
    rgba(120,20,40,0) 60%);
  pointer-events:none;
}
.hover-glow:hover::before{ opacity:1; }

.pill{
  border: 1px solid rgba(120,20,40,0.14);
  background: rgba(120,20,40,0.05);
  color: rgba(23,23,23,0.72);
}

.btn-primary{
  background: var(--burdigala);
  color:#fff;
  border: 1px solid rgba(120,20,40,0.18);
  box-shadow: 0 16px 42px rgba(120,20,40,0.16);
}
.btn-primary:hover{ filter: brightness(1.03); }
.btn-secondary{
  background: rgba(120,20,40,0.06);
  color: var(--burdigala);
  border: 1px solid rgba(120,20,40,0.18);
}
.btn-secondary:hover{ background: rgba(120,20,40,0.09); }

.sep{
  background: linear-gradient(to right, rgba(120,20,40,0), rgba(120,20,40,0.25), rgba(120,20,40,0));
  height:1px;
}

.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity 900ms cubic-bezier(.22,1,.36,1),
              transform 900ms cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal.in{ opacity:1; transform: translateY(0); }

.title-shine{
  background: linear-gradient(90deg, rgba(0,0,0,0.92), rgba(120,20,40,0.85), rgba(0,0,0,0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

/* Form */
.field{
  width:100%;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(120,20,40,0.12);
  border-radius: 16px;
  padding: 12px 14px;
  color: rgba(23,23,23,0.88);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.field:focus{
  outline:none;
  border-color: rgba(120,20,40,0.28);
  box-shadow: 0 0 0 4px rgba(120,20,40,0.12);
}
.error{
  border-color: rgba(220, 38, 38, 0.35) !important;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10) !important;
}

.site-footer{
  border-top: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(10px);
}

/* Mobile drawer */
.burger-btn{
  width: 32px; height: 22px;
  display:flex; flex-direction:column; justify-content:space-between;
}
.burger-btn span{
  display:block; height:3px; background:var(--burdigala);
  border-radius:3px; transition: all .3s ease;
}

.drawer-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,0.30);
  backdrop-filter: blur(4px);
  opacity:0; pointer-events:none;
  transition: opacity .3s ease;
  z-index: 90;
}
.drawer-overlay.open{ opacity:1; pointer-events:auto; }

.mobile-drawer{
  position: fixed; top:0; right:-100%;
  width: 300px; height:100vh;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: -10px 0 40px rgba(0,0,0,0.10);
  transition: right .45s cubic-bezier(.22,1,.36,1);
  z-index: 100;
  padding: 84px 26px 28px;
}
.mobile-drawer.open{ right:0; }

.drawer-title{
  position:absolute; top:22px; left:26px;
  font-size:12px; color: rgba(0,0,0,0.55);
}
.drawer-content a{
  display:block;
  margin: 0 0 14px 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(120,20,40,0.10);
  background: rgba(120,20,40,0.04);
  color: rgba(0,0,0,0.78);
  font-weight:600;
  transition: transform .15s ease, background .2s ease;
}
.drawer-content a:hover{
  transform: translateX(2px);
  background: rgba(120,20,40,0.07);
}

.drawer-cta{
  margin-top: 16px;
  display:grid;
  gap:10px;
}


/* Premium SVG schema */
.schema-wrap svg { width: 100%; height: auto; }
.schema-node { filter: drop-shadow(0 18px 38px rgba(120,20,40,0.10)); }
.schema-line{
  stroke-dasharray: 8 10;
  animation: dash 4.5s linear infinite;
}
@keyframes dash{
  to { stroke-dashoffset: -180; }
}
.schema-pulse{
  transform-origin: center;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.035); opacity: 1; }
}


main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}



/* ===== Ultra Premium SVG Schema ===== */

.schema-wrap {
  overflow: hidden;
  position: relative;
}

.schema-wrap svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.schema-line {
  stroke-dasharray: 6 8;
  stroke-dashoffset: 0;
  animation: flow 6s linear infinite;
}

@keyframes flow {
  to { stroke-dashoffset: -200; }
}

.schema-node {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.schema-node:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 20px 45px rgba(120,20,40,0.18));
}

.schema-glow {
  animation: softPulse 3.5s ease-in-out infinite;
}

@keyframes softPulse {
  0%,100% { opacity: 0.9; }
  50% { opacity: 1; }
}

@media (max-width: 900px) {
  .schema-desktop { display: none; }
}

@media (min-width: 901px) {
  .schema-mobile { display: none; }
}



 }

.schema-flow{
  opacity: 0;
  transition: opacity 500ms ease;
}
.reveal.in .schema-flow{
  opacity: 1;
  transition-delay: 1100ms;
}



/* ===== Contemporary Elegant Schema ===== */

.schema-line-soft {
  stroke: rgba(120,20,40,0.42);
  stroke-width: 5.0;
  stroke-linecap: round;
}



.schema-dot {
  fill: rgba(120,20,40,0.22);
}


.schema-dot-core {
  fill: rgba(120,20,40,0.72);
}




/* Refined dot alignment */
.schema-dot {
  fill: rgba(120,20,40,0.22);
}


.schema-dot-core {
  fill: rgba(120,20,40,0.72);
}




/* Softer hero institutional gradient */


/* Remove any hard shadow clipping */
section {
  position: relative;
  z-index: 1;
}



/* ===== Seamless global hero blend (no hard cut) ===== */


/* Keep content above */
body, #app, main, header, section, footer { position: relative; z-index: 1; }

/* ===== Micro-animations (institutional, subtle) ===== */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 900ms cubic-bezier(.22,1,.36,1), transform 900ms cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

.soft-hover { transition: transform 260ms ease, box-shadow 260ms ease; }
.soft-hover:hover { transform: translateY(-2px); box-shadow: 0 22px 44px rgba(120,20,40,0.08); }

/* Subtle emphasis underline on keywords if present */
.kw{ position:relative; font-weight:600; color: rgba(0,0,0,0.88); }
.kw::after{
  content:""; position:absolute; left:-2px; right:-2px; bottom:-0.12em;
  height:0.62em; border-radius:999px; background: rgba(120,20,40,0.12);
  transform: scaleX(0); transform-origin:left;
  transition: transform 900ms cubic-bezier(.22,1,.36,1);
  z-index:-1;
}
.reveal.in .kw::after{ transform: scaleX(1); }



/* ===== Clean Global Institutional Background ===== */
html, body {
  background:
    radial-gradient(
      1400px 600px at 50% -250px,
      rgba(120,20,40,0.14),
      rgba(120,20,40,0.08) 35%,
      rgba(120,20,40,0.035) 55%,
      rgba(120,20,40,0.015) 72%,
      transparent 92%
    ),
    #fbf7f6;
}

/* Remove section background cuts */
section {
  background: transparent !important;
}


h2 { letter-spacing: -0.01em; }
h3 { letter-spacing: -0.005em; }

h1 { letter-spacing: -0.015em; }
h2 { letter-spacing: -0.01em; }
