/* =====================================================================
   MAGE Consultancy — shared design system
   Layout, palette and type adapted from Wireframe-07 (Institutional · Charcoal)
   WCAG 2.2 AA throughout: contrast, focus, motion, target size, semantics.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root{
  /* Palette (Wireframe-07) */
  --bg:           #0F0F14;
  --surface:      #14141c;
  --surface-2:    #1a1a22;
  --plum-cta:     #1d0d2a;
  --rule:         #3a2a52;
  --rule-soft:    rgba(243,241,234,0.12);

  --ink:          #f3f1ea;       /* primary text — 17.5:1 on bg */
  --ink-soft:     #d8d4c4;       /* secondary text — 13:1 on bg */
  --muted:        #a8a4b8;       /* tertiary — 7.8:1 (AAA normal) */

  --gold:         #D4AF37;       /* 9:1 on bg */
  --gold-soft:    #E6C260;
  --accent:       #9F7AEA;       /* purple — 6.4:1 on bg */
  --accent-deep:  #6B46C1;

  --focus:        #F4D06F;

  /* Type */
  --serif:  "Fraunces", "Times New Roman", Georgia, serif;
  --sans:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 4px;
  --radius-lg: 8px;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{ box-sizing:border-box }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100% }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg,video{ display:block; max-width:100%; height:auto }
button{ font:inherit }
a{ color:var(--gold-soft); text-underline-offset:3px }
a:hover{ color:var(--gold) }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---------- Accessibility primitives ---------- */
:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:3px;
  border-radius:4px;
}
.skip-link{
  position:absolute; left:-9999px; top:0;
  padding:.75rem 1rem;
  background:var(--gold); color:#0F0F14;
  font-weight:700; border-radius:0 0 6px 0; z-index:999;
}
.skip-link:focus{ left:0 }
.vh{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }

/* ---------- Type ---------- */
h1,h2,h3,h4,h5{
  font-family:var(--serif); font-weight:500;
  color:var(--ink); line-height:1.12;
  letter-spacing:-0.01em; margin:0 0 .5em;
}
h1{ font-size:clamp(2.4rem, 5.6vw, 4.4rem); font-weight:600 }
h2{ font-size:clamp(1.8rem, 3.4vw, 2.6rem) }
h3{ font-size:clamp(1.15rem, 1.6vw, 1.4rem) }
h4{ font-size:1rem; font-family:var(--sans); font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-soft) }
p{ margin:0 0 1rem }
.lead{ font-size:1.15rem; color:var(--ink-soft); max-width:62ch }
.eyebrow{
  display:inline-block;
  font-family:var(--sans); font-size:.72rem; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--gold);
}
.section-rule{
  height:1px; background:var(--rule); border:0; margin:0;
}
::selection{ background:var(--accent-deep); color:var(--ink) }

/* ---------- Layout ---------- */
.container{
  max-width:var(--maxw); margin-inline:auto;
  padding-inline:var(--gutter);
}
section{ padding-block:var(--section-y); position:relative }
.section-head{ max-width:780px; margin-bottom:48px }

.grid-2{ display:grid; gap:28px; grid-template-columns:1fr }
@media (min-width:760px){ .grid-2{ grid-template-columns:1fr 1fr } }
@media (min-width:760px){
  .grid-2 > :last-child:nth-child(odd){
    grid-column:1 / -1;
    justify-self:center;
    width:calc(50% - 14px);
  }
}
.grid-3{ display:grid; gap:28px; grid-template-columns:1fr }
@media (min-width:720px){ .grid-3{ grid-template-columns:1fr 1fr } }
@media (min-width:1000px){ .grid-3{ grid-template-columns:repeat(3,1fr) } }
.grid-4{ display:grid; gap:0; grid-template-columns:1fr }
@media (min-width:760px){ .grid-4{ grid-template-columns:repeat(2,1fr) } }
@media (min-width:1020px){ .grid-4{ grid-template-columns:repeat(4,1fr) } }

