/* ================================================================
   23ANDME — Values Life
   Brand stylesheet (Bootstrap 5 override layer)
   Palette derived from the company logo:
     Terracotta  #E8773F   (life / energy / accessibility)
     Ink         #231F20   (strength / precision)
   ================================================================ */

:root {
  --brand:        #E8773F;   /* logo terracotta            */
  --brand-600:    #D4652E;   /* hover / active             */
  --brand-700:    #B9531F;   /* deep press                 */
  --brand-soft:   #FBEEE6;   /* tinted surface             */
  --brand-line:   #F3D8C6;   /* tinted hairline            */

  --ink:          #231F20;   /* logo black                 */
  --ink-2:        #3A3330;   /* softened ink               */
  --muted:        #6B615C;   /* secondary text             */
  --line:         #ECE6E1;   /* neutral hairline           */

  --paper:        #FFFFFF;
  --paper-warm:   #FBF8F5;   /* faint warm section wash    */

  --shadow-sm: 0 1px 2px rgba(35,31,32,.05), 0 4px 14px rgba(35,31,32,.05);
  --shadow-md: 0 10px 30px rgba(35,31,32,.09);
  --shadow-lg: 0 24px 60px rgba(35,31,32,.14);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  /* Bootstrap variable remaps */
  --bs-primary: var(--brand);
  --bs-body-color: var(--ink-2);
  --bs-body-font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----------------------------- Base ----------------------------- */
* { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--bs-body-font-family);
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
}

h1, h2, h3, h4, h5, .display-title {
  font-family: 'Sora', system-ui, sans-serif;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.14;
}

a { color: var(--brand-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-700); }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-warm { background: var(--paper-warm); }
.bg-ink  { background: var(--ink); color: #EFE9E5; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

.container-tight { max-width: 1120px; }

/* Eyebrow label — used sparingly to mark a section's theme */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Sora', sans-serif;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand);
  border-radius: 2px; display: inline-block;
}
.bg-ink .eyebrow { color: var(--brand); }

