:root {
  --navy-950: #0A1424;
  --navy-900: #0F1E35;
  --navy-800: #16294A;
  --navy-700: #1F3760;
  --coral-500: #FF6B4A;
  --coral-400: #FF8567;
  --amber-400: #E8A94C;
  --paper-50: #F7F5F0;
  --paper-100: #EFEBE2;
  --slate-600: #5B6472;
  --slate-500: #7A8390;
  --ink-900: #12181F;
  --line: rgba(18,24,31,0.1);
  --line-dark: rgba(247,245,240,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--paper-50);
  color: var(--ink-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; letter-spacing: -0.01em; }
.mono { font-family: 'IBM Plex Mono', monospace; }
a { color: inherit; text-decoration: none; }
img,svg { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width:640px) { .wrap { padding: 0 20px; } }

header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper-100);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.wrap { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-950); }
.brand-mark { width: 200px; flex-shrink: 0; }
.brand-name { font-family: 'Space Grotesk'; font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }
.brand-suffix { color: var(--coral-400); font-family: 'IBM Plex Mono'; font-size: 11px; letter-spacing: 0.08em; margin-left: 2px; padding-top: 3px; }
.navlinks { display: flex; align-items: center; gap: 36px; }
.navlinks a { color: var(--navy-950); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.navlinks a:hover { color: var(--coral-500); }
.nav-cta { background: var(--coral-500); color: #fff !important; padding: 10px 20px; border-radius: 3px; font-weight: 600; font-size: 14px; transition: background 0.2s; }
.nav-cta:hover { background: var(--coral-400); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--navy-950); }
@media (max-width:860px){
  .navlinks { position: fixed; top: 90px; left: 0; right: 0; background: var(--paper-100); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s; }
  .navlinks.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .navlinks a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav-cta { margin-top: 12px; text-align: center; }
  .hamburger { display: flex; }
}

.hero { position: relative; background: var(--navy-950); color: var(--paper-50); overflow: hidden; padding: 100px 0 120px; }
.hero-mesh { position: absolute; inset: 0; opacity: 0.55; }
.hero-inner { position: relative; z-index: 2; }
.eyebrow { font-family: 'IBM Plex Mono'; font-size: 12.5px; letter-spacing: 0.14em; color: var(--amber-400); text-transform: uppercase; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 0 4px rgba(232,169,76,0.18); }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.06; max-width: 820px; font-weight: 700; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--coral-400); }
.hero p.lead { margin-top: 26px; font-size: 18px; color: rgba(247,245,240,0.72); max-width: 560px; line-height: 1.6; }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.btn-primary { background: var(--coral-500); color: #fff; padding: 15px 28px; border-radius: 3px; font-weight: 600; font-size: 15px; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: var(--coral-400); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-dark); color: var(--paper-50); padding: 15px 28px; border-radius: 3px; font-weight: 600; font-size: 15px; transition: border-color 0.2s, background 0.2s; }
.btn-ghost:hover { border-color: rgba(247,245,240,0.5); background: rgba(247,245,240,0.05); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; background: var(--line-dark); border: 1px solid var(--line-dark); max-width: 900px; }
.hero-stats div { background: var(--navy-950); padding: 20px 22px; }
.hero-stats .num { font-family: 'Space Grotesk'; font-size: 28px; font-weight: 700; color: var(--paper-50); }
.hero-stats .lbl { font-family: 'IBM Plex Mono'; font-size: 11.5px; color: var(--slate-500); margin-top: 6px; letter-spacing: 0.02em; }
@media (max-width:760px){ .hero-stats{grid-template-columns:repeat(2,1fr);} }

.section { padding: 96px 0; }
.section-alt { background: var(--paper-100); }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head .tag { font-family: 'IBM Plex Mono'; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-500); margin-bottom: 14px; display: block; }
.sec-head h2 { font-size: clamp(28px,3.4vw,38px); line-height: 1.15; }
.sec-head p { margin-top: 16px; color: var(--slate-600); font-size: 16px; line-height: 1.65; }