/* ---------- Header ---------- */
.utility-bar{
  border-bottom:1px solid var(--rule);
  font-size:.75rem; color:var(--muted);
}
.utility-bar .row{
  display:flex; justify-content:space-between; align-items:center;
  padding:8px var(--gutter);
  max-width:var(--maxw); margin-inline:auto;
  letter-spacing:.04em;
}
.utility-bar a{ color:var(--muted); text-decoration:none }
.utility-bar a:hover{ color:var(--ink) }
@media (max-width:480px){ .utility-bar{ display:none } }

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(15,15,20,.92);
  backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--ink);
}
.site-header .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; padding:14px var(--gutter);
  max-width:var(--maxw); margin-inline:auto;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none; color:var(--ink);
  font-size:1.4rem; letter-spacing:.06em;
}
.brand span{
  font-family:"Poppins", system-ui, sans-serif;
  font-weight:300; letter-spacing:.18em;
}
.brand img{ width:34px; height:34px; border-radius:6px }

nav.primary ul{
  display:flex; list-style:none; margin:0; padding:0; gap:26px;
}
nav.primary a{
  color:var(--ink); text-decoration:none;
  font-size:.92rem; font-weight:500;
  padding:.5rem 0; border-bottom:2px solid transparent;
}
nav.primary a:hover,
nav.primary a:focus-visible,
nav.primary a[aria-current="page"]{
  color:var(--ink); border-bottom-color:var(--gold);
}

.subscribe-link{
  font-size:.92rem; color:var(--ink); font-weight:500;
  text-decoration:none;
  border-bottom:1.5px solid var(--gold); padding-bottom:3px;
  min-height:44px; display:inline-flex; align-items:center;
}
.subscribe-link:hover{ color:var(--gold) }

.nav-toggle{
  display:none; background:transparent; border:1px solid var(--rule);
  color:var(--ink); padding:.55rem .8rem; border-radius:6px; cursor:pointer;
  min-height:44px;
}
@media (max-width:880px){
  .nav-toggle{ display:inline-flex; align-items:center; gap:8px }
  nav.primary{ display:none }
  nav.primary[data-open="true"]{
    display:block; position:absolute; left:0; right:0; top:100%;
    background:var(--surface); border-bottom:1px solid var(--rule);
    padding:18px var(--gutter);
  }
  nav.primary[data-open="true"] ul{ flex-direction:column; gap:14px }
  .subscribe-link{ display:none }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55rem;
  font:600 .95rem/1 var(--sans);
  padding:.95rem 1.4rem; min-height:48px;
  border-radius:0; border:1.5px solid transparent;
  text-decoration:none; cursor:pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active{ transform:translateY(1px) }
.btn-primary{ background:var(--gold); color:#0F0F14; border-color:var(--gold) }
.btn-primary:hover,.btn-primary:focus-visible{ background:var(--gold-soft); border-color:var(--gold-soft) }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--ink) }
.btn-outline:hover,.btn-outline:focus-visible{ color:var(--gold); border-color:var(--gold) }
.btn-arrow::after{ content:"›"; margin-left:.4rem; transform:translateX(0); transition:transform .2s ease }
.btn-arrow:hover::after{ transform:translateX(3px) }

.link-arrow{
  display:inline-flex; align-items:center; gap:.45rem;
  color:var(--ink); font-weight:600; text-decoration:none;
  border-bottom:1.5px solid var(--ink); padding-bottom:3px;
}
.link-arrow:hover{ color:var(--gold); border-bottom-color:var(--gold) }
.link-arrow.gold{ color:var(--gold-soft); border-bottom-color:var(--gold) }

