/* ==========================================================================
   Legality — stylesheet
   Light luxury palette: white, ivory, deep red, navy, dark gray.
   ========================================================================== */

:root{
  --ink: #182B49;
  --ink-2: #182B49;
  --bone: #F5F1E8;
  --white: #FDFBF7;
  --brass: #B89B5E;
  --brass-light: #C9B77A;
  --oxblood: #7A1515;
  --slate: #5A5F6E;
  --text-dark: #1B1F2A;
  --line: rgba(148,27,32,0.25);
  --line-dark: rgba(148,27,32,0.15);
  --header-h: 150px;
  --radius: 2px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  background:var(--bone);
  color:var(--text-dark);
  font-family:'Public Sans', sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}

a{ color:inherit; }
button{ font-family:inherit; }
ul{ list-style:none; }
img,svg{ display:block; max-width:100%; }

:focus-visible{ outline:2px solid var(--oxblood); outline-offset:3px; }

.display{ font-family:'Fraunces', serif; }
.mono{ font-family:'IBM Plex Mono', monospace; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--oxblood); color:var(--white);
  padding:12px 20px; z-index:1000; font-weight:600;
}
.skip-link:focus{ left:12px; top:12px; }

.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:16px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--oxblood);
}
.eyebrow.on-dark{ color:var(--oxblood); }
.eyebrow-box{ background:rgba(255,255,255,0.75); padding:4px 10px; border-radius:var(--radius); display:inline-block; }
.eyebrow-box-gray{ background:rgba(255,255,255,0.75); padding:4px 10px; border-radius:var(--radius); display:inline-block; }
.hero .eyebrow-box{ padding:4px 10px; margin-top:10px; }

.bracket{
  display:flex; align-items:center; justify-content:center;
  color:var(--oxblood);
  flex-shrink:0;
  margin-bottom:14px;
}

.icon{ width:20px; height:20px; }
.icon-fill{ width:20px; height:20px; fill:currentColor; stroke:none; }

/* ---------------------------- buttons ---------------------------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 24px; font-size:14px; letter-spacing:0.02em;
  text-decoration:none; border-radius:var(--radius);
  border:1px solid transparent; cursor:pointer;
  transition:all 0.2s ease; min-height:44px;
  font-family:'Public Sans', sans-serif;
}
.btn-primary{ background:var(--oxblood); color:var(--white); font-weight:600; }
.btn-primary:hover{ background:var(--ink); }
.btn-ghost-dark{ border-color:var(--brass); color:var(--bone); }
.btn-ghost-dark:hover{ border-color:var(--bone); color:var(--bone); }
.btn-ghost-light{ border-color:var(--line); color:var(--ink); }
.btn-ghost-light:hover{ border-color:var(--oxblood); color:var(--oxblood); }
.btn-sm{ padding:9px 16px; font-size:13px; min-height:36px; }
.btn-block{ width:100%; justify-content:center; }
.icon-btn{
  width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  background:transparent; border:none; color:var(--ink);
  cursor:pointer; border-radius:50%; transition:background 0.2s ease;
}
.icon-btn:hover{   background:rgba(184,155,94,0.08); }
#search-trigger{ background:var(--oxblood); color:var(--white); border-radius:var(--radius); }
#search-trigger:hover{ background:var(--ink); }
.email-btn{ background:var(--oxblood); color:var(--white); border-radius:var(--radius); }
.email-btn:hover{ background:var(--ink); }

/* ---------------------------- header ---------------------------- */
header.site-header{
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:var(--white);
  border-bottom:1px solid var(--line);
  height:var(--header-h);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:var(--header-h);
}
.crest{ display:flex; align-items:center; gap:14px; text-decoration:none; flex-shrink:0; }
.logo-img{ height:170px; width:auto; }
@media (max-width:640px){ .logo-img{ height:136px; } }
.footer-logo{ height:180px; width:auto; margin-bottom:20px; }
@media (max-width:640px){ .footer-logo{ height:140px; } }

