/* ==========================================================================
   HCC SEE — Human Capital Center South East Europe
   Design system & global styles
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colours */
  --teal:        #0F3D3E;   /* primary authority colour */
  --teal-deep:   #0A2C2D;   /* deeper teal for footers / contrast blocks */
  --teal-700:    #123C3F;
  --teal-soft:   #1C5052;   /* hover / lines on dark */
  --ivory:       #F8F4ED;   /* primary warm background */
  --ivory-2:     #F5F0E8;   /* alt background band */
  --ivory-3:     #EFE8DB;   /* subtle cards on ivory */
  --gold:        #B88A44;   /* restrained accent */
  --gold-soft:   #C29A5B;
  --ink:         #16211F;   /* body text on light */
  --ink-soft:    #46534F;   /* secondary text on light */
  --line:        #DED5C6;   /* hairlines on light */
  --line-dark:   rgba(245,240,232,0.14); /* hairlines on dark */
  --paper-dim:   rgba(248,244,237,0.72);
  --white:       #ffffff;

  /* Typography */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 148px);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1.15em; max-width: 68ch; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(52px, 6vw, 88px); }
.bg-ivory-2 { background: var(--ivory-2); }
.bg-ivory-3 { background: var(--ivory-3); }
.bg-teal { background: var(--teal); color: var(--paper-dim); }
.bg-teal-deep { background: var(--teal-deep); color: var(--paper-dim); }
.bg-teal h1,.bg-teal h2,.bg-teal h3,.bg-teal h4,
.bg-teal-deep h1,.bg-teal-deep h2,.bg-teal-deep h3,.bg-teal-deep h4 { color: var(--ivory); }

.grid { display: grid; gap: clamp(24px, 3vw, 44px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Typographic utilities ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  }
.bg-teal .eyebrow, .bg-teal-deep .eyebrow { color: var(--gold-soft); }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.32rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.bg-teal .lead, .bg-teal-deep .lead { color: var(--paper-dim); }
.measure { max-width: 62ch; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }
.serif-accent { font-family: var(--serif); font-style: italic; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: var(--ivory);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--teal-soft); border-color: var(--teal-soft); }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: #1a1408; }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

.btn--ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--line);
}
.btn--ghost:hover { background: transparent; border-color: var(--teal); color: var(--teal); }

.bg-teal .btn--ghost, .bg-teal-deep .btn--ghost,
.hero .btn--ghost, .page-hero .btn--ghost, .cta-band .btn--ghost { color: var(--ivory); border-color: var(--line-dark); }
.bg-teal .btn--ghost:hover, .bg-teal-deep .btn--ghost:hover,
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .cta-band .btn--ghost:hover { border-color: var(--gold-soft); color: var(--ivory); }

.btn--light { background: var(--ivory); color: var(--teal); border-color: var(--ivory); }
.btn--light:hover { background: var(--white); border-color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .25s, border-color .25s, gap .25s var(--ease);
}
.link-arrow:hover { color: var(--gold); border-color: var(--gold); gap: 0.75rem; }
.bg-teal .link-arrow, .bg-teal-deep .link-arrow { color: var(--gold-soft); }
.bg-teal .link-arrow:hover, .bg-teal-deep .link-arrow:hover { color: var(--ivory); border-color: var(--gold-soft); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---------- Focus states (accessibility) ---------- */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--teal); color: var(--ivory);
  padding: 0.7rem 1.2rem; border-radius: var(--radius); z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,244,237,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 78px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.18rem; color: var(--teal); letter-spacing: 0.01em; }
.brand__sub { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 0.92rem; font-weight: 450; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .25s;
  white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--teal); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }

.nav__item--has-dropdown { position: relative; }
.nav__dropdown {
  position: absolute; top: 100%; left: -1rem; background: var(--ivory);
  min-width: 200px; padding: 0.8rem 0; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--line); border-radius: 4px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s var(--ease); z-index: 100;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown li { list-style: none; padding: 0 1.2rem; }
.nav__dropdown a { font-size: 0.85rem; display: block; padding: 4px 0; }

.nav__actions { display: flex; align-items: center; gap: 1.1rem; flex-shrink: 0; }