/* ---------- Hero (editorial) ---------- */
.hero{
  border-bottom:1px solid var(--rule);
}
.hero-stage{
  position:relative; overflow:hidden;
  min-height:clamp(440px, 64vh, 640px);
  display:flex; align-items:flex-end;
  background:var(--surface);
}
.hero-stage img.hero-photo{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
}
.hero-stage::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg, rgba(15,15,20,.95) 0%, rgba(15,15,20,.78) 35%, rgba(15,15,20,.30) 70%, rgba(15,15,20,.05) 100%),
    linear-gradient(0deg,  rgba(15,15,20,.55) 0%, rgba(15,15,20,.05) 60%);
}
.hero-content{
  position:relative; z-index:2;
  padding:clamp(40px, 6vw, 72px) var(--gutter);
  max-width:760px; width:100%;
}
.hero-content h1{
  font-size:clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight:500;
}
.hero-content .lead{ color:var(--ink-soft); margin-top:1rem; max-width:55ch; border-left:2px solid var(--gold); padding-left:18px }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:1.6rem }
.hero-dots{
  position:absolute; bottom:18px; right:24px; z-index:2;
  display:flex; gap:8px;
}
/* Dot buttons: 44×44px touch target (SC 2.5.8), visual dot via ::before */
.hero-dot{
  width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  background:transparent; border:0;
  cursor:pointer; padding:0;
}
.hero-dot::before{
  content:"";
  display:block;
  width:11px; height:11px;
  border-radius:99px;
  background:transparent;
  border:1.5px solid var(--ink);
}
.hero-dot[aria-pressed="true"]::before{ background:var(--ink) }

.hero-tabs{
  display:flex; gap:24px; flex-wrap:wrap;
  padding:18px var(--gutter);
  border-bottom:1px solid var(--rule);
  font-size:.85rem;
  max-width:var(--maxw); margin-inline:auto;
}
.hero-tab{
  background:transparent; border:0; color:var(--muted);
  padding:6px 0; cursor:pointer;
  font:500 .85rem var(--sans); letter-spacing:.04em;
  border-bottom:2px solid transparent; min-height:44px;
}
/* Use aria-selected (correct for role="tab") */
.hero-tab[aria-selected="true"]{ color:var(--ink); border-bottom-color:var(--gold) }
.hero-tab:hover{ color:var(--ink) }

/* ---------- Mobile hero (Option B) ---------- */
@media (max-width:879px){
  .hero-stage{
    min-height:560px;
    padding-bottom:58px;
  }
  .hero-dots{
    bottom:12px;
    right:auto;
    left:50%;
    transform:translateX(-50%);
  }
  .hero-tabs{ display:none }
  .hero-content{ padding-bottom:0 }
}

/* ---------- Featured perspective row ---------- */
.featured{
  display:grid; gap:32px; grid-template-columns:1fr;
  align-items:center;
  padding-block:var(--section-y);
  border-bottom:1px solid var(--rule);
}
@media (min-width:880px){ .featured{ grid-template-columns:1fr 1.4fr; gap:44px } }
.featured-cover{
  aspect-ratio: 4/3;
  background:var(--surface-2);
  border:1px solid var(--rule);
  position:relative; overflow:hidden;
}
.featured-cover img{ width:100%; height:100%; object-fit:cover }
.featured-cover::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(160deg, rgba(155,122,234,.14), rgba(15,15,20,.0) 60%);
  pointer-events:none;
}
.featured h2{ font-size:clamp(1.5rem, 2.6vw, 2rem); margin-top:.5rem }

/* ---------- Capabilities (M·A·G·E) ---------- */
.capabilities{
  border-top:1px solid var(--ink);
}
.capability{
  padding:22px 18px;
  border-right:1px solid var(--rule);
}
.capability:last-child{ border-right:0 }
@media (max-width:1019px){
  .capability{ border-right:0; border-bottom:1px solid var(--rule) }
  .capability:last-child{ border-bottom:0 }
}
.capability .num{
  font-size:.78rem; color:var(--gold); font-weight:600;
  letter-spacing:.2em;
}
.capability h3{
  font-family:var(--serif); font-weight:500;
  font-size:1.35rem; margin:8px 0 8px;
}
.capability h3 .first{ color:var(--gold) }
.capability p{ color:var(--muted); font-size:.95rem; margin-bottom:12px }
.capability .link-arrow{ font-size:.9rem }

