/* Ancient Intelligence transparent identity v3.0. Load after existing style sheets. */
:root{--magenta:#ED21BB}
.header .brand{display:block;width:252px;max-width:calc(100% - 80px)}
.brand .brand-logo{display:block;width:100%;height:auto}
footer .brand{display:block;width:280px;max-width:100%}
@media(max-width:1000px){
 .header{padding-block:15px;gap:18px}
 .menu-toggle{display:flex;gap:10px;align-items:center;font-size:12px;color:#130c19}
 .header nav{display:none;position:absolute;top:100%;left:0;right:0;padding:20px var(--pad);background:#fff;border-bottom:1px solid #ded6e4;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
 .header nav.open{display:flex}
 .header nav>a,.nav-group>summary{font-size:15px;padding:15px 0;min-height:48px}
 .nav-group{border-bottom:1px solid #e5dce9}
 .nav-panel{position:static;width:100%;border:0;box-shadow:none;padding:0 0 12px 14px;background:#faf7fc}
 .header .nav-panel a{font-size:14px;padding:13px 12px}
 .nav-contact{width:100%!important;text-align:center;margin-top:10px}
}
@media(max-width:600px){.header .brand{width:220px}.header{gap:12px}footer .brand{width:260px}}
@media(max-width:360px){.header .brand{width:190px}.menu-toggle{gap:6px}}

/* Shared top-strip service link, visible on phone and desktop. */
.topline{align-items:center;flex-wrap:wrap}
.topline .topline-service{display:inline-flex;align-items:center;gap:8px;font-weight:700;white-space:nowrap}
.topline .topline-service:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:850px){.topline{gap:6px 16px;padding-block:10px}.topline>span{width:100%;text-align:center}.topline .topline-service{display:inline-flex;font-size:10px}}

/* The original pink AI logo is the independent brand. C10 is a partner.
   The SVG viewport preserves the original approved pixels and lettering. */
.brand .brand-logo{height:auto;aspect-ratio:1536/1024;object-fit:contain;background:transparent;border-radius:0}
.header .brand{flex-shrink:0}
.nav-brand-feature{padding:10px!important;background:#09040f!important}
.nav-brand-art{display:block;width:100%;height:200px;object-fit:contain}
.c10-logo.c10-signature{display:block;width:100%;max-width:520px;margin:20px auto 24px;padding:0;border:0;background:#09040f}
.c10-logo.c10-signature img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.nav-c10 .nav-panel{width:300px}
@media(max-width:1000px){.nav-c10 .nav-panel{width:100%}.nav-brand-art{height:190px}.header .brand{width:230px;max-width:calc(100% - 88px)}}
@media(max-width:600px){.header .brand{width:210px}.c10-logo.c10-signature{max-width:420px}}
@media(max-width:360px){.header .brand{width:190px}}

/* Independent brand placements; partner artwork stays in its existing sections. */
.header{padding-block:10px}
.header .brand{width:184px}
footer .brand{width:220px}
@media(max-width:1000px){.header .brand{width:180px}.header nav{max-height:calc(100dvh - 170px)}}
@media(max-width:600px){.header .brand{width:180px}footer .brand{width:220px}}

/* Transparent logo system: black lettering on light, white lettering on dark. */
.header .brand{width:218px}footer .brand{width:250px}
@media (max-width: 1000px) { .header .brand { width: 190px; } }

/* Business Consulting page. */
.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 290px);
  grid-template-areas: "heading photo" "byline photo" "details photo";
  gap: 14px clamp(32px, 6vw, 96px);
  align-content: center;
  padding: clamp(32px, 4vw, 64px) var(--pad);
  background: #fff;
  color: #1a1020;
  border-bottom: 1px solid #ded6df;
}
.services-intro h1 {
  grid-area: heading;
  align-self: end;
  max-width: 22ch;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 580;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.intro-byline {
  grid-area: byline;
  align-self: end;
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 650;
  line-height: 1.3;
}
.intro-portrait {
  grid-area: photo;
  align-self: center;
  justify-self: center;
  width: min(100%, 260px);
  height: auto;
}
.intro-details { grid-area: details; align-self: start; }
.intro-details > p {
  max-width: 51ch;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}
.intro-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 15px 0 22px;
  padding: 0;
  list-style: none;
  color: #693452;
  font-size: 14px;
}
.intro-specialties a { text-decoration: underline; text-underline-offset: 3px; }
.intro-specialties a:hover { color: #1a1020; }
@media (max-width: 700px) {
  .services-intro {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas: "heading heading" "photo byline" "details details";
    gap: 16px;
    padding-block: 28px;
  }
  .services-intro h1 { font-size: clamp(32px, 8.4vw, 45px); }
  .intro-byline { align-self: center; }
  .intro-specialties { gap: 4px 15px; }
}

#mission-title { font-size: clamp(42px, 4.8vw, 74px); }
#mission-title span { color: #871392; }
.header .nav-business { white-space: nowrap; }
.header .nav-business[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.consulting-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: clamp(36px, 5vw, 64px) var(--pad);
}
.consulting-offers h2 { font-family: Inter, Arial, sans-serif; font-size: 21px; font-weight: 650; line-height: 1.25; }
.consulting-offers p { margin-top: 10px; line-height: 1.65; }
@media (max-width: 700px) { .consulting-offers { grid-template-columns: 1fr; gap: 24px; } }

.mission-founder {
  display: grid;
  grid-template-columns: clamp(112px, 11vw, 156px) minmax(0, 23ch);
  gap: clamp(16px, 2vw, 26px);
  align-items: center;
  margin-top: 24px;
  color: #251b2b;
}
.mission-founder img { display: block; width: 100%; height: auto; }
.mission-founder p { margin: 0; line-height: 1.5; }

.name-story {
  display: grid;
  grid-template-columns: minmax(0, 64ch) minmax(160px, 240px);
  justify-content: space-between;
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  padding: clamp(32px, 5vw, 70px) var(--pad);
  border-bottom: 1px solid #e8e0e8;
  background: #fff;
  color: #251b2b;
}
.name-story h1 { font-size: clamp(40px, 5vw, 76px); }
.name-story-copy p {
  margin-top: 16px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
}
.name-story-copy strong { color: #791282; }
.name-story .mission-founder {
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}
.name-story .mission-founder img { max-width: 200px; }
@media (max-width: 700px) {
  .name-story { grid-template-columns: 1fr; gap: 24px; }
  .name-story .mission-founder {
    grid-template-columns: 76px minmax(0, 23ch);
    gap: 16px;
  }
  #why-ancient-intelligence .mission-founder {
    grid-template-columns: min(38%, 10.5rem) minmax(0, 23ch);
  }
}

.newsletter-invite {
  padding: 10px var(--pad, 5vw);
  background: #fff;
}
.newsletter-invite-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
  padding: 12px clamp(18px, 3vw, 38px);
  border-radius: 10px;
  background: linear-gradient(105deg, #3a104f, #9b075b);
  color: #fff;
  text-decoration: none;
}
.newsletter-invite-copy { display: grid; gap: 2px; }
.newsletter-invite-month { font: 700 13px/1.3 Inter, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.newsletter-invite-copy strong { font: 750 clamp(25px, 3vw, 37px)/1.12 Inter, Arial, sans-serif; letter-spacing: -.035em; }
.newsletter-invite-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #73094f;
  font: 700 24px/1 Arial, sans-serif;
}
.newsletter-invite-link:hover strong { text-decoration: underline; text-underline-offset: .13em; }
.newsletter-invite-link:focus-visible { outline: 3px solid #43105c; outline-offset: 3px; }
