/* Shared site styles; brand roles follow the later E3DI Brand Identity Guidelines. */
@font-face{ font-family:"Archivo"; src:url('/assets/fonts/Archivo.ttf') format('truetype'); font-style:normal; font-weight:100 900; font-display:swap; }
@font-face{ font-family:"Fraunces"; src:url('/assets/fonts/Fraunces.ttf') format('truetype'); font-style:normal; font-weight:100 900; font-display:swap; }
@font-face{ font-family:"Inter"; src:url('/assets/fonts/Inter.ttf') format('truetype'); font-style:normal; font-weight:100 900; font-display:swap; }
/* ===========================================================
   E3 Defense Integrations: Brand Tokens
   =========================================================== */
:root{
  --ink:        #0a0a0a;   /* brand background */
  --ink-2:      #373737;   /* brand charcoal panels */
  --ink-3:      #373737;
  --line:       #373737;
  --cream:      #e8e2dd;   /* headlines / primary text */
  --fog:        #90a4ae;   /* secondary / muted text */
  --fog-dim:    #90a4ae;
  --teal:       #90a4ae;   /* readable secondary accent */
  --teal-deep:  #2a4954;   /* deep accent / footer band */
  --bronze:     rgba(197,169,109,0.25);   /* subdued guide Gold motif */
  --bronze-soft:#c5a96d;

  --max: 1180px;
  --pad: clamp(1.5rem, 5vw, 4rem);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --sans:  "Archivo", "Arial Narrow", Arial, sans-serif;
  --body:  "Inter", -apple-system, "Segoe UI", sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

h1,h2,h3,h4{
  font-family: var(--sans);
  color: var(--cream);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
h1,h2{ font-family: var(--serif); }

h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3{ font-size: clamp(1.15rem, 2vw, 1.4rem); }

p{ margin: 0 0 1em 0; }
p:last-child{ margin-bottom:0; }

.eyebrow{
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  display:flex;
  align-items:center;
  gap: 0.9em;
}
.eyebrow::before{
  content:"";
  width: 26px;
  height: 2px;
  background: var(--teal);
  display:inline-block;
}

.lede{
  color: var(--fog);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  max-width: 62ch;
}

/* ===========================================================
   Buttons
   =========================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:0.6em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95em 1.7em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--teal-deep);
  color: var(--cream);
}
.btn-primary:hover{ background:var(--teal-deep); }

.btn-ghost{
  border-color: var(--line);
  color: var(--cream);
  background: transparent;
}
.btn-ghost:hover{ border-color: var(--teal); color: var(--teal); }

.btn-row{ display:flex; gap:1rem; flex-wrap:wrap; align-items:center; }

/* ===========================================================
   Seam divider: signature motif
   A hairline with a notch "joint" at center, echoing the
   interlocking negative space of the E3 mark.
   =========================================================== */
.seam{
  display:flex;
  align-items:center;
  gap: 0.5rem;
  width:100%;
  color: var(--line);
}
.seam .seam-rule{ flex:1; height:1px; background: var(--line); }
.seam .seam-joint{
  width: 9px; height: 9px;
  border: 1.5px solid var(--teal);
  transform: rotate(45deg);
  flex: none;
}
.seam.tight{ padding: 0; max-width:none; }

/* ===========================================================
   Header / Nav
   =========================================================== */
header.site{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display:flex;
  flex-wrap:wrap;
  row-gap:.5rem;
  container-type: inline-size;
  position: relative;
  align-items:center;
  justify-content: space-between;
  font-size:16px;
  padding: 0.9em var(--pad);
  max-width: var(--max);
  margin:0 auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:0.7em;
  font-family: var(--sans);
  color: var(--cream);
}
.brand-lockup{ display:block; position:relative; overflow:hidden; width:156px; height:46px; flex:none; }
.brand-lockup img{ width:156px; height:auto; max-width:none; }
.brand .brand-word{
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height:1.15;
  text-transform: uppercase;
}
.brand .brand-word span{
  display:block;
  font-family: var(--body);
  font-weight:500;
  letter-spacing: 0.28em;
  font-size: 0.707em;
  color: var(--fog-dim);
  margin-top: 2px;
}

nav.links{ display:flex; align-items:center; gap: 2em; }
nav.links a{
  font-size: 0.82em;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fog);
  transition: color .15s ease;
}
nav.links a:hover{ color: var(--teal); }
nav.links .btn{ padding: 0.6em 1.3em; }
nav.links a.btn-primary{ color:var(--cream); }

.nav-toggle{
  display:none;
  align-items:center;
  gap:0.65em;
  margin-left:auto;
  padding:0.55em 0.75em;
  border:1px solid var(--line);
  background:var(--ink-2);
  color:var(--cream);
  font:600 0.82em var(--sans);
  letter-spacing:0.06em;
  text-transform:uppercase;
  cursor:pointer;
}
.nav-toggle:hover,
.nav-toggle:focus-visible{ border-color:var(--fog); }
.nav-toggle-icon{
  display:inline-block;
  width:1.1em;
  height:0.8em;
  border-top:2px solid currentColor;
  border-bottom:2px solid currentColor;
  position:relative;
}
.nav-toggle-icon::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:calc(50% - 1px);
  border-top:2px solid currentColor;
}