/* ---------- Stats ---------- */
.stats{
  border-bottom:1px solid var(--rule);
}
.stat{
  padding:6px 18px;
  border-right:1px solid var(--rule);
}
.stat:last-child{ border-right:0 }
@media (max-width:1019px){
  .stat{ border-right:0; border-bottom:1px solid var(--rule); padding:18px }
  .stat:last-child{ border-bottom:0 }
}
.stat .n{
  font-family:var(--serif); font-weight:500;
  font-size:clamp(2rem, 4vw, 2.8rem); color:var(--ink);
  line-height:1; letter-spacing:-.02em;
}
.stat .l{ color:var(--muted); font-size:.85rem; margin-top:8px; line-height:1.4 }

/* ---------- Insight cards ---------- */
.insights-row{ border-bottom:1px solid var(--rule) }
.insight-card{
  border:1px solid var(--ink);
  padding:16px 20px 22px 22px;
  display:flex; flex-direction:column;
  background:var(--surface-2);
}
.insight-card a{
  text-decoration:none; color:inherit;
  display:flex; flex-direction:column; gap:12px;
}
.insight-card .img{
  aspect-ratio: 16/10;
  background:var(--surface-2);
  border:1px solid var(--rule);
  overflow:hidden;
}
.insight-card .img img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease }
.insight-card:hover .img img{ transform:scale(1.04) }
.insight-card .cat{
  font-size:.72rem; color:var(--gold); font-weight:600; letter-spacing:.18em; text-transform:uppercase;
}
.insight-card h3{
  font-family:var(--serif); font-weight:500; font-size:1.2rem;
  line-height:1.2; margin:6px 0 4px;
}
.insight-card .meta{ color:var(--muted); font-size:.82rem; margin-top:auto }

/* ---------- Process timeline ---------- */
.process-steps{
  position:relative; margin-top:28px;
  display:flex; flex-direction:column; gap:0;
  list-style:none; padding:0; margin-left:0;
}
.process-steps::before{
  content:""; position:absolute;
  left:15px; top:16px; bottom:16px;
  width:1.5px; background:var(--rule);
  z-index:0;
}
.process-step{
  display:grid; grid-template-columns:32px 1fr; gap:16px;
  align-items:start; padding-bottom:28px; position:relative;
}
.process-step:last-child{ padding-bottom:0 }
.step-num{
  width:32px; height:32px; border-radius:50%;
  border:1.5px solid var(--gold);
  background:var(--surface-2);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-size:1rem; color:var(--gold);
  line-height:1; position:relative; z-index:1; flex-shrink:0;
}
.step-head{ font-weight:600; color:var(--ink); margin-bottom:4px; font-size:.95rem }
.step-body{ color:var(--muted); font-size:.88rem; margin:0; line-height:1.55 }

