/* ==========================================================================
   DataStages — premium dark editorial design system
   Off-black canvas, dark-grey surfaces, muted off-white text.
   Playfair Display (serif headings) + Inter (sans body). Champagne accent.
   ========================================================================== */

/* ---- Tokens ---------------------------------------------------------------- */
:root {
  /* core palette */
  --bg:          #0a0a0a;   /* off-black canvas */
  --bg-2:        #0d0d0d;   /* alt section */
  --surface:     #1a1a1a;   /* cards */
  --surface-2:   #202020;   /* raised / hover */
  --band:        #121212;   /* feature bands */
  --text:        #e0e0e0;   /* body */
  --text-bright: #f2f0ec;   /* headings */
  --text-muted:  #8f8b84;   /* secondary */
  --line:        #262626;   /* hairlines / borders */
  --line-2:      #333131;   /* stronger border */
  --accent:      #c2a878;   /* champagne gold */
  --accent-soft: #d8c39a;   /* accent hover / bright */
  --accent-dim:  rgba(194,168,120,.30);

  /* legacy variable names kept mapped so existing inline styles still resolve */
  --ds-navy:        var(--band);
  --ds-navy-2:      #101010;
  --ds-slate:       var(--text);
  --ds-muted:       var(--text-muted);
  --ds-line:        var(--line);
  --ds-bg:          var(--bg);
  --ds-bg-soft:     var(--bg-2);
  --ds-accent:      var(--accent);
  --ds-accent-600:  var(--accent-soft);
  --ds-teal:        var(--accent);
  --ds-white:       #f2f0ec;

  --radius:    4px;
  --radius-sm: 3px;
  --container: 1240px;
  --gutter:    clamp(24px, 6vw, 88px);
  --section-y: clamp(96px, 14vw, 200px);
  --ease:      cubic-bezier(.22, .61, .36, 1);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); text-decoration: none; transition: color .45s var(--ease); }
a:hover { color: var(--accent-soft); }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #0a0a0a; }

/* ---- Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-bright);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3.1rem, 6.4vw, 5.75rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
/* Editorial device: an italic serif keyword for a refined, established feel. */
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }
p { color: var(--text); }
strong { color: var(--text-bright); font-weight: 600; }

.lead {
  font-family: var(--font-body);
  font-size: clamp(1.075rem, 1.5vw, 1.3rem);
  line-height: 1.7;
  color: #a8a39b;
  font-weight: 400;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--accent-dim);
}
.section-head--center .eyebrow { justify-content: center; }