/* Use the compact menu when the available header width cannot fit the links. */
@container (max-width: 960px){
  .nav-toggle{ display:inline-flex; }
  nav.links{ display:none; }
  .nav.menu-open nav.links{
    display:flex;
    position:absolute;
    left:var(--pad);
    right:var(--pad);
    top:100%;
    z-index:2;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    max-height:calc(100vh - 80px);
    overflow-y:auto;
    padding:0.35em;
    border:1px solid var(--line);
    background:var(--ink-2);
    box-shadow:0 16px 32px rgba(25,25,25,0.4);
  }
  .nav.menu-open nav.links a{
    display:block;
    padding:0.7em 0.85em;
  }
  .nav.menu-open nav.links .btn{
    margin-top:0.35em;
  }
}

/* ===========================================================
   Hero
   =========================================================== */
.hero{
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 12vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after{
  content:"";
  position:absolute;
  border-radius: 50%;
  background: var(--bronze);
  opacity: 0.55;
  filter: blur(0px);
}
.hero::before{ width: 380px; height: 380px; top:-160px; right:-140px; }
.hero::after{ width: 300px; height:300px; bottom:-170px; right: 12%; opacity:0.35; }

.hero .wrap{ position:relative; z-index:2; }

.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items:center;
}
.hero-mark{ display:flex; flex-direction:column; align-items:flex-start; gap:1.4rem; width:100%; }
.hero-mark img{ width: min(260px, 100%); }
@media (min-width: 981px){
  .page-home .hero-mark{ align-self:start; }
  .page-home .hero-mark .tags{ font-size:0.7em; }
  .page-home .hero-copy .eyebrow{ font-size:0.72em; }
  .page-home .hero-copy h1{ font-size:clamp(2.5em, 6vw, 4.4em); }
  .page-home .hero-copy .lede{ font-size:clamp(1.02em, 1.4vw, 1.15em); }
  .page-home .hero-copy .btn{ font-size:0.85em; }
  .page-home .hero-copy .badge-row{ font-size:0.72em; }
}
.hero-mark .tags{
  display:flex; flex-direction:column; gap:0.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog-dim);
  white-space: nowrap;
}
.hero-mark .tags b{ color: var(--fog); font-weight:700; }

.hero-copy h1{
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  text-transform: uppercase;
}
.hero-copy h1 .accent{ color: var(--teal); display:block; }
.hero-copy .lede{ margin-top: 1.4rem; }
.hero-copy .btn-row{ margin-top: 2.2rem; }

.badge-row{
  display:flex; gap:1.1rem; margin-top: 2.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog-dim);
}
.badge-row .dot{ color: var(--teal); }

/* ===========================================================
   Sections generic
   =========================================================== */