/* language switcher */
.lang {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: 40px; overflow: hidden; background: transparent;
}
.lang button {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 0.34rem 0.7rem; background: transparent; border: 0; cursor: pointer;
  color: var(--ink-soft); transition: background .25s, color .25s;
}
.lang button[aria-pressed="true"] { background: var(--teal); color: var(--ivory); }

.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 1.5px; background: var(--teal);
  position: relative; transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .site-header.nav-open .nav__links {
    display: flex; position: fixed; top: 78px; left: 0; width: 100%; height: calc(100vh - 78px); height: calc(100dvh - 78px);
    flex-direction: column; align-items: flex-start; gap: 0.2rem; background: var(--ivory); padding: 2rem var(--gutter);
    overflow-y: auto; border-top: 1px solid var(--line); z-index: 999;
  }
  .site-header.nav-open .nav__links a { font-size: 1.5rem; font-family: var(--serif); color: var(--teal); padding: 0.6rem 0; }
  .site-header.nav-open .nav__links li { width: 100%; display: block; }
  .site-header.nav-open .nav__item--has-dropdown { width: 100%; }
  .site-header.nav-open .nav__dropdown {
    position: relative; top: auto; left: auto; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 0 0 0 1rem;
    border-left: 1px solid var(--gold); border-radius: 0; margin-top: 0; margin-bottom: 0.5rem;
  }
  .site-header.nav-open .nav__dropdown a { font-size: 1.1rem; padding: 0.3rem 0; font-family: var(--sans); }
}

/* Allow the brand to shrink instead of forcing header overflow */
.brand { min-width: 0; }
.brand__mark { max-width: 100%; }

/* Compact header on phones: shrink the wordmark logo so the language switcher
   and hamburger always fit on one row (the inline height/max-width on the <img>
   is overridden here for small screens). */
@media (max-width: 600px) {
  .site-header .brand__mark { max-width: 150px !important; height: 36px !important; }
  .nav { height: 66px; gap: 0.5rem; }
  .nav__actions { gap: 0.55rem; }
  .site-header.nav-open .nav__links { top: 66px; height: calc(100vh - 66px); height: calc(100dvh - 66px); }
}
@media (max-width: 380px) {
  .site-header .brand__mark { max-width: 128px !important; height: 32px !important; }
  .lang button { padding: 0.3rem 0.55rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--teal); color: var(--ivory); }

/* --- abstract organizational-system background layer (5–15% opacity) --- */
.hero__system { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.13; }
.hero__system svg { width: 100%; height: 100%; }
.hero__system .sys-rotate { animation: sysSpin 150s linear infinite; transform-box: view-box; transform-origin: 720px 430px; }
.hero__system .sys-rotate-rev { animation: sysSpin 190s linear infinite reverse; transform-box: view-box; transform-origin: 720px 430px; }
.hero__system .sys-net { opacity: 0; animation: sysFade 1.8s var(--ease) .4s forwards; }
.hero__system .sys-nodes circle { opacity: 0; animation: sysFade 1s var(--ease) forwards; }
.hero__system .sys-nodes circle:nth-of-type(2n)  { animation-delay: .5s; }
.hero__system .sys-nodes circle:nth-of-type(3n)  { animation-delay: .8s; }
.hero__system .sys-nodes circle:nth-of-type(5n)  { animation-delay: 1.1s; }
@keyframes sysSpin { to { transform: rotate(360deg); } }
@keyframes sysFade { to { opacity: 1; } }

.hero__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 1180px; margin-inline: auto;
  min-height: min(90vh, 880px); padding-block: clamp(56px, 8vw, 104px);
  position: relative; z-index: 1;
}
.hero .eyebrow { justify-content: center; margin-bottom: 1.35rem; }
.hero h1 {
  color: var(--ivory); margin: 0 auto; max-width: 18ch;
  font-size: clamp(2.5rem, 5.1vw, 4rem); letter-spacing: -0.022em; text-wrap: balance;
}
.hero h1 .hero-line { display: block; }
@media (min-width: 992px) { .hero h1 { max-width: none; } .hero h1 .hero-line { white-space: nowrap; } }
.hero .lead {
  color: #E9E2D5; max-width: 720px; margin: 1.25rem auto 0;
  font-size: clamp(1.12rem, 1.45vw, 1.28rem); line-height: 1.74;
}
.hero__ctas { margin-top: clamp(2rem, 3.2vw, 2.8rem); justify-content: center; gap: 1rem; }
.hero__ctas .btn { padding: 1.02rem 1.95rem; }