.primary-nav{ display:flex; align-items:center; gap:6px; }
.primary-nav > li{ position:relative; }
.nav-link{
  display:flex; align-items:center; gap:6px;
  text-decoration:none; color:var(--text-dark); font-size:15px;
  padding:10px 14px; border-radius:var(--radius);
  background:none; border:none; cursor:pointer;
}
.nav-link[aria-current="page"]{ color:var(--oxblood); }
.nav-link[aria-current="page"]::after{
  content:''; display:block; position:absolute; left:14px; right:14px; bottom:2px;
  height:1px; background:var(--oxblood);
}
.nav-link:hover{ color:var(--oxblood); }
.nav-link.mega-parent-active{ color:var(--oxblood); }
.chev{ width:12px; height:12px; transition:transform 0.2s ease; }
.nav-link[aria-expanded="true"] .chev{ transform:rotate(180deg); }

.header-actions{ display:flex; align-items:center; gap:6px; flex-shrink:0; }

.hamburger{ display:none; }
@media (max-width:940px){
  .primary-nav{ display:none; }
  .hamburger{ display:flex; }
}

/* mega menu */
.mega{
  position:absolute; top:calc(100% + 10px); left:50%;
  transform:translateX(-50%);
  background:var(--white);
  border:1px solid var(--line);
  min-width:520px;
  padding:28px;
  display:none;
  grid-template-columns:1fr 1fr;
  gap:8px 32px;
  box-shadow:0 24px 48px rgba(0,0,0,0.12);
}
.mega.open{ display:grid; }
.mega-head{
  grid-column:1 / -1;
  font-family:'IBM Plex Mono', monospace;
  font-size:11px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--oxblood); margin-bottom:8px;
}
.mega a{
  display:block; text-decoration:none; color:var(--text-dark);
  padding:9px 10px; font-size:14px; border-radius:var(--radius);
}
.mega a:hover{ background:var(--bone); color:var(--oxblood); }
.mega a .sub{ display:block; font-size:12px; color:var(--slate); margin-top:2px; }

/* mobile drawer nav */
.mobile-drawer{
  position:fixed; inset:0; z-index:300;
  background:var(--white);
  transform:translateX(100%);
  transition:transform 0.3s ease;
  overflow-y:auto;
  padding:100px 28px 40px;
}
.mobile-drawer.open{ transform:translateX(0); }
.mobile-drawer ul{ display:flex; flex-direction:column; gap:4px; }
.mobile-drawer a, .mobile-drawer button.mob-link{
  display:block; width:100%; text-align:left; background:none; border:none;
  color:var(--text-dark); font-family:'Fraunces', serif; font-size:22px;
  text-decoration:none; padding:14px 4px; border-bottom:1px solid var(--line);
  cursor:pointer;
}
.mobile-drawer .sub-links{ padding-left:14px; display:none; }
.mobile-drawer .sub-links.open{ display:block; }
.mobile-drawer .sub-links a{ font-size:15px; font-family:'Public Sans', sans-serif; color:var(--slate); border-bottom:none; padding:9px 4px; }
.mobile-close{
  position:absolute; top:20px; right:20px;
  width:44px; height:44px; background:none; border:1px solid var(--line);
  border-radius:50%; color:var(--text-dark); cursor:pointer;
  display:flex; align-items:center; justify-content:center; padding:0;
}

/* ---------------------------- disclaimer modal ---------------------------- */
.disclaimer-overlay{
  position:fixed; inset:0; z-index:500;
  background:rgba(24,43,73,0.92);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
}
.disclaimer-overlay[hidden]{ display:none; }
.disclaimer-box{
  background:var(--white); max-width:560px; width:100%;
  padding:44px; border-top:3px solid var(--oxblood);
}
.disclaimer-box .eyebrow{ margin-bottom:14px; }
.disclaimer-box h2{ font-family:'Fraunces', serif; font-size:1.6rem; margin-bottom:16px; color:var(--ink); }
.disclaimer-box p{ font-size:14.5px; color:var(--text-dark); margin-bottom:14px; }
.disclaimer-actions{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }

.exit-screen{
  position:fixed; inset:0; z-index:600; background:var(--ink); color:var(--white);
  display:flex; align-items:center; justify-content:center; text-align:center; padding:24px;
}
.exit-screen[hidden]{ display:none; }
.exit-screen h2{ font-family:'Fraunces', serif; font-size:2rem; margin-bottom:12px; }