.lead-muted { color: var(--muted); font-size: 1.08rem; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* --------------------------- Navbar ----------------------------- */
.site-nav {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }
.navbar-brand img { height: 40px; width: auto; display: block; }
.site-nav .nav-link {
  font-family: 'Sora', sans-serif;
  font-weight: 500; font-size: .96rem;
  color: var(--ink-2) !important;
  padding: .5rem .95rem !important;
  border-radius: 8px;
  position: relative;
}
.site-nav .nav-link:hover { color: var(--brand-700) !important; background: var(--brand-soft); }
.site-nav .nav-link.active { color: var(--brand-700) !important; }
.site-nav .nav-link.active::after {
  content:""; position:absolute; left:.95rem; right:.95rem; bottom:.2rem;
  height:2px; background: var(--brand); border-radius:2px;
}

/* --------------------------- Buttons ---------------------------- */
.btn { font-family:'Sora', sans-serif; font-weight:600; border-radius: 999px;
  padding:.7rem 1.5rem; letter-spacing:-.01em; transition: all .2s ease; }
.btn-brand { background: var(--brand); border-color: var(--brand); color:#fff; box-shadow: var(--shadow-sm); }
.btn-brand:hover { background: var(--brand-600); border-color: var(--brand-600); color:#fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-brand { border:1.5px solid var(--brand); color: var(--brand-700); background:transparent; }
.btn-outline-brand:hover { background: var(--brand); color:#fff; }
.btn-ghost-light { border:1.5px solid rgba(255,255,255,.35); color:#fff; background:transparent; }
.btn-ghost-light:hover { background:#fff; color: var(--ink); border-color:#fff; }
.btn-lg { padding:.85rem 1.9rem; font-size:1.02rem; }

/* --------------------------- Hero ------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, var(--brand-soft) 0%, rgba(251,238,230,0) 60%),
    linear-gradient(180deg, #ffffff 0%, var(--paper-warm) 100%);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
.hero .accent { color: var(--brand); }
.hero-tagline {
  font-family:'Sora',sans-serif; font-weight:600; letter-spacing:.02em;
  color: var(--brand-700);
}
.hero-lead { color: var(--muted); font-size: 1.15rem; max-width: 44ch; }

/* Signature: concentric "protective aura" arcs + DNA thread,
   lifted straight from the logo's construction */
.aura-art { position: relative; display:grid; place-items:center; min-height: 360px; }
.aura-art .ring {
  position:absolute; border-radius:50%; border:2px solid var(--brand);
  opacity:.0; animation: ringIn .9s ease forwards;
}
.aura-art .ring.r1 { width:300px; height:300px; opacity:.9; animation-delay:.05s; }
.aura-art .ring.r2 { width:230px; height:230px; border-color: var(--brand-600); opacity:.55; border-style:solid; border-top-color:transparent; border-left-color:transparent; animation-delay:.15s; }
.aura-art .ring.r3 { width:372px; height:372px; border-color: var(--brand-line); opacity:.7; border-right-color:transparent; border-bottom-color:transparent; animation-delay:.25s; }
@keyframes ringIn { from{ opacity:0; transform: scale(.86);} to{ opacity: var(--o,1); } }
.aura-art .core {
  width:150px; height:150px; border-radius:50%;
  background: radial-gradient(circle at 50% 35%, #fff, var(--brand-soft));
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--brand-line);
  display:grid; place-items:center; z-index:2;
}
.aura-art .core img { width:118px; height:auto; }

@media (prefers-reduced-motion: reduce){
  .aura-art .ring { animation: none; opacity:.7; }
}

/* Trust strip */
.trust-strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.trust-item { display:flex; gap:.7rem; align-items:center; color: var(--muted); font-size:.95rem; }
.trust-item svg { flex:0 0 auto; color: var(--brand); }

/* --------------------------- Cards ------------------------------ */
.feature-card, .division-card, .value-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-md);
  padding: 1.9rem 1.7rem; height:100%; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card:hover, .value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.icon-badge {
  width:52px; height:52px; border-radius:14px; display:grid; place-items:center;
  background: var(--brand-soft); color: var(--brand-700); margin-bottom:1.1rem;
}
.icon-badge svg { width:26px; height:26px; }
.feature-card h4, .value-card h4 { font-size:1.18rem; margin-bottom:.5rem; }
.feature-card p, .value-card p { color: var(--muted); margin:0; font-size:.98rem; }

/* --------------------- Division (team) cards -------------------- */
.division-card { padding:0; overflow:hidden; display:flex; flex-direction:column; }
.division-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.division-logo {
  height: 190px; display:grid; place-items:center; padding:1.5rem;
  border-bottom:1px solid var(--line);
}
.division-logo img { max-height:150px; max-width:82%; object-fit:contain; }
.division-body { padding: 1.6rem 1.6rem 1.8rem; display:flex; flex-direction:column; gap:.6rem; }
.division-tags { display:flex; flex-wrap:wrap; gap:.4rem; }
.tag {
  font-family:'Sora',sans-serif; font-size:.72rem; font-weight:600; letter-spacing:.03em;
  padding:.28rem .6rem; border-radius:999px; background: var(--brand-soft); color: var(--brand-700);
  text-transform:uppercase;
}
.division-body h3 { font-size:1.35rem; }
.division-body p { color: var(--muted); font-size:.96rem; margin:0; }

/* Division accents (each brand keeps its own identity chip) */
.acc-cardio  { --dc:#1B3A8F; }
.acc-meta    { --dc:#7B2FBE; }
.acc-aura    { --dc:#009688; }
.division-card .accent-bar { height:4px; width:100%; background: var(--dc, var(--brand)); }
.division-logo.dark { background: #16161d; }

/* --------------------------- Tables ----------------------------- */
.product-block { margin-top: 2.6rem; }
.product-head { display:flex; align-items:center; gap:1rem; margin-bottom:1.1rem; flex-wrap:wrap; }
.product-head .chip {
  width:46px; height:46px; border-radius:12px; display:grid; place-items:center;
  background:#fff; border:1px solid var(--line); overflow:hidden; flex:0 0 auto;
}
.product-head .chip img { width:100%; height:100%; object-fit:cover; }
.product-head h3 { font-size:1.5rem; margin:0; }
.product-head .sub { color: var(--muted); font-size:.92rem; font-family:'Sora',sans-serif; font-weight:500; }

.table-wrap { border:1px solid var(--line); border-radius: var(--r-md); overflow:hidden; box-shadow: var(--shadow-sm); }
table.product-table { width:100%; margin:0; border-collapse:separate; border-spacing:0; font-size:.95rem; }
table.product-table thead th {
  background: var(--ink); color:#fff; font-family:'Sora',sans-serif; font-weight:600;
  font-size:.82rem; letter-spacing:.03em; text-transform:uppercase;
  padding:.9rem 1rem; text-align:left; white-space:nowrap;
}
table.product-table tbody td { padding:.95rem 1rem; border-top:1px solid var(--line); vertical-align:top; color: var(--ink-2); }
table.product-table tbody tr:nth-child(even) td { background: var(--paper-warm); }
table.product-table tbody tr:hover td { background: var(--brand-soft); }
table.product-table .pname { font-weight:600; font-family:'Sora',sans-serif; color: var(--ink); white-space:nowrap; }
table.product-table .psize { white-space:nowrap; color: var(--muted); }
.table-note { font-size:.82rem; color: var(--muted); margin-top:.7rem; }

/* --------------------------- Leadership ------------------------- */
.leader { display:grid; grid-template-columns: 300px 1fr; gap: 2.6rem; align-items:start; }
.leader-photo {
  border-radius: var(--r-lg); overflow:hidden; border:1px solid var(--line);
  box-shadow: var(--shadow-md); background:#fff;
}
.leader-photo img { width:100%; display:block; }
.leader-photo .name-plate { padding:1.1rem 1.2rem; border-top:3px solid var(--brand); }
.leader-photo .name-plate .nm { font-family:'Sora',sans-serif; font-weight:700; color: var(--ink); font-size:1.15rem; }
.leader-photo .name-plate .rl { color: var(--brand-700); font-size:.9rem; font-weight:600; }
.leader ul { padding-left:0; list-style:none; margin:1.2rem 0 0; }
.leader ul li { position:relative; padding-left:1.6rem; margin-bottom:.9rem; color: var(--ink-2); }
.leader ul li::before {
  content:""; position:absolute; left:0; top:.55em; width:9px; height:9px; border-radius:50%;
  background: var(--brand); box-shadow:0 0 0 4px var(--brand-soft);
}
.leader ul li strong { color: var(--ink); font-family:'Sora',sans-serif; }
.cred-row { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.2rem; }
.cred { font-size:.82rem; font-family:'Sora',sans-serif; font-weight:500; color: var(--ink-2);
  border:1px solid var(--line); border-radius:999px; padding:.4rem .9rem; background:#fff; }

@media (max-width: 767px){ .leader { grid-template-columns:1fr; gap:1.6rem; } .leader-photo{ max-width:320px; } }

/* --------------------------- Story / logo meaning --------------- */
.meaning-item { display:flex; gap:1.1rem; }
.meaning-num {
  font-family:'Sora',sans-serif; font-weight:700; color: var(--brand);
  font-size:1.1rem; width:40px; height:40px; flex:0 0 auto; border-radius:12px;
  display:grid; place-items:center; background: var(--brand-soft);
}
.meaning-item h5 { font-size:1.05rem; margin-bottom:.25rem; }
.meaning-item p { color: var(--muted); margin:0; font-size:.96rem; }

/* Stat band */
.stat { text-align:center; }
.stat .num { font-family:'Sora',sans-serif; font-weight:800; font-size: clamp(2rem,4vw,2.8rem); color:#fff; line-height:1; }
.stat .num .accent { color: var(--brand); }
.stat .lbl { color:#C9BDB6; font-size:.9rem; margin-top:.5rem; }

/* --------------------------- Contact ---------------------------- */
.contact-panel { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.form-label { font-family:'Sora',sans-serif; font-weight:500; font-size:.88rem; color: var(--ink); margin-bottom:.35rem; }
.form-control, .form-select {
  border:1.5px solid var(--line); border-radius:12px; padding:.7rem .95rem; font-size:.98rem;
  background: var(--paper-warm);
}
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow:0 0 0 4px var(--brand-soft); background:#fff; }
.form-control::placeholder { color:#A79E98; }
.contact-info-card { background: var(--ink); color:#EFE9E5; border-radius: var(--r-lg); padding:2.2rem; height:100%; }
.contact-info-card h3 { color:#fff; }
.info-row { display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.4rem; }
.info-row .ic { width:44px; height:44px; border-radius:12px; background: rgba(232,119,63,.16); color: var(--brand);
  display:grid; place-items:center; flex:0 0 auto; }
.info-row .ic svg { width:20px; height:20px; }
.info-row .t { font-family:'Sora',sans-serif; color:#fff; font-weight:600; font-size:.98rem; }
.info-row .d { color:#C9BDB6; font-size:.93rem; }
.form-note { display:none; border-radius:12px; padding:.85rem 1.1rem; font-size:.95rem; margin-bottom:1rem; }
.form-note.ok  { background:#EAF6EE; color:#1C7A45; border:1px solid #BFE6CE; }
.form-note.err { background:#FCEBEA; color:#B23B34; border:1px solid #F3C7C3; }
.hp-field { position:absolute; left:-9999px; top:-9999px; }

/* --------------------------- Footer ----------------------------- */
.site-footer { background: var(--ink); color:#C9BDB6; padding: 3.5rem 0 1.6rem; }
.footer-brand .wm { font-family:'Sora',sans-serif; font-weight:800; font-size:1.4rem; color:#fff; letter-spacing:-.01em; }
.footer-brand .wm .accent { color: var(--brand); }
.footer-brand .tl { font-family:'Sora',sans-serif; font-size:.72rem; letter-spacing:.22em; color: var(--brand); text-transform:uppercase; margin-top:.2rem; }
.site-footer h6 { color:#fff; font-family:'Sora',sans-serif; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:1.1rem; }
.site-footer a { color:#C9BDB6; }
.site-footer a:hover { color: var(--brand); }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom:.6rem; }
.footer-divider { border-color: rgba(255,255,255,.1); margin:2.4rem 0 1.4rem; }
.footer-bottom { font-size:.85rem; color:#8C817B; display:flex; justify-content:space-between; flex-wrap:wrap; gap:.6rem; }
.footer-partner { display:flex; align-items:center; gap:.7rem; color:#8C817B; font-size:.85rem; }
.footer-partner img { height:26px; background:#fff; border-radius:6px; padding:3px 6px; }

/* --------------------------- Page banner ------------------------ */
.page-banner {
  position:relative; overflow:hidden; padding: clamp(3rem,7vw,5rem) 0 clamp(2.5rem,5vw,3.5rem);
  background:
    radial-gradient(900px 400px at 90% -30%, var(--brand-soft), rgba(251,238,230,0) 65%),
    var(--paper-warm);
  border-bottom:1px solid var(--line);
}
.page-banner h1 { font-size: clamp(2rem,4.4vw,3rem); font-weight:800; }
.page-banner p { color: var(--muted); max-width: 60ch; margin:0 auto; font-size:1.08rem; }
.breadcrumb-mini { font-family:'Sora',sans-serif; font-size:.8rem; letter-spacing:.04em; color: var(--muted); }
.breadcrumb-mini a { color: var(--brand-700); }

/* Reveal on scroll — progressive enhancement.
   Content is visible by default; only hidden once JS marks <html class="js">,
   so a blocked script/CDN never leaves the page blank. */
.js .reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .reveal{ opacity:1; transform:none; } }

/* Utility */
.text-brand { color: var(--brand-700) !important; }
.divider-dna {
  height:2px; width:100%;
  background-image: repeating-linear-gradient(90deg, var(--brand) 0 14px, transparent 14px 26px);
  opacity:.5; border:0; margin:0;
}

/* ================================================================
   v2 — Global-supplier positioning additions
   ================================================================ */

/* Aura core enlarged so the logo reads clearly inside the circle */
.aura-art        { min-height: 410px; }
.aura-art .core  { width: 204px; height: 204px; }
.aura-art .core img { width: 168px; }
.aura-art .ring.r1 { width: 336px; height: 336px; }
.aura-art .ring.r2 { width: 262px; height: 262px; }
.aura-art .ring.r3 { width: 416px; height: 416px; }

/* Hero subheading — "Global Expertise. Local Excellence." */
.hero-sub {
  font-family:'Sora',sans-serif; font-weight:600;
  font-size: clamp(1.1rem, 2.1vw, 1.5rem); line-height:1.25;
  color: var(--brand-700); margin-top:.5rem; letter-spacing:-.01em;
}
.hero .eyebrow { margin-bottom:.6rem; }

/* Audience note under hero CTAs */
.audience-note {
  font-size:.92rem; color: var(--muted); margin-top:1.4rem;
  border-left:3px solid var(--brand-line); padding-left:.9rem; max-width:46ch;
}

/* ---------------- ABCBIO partnership band ---------------- */
.abcbio-band {
  background: linear-gradient(155deg, #1d1b25 0%, var(--ink) 62%);
  color:#EFE9E5; position:relative; overflow:hidden;
}
.abcbio-band::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(620px 320px at 10% -10%, rgba(232,119,63,.20), transparent 60%);
}
.abcbio-band > .container { position:relative; z-index:1; }
.abcbio-band h2, .abcbio-band h3, .abcbio-band h4 { color:#fff; }
.abcbio-band .eyebrow { color: var(--brand); }
.abcbio-lead { color:#D8CFC9; font-size:1.08rem; }

.abcbio-logo-card {
  background:#fff; border-radius: var(--r-lg); padding:2.6rem 2.2rem;
  text-align:center; box-shadow: var(--shadow-lg);
}
.abcbio-logo-card img { max-width:100%; height:auto; margin-bottom:1.3rem; }
.geo-chip {
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:'Sora',sans-serif; font-weight:600; font-size:.76rem;
  letter-spacing:.07em; text-transform:uppercase; color: var(--brand-700);
  background: var(--brand-soft); border:1px solid var(--brand-line);
  padding:.42rem .85rem; border-radius:999px;
}
.geo-chip svg { width:14px; height:14px; }

.abcbio-points { list-style:none; padding:0; margin:1.6rem 0 0; display:grid; gap:1.1rem; }
.abcbio-points li { position:relative; padding-left:2rem; color:#D8CFC9; }
.abcbio-points li::before {
  content:""; position:absolute; left:0; top:.5em; width:12px; height:12px; border-radius:50%;
  background: var(--brand); box-shadow:0 0 0 4px rgba(232,119,63,.18);
}
.abcbio-points li strong { color:#fff; font-family:'Sora',sans-serif; font-weight:600; }

/* ---------------- Partnership pathway steps ---------------- */
.step-card {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-md);
  padding:1.9rem 1.6rem 1.8rem; height:100%; position:relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.step-num {
  font-family:'Sora',sans-serif; font-weight:800; font-size:.95rem; color:#fff;
  background: var(--brand); width:36px; height:36px; border-radius:11px;
  display:grid; place-items:center; margin-bottom:1.1rem; box-shadow: var(--shadow-sm);
}
.step-card h4 { font-size:1.12rem; margin-bottom:.45rem; }
.step-card p  { color: var(--muted); font-size:.95rem; margin:0; }

/* ---------------- Footer partner block ---------------- */
.footer-abcbio {
  display:flex; align-items:center; gap:.85rem; margin-top:1.4rem;
  padding:.75rem .9rem; border:1px solid rgba(255,255,255,.12); border-radius:12px;
  background: rgba(255,255,255,.03); max-width:34ch;
}
.footer-abcbio img { height:34px; background:#fff; border-radius:6px; padding:4px 7px; flex:0 0 auto; }
.footer-abcbio .fa-txt { font-size:.8rem; line-height:1.35; color:#C9BDB6; }
.footer-abcbio .fa-txt strong { color:#fff; display:block; font-family:'Sora',sans-serif; font-size:.86rem; }