.models { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); }
.model-card { padding: 32px 24px; border-right: 1px solid var(--line); position: relative; transition: background 0.2s; }
.model-card:last-child { border-right: none; }
.model-card:hover { background: var(--navy-950); color: var(--paper-50); }
.model-card:hover .model-idx, .model-card:hover .model-desc { color: rgba(247,245,240,0.6); }
.model-idx { font-family: 'IBM Plex Mono'; font-size: 11.5px; color: var(--slate-500); letter-spacing: 0.05em; }
.model-card h3 { font-size: 17px; margin-top: 14px; line-height: 1.3; }
.model-desc { font-size: 13.5px; color: var(--slate-600); margin-top: 10px; line-height: 1.55; }
@media (max-width:960px){ .models{grid-template-columns:1fr 1fr;} .model-card{border-bottom:1px solid var(--line);} .model-card:nth-child(2n){border-right:none;} }
@media (max-width:560px){ .models{grid-template-columns:1fr;} }

.practices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.practice-card { background: var(--paper-50); padding: 36px 30px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.practice-card .picon { width: 34px; height: 34px; color: var(--coral-500); }
.practice-card h3 { font-size: 19px; margin-top: 20px; }
.practice-card p { font-size: 14px; color: var(--slate-600); margin-top: 10px; line-height: 1.6; }
@media (max-width:860px){ .practices{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .practices{grid-template-columns:1fr;} }

.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.why-list { display: flex; flex-direction: column; }
.why-item { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.why-list .why-item:last-child { border-bottom: 1px solid var(--line); }
.why-num { font-family: 'IBM Plex Mono'; font-size: 13px; color: var(--coral-500); padding-top: 2px; }
.why-item h4 { font-size: 16.5px; }
.why-item p { font-size: 14.5px; color: var(--slate-600); margin-top: 6px; line-height: 1.6; }
.why-panel { background: var(--navy-950); color: var(--paper-50); padding: 44px 36px; border-radius: 4px; position: sticky; top: 100px; }
.why-panel .tag { font-family: 'IBM Plex Mono'; font-size: 11.5px; color: var(--amber-400); letter-spacing: 0.1em; text-transform: uppercase; }
.why-panel h3 { font-size: 24px; margin-top: 16px; line-height: 1.3; }
.why-panel p { font-size: 14.5px; color: rgba(247,245,240,0.65); margin-top: 16px; line-height: 1.65; }
.why-panel .signal { margin-top: 32px; display: flex; align-items: flex-end; gap: 6px; height: 44px; }
.why-panel .signal div { width: 8px; background: var(--coral-500); border-radius: 1px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:0.35;} 50%{opacity:1;} }
@media (max-width:860px){ .why-grid{grid-template-columns:1fr;} .why-panel{position:static;} }

.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { background: var(--navy-950); aspect-ratio: 1/1; border-radius: 4px; position: relative; overflow: hidden; }
.about h2 { font-size: clamp(26px,3vw,34px); line-height: 1.2; }
.about p { margin-top: 18px; color: var(--slate-600); font-size: 15.5px; line-height: 1.7; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about-tags span { font-family: 'IBM Plex Mono'; font-size: 12px; border: 1px solid var(--line); padding: 7px 12px; border-radius: 3px; color: var(--slate-600); }
@media (max-width:860px){ .about{grid-template-columns:1fr;} .about-visual{order:-1; max-height:280px;} }

.contact { background: var(--navy-950); color: var(--paper-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact h2 { font-size: clamp(28px,3.4vw,38px); }
.contact p.lead { color: rgba(247,245,240,0.65); margin-top: 16px; font-size: 16px; max-width: 440px; line-height: 1.65; }
.contact-info { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-info div { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.contact-info .lbl { font-family: 'IBM Plex Mono'; font-size: 11.5px; color: var(--amber-400); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-info .val { font-size: 15.5px; margin-top: 6px; }
form { display: flex; flex-direction: column; gap: 16px; }
.field label { font-family: 'IBM Plex Mono'; font-size: 11.5px; color: rgba(247,245,240,0.5); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: rgba(247,245,240,0.05); border: 1px solid var(--line-dark); color: var(--paper-50); padding: 13px 14px; font-family: 'Inter'; font-size: 14.5px; border-radius: 3px; outline: none; transition: border-color 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral-500); }
.field textarea { resize: vertical; min-height: 100px; }
form .submit { margin-top: 6px; background: var(--coral-500); color: #fff; border: none; padding: 15px 24px; border-radius: 3px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.2s; font-family: 'Inter'; }
form .submit:hover { background: var(--coral-400); }
@media (max-width:860px){ .contact-grid{grid-template-columns:1fr;} }

footer { background: var(--navy-950); color: rgba(247,245,240,0.45); border-top: 1px solid var(--line-dark); padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
footer .mono { color: rgba(247,245,240,0.35); }

@media (prefers-reduced-motion: reduce){ *{animation:none !important; transition:none !important;} }