/* ---------------------------- search overlay ---------------------------- */
.search-overlay{
  position:fixed; inset:0; z-index:400;
  background:rgba(122,21,21,0.92);
  padding:100px 24px 24px;
}
.search-overlay[hidden]{ display:none; }
.search-box{ max-width:680px; margin:0 auto; }
.search-input-row{
  display:flex; align-items:center; gap:14px;
  border-bottom:1px solid var(--line); padding-bottom:16px; margin-bottom:24px;
}
.search-input-row svg{ color:var(--oxblood); flex-shrink:0; }
#search-close, #search-close svg{ color:var(--white); }
#global-search-input{
  flex:1; background:none; border:none; color:var(--white);
  font-family:'Fraunces', serif; font-size:1.5rem; outline:none;
}
#global-search-input::placeholder{ color:rgba(245,241,232,0.4); }
.search-results{ max-height:60vh; overflow-y:auto; }
.search-group-label{
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--oxblood); margin:18px 0 8px;
}
.search-result{
  display:block; padding:11px 8px; text-decoration:none; color:var(--white);
  border-radius:var(--radius); font-size:14.5px;
}
.search-result:hover, .search-result:focus-visible{ background:rgba(148,27,32,0.12); }
.search-result mark{ background:var(--oxblood); color:var(--white); padding:0 1px; }
.search-empty{ color:rgba(245,241,232,0.6); font-size:14px; padding:20px 8px; }


/* ---------------------------- pages / sections ---------------------------- */
main{ padding-top:var(--header-h); }
.page{ display:none; }
.page.active{ display:block; }

section.pane{ padding:96px 0; background:var(--white); }
section.pane.alt{ background:var(--bone); }
section.pane.tight{ padding:64px 0; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:48px; flex-wrap:wrap;
}
.section-head h2{ font-family:'Fraunces', serif; font-weight:600; margin-top:10px; font-size:clamp(1.6rem,3vw,2.3rem); color:var(--ink); }
.section-note{ max-width:36ch; color:var(--text-dark); font-size:14.5px; }
.on-dark .section-note{ color:rgba(245,241,232,0.7); }
.on-dark .section-head h2{ color:var(--white); }