/* refined primary gold CTA (hero-scoped, sophisticated tone) */
.hero .btn--gold { --btn-bg: #A97C39; --btn-fg: #1E1608; border-color: #A97C39; }
.hero .btn--gold:hover { background: #946A2C; border-color: #946A2C; }
/* refined secondary CTA */
.hero .btn--ghost { background: rgba(248,244,237,0.02); border-color: rgba(245,240,232,0.30); color: var(--ivory); }
.hero .btn--ghost:hover { background: rgba(248,244,237,0.09); border-color: rgba(245,240,232,0.52); color: var(--ivory); }

/* --- symmetric 3-column credibility strip --- */
.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: min(880px, 100%); margin-top: clamp(44px, 6vw, 80px);
  border-top: 1px solid var(--line-dark);
}
.hero__stat {
  display: flex; flex-direction: column; gap: 0.4rem; align-items: center;
  padding: clamp(1.5rem, 2.4vw, 2.1rem) 1.1rem 0;
  border-right: 1px solid var(--line-dark);
}
.hero__stat:last-child { border-right: 0; }
.hero__stat b { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); color: var(--gold-soft); font-weight: 400; letter-spacing: 0.01em; }
.hero__stat span { font-size: 0.86rem; letter-spacing: 0.02em; color: rgba(245,240,232,0.82); max-width: 24ch; }
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: 1fr; width: 100%; max-width: 360px; }
  .hero__stat { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 1.3rem 1rem; }
  .hero__stat:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .hero__ctas .btn { justify-content: center; }
}

/* faint grid texture on teal blocks */
.grid-texture { position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 72%);
}

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero { background: var(--teal); color: var(--ivory); padding-block: clamp(56px, 8vw, 118px); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--ivory); max-width: 18ch; }
.page-hero .lead { color: var(--paper-dim); }
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.breadcrumb { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--paper-dim); margin-bottom: 1.6rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold-soft); }
.breadcrumb a:hover { color: var(--ivory); }

/* ==========================================================================
   CARDS & COMPONENTS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* Positioning statement / big pull quote */
.statement { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--teal); max-width: 22ch; }
.bg-teal .statement, .bg-teal-deep .statement { color: var(--ivory); }

/* Challenge list */
.challenge {
  border-top: 1px solid var(--line); padding: 1.7rem 0 1.5rem;
  display: grid; grid-template-columns: 54px 1fr; gap: 1.2rem; align-items: start;
}
.challenge__num { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); padding-top: 2px; }
.challenge h4 { margin-bottom: 0.35rem; color: var(--teal); }
.challenge p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.bg-teal .challenge, .bg-teal-deep .challenge { border-top-color: var(--line-dark); }
.bg-teal .challenge p, .bg-teal-deep .challenge p { color: var(--paper-dim); }

/* Service cards */
.svc-card {
  position: relative; background: var(--ivory); border: 1px solid var(--line);
  padding: 2.1rem 1.9rem 1.9rem; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  min-height: 100%;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px -30px rgba(15,61,62,0.5); }
.svc-card__num { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.05em; }
.svc-card h3 { margin: 0.9rem 0 0.6rem; font-size: 1.32rem; }
.svc-card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.svc-card .link-arrow { margin-top: auto; }
.svc-card__line { width: 34px; height: 2px; background: var(--gold); margin-bottom: 0.4rem; }

