/* ============================================
   ASOULIN CORPORATE LAW — v3
   Navy · White · Electric Blue
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --navy:        #0A1A30;
  --navy-mid:    #0F2240;
  --white:       #FFFFFF;
  --off-white:   #F4F6F9;
  --light-gray:  #E8ECF2;
  --mid-gray:    #CBD5E0;
  --blue:        #0EA5E9;
  --blue-dark:   #0284C7;
  --blue-glow:   rgba(14,165,233,0.10);
  --blue-rule:   rgba(14,165,233,0.22);
  --ink:         #0A1A30;
  --ink-soft:    #4A5568;
  --rule:        rgba(10,26,48,0.08);
  --rule-light:  rgba(255,255,255,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.serif { font-family: 'Cormorant Garamond', serif; }

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow .dash { width: 24px; height: 1.5px; background: var(--blue); flex-shrink: 0; }
.eyebrow.light { color: rgba(255,255,255,0.7); }
.eyebrow.light .dash { background: rgba(255,255,255,0.4); }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: var(--white);
  padding: 14px 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid rgba(255,255,255,0.5); color: var(--white);
  padding: 13px 26px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color .2s, background .2s;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--navy); color: var(--navy);
  padding: 13px 26px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* ---- Scroll fade ---- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ============================================
   HEADER — always white
   ============================================ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 16px rgba(0,0,0,0.05);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
}
.nav-logo img { height: 44px; width: auto; display: block; }
nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
nav ul li a {
  color: var(--ink-soft); font-size: 13.5px; letter-spacing: 0.01em;
  position: relative; padding-bottom: 4px; transition: color .2s;
}
nav ul li a:hover, nav ul li a.active { color: var(--navy); }
nav ul li a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--blue); transition: width .25s;
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
.nav-cta {
  background: var(--blue) !important; color: var(--white) !important;
  padding: 9px 22px !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 11px !important; letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--navy); display: block; }

/* ============================================
   PAGE HERO — always navy
   ============================================ */
.page-hero {
  background: var(--navy); color: var(--white);
  padding: 155px 40px 90px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(14,165,233,0.11) 0%, transparent 58%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.06; letter-spacing: -0.01em;
  max-width: 820px; margin-bottom: 22px;
}
.page-hero h1 em { font-style: italic; color: var(--blue); }
.page-hero p.lead {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.65); max-width: 540px;
}

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 110px 40px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-head { margin-bottom: 60px; }
.section-head h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(28px, 3.8vw, 46px);
  letter-spacing: -0.01em; margin-top: 14px; line-height: 1.15;
}
.section-head p {
  margin-top: 16px; font-size: 15.5px; line-height: 1.75;
  color: var(--ink-soft); max-width: 560px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* ============================================
   TICKER
   ============================================ */
.ticker-wrap {
  background: var(--navy);
  border-top: 1px solid var(--blue-rule);
  border-bottom: 1px solid var(--blue-rule);
  overflow: hidden; white-space: nowrap; padding: 13px 0;
}
.ticker { display: inline-flex; animation: scroll-left 42s linear infinite; }
.ticker span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); padding: 0 24px; opacity: 0.9;
}
.ticker span.dim { color: rgba(255,255,255,0.18); }
@keyframes scroll-left { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { animation: none; } }

/* ============================================
   PRACTICE CARDS
   ============================================ */
.practice-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--light-gray);
  border: 1px solid var(--light-gray);
}
.practice-card {
  background: var(--white); padding: 40px 32px;
  transition: background .2s; position: relative;
}
.practice-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.practice-card:hover { background: var(--off-white); }
.practice-card:hover::before { transform: scaleX(1); }
.card-stamp {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--blue); display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 14px; margin-bottom: 26px;
}
.card-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px; display: block;
}
.practice-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500; margin-bottom: 14px; line-height: 1.2;
}
.practice-card p { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 22px; }
.practice-card ul { list-style: none; margin-bottom: 28px; }
.practice-card ul li {
  font-size: 13px; padding: 7px 0;
  border-top: 1px solid var(--rule);
  display: flex; gap: 10px; color: var(--ink);
}
.practice-card ul li::before { content: '—'; color: var(--blue); flex-shrink: 0; }
.card-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); border-bottom: 1px solid var(--blue);
  display: inline-block; padding-bottom: 3px; transition: opacity .2s;
}
.card-link:hover { opacity: 0.7; }

/* ============================================
   MANIFESTO
   ============================================ */
.manifesto {
  background: var(--navy); color: var(--white); position: relative; overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 5% 90%, rgba(14,165,233,0.09) 0%, transparent 55%);
  pointer-events: none;
}
.manifesto h2 {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  font-size: clamp(26px, 4vw, 48px); line-height: 1.38; margin-top: 18px;
}
.manifesto h2 strong { font-style: normal; font-weight: 600; color: var(--blue); }
.manifesto p {
  margin-top: 26px; font-size: 15.5px; line-height: 1.75;
  color: rgba(255,255,255,0.58); max-width: 520px;
}