.reveal{ opacity:0; transform:translateY(16px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------------------------- hero ---------------------------- */
.hero{
  background:var(--bone);
  color:var(--bone);
  padding:0px 0 7px;
  position:relative;
  overflow:hidden;
}
.hero-slides{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:0;
  transition:opacity 1.5s ease;
}
.hero-slide.active{ opacity:1; }
.hero-grid{ position:relative; z-index:2; display:grid; grid-template-columns:1fr; gap:50px; align-items:center; }
@media (max-width:900px){ 
  .hero-grid{ grid-template-columns:1fr; }
   .hero{ padding:0px 0 7px; }
  .hero-slide{ object-fit:cover; object-position:top center; height:100%; }
}
.hero h1{
  font-family:'Fraunces', serif; font-weight:600; line-height:1.1;
  font-size:clamp(1.6rem,3.6vw,2.8rem); letter-spacing:-0.01em; margin:18px 0 16px; max-width:16ch;
  color:var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 1px 2px rgba(0,0,0,0.95);
}
.hero h1 em{ font-style:italic; font-weight:500; color:var(--brass-light); }
.hero p.lede{ max-width:48ch; font-size:13px; color:var(--white); text-shadow:0 1px 3px rgba(0,0,0,0.5); }
.hero-actions{ display:flex; gap:10px; margin-top:8px; flex-wrap:wrap; }
.hero .btn{ padding:8px 18px; font-size:13px; min-height:32px; gap:6px; }
.hero .btn .icon{ width:14px; height:14px; }
.hero .btn-ghost-light{ border-color:var(--white); color:var(--white); }
.hero .btn-ghost-light:hover{ border-color:var(--brass-light); color:var(--brass-light); }
.hero .eyebrow.on-dark{ color:var(--oxblood); text-shadow:0 1px 3px rgba(0,0,0,0.5); }

/* stats */
.stats{ background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); padding:40px 0; }
@media (max-width:800px){ .stats-grid{ grid-template-columns:repeat(2,1fr); row-gap:28px; } }
.stat{ padding:0 24px; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
@media (max-width:800px){ .stat:nth-child(2n+1){ border-left:none; } }
.stat-num{ font-family:'Fraunces', serif; font-size:2rem; font-weight:600; color:var(--oxblood); }
.stat-label{ font-size:12.5px; color:var(--text-dark); margin-top:6px; max-width:20ch; }

/* practice grid */
.practice-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
@media (max-width:720px){ .practice-list{ grid-template-columns:1fr; } }
.practice-item{ background:var(--bone); }
.practice-trigger{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:34px 32px; display:block;
}
.practice-trigger h3{ font-family:'Fraunces', serif; font-size:1.25rem; margin-bottom:10px; color:var(--ink); }
.practice-trigger p{ color:var(--text-dark); font-size:14px; max-width:44ch; }
.practice-sub{ max-height:0; overflow:hidden; transition:max-height 0.35s ease; background:var(--white); }
.practice-sub.open{ max-height:260px; }
.practice-sub-inner{ padding:0 32px 30px; border-top:1px solid var(--line); margin-top:6px; padding-top:16px; }
.practice-sub-inner li{ font-size:13.5px; padding:5px 0; color:var(--text-dark); display:flex; gap:8px; }
.practice-sub-inner li svg{ width:14px; height:14px; color:var(--oxblood); flex-shrink:0; margin-top:4px; }

/* generic card grid */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .card-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .card-grid{ grid-template-columns:1fr; } }

/* team */
.team-tier{ margin-bottom:52px; }
.team-tier-label{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--oxblood); margin-bottom:18px; display:block; border-bottom:1px solid var(--line); padding-bottom:10px; }
.person-card{
  background:var(--bone); border:1px solid var(--line); padding:26px;
  text-align:left; cursor:pointer; width:100%;
}
.person-card:hover{ border-color:var(--oxblood); }
.person-mark{
  width:52px; height:52px; border-radius:50%; background:var(--ink); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-family:'Fraunces', serif; font-size:14px; margin-bottom:16px;
}
.person-card h3{ font-family:'Fraunces', serif; font-size:1.08rem; color:var(--ink); }
.person-card .role{ font-size:12.5px; color:var(--oxblood); margin:5px 0 10px; }
.person-card .court{ font-size:12px; color:var(--text-dark); }

/* team drawer */
.drawer-overlay{ position:fixed; inset:0; z-index:450;   background:rgba(184,155,94,0.5); }
.drawer-overlay[hidden]{ display:none; }
.profile-drawer{
  position:fixed; top:0; right:0; bottom:0; width:min(440px,92vw); z-index:460;
  background:var(--white); transform:translateX(100%); transition:transform 0.35s ease;
  overflow-y:auto; padding:36px;
}
.profile-drawer.open{ transform:translateX(0); }
.drawer-close{ background:none; border:1px solid var(--line); border-radius:50%; width:40px; height:40px; cursor:pointer; margin-bottom:24px; display:inline-flex; align-items:center; justify-content:center; padding:0; }
.profile-drawer .person-mark{ width:64px; height:64px; font-size:17px; }
.profile-drawer h2{ font-family:'Fraunces', serif; font-size:1.5rem; margin:16px 0 4px; color:var(--ink); }
.profile-drawer .role{ color:var(--oxblood); font-size:13.5px; margin-bottom:18px; }
.profile-drawer .field-label{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--oxblood); margin:22px 0 8px; }
.profile-drawer p, .profile-drawer li{ font-size:14px; color:var(--text-dark); }
.profile-drawer li{ padding:4px 0; }

/* tabs */
.tabbar{ display:flex; gap:4px; border-bottom:1px solid var(--line); margin-bottom:36px; flex-wrap:wrap; }
.tab-btn{
  background:none; border:none; cursor:pointer; padding:12px 18px; font-size:14px;
  color:var(--text-dark); border-bottom:2px solid transparent; margin-bottom:-1px;
}
.tab-btn.active{ color:var(--oxblood); border-bottom-color:var(--oxblood); font-weight:600; }
.tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.tag-chip{
  background:var(--white); border:1px solid var(--line); padding:6px 14px; font-size:12.5px;
  border-radius:999px; cursor:pointer; color:var(--text-dark);
}
.tag-chip.active{ background:var(--oxblood); color:var(--white); border-color:var(--oxblood); }