/* Process steps */
.process { counter-reset: step; }
.process__item {
  display: grid; grid-template-columns: 90px 1fr; gap: clamp(1rem,3vw,2.4rem); align-items: start;
  padding: 2rem 0; border-top: 1px solid var(--line);
}
.process__item:last-child { border-bottom: 1px solid var(--line); }
.process__no { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.process__item h3 { margin-bottom: 0.4rem; }
.process__item p { margin: 0; color: var(--ink-soft); }
.bg-teal .process__item, .bg-teal-deep .process__item { border-color: var(--line-dark); }
.bg-teal .process__item p, .bg-teal-deep .process__item p { color: var(--paper-dim); }

/* Feature / why list */
.feature { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.feature h4 { display: flex; gap: 0.7rem; align-items: baseline; margin-bottom: 0.4rem; }
.feature h4 .dot { color: var(--gold); font-size: 1.2rem; line-height: 1; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* Case study cards */
.case-card {
  background: var(--ivory); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -32px rgba(15,61,62,0.55); }
.case-card__top { aspect-ratio: 16/9; background: var(--teal); position: relative; overflow: hidden; }
.case-card__body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.9rem; }
.case-card h3 { font-size: 1.28rem; margin-bottom: 0.6rem; }
.case-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 1.3rem; }
.case-card .link-arrow { margin-top: auto; }

/* Testimonials */
.quote {
  border-left: 2px solid var(--gold); padding: 0.3rem 0 0.3rem 2rem;
}
.quote__text { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.42; color: var(--teal); margin-bottom: 1.4rem; }
.bg-teal .quote__text, .bg-teal-deep .quote__text { color: var(--ivory); }
.quote__meta { display: flex; flex-direction: column; gap: 2px; }
.quote__name { font-weight: 600; font-size: 0.98rem; color: var(--teal); }
.bg-teal .quote__name, .bg-teal-deep .quote__name { color: var(--ivory); }
.quote__role { font-size: 0.86rem; color: var(--ink-soft); }
.bg-teal .quote__role, .bg-teal-deep .quote__role { color: var(--paper-dim); }

.tcard { background: var(--ivory); border: 1px solid var(--line); padding: 2rem 1.9rem; display: flex; flex-direction: column; }
.tcard .quote__text { font-size: 1.18rem; }

/* Insights / article cards */
.article-card { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 1.6rem; height: 100%; }
.article-card .tag { color: var(--gold); }
.article-card h3 { font-size: 1.34rem; margin: 0.3rem 0 0.6rem; transition: color .25s; }
.article-card:hover h3 { color: var(--gold); }
.article-card p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.article-card__meta { margin-top: auto; font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.03em; }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.stat-strip .cell { background: var(--teal); padding: 2rem 1.6rem; }
.stat-strip b { font-family: var(--serif); font-size: clamp(2rem,3vw,2.7rem); color: var(--gold-soft); font-weight: 400; display: block; margin-bottom: 0.3rem; }
.stat-strip span { font-size: 0.86rem; color: var(--paper-dim); }
@media (max-width: 780px){ .stat-strip { grid-template-columns: repeat(2,1fr); } }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 860px){ .split, .split--wide-left { grid-template-columns: 1fr; gap: 34px; } }

/* Definition list for meta */
.deflist { display: grid; gap: 1.3rem; }
.deflist dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.3rem; }
.deflist dd { margin: 0; color: var(--ink); }
.bg-teal .deflist dd, .bg-teal-deep .deflist dd { color: var(--ivory); }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill { font-size: 0.82rem; padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 40px; color: var(--ink-soft); }
.bg-teal .pill, .bg-teal-deep .pill { border-color: var(--line-dark); color: var(--paper-dim); }

/* Callout / placeholder note */
.placeholder-note {
  border: 1px dashed var(--gold); background: rgba(184,138,68,0.06);
  padding: 1rem 1.3rem; border-radius: var(--radius); font-size: 0.86rem; color: var(--ink-soft);
  display: flex; gap: 0.7rem; align-items: flex-start;
}
.placeholder-note b { color: var(--gold); }