/* ---------- CTA strip ---------- */
.cta-strip{
  background:var(--plum-cta); color:var(--ink);
  border-top:1px solid var(--rule);
}
.cta-strip .container{
  display:grid; gap:24px; grid-template-columns:1fr;
  padding-block:clamp(48px, 7vw, 88px);
  align-items:center;
}
@media (min-width:880px){ .cta-strip .container{ grid-template-columns:1.6fr 1fr } }
.cta-strip h2{ font-size:clamp(1.5rem, 2.4vw, 2rem); margin-bottom:0 }
.cta-strip .label{ color:var(--gold); font-weight:600; letter-spacing:.18em; font-size:.78rem; text-transform:uppercase; margin-bottom:10px; display:block }
.cta-strip .right{ display:flex; flex-direction:column; gap:10px; align-items:flex-start }
.cta-strip small{ color:#9c98ad; font-size:.82rem }

/* ---------- Footer ---------- */
footer.site-footer{
  padding:40px 0 56px;
  border-top:1px solid var(--rule);
  color:var(--muted); font-size:.85rem;
}
footer.site-footer .top{
  display:grid; gap:24px;
  grid-template-columns:1fr;
  padding-bottom:28px; border-bottom:1px solid var(--rule);
}
@media (min-width:760px){ footer.site-footer .top{ grid-template-columns:1.2fr 1fr 1fr 1fr } }
footer.site-footer h5{
  font-family:var(--sans); font-size:.78rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--ink-soft); font-weight:600; margin:0 0 12px;
}
footer.site-footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px }
footer.site-footer a{ color:var(--ink-soft); text-decoration:none }
footer.site-footer a:hover{ color:var(--gold) }
footer.site-footer .bottom{
  display:flex; flex-wrap:wrap; gap:18px; justify-content:space-between; align-items:center;
  padding-top:24px;
}
footer.site-footer .pillars{ letter-spacing:.18em; text-transform:uppercase; font-size:.72rem }
footer.site-footer .pillars span{ color:var(--gold-soft); margin:0 .35em }

/* ---------- Sector cards (Industries page) ---------- */
.sector-card{
  background:var(--surface-2);
  border:1px solid var(--rule);
  padding:0; overflow:hidden;
  display:flex; flex-direction:column;
  height:100%;
}
.sector-card .img{
  aspect-ratio:16/9;
  overflow:hidden; background:var(--surface);
}
.sector-card .img img{ width:100%; height:100%; object-fit:cover }
.sector-card .body{ padding:24px }
.sector-card h3{ margin-top:0; font-size:1.4rem }
.sector-card .who{
  font-size:.72rem; color:var(--gold); font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  display:block; margin-bottom:8px;
}
.sector-card ul{ margin:14px 0 0; padding-left:1.05rem; color:var(--ink-soft); font-size:.95rem }
.sector-card ul li{ margin-bottom:6px }

/* ---------- Services redesign (Bain-inspired) ---------- */
.svc-hero{ border-bottom:1px solid var(--rule) }
.svc-jump{
  display:flex; flex-wrap:wrap; gap:8px 24px; margin-top:32px;
}
.svc-jump a{
  font-size:.88rem; font-weight:600; color:var(--muted);
  text-decoration:none; letter-spacing:.1em; text-transform:uppercase;
  padding-bottom:4px; border-bottom:1.5px solid transparent;
  transition:color .18s, border-color .18s;
}
.svc-jump a:hover{ color:var(--gold); border-bottom-color:var(--gold) }

.svc-section{
  border-bottom:1px solid var(--rule);
  padding-block:clamp(48px, 7vw, 96px);
}
.svc-block{ display:flex; flex-direction:column; gap:40px }

.svc-block-head{
  display:grid; grid-template-columns:1fr; gap:20px; align-items:start;
}
@media (min-width:860px){
  .svc-block-head{ grid-template-columns:200px 1fr; gap:56px; align-items:center }
}

.svc-letter{
  font-family:var(--serif); font-weight:600;
  font-size:clamp(5rem, 10vw, 9rem);
  line-height:.85; letter-spacing:-.04em;
  background:linear-gradient(160deg, var(--gold-soft) 0%, var(--gold) 50%, var(--accent) 130%);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
  user-select:none;
}

.svc-pillar-label{
  font-size:.72rem; color:var(--gold); letter-spacing:.24em; text-transform:uppercase;
  font-weight:600; margin:0 0 6px; font-family:var(--sans);
}
.svc-block-intro h2{
  font-size:clamp(2rem, 4vw, 3.2rem);
  margin:0 0 16px; letter-spacing:-.02em;
}
.svc-desc{
  color:var(--ink-soft); font-size:1.05rem; line-height:1.65;
  max-width:58ch; margin:0;
}