.insight-card, .resource-card, .deal-card{ background:var(--bone); border:1px solid var(--line); padding:26px; }
.insight-card .meta, .resource-card .meta{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--text-dark); margin-bottom:10px; display:flex; gap:12px; flex-wrap:wrap; }
.insight-card h3, .resource-card h3, .deal-card h3{ font-family:'Fraunces', serif; font-size:1.1rem; margin-bottom:10px; color:var(--ink); }
.insight-card p, .resource-card p{ font-size:13.8px; color:var(--text-dark); margin-bottom:16px; }
.insight-details{ display:none; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.insight-card.expanded .insight-details{ display:block; }
.card-tags{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:16px; }
.card-tags span{ font-size:11px; background:var(--bone); padding:3px 9px; border-radius:999px; color:var(--text-dark); }

.pagination{ display:flex; align-items:center; justify-content:center; gap:16px; margin-top:36px; font-family:'IBM Plex Mono', monospace; font-size:13px; }
.pagination button{ background:none; border:1px solid var(--line); width:36px; height:36px; cursor:pointer; }
.pagination button:disabled{ opacity:0.35; cursor:not-allowed; }

/* deal vault */
.deal-filters{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.deal-card .redacted{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color:var(--oxblood); background:rgba(148,27,32,0.06); padding:5px 10px; margin-bottom:12px; }
.deal-card .redacted svg{ width:13px; height:13px; }
.deal-meta-row{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--text-dark); border-top:1px solid var(--line); padding-top:12px; margin-top:14px; }

/* offices / contact */
.contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:40px; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.office-item{
  width:100%; text-align:left; background:var(--white); border:1px solid var(--line);
  padding:20px 22px; cursor:pointer; margin-bottom:12px; display:block;
}
.office-item.active{ border-color:var(--oxblood); background:#fff; box-shadow:0 0 0 1px var(--oxblood); }
.office-item h3{ font-family:'Fraunces', serif; font-size:1.05rem; margin-bottom:6px; color:var(--ink); }
.office-item p{ font-size:13px; color:var(--text-dark); margin-bottom:4px; }
.office-item .office-links{ display:flex; gap:14px; margin-top:10px; font-size:12.5px; }
.office-item .office-links a{ color:var(--oxblood); text-decoration:none; }
.map-frame-wrap{ border:1px solid var(--line); overflow:hidden; height:420px; }
.map-frame-wrap iframe{ width:100%; height:100%; border:0; }

/* forms */
.form-pane{ background:var(--ink-2); color:var(--white); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; }
@media (max-width:860px){ .form-grid{ grid-template-columns:1fr; } }
.form-grid h2{ font-family:'Fraunces', serif; font-size:clamp(1.6rem,3vw,2.2rem); max-width:16ch; margin-bottom:16px; }
.form-grid > div > p{ color:rgba(245,241,232,0.7); font-size:14.5px; max-width:38ch; margin-bottom:8px; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:12px; letter-spacing:0.05em; text-transform:uppercase; color:rgba(245,241,232,0.55); margin-bottom:8px; font-family:'IBM Plex Mono', monospace; }
.field input, .field select, .field textarea{
  width:100%; background:transparent; border:none; border-bottom:1px solid rgba(245,241,232,0.28);
  color:var(--white); font-family:'Public Sans', sans-serif; font-size:15px; padding:9px 2px; transition:border-color 0.2s ease;
}
.field select option{ color:var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--oxblood); outline:none; }
.field textarea{ resize:vertical; min-height:70px; }
.adverse-list{ display:flex; flex-direction:column; gap:10px; margin-bottom:10px; }
.adverse-row{ display:flex; gap:10px; }
.adverse-row input{ flex:1; }
.remove-adverse{ background:none; border:none; color:var(--oxblood); cursor:pointer; font-size:13px; }
.add-adverse{ background:none; border:none; color:var(--oxblood); cursor:pointer; font-size:13px; padding:6px 0; }
.form-status{ margin-top:18px; font-size:13.5px; min-height:20px; font-family:'IBM Plex Mono', monospace; }
.form-status.ok{ color:var(--oxblood); }
.form-status.warn{ color:#E4A24A; }
.conflict-note{ background:rgba(228,162,74,0.1); border:1px solid rgba(228,162,74,0.3); padding:14px 16px; font-size:13px; margin-top:14px; color:#F0C179; }

/* toast */
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--ink); color:var(--white); padding:14px 22px; border-left:3px solid var(--oxblood);
  font-size:13.5px; z-index:700; opacity:0; pointer-events:none; transition:all 0.3s ease;
  max-width:90vw;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* quote */
.quote-pane{ background:var(--oxblood); color:var(--white); padding:90px 0; position:relative; }
.quote-pane::before{ content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--ink); margin-left:calc((100% - 1180px)/2 + 32px); }
@media (max-width:1244px){ .quote-pane::before{ margin-left:32px; } }
blockquote{ font-family:'Fraunces', serif; font-style:italic; font-weight:500; font-size:clamp(1.4rem,3vw,2rem); line-height:1.45; max-width:28ch; padding-left:34px; color:var(--white); }
.quote-attr{ margin-top:24px; padding-left:34px; font-family:'IBM Plex Mono', monospace; font-size:12.5px; color:rgba(245,241,232,0.6); }

.quote-deck-grid{ display:grid; grid-template-columns:1fr 1.3fr; gap:48px; align-items:center; }
.deck-col{ position:relative; padding-top:32px; }
.deck-all-btn{ position:absolute; top:32px; right:0; z-index:10; background:var(--ink); color:var(--white); border:none; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
.deck-all-btn:hover{ background:var(--oxblood); color:var(--white); }
.card-deck{ position:relative; height:420px; margin-top:48px; }
.deck-card{ position:absolute; top:0; left:0; width:100%; max-width:400px; min-height:380px; background:var(--bone); color:var(--text-dark); border:1px solid var(--line); padding:28px; border-radius:var(--radius); transition:all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1); cursor:default; box-shadow:0 8px 24px rgba(0,0,0,0.12); }
.deck-card .meta{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--slate); margin-bottom:8px; display:flex; gap:12px; }
.deck-card h3{ font-family:'Fraunces', serif; font-size:1.05rem; margin-bottom:10px; color:var(--ink); line-height:1.35; }
.deck-card .card-tags{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.deck-card .card-tags span{ font-size:10px; background:rgba(148,27,32,0.06); padding:3px 8px; border-radius:999px; color:var(--text-dark); }
.deck-card p{ font-size:13px; color:var(--text-dark); line-height:1.55; margin-bottom:14px; }
.deck-card .insight-details{ display:none; margin-top:10px; padding-top:10px; border-top:1px solid var(--line); }
.deck-card.expanded .insight-details{ display:block; }
.deck-card .btn-ghost-light{ border-color:var(--line); color:var(--ink); background:transparent; }
.deck-card .btn-ghost-light:hover{ border-color:var(--oxblood); color:var(--oxblood); }

@media (max-width:900px){
  .quote-deck-grid{ grid-template-columns:1fr; gap:32px; }
  .card-deck{ height:400px; }
  .deck-all-btn{ position:static; margin-bottom:12px; }
}

/* footer */
footer{ background:var(--bone); color:var(--text-dark); padding:48px 0 32px; font-size:13px; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; margin-bottom:32px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-grid h4{ font-family:'IBM Plex Mono', monospace; font-size:13px; letter-spacing:0.08em; text-transform:uppercase; color:var(--oxblood); margin-bottom:14px; }
.footer-grid a{ display:block; text-decoration:none; color:var(--text-dark); padding:5px 0; font-size:13px; }
.footer-grid a:hover{ color:var(--oxblood); }
.footer-bottom{ border-top:1px solid var(--line); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* empty state */
.empty-state{ text-align:center; padding:60px 20px; color:var(--text-dark); }
.empty-state svg{ width:40px; height:40px; margin:0 auto 16px; color:var(--oxblood); }

/* sr-only */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
