/* =========================================================
   SARDONYX AFRICA — Primary Stylesheet
   Strategy. Advisory. Impact.
   Mobile-first. Design language derived from the natural
   sardonyx gemstone: layered bands, warm mineral tones,
   editorial serif headlines over clean sans-serif body copy.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Design tokens ---------- */
:root{
  /* Core brand palette — extracted from genuine sardonyx stone */
  --sard-red: #8B3527;
  --sard-red-dark: #732b20;
  --terracotta: #C15E37;
  --oxblood: #4B211D;
  --onyx: #211B19;
  --stone: #D9C4A7;
  --ivory: #F5EFE5;
  --gold: #B88A50;

  --ink: var(--onyx);
  --ink-soft: #52453f;
  --bg: var(--ivory);
  --surface: #ffffff;
  --surface-alt: var(--stone);
  --border: rgba(33,27,25,0.1);

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(33,27,25,0.06);
  --shadow-md: 0 12px 30px rgba(33,27,25,0.12);
  --shadow-lg: 0 24px 60px rgba(33,27,25,0.18);

  --ease: cubic-bezier(.25,.8,.25,1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html{ overflow-x: clip; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5{ font-family: var(--font-display); margin:0 0 .5em; line-height:1.12; font-weight:600; letter-spacing:-0.01em; }
p{ margin:0 0 1em; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size:1rem; }
:focus-visible{ outline: 2px solid var(--terracotta); outline-offset: 3px; }

.container{ width:100%; max-width: var(--container); margin-inline:auto; padding-inline: 20px; }
.section{ padding: 64px 0; position:relative; }
@media (min-width:768px){ .section{ padding: 96px 0; } }
.section-tight{ padding: 40px 0; }

.section-onyx{ background: var(--onyx); color: var(--ivory); }
.section-onyx h1,.section-onyx h2,.section-onyx h3{ color:#fff; }
.section-oxblood{ background: linear-gradient(160deg, var(--oxblood), var(--onyx)); color: var(--ivory); }
.section-stone{ background: var(--surface-alt); }
.section-ivory{ background: var(--ivory); }
.section-white{ background: var(--surface); }

/* ---------- Typography helpers ---------- */
.eyebrow{
  display:block;
  font-family: var(--font-body); font-weight:700; font-size:.75rem;
  letter-spacing: .18em; text-transform:uppercase; color: var(--terracotta);
  margin-bottom: 14px;
}
.section-onyx .eyebrow, .section-oxblood .eyebrow{ color: var(--gold); }

.display-1{ font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight:600; }
.display-2{ font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight:600; }
.display-3{ font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight:600; }
.lede{ font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height:1.6; }
.text-muted{ color: var(--ink-soft); }
.text-center{ text-align:center; }
.max-w{ max-width: 680px; }
.mx-auto{ margin-inline:auto; }
.accent{ color: var(--sard-red); }
.accent-terracotta{ color: var(--terracotta); }
em.serif-em{ font-family: var(--font-display); font-style:italic; color: var(--terracotta); }

.divider-band{
  width: 84px; height: 6px; border-radius: 6px; margin: 18px 0 0;
  background: linear-gradient(90deg, var(--sard-red), var(--terracotta), var(--gold));
  background-size: 200% 100%;
}
.section-onyx .divider-band, .section-oxblood .divider-band{ background: linear-gradient(90deg, var(--terracotta), var(--gold)); background-size:200% 100%; }
.divider-band.center{ margin-inline:auto; }

/* ---------- Buttons ---------- */
.btn{
  --btn-bg: var(--sard-red);
  --btn-fg: #fff;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight:700; font-size:.95rem; letter-spacing:.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space:nowrap; position:relative; overflow:hidden;
}
.btn:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:active{ transform: translateY(-1px); }
.btn-primary{ background: var(--terracotta); }
.btn-primary:hover{ background: var(--sard-red); }
.btn-dark{ background: var(--onyx); }
.btn-outline{ background: transparent; color: var(--onyx); border-color: currentColor; }
.btn-outline:hover{ background: var(--onyx); color:#fff; border-color: var(--onyx); }
.btn-outline-light{ background: transparent; color:#fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover{ background:#fff; color: var(--onyx); border-color:#fff; }
.btn-ghost{ background: transparent; color: var(--terracotta); padding-inline: 6px; }
.btn-ghost:hover{ transform:none; box-shadow:none; gap:14px; }
.btn-sm{ padding: 10px 20px; font-size:.85rem; }
.btn-block{ width:100%; }
.btn svg{ width:16px; height:16px; transition: transform .3s var(--ease); }
.btn:hover svg{ transform: translateX(4px); }

.btn-row{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky; top:0; z-index:1000;
  height: var(--header-h);
  display:flex; align-items:center;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .3s var(--ease);
}
.site-header::before{
  content:''; position:absolute; left:0; right:0; top:0; height:220px; z-index:-1;
  background: linear-gradient(180deg, rgba(15,11,10,.68) 0%, rgba(15,11,10,.4) 45%, rgba(15,11,10,.12) 80%, rgba(15,11,10,0) 100%);
  opacity:1; transition: opacity .4s var(--ease); pointer-events:none;
}
.site-header.is-solid::before{ opacity:0; }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.site-header.is-solid{ background: rgba(245,239,229,0.92); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 2px 20px rgba(33,27,25,0.08); }
.site-header.is-solid .brand img{ opacity:1; }

.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height: 40px; width:auto; display:block; }
.brand .logo-white{ display:block; }
.brand .logo-color{ display:none; }
.site-header.is-solid .brand .logo-white{ display:none; }
.site-header.is-solid .brand .logo-color{ display:block; }
body.dark-page .site-header:not(.is-solid) .brand .logo-white{ display:block; }

.nav-links{ display:none; }
.nav-links a{
  font-weight:600; font-size:.92rem; opacity:.86;
  position:relative; padding: 8px 2px;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:2px; width:0; height:2px;
  background: var(--terracotta); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ opacity:1; }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.header-fg{ color:#fff; }
.site-header.is-solid .header-fg{ color: var(--onyx); }

.nav-cta{ display:none; }
.nav-actions{ display:flex; align-items:center; gap:18px; }

.nav-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:42px; height:42px; border-radius:50%; border:1.5px solid currentColor;
  background:transparent; color:#fff; align-items:center; z-index:1100; position:relative;
}
.site-header.is-solid .nav-toggle{ color: var(--onyx); }

/* Interior pages: header is always in its "solid" state — no transparent/gradient
   treatment over the page-hero image, color logo at all times. Only the homepage
   keeps the dynamic transparent-to-solid hero header. */
body.inner-page .site-header{
  background: rgba(245,239,229,0.92); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 2px 20px rgba(33,27,25,0.08);
}
body.inner-page .site-header::before{ display:none; }
body.inner-page .brand .logo-white{ display:none; }
body.inner-page .brand .logo-color{ display:block; }
body.inner-page .header-fg{ color: var(--onyx); }
body.inner-page .nav-toggle{ color: var(--onyx); }
body.dark-page .site-header:not(.is-solid) .nav-toggle{ color:#fff; }
.nav-toggle span{ width:18px; height:2px; background: currentColor; border-radius:2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position: fixed; inset:0; background: var(--onyx); color:#fff; z-index:1050;
  display:flex; flex-direction:column; justify-content:center;
  padding: 100px 32px 40px;
  transform: translateX(100%); transition: transform .5s var(--ease);
  overflow-y:auto;
}
.mobile-nav.is-open{ transform: translateX(0); }
.mobile-nav a{ font-family: var(--font-display); font-size: 2rem; padding: 12px 0; display:block; border-bottom:1px solid rgba(255,255,255,.1); opacity:0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mobile-nav.is-open a{ opacity:1; transform:none; }
.mobile-nav a.btn{
  font-family: var(--font-body); font-size:.95rem; text-align:center;
  border-bottom:none; padding: 16px 28px; margin-top: 20px; width:100%;
}
.mobile-nav-meta{ margin-top:auto; padding-top:30px; opacity:.7; font-size:.85rem; }

@media (min-width:1020px){
  .nav-links{ display:flex; gap: clamp(16px, 2vw, 30px); align-items:center; }
  .nav-cta{ display:inline-flex; }
  .nav-toggle{ display:none; }
  .mobile-nav{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height: 92vh; display:flex; align-items:flex-end;
  color:#fff; overflow:hidden; margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; transform: scale(1.08); animation: heroZoom 16s ease-out forwards; }
.hero-media::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(33,27,25,.55) 0%, rgba(33,27,25,.45) 35%, rgba(33,27,25,.85) 100%),
              linear-gradient(100deg, rgba(139,53,39,.55), rgba(33,27,25,.2) 55%);
}
.hero-bands{ position:absolute; inset:0; z-index:1; opacity:.5; pointer-events:none; mix-blend-mode: soft-light; }
.hero-inner{ position:relative; z-index:2; padding: 60px 0 84px; }
.hero-tag{ font-size:.8rem; letter-spacing:.24em; text-transform:uppercase; font-weight:700; color: var(--gold); display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.hero-tag .dot{ width:7px; height:7px; border-radius:50%; background: var(--terracotta); box-shadow:0 0 0 4px rgba(193,94,55,.35); }
.hero h1{ font-size: clamp(2.4rem, 7vw, 5rem); color:#fff; max-width: 16ch; }
.hero .lede{ color: rgba(255,255,255,.86); max-width: 620px; margin-bottom: 32px; }

.hero-scroll{ position:absolute; right:28px; bottom:28px; z-index:2; display:none; align-items:center; gap:10px; color: rgba(255,255,255,.75); font-size:.75rem; letter-spacing:.14em; text-transform:uppercase; }
.hero-scroll .line{ width:1px; height:46px; background: rgba(255,255,255,.4); position:relative; overflow:hidden; }
.hero-scroll .line::after{ content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--terracotta); animation: scrollLine 2.2s ease-in-out infinite; }
@media (min-width:768px){ .hero-scroll{ display:flex; } }

.page-hero{
  position:relative; padding: calc(var(--header-h) + 70px) 0 90px; color:#fff; overflow:hidden;
}
.page-hero .hero-media img{ animation: heroZoomSlow 20s ease-out forwards; }
.page-hero .hero-media::after{
  background: linear-gradient(180deg, rgba(20,15,13,.74) 0%, rgba(20,15,13,.6) 45%, rgba(20,15,13,.9) 100%),
              linear-gradient(100deg, rgba(139,53,39,.5), rgba(20,15,13,.35) 55%);
}
.page-hero-inner{ position:relative; z-index:2; }
.page-hero-inner .lede{ color: rgba(255,255,255,.88); }
.breadcrumb{ font-size:.8rem; text-transform:uppercase; letter-spacing:.14em; color: var(--gold); margin-bottom:16px; display:flex; gap:8px; align-items:center; }

/* ---------- Sardonyx band motif (decorative SVG backgrounds) ---------- */
.band-divider{ display:block; width:100%; height:auto; color: var(--ivory); }
.band-divider path{ fill: currentColor; }
.bg-bands{ position:absolute; inset:0; z-index:0; opacity:.06; pointer-events:none; }
.bg-bands svg{ width:100%; height:100%; }

/* ---------- Marquee ---------- */
.marquee-strip{ background: var(--onyx); color: var(--ivory); overflow:hidden; padding: 18px 0; }
.marquee-track{ display:flex; width:max-content; gap:48px; animation: marquee 32s linear infinite; }
.marquee-track span{ font-family: var(--font-display); font-style:italic; font-weight:500; font-size:1.15rem; color: var(--stone); white-space:nowrap; display:flex; align-items:center; gap:48px; }
.marquee-track span b{ color: var(--terracotta); font-style:normal; font-family:var(--font-body); font-size:.7rem; letter-spacing:.2em; }

/* ---------- Grids & cards ---------- */
.grid{ display:grid; gap: 24px; }
.grid-2{ grid-template-columns: 1fr; }
.grid-3{ grid-template-columns: 1fr; }
.grid-4{ grid-template-columns: repeat(2,1fr); }
.grid-5{ grid-template-columns: 1fr; }
@media (min-width:640px){ .grid-4{ grid-template-columns: repeat(2,1fr); } .grid-5{ grid-template-columns: repeat(2,1fr); } }
@media (min-width:900px){
  .grid-2{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: repeat(3,1fr); }
  .grid-4{ grid-template-columns: repeat(4,1fr); }
}
@media (min-width:1100px){
  .grid-5{ grid-template-columns: repeat(5,1fr); }
}

.split{ display:grid; gap: 40px; align-items: stretch; }
@media (min-width:900px){ .split{ grid-template-columns: 1fr 1fr; gap: 64px; } }
.split.reverse{ direction: rtl; }
.split.reverse > *{ direction: ltr; }

/* A split column's direct child should fill the row height it's given,
   so an image next to a taller (or shorter) card grid always matches its
   bottom edge instead of floating short/tall against empty space. */
.split > *{ height:100%; }

.media-frame{ position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg); height:100%; min-height: 260px; }
.media-frame img{ width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); }
.media-frame:hover img{ transform: scale(1.05); }
.media-frame::before{ content:''; position:absolute; inset:0; border: 1px solid rgba(255,255,255,.18); border-radius:inherit; z-index:2; pointer-events:none; }

.card{
  background: var(--surface); border-radius: var(--radius-md); padding: 30px;
  box-shadow: var(--shadow-sm); border:1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  height:100%; display:flex; flex-direction:column;
}
/* Whatever card content varies in length (a 1-line vs 2-line description),
   pin the CTA to the bottom so it lines up across every card in the row. */
.card .btn-ghost{ margin-top:auto; padding-top:14px; }
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon{
  width:52px; height:52px; border-radius: 14px; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--sard-red), var(--terracotta)); color:#fff; margin-bottom:20px;
  flex-shrink:0;
}
.card-icon svg{ width:24px; height:24px; }
.card h3{ font-size:1.2rem; margin-bottom:10px; }
.card p{ color: var(--ink-soft); font-size:.95rem; margin-bottom:0; }

.pillar-card{
  position:relative; background: var(--onyx); color:#fff; border-radius: var(--radius-lg);
  padding: 36px 30px; overflow:hidden; height:100%; isolation:isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pillar-card::before{
  content:''; position:absolute; inset:0; z-index:-1; opacity:.85;
  background: linear-gradient(155deg, var(--oxblood), var(--onyx) 60%);
  transition: opacity .5s var(--ease);
}
.pillar-card::after{
  content:''; position:absolute; right:-40%; top:-40%; width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(193,94,55,.55), transparent 70%); z-index:-1;
  transition: transform .6s var(--ease);
}
.pillar-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pillar-card:hover::after{ transform: scale(1.4); }
.pillar-num{ font-family: var(--font-display); font-size:.85rem; color: var(--gold); letter-spacing:.1em; }
.pillar-card h3{ font-size: 1.7rem; margin: 10px 0 14px; color:#fff; }
.pillar-card p{ color: rgba(255,255,255,.75); margin-bottom: 22px; }
.pillar-list{ display:flex; flex-direction:column; gap:9px; margin-bottom: 22px; }
.pillar-list li{ font-size:.88rem; color: rgba(255,255,255,.82); display:flex; gap:10px; align-items:flex-start; }
.pillar-list li::before{ content:''; width:6px; height:6px; border-radius:50%; background: var(--terracotta); margin-top:7px; flex-shrink:0; }

.stat-card{ text-align:center; padding: 30px 16px; }
.stat-num{ font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.4rem); font-weight:600; color: var(--terracotta); line-height:1; }
.section-onyx .stat-num, .section-oxblood .stat-num{ color: var(--gold); }
.stat-label{ margin-top:8px; font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; color: var(--ink-soft); font-weight:600; }
.section-onyx .stat-label, .section-oxblood .stat-label{ color: rgba(255,255,255,.65); }

/* ---------- Process / stepper ---------- */
.steps{ display:flex; flex-direction:column; gap:18px; counter-reset: step; }
.step-item{
  display:grid; grid-template-columns: auto 1fr; gap:20px; align-items:flex-start;
  background: var(--surface); border-radius: var(--radius-md); padding: 24px; border:1px solid var(--border);
  position:relative;
}
.step-num{
  font-family: var(--font-display); font-size:1.6rem; font-weight:600; color:#fff;
  width:56px; height:56px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0;
  background: linear-gradient(135deg, var(--sard-red), var(--oxblood));
}
.step-item h4{ font-family: var(--font-display); font-size:1.15rem; margin-bottom:6px; }
.step-item p{ color: var(--ink-soft); margin-bottom:0; font-size:.94rem; }
@media (min-width:900px){
  .steps{ flex-direction:row; gap:0; }
  .step-item{ flex-direction:column; text-align:center; background:transparent; border:none; padding: 0 16px; grid-template-columns:1fr; justify-items:center; }
  .step-item:not(:last-child)::after{
    content:''; position:absolute; top:28px; left:calc(50% + 46px); width: calc(100% - 12px); height:2px;
    background: repeating-linear-gradient(90deg, var(--stone) 0 8px, transparent 8px 14px);
  }
}

/* ---------- Sector / product cards ---------- */
.sector-card{
  background: var(--surface); border-radius: var(--radius-md); padding: 26px 22px;
  border: 1px solid var(--border); display:flex; flex-direction:column; gap:14px; height:100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.sector-card:hover{ background: var(--onyx); color:#fff; transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sector-card:hover p{ color: rgba(255,255,255,.75); }
.sector-card:hover .card-icon{ background: linear-gradient(135deg, var(--terracotta), var(--gold)); }
.sector-num{ font-family: var(--font-display); color: var(--stone); font-size:.85rem; }
.sector-card:hover .sector-num{ color: var(--gold); }

.product-card{
  background: var(--surface); border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--border);
  display:flex; flex-direction:column; height:100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-thumb{
  height: 150px; display:flex; align-items:center; justify-content:center; position:relative;
  background: linear-gradient(135deg, var(--stone), var(--ivory));
}
.product-thumb svg{ width:46px; height:46px; color: var(--sard-red); }
.product-badge{ position:absolute; top:14px; left:14px; background: var(--onyx); color: var(--gold); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; font-weight:700; padding:5px 12px; border-radius:999px; }
.product-body{ padding: 20px 22px 24px; display:flex; flex-direction:column; gap:8px; flex-grow:1; }
.product-cat{ font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color: var(--terracotta); font-weight:700; }
.product-body h3{ font-size:1.05rem; margin-bottom:4px; }
.product-body p{ font-size:.88rem; color: var(--ink-soft); flex-grow:1; }

.team-card{
  position:relative; border-radius: var(--radius-md); overflow:hidden;
  border:1px solid var(--border); box-shadow: var(--shadow-sm); cursor:pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.team-card:hover, .team-card.is-active, .team-card:focus-within{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo{ position:relative; aspect-ratio: 1 / 1; overflow:hidden; background: var(--stone); }
.team-photo img{ width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease), filter .5s var(--ease); }
.team-card:hover .team-photo img, .team-card.is-active .team-photo img, .team-card:focus-within .team-photo img{
  transform: scale(1.06); filter: brightness(.4) saturate(1.1);
}

/* Always-visible name + title caption over the photo */
.team-caption{
  position:absolute; left:0; right:0; bottom:0; z-index:1; padding: 20px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(15,11,10,.85) 75%);
  transition: opacity .3s var(--ease);
}
.team-card:hover .team-caption, .team-card.is-active .team-caption, .team-card:focus-within .team-caption{ opacity:0; }
.team-name{ font-family: var(--font-display); font-size:1.1rem; margin:0 0 3px; color:#fff; }
.team-role{ color: var(--gold); font-weight:700; font-size:.72rem; text-transform:uppercase; letter-spacing:.07em; display:block; }

/* Bio revealed on hover / tap / keyboard focus */
.team-bio-overlay{
  position:absolute; inset:0; z-index:2; padding: 26px 24px; display:flex; flex-direction:column; justify-content:center;
  opacity:0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events:none;
}
.team-card:hover .team-bio-overlay, .team-card.is-active .team-bio-overlay, .team-card:focus-within .team-bio-overlay{
  opacity:1; transform:none; pointer-events:auto;
}
.team-bio-overlay .team-name{ font-size:1.15rem; }
.team-bio-overlay p{ font-size:.85rem; line-height:1.55; color: rgba(255,255,255,.92); margin: 10px 0 0; }

.tabs{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 36px; }
.tab-btn{
  padding: 12px 22px; border-radius:999px; border:1.5px solid var(--border); background: var(--surface);
  font-weight:700; font-size:.88rem; color: var(--ink-soft); transition: all .3s var(--ease);
}
.tab-btn.is-active, .tab-btn:hover{ background: var(--onyx); color:#fff; border-color: var(--onyx); }
.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; animation: fadeUp .5s var(--ease); }

/* ---------- Quote / belief ---------- */
.quote-block{ position:relative; padding: 10px 0 10px 34px; border-left: 3px solid var(--terracotta); }
.quote-block p{ font-family: var(--font-display); font-style:italic; font-size: clamp(1.3rem,2.6vw,2rem); line-height:1.45; color: inherit; }
.quote-mark{ font-family: var(--font-display); font-size: 5rem; color: var(--terracotta); opacity:.35; line-height:0; display:block; height:34px; }

/* ---------- Insights ---------- */
.insight-card{ background: var(--surface); border-radius: var(--radius-md); border:1px solid var(--border); overflow:hidden; }
.insight-head{ width:100%; text-align:left; padding: 26px 26px; display:flex; justify-content:space-between; align-items:center; gap:16px; background:none; border:none; }
.insight-cat{ font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color: var(--terracotta); font-weight:700; margin-bottom:8px; display:block; }
.insight-head h3{ font-size:1.2rem; margin:0; }
.insight-plus{ width:34px; height:34px; border-radius:50%; border:1.5px solid var(--border); flex-shrink:0; position:relative; transition: transform .35s var(--ease), background .35s var(--ease); }
.insight-plus::before, .insight-plus::after{ content:''; position:absolute; background: var(--onyx); top:50%; left:50%; transform:translate(-50%,-50%); transition: transform .3s var(--ease), background .3s var(--ease); }
.insight-plus::before{ width:12px; height:2px; }
.insight-plus::after{ width:2px; height:12px; }
.insight-card.is-open .insight-plus{ background: var(--terracotta); transform: rotate(180deg); }
.insight-card.is-open .insight-plus::before, .insight-card.is-open .insight-plus::after{ background:#fff; }
.insight-card.is-open .insight-plus::after{ transform: translate(-50%,-50%) scaleY(0); }
.insight-body{ max-height:0; overflow:hidden; transition: max-height .5s var(--ease); }
.insight-body-inner{ padding: 0 26px 30px; color: var(--ink-soft); }
.insight-body-inner p{ margin-bottom:1em; }
.insight-meta{ display:flex; gap:14px; font-size:.78rem; color: var(--ink-soft); margin-top:10px; }

/* ---------- Forms ---------- */
.form-grid{ display:grid; gap:18px; }
@media (min-width:700px){ .form-grid.cols-2{ grid-template-columns:1fr 1fr; } }
.field label{ display:block; font-size:.82rem; font-weight:700; margin-bottom:8px; letter-spacing:.02em; }
.field input, .field select, .field textarea{
  width:100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(193,94,55,.14); outline:none; }
.field textarea{ resize: vertical; min-height:130px; }
.field-full{ grid-column: 1 / -1; }
.form-note{ font-size:.82rem; color: var(--ink-soft); margin-top:14px; }
.form-success{ display:none; padding:16px 18px; border-radius: var(--radius-sm); background: rgba(107,155,107,.15); border:1px solid rgba(107,155,107,.4); color:#2f5c33; font-weight:600; margin-top:18px; }
.form-success.is-visible{ display:block; animation: fadeUp .4s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; padding: 56px 30px; text-align:center;
  background: linear-gradient(155deg, var(--sard-red), var(--oxblood) 70%); color:#fff; isolation:isolate;
}
.cta-band::after{ content:''; position:absolute; inset:0; z-index:-1; opacity:.5; background: url('data:image/svg+xml;utf8,') ; }
.cta-band h2{ color:#fff; }
@media (min-width:900px){ .cta-band{ padding: 76px 60px; } }

/* ---------- Footer ---------- */
.site-footer{ background: var(--onyx); color: rgba(255,255,255,.75); padding-top: 76px; }
.footer-top{ display:grid; gap:44px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width:820px){ .footer-top{ grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap:30px; } }
.footer-brand img{ height:38px; margin-bottom:20px; }
.footer-brand p{ font-size:.9rem; max-width: 280px; }
.footer-col h5{ color:#fff; font-family: var(--font-body); font-size:.78rem; text-transform:uppercase; letter-spacing:.12em; margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:.92rem; transition: color .3s var(--ease), padding-left .3s var(--ease); }
.footer-col a:hover{ color: var(--terracotta); padding-left:4px; }
.footer-contact li{ font-size:.92rem; display:flex; gap:10px; }
.footer-contact svg{ width:16px; height:16px; flex-shrink:0; margin-top:3px; color: var(--terracotta); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; transition: all .3s var(--ease); }
.footer-social a:hover{ background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-3px); }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{ display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; padding: 26px 0; font-size:.82rem; }
.footer-bottom a{ text-decoration:underline; text-underline-offset:3px; }
.footer-bottom-links{ display:flex; gap:20px; flex-wrap:wrap; }

.back-to-top{
  position:fixed; right:22px; bottom:22px; z-index:900; width:48px; height:48px; border-radius:50%;
  background: var(--onyx); color:#fff; border:1px solid rgba(255,255,255,.15); display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform: translateY(10px); transition: all .35s var(--ease);
  box-shadow: var(--shadow-md);
}
.back-to-top.is-visible{ opacity:1; visibility:visible; transform:none; }
.back-to-top:hover{ background: var(--terracotta); }
.back-to-top svg{ width:18px; height:18px; }

/* ---------- Misc ---------- */
.tag-pill{ display:inline-flex; align-items:center; gap:8px; padding:7px 16px; border-radius:999px; background: rgba(139,53,39,.08); color: var(--sard-red); font-size:.78rem; font-weight:700; letter-spacing:.03em; }
.section-onyx .tag-pill, .section-oxblood .tag-pill{ background: rgba(255,255,255,.1); color: var(--gold); }
hr.rule{ border:none; border-top:1px solid var(--border); margin: 40px 0; }
.list-check{ display:flex; flex-direction:column; gap:14px; }
.list-check li{ display:flex; gap:12px; align-items:flex-start; font-size:.98rem; }
.list-check svg{ width:20px; height:20px; color: var(--terracotta); flex-shrink:0; margin-top:2px; }
.numbered-badge{ width:30px; height:30px; border-radius:50%; background: var(--stone); color: var(--sard-red-dark); font-weight:800; font-size:.85rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

.value-card{ text-align:left; }
.value-letter{ font-family: var(--font-display); font-size:2.6rem; color: var(--stone); line-height:1; margin-bottom:10px; }

.table-values{ width:100%; border-collapse:collapse; }
.table-values th, .table-values td{ text-align:left; padding: 16px; border-bottom:1px solid var(--border); vertical-align:top; }
.table-values th{ font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color: var(--ink-soft); }

.pricing-note{ display:flex; align-items:center; gap:10px; font-size:.85rem; color: var(--ink-soft); }

/* ---------- Utility spacing ---------- */
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.stack-lg > * + *{ margin-top: 22px; }
.flex-center{ display:flex; align-items:center; }
.gap-8{ gap:8px; } .gap-12{gap:12px;} .gap-16{gap:16px;}

::selection{ background: var(--terracotta); color:#fff; }