.svc-grid{
  display:grid; gap:1px;
  grid-template-columns:1fr;
  border:1px solid var(--rule);
  background:var(--rule);
}
@media (min-width:640px){ .svc-grid{ grid-template-columns:1fr 1fr } }
@media (min-width:1000px){ .svc-grid{ grid-template-columns:repeat(3,1fr) } }

.svc-item{
  background:var(--surface-2);
  padding:28px 28px 30px;
  display:flex; flex-direction:column; gap:10px;
  transition:background .2s ease;
}
.svc-item:hover{ background:var(--surface) }
.svc-item h3{
  font-family:var(--sans); font-size:1rem; font-weight:600;
  color:var(--ink); margin:0; letter-spacing:0; text-transform:none;
  line-height:1.3;
}
.svc-item p{
  font-size:.9rem; color:var(--ink-soft); line-height:1.6;
  margin:0;
}

/* ---------- Services accordion (legacy — kept for reference) ---------- */
.mage-block{
  border-bottom:1px solid var(--rule);
  padding-block:36px;
}
.mage-block .head{
  display:grid; grid-template-columns:1fr; gap:18px; align-items:start;
}
@media (min-width:880px){ .mage-block .head{ grid-template-columns:.45fr 1fr; gap:48px } }
.mage-letter{
  font-family:var(--serif); font-weight:600;
  font-size:clamp(4.5rem, 9vw, 7.5rem);
  line-height:.85; letter-spacing:-.04em;
  background:linear-gradient(160deg, var(--gold-soft) 0%, var(--gold) 50%, var(--accent) 130%);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.mage-block .pillar-name{
  font-size:.78rem; color:var(--gold); letter-spacing:.22em; text-transform:uppercase; font-weight:600; margin-bottom:6px;
}
.mage-block h2{ font-family:var(--serif); font-weight:500; font-size:clamp(1.5rem, 2.4vw, 2rem); margin:0 0 14px }
.mage-block .summary{ color:var(--ink-soft); max-width:62ch }

.service-list{
  margin-top:28px;
  display:grid; gap:0;
  grid-template-columns:1fr;
  border-top:1px solid var(--rule);
}
@media (min-width:760px){ .service-list{ grid-template-columns:1fr 1fr } }

details.service{
  border-bottom:1px solid var(--rule);
  padding:0;
}
@media (min-width:760px){
  details.service:nth-child(odd){ border-right:1px solid var(--rule) }
}
details.service > summary{
  cursor:pointer; list-style:none;
  padding:18px 18px 18px 0;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  color:var(--ink); font-weight:600;
  min-height:60px;
}
details.service > summary::-webkit-details-marker{ display:none }
details.service > summary .plus{
  flex-shrink:0; width:28px; height:28px; border:1px solid var(--rule);
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:.95rem;
  transition:transform .25s ease, border-color .2s ease;
}
details.service[open] > summary .plus{ transform:rotate(45deg); border-color:var(--gold) }
details.service > summary:hover{ color:var(--gold) }
details.service > summary:hover .plus{ border-color:var(--gold) }
details.service .body{
  padding:0 18px 22px 0;
  color:var(--ink-soft); font-size:.95rem;
}
details.service .body p:last-child{ margin-bottom:0 }
details.service .body strong{ color:var(--ink) }

/* ---------- Tier cards ---------- */
.tiers{ display:grid; gap:22px; grid-template-columns:1fr }
@media (min-width:760px){ .tiers{ grid-template-columns:repeat(2,1fr) } }
@media (min-width:1020px){ .tiers{ grid-template-columns:repeat(4,1fr) } }
.tier{
  background:var(--surface-2);
  border:1px solid var(--rule);
  padding:26px; display:flex; flex-direction:column;
}
.tier.featured{ border-color:rgba(212,175,55,.55); background:linear-gradient(180deg, rgba(45,27,61,.4), rgba(26,26,34,.85)) }
.tier .label{ font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-soft); font-weight:600 }
.tier h3{ margin:.4rem 0 .2rem; font-family:var(--sans); font-size:1.1rem; font-weight:600; text-transform:none; letter-spacing:0 }
.tier .price{ font-family:var(--serif); font-size:1.6rem; color:var(--ink); margin:.4rem 0 .8rem }
.tier ul{ list-style:none; padding:0; margin:0 0 18px; color:var(--ink-soft); font-size:.92rem }
.tier li{ padding:6px 0; border-bottom:1px dashed var(--rule) }
.tier li:last-child{ border-bottom:0 }
.tier .foot{ margin-top:auto; color:var(--muted); font-size:.82rem }