/* ---- Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-2); }
.section--navy { background: var(--band); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .lead { margin-top: 22px; }
.section-head h2 { margin-top: 22px; }
.section-head--center { margin-inline: auto; text-align: center; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--surface); color: var(--text); padding: 10px 16px; border: 1px solid var(--line);
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 500; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .16em;
  padding: 17px 34px; border: 1px solid transparent; border-radius: var(--radius-sm);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--primary { background: var(--text-bright); color: #0a0a0a; border-color: var(--text-bright); }
.btn--primary:hover { background: transparent; color: var(--text-bright); border-color: var(--line-2); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { color: var(--accent-soft); border-color: var(--accent); }
.btn--ondark { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ondark:hover { color: var(--accent-soft); border-color: var(--accent); }
.btn--lg { padding: 20px 42px; font-size: .8rem; }

/* ---- Header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, .72);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .5s var(--ease), background .5s var(--ease);
}
.site-header.is-stuck { border-color: var(--line); background: rgba(10, 10, 10, .9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; color: var(--text-bright); letter-spacing: .005em; }
.brand:hover { color: var(--text-bright); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__mark rect { fill: var(--accent); transition: fill .5s var(--ease); }
.brand:hover .brand__mark rect { fill: var(--accent-soft); }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative;
  font-family: var(--font-body); font-weight: 400; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted);
  padding: 10px 16px; transition: color .45s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__links a:hover { color: var(--text-bright); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--text-bright); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); background: var(--accent-dim); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; color: var(--text-bright); }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 20px var(--gutter) 32px;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .5s var(--ease), opacity .5s var(--ease);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 16px 0; font-size: .95rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta-desktop { display: none; }
}
@media (min-width: 941px) { .nav__cta-mobile { display: none; } }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(194,168,120,.10), transparent 62%),
    radial-gradient(700px 500px at 8% 108%, rgba(194,168,120,.05), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { padding-block: clamp(96px, 17vh, 220px); max-width: 960px; }
.hero h1 { margin-top: 34px; }
.hero .lead { margin-top: 34px; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 48px; }
.hero__micro { margin-top: 56px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); font-family: var(--font-body); }
.hero__micro span { color: var(--accent); }

/* ---- Cards / grids -------------------------------------------------------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 34px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(30px, 3.2vw, 46px);
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent-dim); background: var(--surface-2); }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--accent); margin-bottom: 28px;
  transition: border-color .5s var(--ease), color .5s var(--ease);
}
.card:hover .card__icon { border-color: var(--accent); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 14px; }
.card p { font-size: 1rem; color: var(--text-muted); }
.card__link { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; font-family: var(--font-body); font-weight: 500; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--accent); }
.card__link svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
a.card:hover .card__link svg, .card__link:hover svg { transform: translateX(5px); }

/* ---- Stat band ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats > div { background: var(--band); padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px); text-align: center; }
.stat__k { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.5rem); color: var(--text-bright); }
.stat__l { font-size: .82rem; letter-spacing: .06em; color: var(--text-muted); margin-top: 10px; }

/* ---- Steps ---------------------------------------------------------------- */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step {
  display: grid; grid-template-columns: 96px 1fr; gap: 32px; align-items: start;
  background: var(--surface); padding: clamp(28px, 3.4vw, 48px);
  transition: background .5s var(--ease);
}
.step:hover { background: var(--surface-2); }
.step__n { font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 3vw, 2.8rem); color: var(--accent); line-height: 1; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); }

/* ---- Detailed service blocks ---------------------------------------------- */
.svc { padding-block: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:first-of-type { border-top: 0; }
.svc__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 880px) { .svc__grid { grid-template-columns: 1fr; gap: 32px; } }
.svc__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.svc__head .card__icon { margin-bottom: 0; }
.svc p { color: var(--text-muted); margin-bottom: 18px; }
.svc p:last-child { margin-bottom: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 16px; color: var(--text); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 1px; background: var(--accent);
}
.svc__aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 44px); }
.svc__aside h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; font-weight: 500; }

/* ---- Tech chips ----------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 400; font-size: .8rem; letter-spacing: .04em; color: var(--text-muted);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 22px;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.chip:hover { color: var(--text-bright); border-color: var(--accent-dim); }

/* ---- CTA band ------------------------------------------------------------- */
.cta-band { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(44px, 7vw, 96px); position: relative; overflow: hidden; background: var(--band); }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(194,168,120,.12), transparent 70%); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px; }
.cta-band h2 { max-width: 660px; }
.cta-band p { color: var(--text-muted); margin-top: 14px; }

/* ---- Feature list --------------------------------------------------------- */
.feature { display: flex; gap: 20px; align-items: flex-start; }
.feature__ic { flex: none; width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); }
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); }