/* ============================================
   PROCESS STRIP
   ============================================ */
.process-strip {
  display: grid; grid-template-columns: repeat(6,1fr);
  background: var(--navy);
  border-top: 1px solid var(--blue-rule);
  border-bottom: 1px solid var(--blue-rule);
}
.pstep { padding: 32px 22px; border-right: 1px solid var(--blue-rule); }
.pstep:last-child { border-right: none; }
.pstep .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; color: var(--blue); margin-bottom: 14px; display: block;
}
.pstep h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 500; margin-bottom: 10px; color: var(--white); line-height: 1.3;
}
.pstep p { font-size: 12px; color: rgba(255,255,255,0.52); line-height: 1.65; }

/* ============================================
   ABOUT
   ============================================ */
.about-photo {
  background: var(--navy-mid); aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border: 1px solid var(--light-gray);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .placeholder {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; color: rgba(255,255,255,0.18);
}
.about-photo .photo-tag {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 500;
  margin-bottom: 20px; margin-top: 14px;
}
.about-text p { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 18px; }
.credentials {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--rule);
}
.credentials div .cred-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); display: block; margin-bottom: 5px;
}
.credentials div .cred-val { font-size: 13.5px; color: var(--ink); }

/* ============================================
   PULL QUOTE
   ============================================ */
.pull-quote { background: var(--navy); padding: 80px 40px; position: relative; }
.pull-quote::before, .pull-quote::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
}
.pull-quote::before { top: 0; }
.pull-quote::after { bottom: 0; }
.pull-quote blockquote {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(20px, 2.8vw, 32px); line-height: 1.5;
  font-weight: 400; color: var(--white); max-width: 780px;
}
.pull-quote blockquote em { font-style: normal; color: var(--blue); }

/* ============================================
   SERVICE LIST
   ============================================ */
.service-list { list-style: none; margin-top: 32px; }
.service-list li {
  padding: 24px 0; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 36px 1fr; gap: 20px; align-items: start;
}
.service-list li .snum {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--blue); margin-top: 3px;
}
.service-list li h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; margin-bottom: 8px;
}
.service-list li p { font-size: 14.5px; line-height: 1.78; color: var(--ink-soft); }

/* ============================================
   CONTACT
   ============================================ */
.contact-section { background: var(--navy); color: var(--white); }
.contact-meta { margin-top: 44px; }
.contact-meta .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--rule-light);
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
}
.contact-meta .row .clabel { color: rgba(255,255,255,0.38); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-meta .row .cval { color: var(--blue); }
.form-field { margin-bottom: 24px; }
.form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); display: block; margin-bottom: 10px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: var(--white); font-family: 'Inter', sans-serif;
  font-size: 15px; padding: 10px 2px; outline: none;
  transition: border-color .2s; border-radius: 0; -webkit-appearance: none;
}
.form-field select option { color: #111; background: #fff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-bottom-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit {
  margin-top: 8px; background: var(--blue); color: var(--white);
  border: none; padding: 16px 32px; width: 100%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: var(--blue-dark); }

/* ============================================
   FOOTER
   ============================================ */
footer { background: var(--navy); border-top: 1px solid var(--blue-rule); padding: 56px 40px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-logo img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px; display: block;
}
.footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.38); }
.footer-col h5 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a, .footer-col p, .footer-col a {
  font-size: 13.5px; color: rgba(255,255,255,0.45); transition: color .2s;
}
.footer-col ul li a:hover, .footer-col a:hover { color: var(--blue); }
.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 16px;
}
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,0.22); line-height: 1.65; max-width: 720px; }
.footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: rgba(255,255,255,0.22); white-space: nowrap; }

/* ============================================
   PHILOSOPHY / THREE-UP PILLARS
   ============================================ */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--light-gray);
}
.pillar {
  background: var(--white); padding: 38px 32px;
  border-top: 3px solid var(--blue);
}
.pillar-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); display: block; margin-bottom: 14px;
}
.pillar h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; margin-bottom: 12px; }
.pillar p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(3,1fr); }
  .pstep:nth-child(3) { border-right: none; }
  .pstep:nth-child(4) { border-top: 1px solid var(--blue-rule); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .pillars-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 80px 22px; }
  .page-hero { padding: 140px 22px 70px; }
  .nav-inner { padding: 14px 22px; }
  nav ul { display: none; }
  .hamburger { display: flex; }
  .process-strip { grid-template-columns: repeat(2,1fr); }
  .pstep:nth-child(2) { border-right: none; }
  .pstep:nth-child(3) { border-top: 1px solid var(--blue-rule); border-right: 1px solid var(--blue-rule); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .pull-quote { padding: 56px 22px; }
  .nav-mobile-open nav ul {
    display: flex !important; flex-direction: column;
    position: fixed; top: 65px; left: 0; right: 0;
    background: var(--white); padding: 24px 22px; gap: 18px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    z-index: 199;
  }
  .nav-mobile-open nav ul li a { color: var(--ink); font-size: 16px; }
}