/* ---------- Article (Insight detail) ---------- */
.article-hero{
  border-bottom:1px solid var(--rule);
  padding:clamp(36px, 6vw, 80px) 0 clamp(28px, 5vw, 56px);
}
.article-hero .container{ max-width:880px }
.article-hero .cat{ color:var(--gold); font-size:.78rem; letter-spacing:.22em; text-transform:uppercase; font-weight:600 }
.article-hero h1{ font-size:clamp(1.9rem, 4vw, 3rem); margin:14px 0 18px }
.article-hero .meta{ color:var(--muted); font-size:.88rem; display:flex; gap:18px; flex-wrap:wrap }

.article-cover{
  width:100%; aspect-ratio:16/7;
  background:var(--surface-2);
  border-bottom:1px solid var(--rule); overflow:hidden;
}
.article-cover img{ width:100%; height:100%; object-fit:cover }

.article-body{
  padding:clamp(36px, 5vw, 64px) 0;
  border-bottom:1px solid var(--rule);
}
.article-body .container{ max-width:760px }
.article-body p{ font-size:1.06rem; line-height:1.7; color:var(--ink-soft); margin:0 0 1.2rem }
.article-body h2{ font-size:clamp(1.3rem, 2.2vw, 1.7rem); margin:2rem 0 1rem }
.article-body h3{ font-size:1.15rem; margin:1.6rem 0 .6rem; color:var(--ink) }
.article-body ul, .article-body ol{ padding-left:1.2rem; color:var(--ink-soft); margin:0 0 1.2rem }
.article-body li{ margin-bottom:.4rem; line-height:1.65 }
.article-body blockquote{
  border-left:3px solid var(--gold);
  padding:8px 0 8px 18px; margin:1.6rem 0;
  font-family:var(--serif); font-size:1.2rem; color:var(--ink); font-weight:500; line-height:1.4;
}
.article-body strong{ color:var(--ink) }
.article-body a{ color:var(--gold-soft) }