/* ---- Contact / forms ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.5fr .85fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: transparent; }
.field { margin-bottom: 30px; }
.field label { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text-bright);
  padding: 15px 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; transition: border-color .5s var(--ease);
}
.field select { padding-right: 24px; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5c5852; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:invalid.is-touched, .field textarea:invalid.is-touched, .field select:invalid.is-touched { border-color: #a45d5d; }
.field__error { display: none; color: #c98b8b; font-size: .82rem; margin-top: 8px; }
.field.has-error .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: var(--text-muted); margin-top: 22px; }
.form-status { display: none; padding: 15px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .95rem; }
.form-status.is-error { display: block; background: rgba(164,93,93,.12); color: #d09a9a; border: 1px solid rgba(164,93,93,.4); }
.form-success { display: none; padding: clamp(36px, 6vw, 60px) 0; }
.form-success.is-visible { display: block; }
.form-success__ic { width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; margin-bottom: 26px; }
.form-success__ic svg { width: 30px; height: 30px; }
.contact-grid .btn { width: 100%; justify-content: center; }

.reassure li { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.reassure li:last-child { border-bottom: 0; margin-bottom: 0; }
.reassure__ic { flex: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); color: var(--accent); display: grid; place-items: center; }
.reassure__ic svg { width: 20px; height: 20px; }
.reassure h3 { font-size: 1.05rem; margin-bottom: 6px; }
.reassure p { font-size: .92rem; color: var(--text-muted); }

/* ---- Interior page hero --------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 420px at 82% -20%, rgba(194,168,120,.09), transparent 62%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__inner { padding-block: clamp(84px, 12vw, 156px); max-width: 880px; }
.page-hero h1 { margin-top: 26px; }
.page-hero .lead { margin-top: 26px; }
.page-hero .eyebrow { color: var(--accent) !important; }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 104px) 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
.footer-blurb { margin-top: 20px; max-width: 360px; font-size: .96rem; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 { color: var(--text-muted); font-family: var(--font-body); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px; font-weight: 500; }
.footer-col a { display: block; color: var(--text); padding: 7px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .84rem; letter-spacing: .04em; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }

/* ---- 404 ------------------------------------------------------------------ */
.notfound { text-align: center; padding-block: clamp(96px, 15vw, 200px); }
.notfound__code { font-family: var(--font-head); font-weight: 500; font-size: clamp(5rem, 15vw, 11rem); color: var(--accent); line-height: 1; }
.notfound .hero__cta { justify-content: center; }

/* ---- Utilities ------------------------------------------------------------ */
.mt-0 { margin-top: 0; } .center { text-align: center; }
.stack > * + * { margin-top: 22px; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- Technology / platform strip (official Microsoft Fabric icons) ------- */
.techgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 28px); }
@media (max-width: 900px) { .techgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .techgrid { grid-template-columns: repeat(2, 1fr); } }
.tech {
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
  padding: clamp(22px, 2.8vw, 34px) 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .5s var(--ease), background .5s var(--ease), transform .5s var(--ease);
}
.tech:hover { border-color: var(--accent-dim); background: var(--surface-2); transform: translateY(-4px); }
.tech img { width: 44px; height: 44px; transition: transform .55s var(--ease); }
.tech:hover img { transform: scale(1.12); }
.tech span { font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); transition: color .5s var(--ease); }
.tech:hover span { color: var(--text-bright); }

/* ---- Hero load reveal (staggered, motion-safe) -------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__inner > *          { opacity: 0; animation: dsRise .85s var(--ease) both; }
  .js .hero__inner > .eyebrow   { animation-delay: .05s; }
  .js .hero__inner > h1         { animation-delay: .16s; }
  .js .hero__inner > .lead      { animation-delay: .34s; }
  .js .hero__inner > .hero__cta { animation-delay: .50s; }
  .js .hero__inner > .hero__micro { animation-delay: .64s; }
}
@keyframes dsRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---- Light closing prompt (interior pages) ------------------------------ */
.closer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: clamp(38px, 5vw, 56px); }
.closer__line { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--text-bright); margin: 0; }
.closer__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.closer__cta svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.closer__cta:hover { color: var(--accent-soft); }
.closer__cta:hover svg { transform: translateX(5px); }

/* ---- Official product icons inside feature tiles ------------------------- */
.feature__ic img { width: 30px; height: 30px; }

/* ---- Leadership / principal --------------------------------------------- */
.leader { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 76px); align-items: start; }
@media (max-width: 820px) { .leader { grid-template-columns: 1fr; gap: 34px; } }
.leader__portrait {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface); display: grid; place-items: center; overflow: hidden;
}
.leader__portrait::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(130% 130% at 82% 8%, rgba(194,168,120,.12), transparent 58%); }
/* square source image defines the height — stays square on every screen, never stretches */
.leader__portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.leader__mono { position: relative; z-index: 1; }
.leader__mono { position: relative; font-family: var(--font-head); font-size: clamp(3.5rem, 8vw, 5rem); color: var(--accent); letter-spacing: .03em; }
.leader__name { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 8px; }
.leader__role { font-family: var(--font-body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.leader__body p { color: var(--text-muted); }
.leader__quote {
  font-family: var(--font-head); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.45;
  color: var(--text-bright); border-left: 2px solid var(--accent); padding-left: 26px; margin: 32px 0 0;
}
.leader__creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.leader__creds li { font-family: var(--font-body); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; }