section{ padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
section.alt{ background: var(--ink-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.section-head{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items:end;
  margin-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.section-head h2{ margin-top: 0.9rem; }
.section-head .lede{ margin:0; }

/* ===========================================================
   Who We Are
   =========================================================== */
.about-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items:start;
}
.standard-list{
  list-style:none; margin:0; padding:0;
  display:flex; flex-direction:column; gap: 0.9rem;
}
.standard-list li{
  display:flex; align-items:flex-start; gap:0.9rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.standard-list li:last-child{ border-bottom:none; }
.standard-list .num{
  color: var(--teal);
  font-family: var(--sans);
  font-size:0.75rem;
  letter-spacing: 0.08em;
  padding-top: 0.2rem;
  flex: none;
}
.standard-list .std-text{ display:flex; flex-direction:column; gap:0.35rem; }
.standard-list .std-title{
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
}
.standard-list .std-text p, .standard-list .std-text{
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.87rem;
  color: var(--fog);
  line-height: 1.5;
}
.standard-panel{
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 1.8rem;
}
.standard-panel .eyebrow{ margin-bottom:1.2rem; }

/* ===========================================================
   Capability cards (What We Do)
   =========================================================== */
.cap-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap-card{
  background: var(--ink);
  padding: 2rem 1.7rem;
  display:flex; flex-direction:column; gap:1rem;
  min-height: 280px;
}
.cap-card .idx{
  font-family: var(--sans);
  color: var(--bronze-soft);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}
.cap-card h3{ color:var(--cream); }
.cap-card p{ font-size: 0.94rem; }
.cap-card .tag{
  margin-top:auto;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  white-space:normal;
  overflow-wrap:break-word;
  text-transform: uppercase;
  color: var(--teal);
}

/* ===========================================================
   Why E3DI: differentiators
   =========================================================== */
.diff-list{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border:1px solid var(--line);
}
.diff-item{
  background: var(--ink-2);
  padding: 1.9rem 2rem;
}
.diff-item h3{
  font-family: var(--sans);
  color: var(--cream);
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}
.diff-item p{ font-size: 0.92rem; margin:0; }
.diff-item.wide{ grid-column: span 2; background: var(--teal-deep); }
.diff-item.wide h3{ color:var(--cream); }
.diff-item.wide p{ color:var(--cream); }

.audience-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.audience-grid .diff-item{ background: var(--ink-2); }

/* ===========================================================
   Why E3DI: the E3DI Difference
   =========================================================== */
.why-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.why-card{
  background: var(--ink-2);
  padding: 2rem 2.1rem;
  display:flex; flex-direction:column; gap:0.7rem;
}
.why-idx{
  font-family: var(--sans);
  color: transparent;
  -webkit-text-stroke: 1.3px var(--bronze-soft);
  font-size: 2rem;
  font-weight: 800;
}
.why-card h4{
  font-family: var(--sans);
  color: var(--cream);
  font-size: 1.08rem;
}
.why-card .why-sub{
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}
.why-card p:last-child{ font-size: 0.92rem; margin-top:0.2rem; }

.why-closing{
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 5vw, 2.8rem);
}

/* ===========================================================
   Process teaser (home) + full steps (process page)
   =========================================================== */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step{ position:relative; padding-top: 1.6rem; }
.step .seam{ padding:0; max-width:none; margin-bottom:1.2rem; }
.step h3{ margin-bottom: 0.6rem; }
.step p{ font-size:0.92rem; }
.step .step-label{
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--fog-dim);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* ===========================================================
   Leadership strip
   =========================================================== */
.lead-grid{
  width:calc(100% + 2rem);
  margin-inline:-1rem;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.lead-card{
  border: 1px solid var(--line);
  padding: 0.5rem;
  background: var(--ink-2);
}
.lead-avatar{
  width: 100%; aspect-ratio:1;
  border:0;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--sans);
  color: var(--teal);
  font-weight:800;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.lead-card .name{ color: var(--cream); font-family: var(--sans); font-weight:700; font-size:1rem; }
.lead-avatar > img{ display:block; width:100%; height:auto; object-fit:contain; transform:scale(1.05); }
.lead-avatar > img[src="/assets/team/erik-price.webp"]{ height:100%; object-fit:cover; object-position:center top; transform:none; }
.lead-card .role{ font-size: 0.8rem; color: var(--teal); margin-top:0.2rem; letter-spacing:0.02em; }

.lead-card.role-only{ border-style: dashed; }
.lead-card.role-only .lead-avatar{
  border-color: var(--bronze-soft);
  background: transparent;
}
.lead-card.role-only .joint{
  width: 10px; height: 10px;
  border: 1.5px solid var(--bronze-soft);
  transform: rotate(45deg);
  display:block;
}
.lead-card .role-only-title{
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  margin-top: 0.2rem;
}

/* ===========================================================
   CTA band
   =========================================================== */
.cta-band{
  background: var(--teal-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2{ color:var(--cream); }
.cta-band .lede{ color:var(--cream); }
.cta-band .btn-primary{ background:var(--teal-deep); color:var(--cream); border-color:var(--cream); }
.cta-band .btn-primary:hover{ background:var(--teal-deep); }
.cta-band .btn-primary:focus-visible{ outline:2px solid var(--cream); outline-offset:3px; }
.cta-band .btn-ghost{ border-color: rgba(232,226,221,0.4); color:var(--cream); }
.cta-band .btn-ghost:hover{ border-color:var(--cream); color:var(--cream); }

/* ===========================================================
   Contact / Request Info form
   =========================================================== */
.contact-grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-info-list{ list-style:none; margin: 1.6rem 0 0; padding:0; display:flex; flex-direction:column; gap:1rem; }
.contact-info-list li{ font-size:0.92rem; }
.contact-info-list b{ color: var(--cream); display:block; font-family:var(--sans); font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:0.25rem; color:var(--fog-dim); }

form.request-form{
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field{ margin-bottom: 1.1rem; }
.field label{
  display:block;
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog-dim);
  margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea{
  width:100%;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 0.75em 0.9em;
  border-radius: 2px;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--teal);
}
.field textarea{ resize: vertical; min-height: 100px; }
.form-note{ font-size:0.78rem; color: var(--fog-dim); margin-top:1rem; }
.request-form .inquiry-disclosure{ font-size:0.7rem; }
.form-status{
  display:none;
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  color: var(--cream);
  font-size: 0.78rem;
}
.form-status.show{ display:block; }

/* ===========================================================
   Family of Companies
   =========================================================== */
.family-band{
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.family-inner{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items:center;
}
.family-copy .eyebrow{ margin-bottom: 0.9rem; }
.family-copy p.lede{ margin-top: 1rem; }
.family-card{
  background: #f7f5f2;
  border-radius: 4px;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 1.3rem;
}
.family-card img{ height: 54px; width:auto; }
.family-card p{
  color: #3a3a3a;
  font-size: 0.94rem;
  margin:0;
}
.family-card .btn-primary{
  background: var(--teal-deep);
  color: #f3f8f9;
}
.family-card .btn-primary:hover{ background: #35586a; }
.family-card .ext-icon{ margin-left: 0.4em; font-size: 0.8em; }

@media (max-width: 980px){
  .lead-grid{ width:100%; margin-inline:0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-inner{ grid-template-columns: 1fr; }
}

/* ===========================================================
   Footer
   =========================================================== */
footer.site{
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 1.6rem;
}
.footer-top{
  display:grid; grid-template-columns:minmax(0, 1fr) auto;
  align-items:center; gap:2rem;
  padding-bottom:1.6rem;
}
.footer-brand{ display:flex; align-items:center; gap:1rem; }
.footer-brand img{ width:177px; max-width:100%; height:auto; }
.footer-brand span{
  font-family: var(--sans); text-transform:uppercase; letter-spacing:0.16em;
  font-size:0.75rem; color:var(--cream); font-weight:800;
}
.footer-social{ display:flex; align-items:center; justify-self:end; width:120px; min-height:44px; }
.footer-social img{ width:120px; height:auto; }
.footer-social:focus-visible{ outline:2px solid var(--cream); outline-offset:4px; }
.footer-links{ grid-column:1 / -1; display:flex; justify-content:space-between; gap:2.2rem; flex-wrap:wrap; }
@media (max-width:480px){
  .footer-top{ grid-template-columns:minmax(0, 1fr); }
  .footer-social{ justify-self:start; }
}
.footer-links a{ font-size:0.82rem; color:var(--fog); }
.footer-links a:hover{ color: var(--teal); }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  color: var(--fog-dim);
  letter-spacing: 0.03em;
}

/* ===========================================================
   Process page specifics
   =========================================================== */
.tier-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tier{
  background: var(--ink-2);
  padding: 2.1rem 1.8rem;
  display:flex; flex-direction:column;
}
.tier.feat{ background: var(--teal-deep); }
.tier .tier-eyebrow{
  font-family: var(--sans); font-size:0.7rem; letter-spacing:0.2em;
  text-transform:uppercase; color: var(--teal); margin-bottom:0.6rem;
}
.tier.feat .tier-eyebrow{ color: var(--cream); }
.tier h3{ color: var(--cream); margin-bottom:0.8rem; }
.tier.feat h3{ color:var(--cream); }
.tier .fit{ font-size:0.86rem; margin-bottom:1.3rem; }
.tier.feat .fit{ color:var(--cream); }
.tier ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:0.65rem; font-size:0.85rem; }
.tier ul li{ padding-left:1.1rem; position:relative; }
.tier ul li::before{ content:"•"; position:absolute; left:0; color: var(--teal); }
.tier.feat ul li{ color:var(--cream); }
.tier.feat ul li::before{ color:var(--cream); }

.timeline{ display:flex; flex-direction:column; }
.tl-step{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
}
.tl-step:first-child{ padding-top:0; }
.tl-step:last-child{ border-bottom:none; }
.tl-num{
  font-family: var(--sans);
  font-size: 2.6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--bronze-soft);
}
.tl-content h3{ margin-bottom:0.5rem; }
.tl-content p{ font-size:0.94rem; max-width:56ch; }
.tl-meta{
  display:flex; gap:1.4rem; margin-top:0.9rem;
  font-family:var(--sans); font-size:0.7rem; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--fog-dim);
}

.faq-item{ border-bottom:1px solid var(--line); padding: 1.4rem 0; }
.faq-item h3{ font-family:var(--sans); color:var(--cream); font-size:1rem; margin-bottom:0.5rem; }
.faq-item p{ font-size:0.92rem; margin:0; }

/* ===========================================================
   Responsive
   =========================================================== */
/* Keep capability labels on one line just above the two-column breakpoint. */
@media (min-width: 981px) and (max-width: 1040px){
  .cap-card{ padding-inline:1.25rem; }
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-mark{ flex-direction:row; align-items:center; gap:1.6rem; }
  .hero-mark img{ width: 90px; }
  .hero-mark .tags{ white-space:normal; }
  .section-head{ grid-template-columns: 1fr; }
  .page-process .section-head{ grid-template-columns:minmax(0,1fr); }
  .page-process .section-head > *{ min-width:0; overflow-wrap:anywhere; }
  .about-grid{ grid-template-columns: 1fr; }
  .cap-grid{ grid-template-columns: repeat(2, 1fr); }
  .diff-list{ grid-template-columns: 1fr; }
  .diff-item.wide{ grid-column: span 1; }
  .audience-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; gap: 2.6rem; }
  .contact-grid{ grid-template-columns: 1fr; }
  .tier-grid{ grid-template-columns: 1fr; }
  .tl-step{ grid-template-columns: 1fr; gap: 0.6rem; }
  .tl-num{ font-size: 1.6rem; }
}

@media (max-width: 720px){
  .cap-grid{ grid-template-columns: minmax(0,1fr); }
  .lead-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .cta-inner{ flex-direction:column; align-items:flex-start; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn{ transition:none; }
}


/* Process prototype additions. */
.page-process .hero-grid{ grid-template-columns:0.7fr 1.3fr; }
.page-process .hero-mark{ width:auto; }
.page-process .hero-mark img{ width:min(220px, 100%); }
.page-process .hero-mark .tags{ letter-spacing:0.18em; white-space:normal; }
@media (max-width:980px){
  .page-process .hero-grid{ grid-template-columns:1fr; }
  .page-process .hero-mark img{ width:90px; }
}

/* Exact values migrated from prototype inline style attributes. */
body.page-home .prototype-inline-home-01{ margin-bottom:1.2em; }
body.page-home .prototype-inline-home-02{ max-width:72ch; }
body.page-home .prototype-inline-home-03{ max-width:72ch; margin-top:0.9rem; color:var(--cream); font-weight:600; }
body.page-home .prototype-inline-home-04{ margin-top:0; }
body.page-home .prototype-inline-home-05{ max-width:70ch; }
body.page-home .prototype-inline-home-06{ max-width:70ch; margin-top:0.6rem; color:var(--cream); font-weight:700; }
body.page-home .prototype-inline-home-07{ max-width:70ch; margin-top:0.6rem; }
body.page-home .prototype-inline-home-08{ margin-top:2.8rem; }
body.page-home .prototype-inline-home-09{ color:var(--cream); }
body.page-home .prototype-inline-home-10{ margin-top:0.7rem; }
body.page-home .prototype-inline-home-11{ margin-top:0.6rem; }
body.page-home .prototype-inline-home-12{ width:100%; justify-content:center; }
body.page-process .prototype-inline-process-01{ padding-bottom: 3rem; }
body.page-process .prototype-inline-process-02{ text-transform:none; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top:0.9rem; }
body.page-process .prototype-inline-process-03{ margin-top:1.2rem; }
body.page-process .prototype-inline-process-04{ max-width: 860px; }
body.page-process .prototype-inline-process-05{ grid-template-columns:1fr; }
body.page-process .prototype-inline-process-06{ color:var(--cream); }
body.page-process .prototype-inline-process-07{ margin-top:0.7rem; }
body.page-process .prototype-inline-process-08{ margin-top:0.6rem; }

/* Keyboard entry point; no change to the resting prototype composition. */
.skip-link{ position:absolute; left:1rem; top:-5rem; z-index:1000; padding:0.65rem 1rem; background:var(--cream); color:var(--ink); }
.skip-link:focus{ top:1rem; }

/* Selected E3DI privacy mockup; scoped to preserve the existing site. */
.privacy-notice{--bg:#191919;--panel:#191919;--text:#e8e2dd;--muted:#90a4ae;--line:#535b60;--accent:#c5a96d;--button:#2a4954;--heading:Fraunces;--sub:Archivo;--header:#191919;color-scheme:dark;font:16px/1.65 Inter,Arial,sans-serif;background:var(--bg);color:var(--text);box-shadow:none;}
.privacy-notice section{padding:0;border:0;scroll-margin-top:0;}
.privacy-notice a{text-decoration:underline;}
.privacy-notice .pn-gap.pn-client{border:2px dashed #a16c13;background:rgba(197,169,109,.09)}
.privacy-notice .pn-gap.pn-implementation{border:1px solid #5689a8;border-left:5px solid #5689a8;background:rgba(86,137,168,.10)}
.privacy-notice .pn-gap strong{display:block;font:700 12px/1.5 Inter,Arial,sans-serif;margin-bottom:8px}
.privacy-notice .pn-gap.pn-client strong{color:#e9ca8d}
.privacy-notice .pn-gap.pn-implementation strong{color:#b6d8ee}
.privacy-notice .pn-publication{display:inline-block;border:1px dotted currentColor;padding:3px 7px}
.privacy-notice .pn-gap span{color:var(--text)}
.privacy-notice *{box-sizing:border-box}
.privacy-notice a{color:inherit;text-underline-offset:4px}
.privacy-notice button{font:700 14px Inter,Arial,sans-serif;cursor:pointer;border-radius:3px;min-height:44px;padding:10px 18px;border:1px solid var(--line);background:var(--panel);color:var(--text)}
.privacy-notice button.pn-primary{background:var(--button);color:#fff;border-color:transparent}
.privacy-notice a:focus-visible,.privacy-notice button:focus-visible,.privacy-notice [tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.privacy-notice h1,.privacy-notice h2,.privacy-notice h3{color:#e8e2dd;font-family:var(--heading);font-weight:700;letter-spacing:normal;line-height:1.2}
.privacy-notice h1{font-size:clamp(32px,5vw,52px);max-width:22ch;margin:16px 0}
.privacy-notice h2{font-size:32px;margin:8px 0 10px}
.privacy-notice h3{font-family:var(--sub);font-size:18px;margin:0 0 16px}
.privacy-notice p{margin:0 0 16px}
dialog.privacy-notice{padding:0;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--text);width:min(760px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);overflow:hidden;}
dialog.privacy-notice::backdrop{background:rgba(0,0,0,.72)}
.privacy-notice .pn-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 50px)}
.privacy-notice .pn-noticehead{padding:24px 30px 18px;border-bottom:1px solid var(--line);flex:none}
.privacy-notice .pn-brandrow{display:flex;gap:12px;align-items:center;justify-content:space-between}
.privacy-notice .pn-identity{display:flex;align-items:center;gap:12px;font:700 12px var(--sub);letter-spacing:.04em}
.privacy-notice .pn-identity img{width:32px;height:32px;object-fit:contain}
.privacy-notice .pn-close{flex:none}
.privacy-notice .pn-noticehead h2{font-size:30px;margin:16px 0 8px}
.privacy-notice .pn-meta{font-size:12px;color:var(--muted);margin:0}
.privacy-notice .pn-scroll{overflow:auto;overscroll-behavior:contain;padding:26px 30px;min-height:0}
.privacy-notice .pn-summary{font-size:17px;line-height:1.6;margin-bottom:26px}
.privacy-notice .pn-noticebody section{margin:0 0 26px}
.privacy-notice .pn-noticebody p{color:#c2cbd0;font-weight:400;font-size:15px;line-height:1.7}
.privacy-notice .pn-gap{border:1px dashed var(--muted);border-radius:3px;min-height:82px;padding:10px 12px;margin:12px 0 0}
.privacy-notice .pn-gap span{font-size:11px;line-height:1.5;font-weight:600;display:block;color:var(--muted)}
.privacy-notice .pn-gap.pn-short{min-height:52px}
.privacy-notice .pn-gap.pn-tall{min-height:108px}
.privacy-notice .pn-noticefoot{padding:16px 30px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;font-size:13px}
.privacy-notice .pn-reviewnote{font-size:12px!important;color:var(--muted);border-left:2px solid var(--accent);padding-left:12px}
.privacy-notice.pn-full{max-width:760px;margin:36px auto;background:var(--panel);border:1px solid var(--line)}
.privacy-notice.pn-full .pn-noticehead{padding:28px 30px}
.privacy-notice.pn-full .pn-noticebody{padding:26px 30px}
.privacy-notice.pn-full .pn-noticefoot{position:static}
.privacy-notice .pn-seam{height:1px;background:#535b60;position:relative;margin-top:18px}
.privacy-notice .pn-seam:after{content:'';position:absolute;left:50%;width:7px;height:7px;transform:translateY(-3px) rotate(45deg);border:1px solid #90a4ae;background:#191919}
@media(max-width:600px){
dialog.privacy-notice{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
.privacy-notice .pn-shell{max-height:calc(100dvh - 18px)}
.privacy-notice .pn-noticehead{padding:16px 18px}
.privacy-notice .pn-noticehead h2{font-size:26px;margin-top:12px}
.privacy-notice .pn-scroll{padding:20px 18px}
.privacy-notice .pn-noticefoot{padding:12px 18px}
.privacy-notice .pn-identity{font-size:10px}
.privacy-notice .pn-identity img{width:26px;height:26px}
.privacy-notice .pn-close{padding:8px 12px}
.privacy-notice.pn-full{margin:0;border:0}
.privacy-notice.pn-full .pn-noticehead,.privacy-notice.pn-full .pn-noticebody{padding:22px 20px}
}
@media(prefers-reduced-motion:reduce){
.privacy-notice *{scroll-behavior:auto!important}
}
@media print{
.privacy-notice .pn-close,.privacy-notice .pn-noticefoot{display:none!important}
.privacy-notice.pn-full{margin:0;border:0;max-width:none}
.privacy-notice.pn-full .pn-noticebody{padding:20px}
.privacy-notice.pn-full .pn-noticehead{padding:20px}
.privacy-notice .pn-shell,.privacy-notice .pn-scroll{max-height:none;overflow:visible}
.privacy-notice h2,.privacy-notice h3,.privacy-notice p,.privacy-notice .pn-gap span{color:#111!important}
.privacy-notice .pn-gap{break-inside:avoid;border-color:#666}
.privacy-notice .pn-noticebody section{break-inside:avoid}
}

.form-note [data-privacy-notice]{text-decoration:underline;}

/* Keep enlarged notice identity text clear of its Close control. */
.privacy-notice .pn-identity{min-width:0;}
.privacy-notice .pn-identity span{min-width:0;overflow-wrap:anywhere;}
.privacy-notice .pn-identity img{flex-shrink:0;}

/* Branded Pages fallback, isolated from the normal site routes. */
.page-not-found .coming-soon-wrap{ min-height:100svh; max-width:1180px; margin:auto; padding:clamp(1.5rem,5vw,4rem); display:flex; flex-direction:column; }
.page-not-found .coming-soon-brand img{ width:clamp(180px,35vw,300px); height:auto; }
.page-not-found .coming-soon-message{ flex:1; display:flex; flex-direction:column; justify-content:center; padding:clamp(4rem,12vh,8rem) 0; max-width:48rem; }
.page-not-found .coming-soon-eyebrow{ font-family:var(--sans); text-transform:uppercase; letter-spacing:.15em; font-size:.8rem; color:var(--bronze-soft); }
.page-not-found h1{ font-family:var(--serif); font-size:clamp(3rem,10vw,7rem); line-height:1.08; margin:1rem 0 1.5rem; }
.page-not-found .coming-soon-intro{ color:var(--cream); font-size:clamp(1.2rem,3vw,1.5rem); margin:0 0 .5rem; }
.page-not-found .coming-soon-message p{ max-width:36rem; }
.page-not-found .coming-soon-footer{ border-top:1px solid var(--line); padding-top:1.25rem; font-size:.875rem; }

/* Keep keyboard focus and field errors visible in the inquiry form. */
.request-form input:focus-visible,.request-form select:focus-visible,.request-form textarea:focus-visible,.request-form button:focus-visible{outline:2px solid var(--bronze-soft);outline-offset:3px}
.request-form [aria-invalid="true"]{border-color:var(--bronze-soft)}

/* Home attribution: existing corporate shield, static greyscale. */
/* The 24px credit row plus 2px gap reuse 13px of spacing above and below. */
.page-home footer.site{padding-bottom:calc(1.6rem - 13px);}
.page-home .footer-bottom{align-items:center;padding-top:calc(1.4rem - 13px);}
.footer-credit-group{display:flex;flex-direction:column;gap:2px;}
.footer-attribution{display:flex;align-items:center;gap:6px;min-height:24px;}
.polymath-attribution{display:block;flex:0 0 24px;width:24px;height:24px;cursor:pointer;}
.polymath-attribution img{display:block;width:24px;height:24px;filter:grayscale(1);animation:none;transition:none;}
.polymath-attribution:focus-visible{outline:2px solid var(--cream);outline-offset:4px;}

/* Keep enlarged Home text within its existing layout. */
.page-home main{overflow-wrap:anywhere;}
.page-home main .ext-icon{overflow-wrap:normal;}
.page-home .hero-mark .tags{white-space:normal;}
.page-home .form-row>.field,.page-home .family-inner>*{min-width:0;}
.page-home .family-card .btn{max-width:100%;}
@media(max-width:360px){.page-home header.site .nav{flex-wrap:wrap;}}
/* Its fixed off-screen offset must not expose enlarged unfocused text. */
.page-home .skip-link:not(:focus){clip-path:inset(50%);}

/* Keep content and controls reachable at very narrow zoom layouts. */
@media(max-width:319px){
  :root{
  --pad:clamp(8px,calc(10vw - 8px),24px);

}
.brand{
  min-width:0;
  max-width:100%;

}
.brand-lockup{
  max-width:100%;
  height:auto;
  aspect-ratio:156/46;

}
.brand-lockup img{
  width:100%;

}
.hero-mark{
  flex-wrap:wrap;

}
.page-process .wrap,.privacy-notice{
  overflow-wrap:anywhere;

}
.footer-social{
  max-width:100%;

}
.cap-grid{
  grid-template-columns:minmax(0,1fr);

}
.skip-link:not(:focus){
  clip-path:inset(50%);

}
dialog.privacy-notice{
  overflow:auto;

}
dialog.privacy-notice .pn-shell{
  max-height:none;

}
dialog.privacy-notice .pn-scroll{
  overflow:visible;

}
.privacy-notice .pn-brandrow{
  flex-wrap:wrap;

}
.privacy-notice .pn-identity{
  min-width:0;

}
.privacy-notice .pn-noticehead{
  padding-inline:var(--pad);

}
.privacy-notice button{
  padding-inline:min(18px,4vw);
  min-width:44px;
  max-width:100%;

}

}