/* ---------- Founder block ---------- */
.founder-block{
  display:grid; grid-template-columns:1fr; gap:32px;
  align-items:center;
  padding:clamp(36px, 5vw, 64px); background:var(--surface-2);
  border:1px solid var(--rule);
}
@media (min-width:880px){ .founder-block{ grid-template-columns:.5fr 1fr; gap:48px } }
.founder-photo{
  aspect-ratio:1;
  background:radial-gradient(circle at 30% 25%, #2D1B3D, #0F0F14 70%);
  border:1px solid var(--rule); position:relative; overflow:hidden;
}
.founder-photo img{ width:100%; height:100%; object-fit:cover }
.founder-block blockquote{
  font-family:var(--serif); font-weight:500;
  font-size:clamp(1.3rem, 2vw, 1.7rem); line-height:1.35;
  color:var(--ink); margin:0 0 1.2rem;
  border-left:3px solid var(--gold); padding-left:18px;
}
.founder-block .sig{ color:var(--gold-soft); font-weight:600 }
.founder-block .role{ color:var(--muted); font-size:.92rem }

/* ---------- Forms ---------- */
.contact-form{
  background:var(--surface-2);
  border:1px solid var(--rule);
  padding:clamp(24px, 3vw, 36px);
}
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:18px }
.field label{ color:var(--ink); font-size:.9rem; font-weight:600 }
.field .req{ color:var(--gold-soft); margin-left:4px }
.field .help{ color:var(--muted); font-size:.82rem }
.field input,
.field select,
.field textarea{
  font:inherit; color:var(--ink);
  background:rgba(15,15,20,.6);
  border:1px solid var(--rule); border-radius:0;
  padding:12px 14px; min-height:48px;
  transition:border-color .15s, background .15s;
}
.field textarea{ min-height:140px; resize:vertical }
.field input:hover,.field select:hover,.field textarea:hover{ border-color:var(--muted) }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(212,175,55,.25);
  background:rgba(15,15,20,.8);
}
.field-row{ display:grid; grid-template-columns:1fr; gap:0 }
@media (min-width:620px){ .field-row{ grid-template-columns:1fr 1fr; gap:18px } }
.form-foot{ display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; margin-top:6px }
.form-foot .privacy{ color:var(--muted); font-size:.82rem; max-width:36ch; margin:0 }
.status{
  margin-top:14px; padding:12px 14px; font-size:.92rem; display:none;
  border:1px solid transparent;
}
.status[data-state="ok"]{ display:block; background:rgba(212,175,55,.10); border-color:rgba(212,175,55,.45); color:var(--ink) }
.status[data-state="err"]{ display:block; background:rgba(220,80,80,.10); border-color:rgba(220,80,80,.5); color:#FBE6E6 }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  border-bottom:1px solid var(--rule);
  padding:clamp(48px, 7vw, 96px) 0;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(159,122,234,.10), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(212,175,55,.06), transparent 60%),
    var(--bg);
}
.page-hero h1{ font-size:clamp(2.2rem, 4.4vw, 3.4rem); max-width:18ch }
.page-hero .lead{ color:var(--ink-soft); margin-top:1rem; max-width:64ch; border-left:2px solid var(--gold); padding-left:18px }

/* ---------- Pillars row ---------- */
.pillars-row{ display:grid; grid-template-columns:repeat(2, 1fr); gap:18px }
@media (min-width:760px){ .pillars-row{ grid-template-columns:repeat(5, 1fr) } }
.pillar{
  text-align:left; padding:22px 18px;
  background:var(--surface-2); border:1px solid var(--rule);
}
.pillar .icon{
  width:38px; height:38px;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(140deg, var(--gold-soft), #B8902E);
  color:#0F0F14; font-weight:700; margin-bottom:14px;
}
.pillar h3{ font-family:var(--sans); font-size:.85rem; letter-spacing:.18em; text-transform:uppercase; color:var(--ink); margin:0 0 6px }
.pillar p{ color:var(--muted); font-size:.92rem; margin:0; line-height:1.55 }

/* ---------- Two-column reading layout ---------- */
.reading{
  display:grid; gap:48px; grid-template-columns:1fr;
}
@media (min-width:1000px){ .reading{ grid-template-columns:1fr 1.6fr; gap:64px } }
.reading aside h4{ font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-soft); margin-bottom:14px }
.reading aside ul{ list-style:none; padding:0; margin:0; border-top:1px solid var(--rule) }
.reading aside li{ border-bottom:1px solid var(--rule) }
.reading aside a{
  display:block; padding:14px 0; color:var(--ink-soft); text-decoration:none;
  font-size:.95rem;
}
.reading aside a:hover, .reading aside a:focus-visible{ color:var(--gold) }
@media (min-width:1000px){ .reading aside{ position:sticky; top:120px; align-self:start } }

/* ---------- Contact page two-column panel ---------- */
.contact-split-row{
  display:grid; grid-template-columns:1fr;
}
@media (min-width:800px){
  .contact-split-row{
    grid-template-columns:1fr 1fr;
  }
  .contact-split-row > div:first-child{
    border-bottom:0 !important;
    border-right:1px solid var(--rule);
  }
}