/* CTA band */
.cta-band { background: var(--teal-deep); color: var(--ivory); text-align: center; position: relative; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.cta-band h2 { color: var(--ivory); font-size: clamp(1.8rem, 3.4vw, 2.9rem); max-width: 20ch; margin-inline: auto; }

/* Prose (articles, legal) */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.5rem,2.4vw,2rem); }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote { border-left: 2px solid var(--gold); margin: 1.6rem 0; padding-left: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--teal); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form { display: grid; gap: 1.3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 620px){ .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--teal); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,61,62,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: 0.78rem; color: var(--ink-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #a3402f; }
.field .error-msg { font-size: 0.78rem; color: #a3402f; display: none; }
.field.invalid .error-msg { display: block; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.88rem; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); }
.form-note { font-size: 0.82rem; color: var(--ink-soft); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--teal-deep); color: var(--paper-dim); padding-top: clamp(56px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px,4vw,56px); padding-bottom: 3.4rem; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand__name { color: var(--ivory); }
.footer-about { font-size: 0.92rem; max-width: 38ch; margin-top: 1.2rem; color: var(--paper-dim); }
.footer-col h4 { color: var(--ivory); font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { font-size: 0.92rem; color: var(--paper-dim); transition: color .25s; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact p { font-size: 0.92rem; margin-bottom: 0.5rem; color: var(--paper-dim); }
.footer-contact a { color: var(--ivory); border-bottom: 1px solid var(--line-dark); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer-social a {
  width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--paper-dim);
  transition: border-color .25s, color .25s, transform .25s;
}
.footer-social a:hover { color: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.6rem 0 2.4rem; font-size: 0.82rem; }
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-lang { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-lang button { background: transparent; border: 0; color: var(--paper-dim); cursor: pointer; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; }
.footer-lang button[aria-pressed="true"] { color: var(--gold-soft); }
.footer-lang .sep { opacity: 0.4; }

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */
.cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(140%);
  width: min(680px, calc(100% - 40px)); background: var(--teal); color: var(--paper-dim);
  border: 1px solid var(--teal-soft); border-radius: 6px; padding: 1.3rem 1.5rem; z-index: 300;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.55);
  display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  transition: transform .5s var(--ease);
}
.cookie.is-visible { transform: translateX(-50%) translateY(0); }
.cookie p { margin: 0; font-size: 0.88rem; max-width: 44ch; color: var(--paper-dim); }
.cookie a { color: var(--gold-soft); border-bottom: 1px solid var(--line-dark); }
.cookie__actions { display: flex; gap: 0.7rem; }
.cookie .btn { padding: 0.6rem 1.2rem; font-size: 0.84rem; }
.cookie .btn--ghost { color: var(--ivory); border-color: var(--line-dark); background: transparent; }
.cookie .btn--ghost:hover { border-color: var(--gold-soft); color: var(--ivory); }

/* Compass diagram support */
.compass-wrap { display: grid; place-items: center; }
.compass-svg { width: 100%; max-width: 520px; height: auto; }
.compass-svg .node circle { transition: fill .3s, r .3s; }
.compass-svg .ring { fill: none; }

/* Utility spacing */
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1.1rem; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.bg-teal hr.rule, .bg-teal-deep hr.rule { border-top-color: var(--line-dark); }

/* Thank-you page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.thanks .tick { width: 74px; height: 74px; margin: 0 auto 1.6rem; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; }
.thanks .tick svg { width: 32px; height: 32px; }

/* ==========================================================================
   BLOG / EXECUTIVE REFLECTIONS — additive (does not alter existing design)
   ========================================================================== */
/* Format tabs: All / Reflections / Articles */
.tabs { display: inline-flex; gap: 0.4rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink-soft); padding: 0.6rem 1.1rem; position: relative; transition: color .25s;
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab:hover { color: var(--teal); }
.tab--active { color: var(--teal); }
.tab--active::after { transform: scaleX(1); }

/* Active category pill */
.pill--active { background: var(--teal); color: var(--ivory); border-color: var(--teal); }

/* Optional featured image on article cards */
.article-card__img {
  display: block; width: calc(100% + 0px); aspect-ratio: 16/10; margin-bottom: 1.1rem;
  background-size: cover; background-position: center; background-color: var(--teal);
  border: 1px solid var(--line);
}

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap; }
.pagination__status { font-size: 0.86rem; color: var(--ink-soft); letter-spacing: 0.03em; }

/* Preview-mode banner (admin previewing a draft) */
.preview-bar {
  position: sticky; top: 0; z-index: 200; background: var(--gold); color: #1E1608;
  display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap;
  padding: 0.7rem 1rem; font-size: 0.9rem; font-weight: 500;
}
.preview-bar a { text-decoration: underline; color: #1E1608; font-weight: 600; }

[hidden] { display: none !important; }
