/* ============================================================
   Paula Young — AI Portfolio
   Palette: warm cream · soft lavender · dusty rose · aubergine ink
   Type: Cormorant Garamond (display) · Hanken Grotesk (text)
   ============================================================ */

:root {
  --cream:        #faf6f1;   /* page background, warm ivory */
  --ivory:        #ffffff;
  --lilac:        #ece6f6;   /* soft lavender section block */
  --lilac-soft:   #f3eefa;
  --blush:        #f8ebe6;   /* soft blush section block */
  --ink:          #2c2733;   /* deep aubergine — warm near-black */
  --ink-soft:     #6f6678;   /* muted text */
  --ink-faint:    #a79fae;
  --lavender:     #8a6fc0;   /* primary accent — orchid */
  --lavender-deep:#6f55a8;
  --rose:         #c98aa0;   /* secondary accent — dusty rose */
  --rose-deep:    #b06b86;
  --gold:         #c8a06a;   /* tertiary, sparing */
  --line:         #e8dfd6;   /* warm hairline on cream */
  --line-lilac:   #ddd2ee;   /* hairline on lavender */

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-soft: 0 24px 60px -28px rgba(64, 44, 92, 0.32);
  --shadow-card: 0 16px 40px -26px rgba(64, 44, 92, 0.28);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-text: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-text);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- shared typographic helpers ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1.5px;
  background: var(--lavender);
  display: inline-block;
}

.display {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display em { font-style: italic; color: var(--lavender-deep); }

.lead {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 56ch;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { position: relative; }

.section-pad { padding: clamp(72px, 11vw, 140px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .display {
  font-size: clamp(34px, 5.2vw, 58px);
  margin: 16px 0 0;
}
.section-head .lead { margin-top: 20px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.scrolled {
  background: rgba(250, 246, 241, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.nav-brand {
  font-family: var(--ff-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap; flex-shrink: 0;
}
.nav-brand .dot { color: var(--lavender); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--lavender); transition: width .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: 100px;
  background: var(--ink); color: var(--cream) !important;
  transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { background: var(--lavender-deep); transform: translateY(-1px); }
@media (max-width: 860px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-text);
  font-size: 15px; font-weight: 600;
  padding: 14px 26px; border-radius: 100px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s, color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--lavender-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: var(--rose-deep); transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 132px;
  padding-bottom: clamp(56px, 9vw, 110px);
  overflow: hidden;
}
.hero::before { /* soft lavender wash */
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 12%, rgba(138,111,192,0.16), transparent 70%),
    radial-gradient(50% 45% at 8% 88%, rgba(201,138,160,0.14), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-title {
  font-size: clamp(44px, 6.6vw, 88px);
  margin-bottom: 26px;
}
.hero-copy .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust {
  margin-top: 30px; display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; color: var(--ink-soft);
}
.hero-trust .credential {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 500;
}
.hero-trust svg { width: 16px; height: 16px; color: var(--lavender); }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

/* portrait */
.portrait {
  position: relative;
  justify-self: center;
  width: min(420px, 100%);
}
.portrait-stage { position: relative; }
.portrait-frame {
  position: relative;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  box-shadow: var(--shadow-soft);
  background: var(--lilac);
}
.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 50%;
}
.portrait-stage::after { /* offset accent outline */
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border-radius: 200px 200px 24px 24px;
  border: 1.5px solid var(--lavender);
  z-index: -1;
}
.portrait-banner {
  margin: 30px auto 0; width: fit-content;
  background: var(--ivory);
  box-shadow: var(--shadow-card);
  border-radius: 14px;
  padding: 13px 22px 13px 16px;
  display: flex; align-items: center; gap: 13px;
}
.portrait-banner .ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--lilac); color: var(--lavender-deep);
  display: grid; place-items: center; flex-shrink: 0;
}
.portrait-banner .ico svg { width: 21px; height: 21px; }
.portrait-banner .txt { display: flex; flex-direction: column; line-height: 1.3; }
.portrait-banner .t-label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; white-space: nowrap; }
.portrait-banner .t-value { display: block; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* capability chips under hero */
.hero-chips {
  position: relative; z-index: 1;
  margin-top: clamp(48px, 7vw, 80px);
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.chip {
  font-size: 13.5px; font-weight: 500;
  padding: 9px 18px; border-radius: 100px;
  background: var(--ivory); border: 1px solid var(--line);
  color: var(--ink); display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--lavender); transform: translateY(-2px); }
.chip svg { width: 15px; height: 15px; color: var(--lavender); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .portrait { order: -1; width: min(340px, 86%); }
}

/* ============================================================
   ABOUT / BIO
   ============================================================ */
.about { background: var(--lilac-soft); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px); align-items: start;
}
.about-bio p { margin-bottom: 18px; color: var(--ink-soft); }
.about-bio p strong { color: var(--ink); font-weight: 600; }
.about-bio .first-letter::first-letter {
  font-family: var(--ff-display);
  font-size: 4.4em; line-height: 0.78; font-weight: 600;
  float: left; margin: 8px 14px 0 0; color: var(--lavender-deep);
}
.about-side { position: sticky; top: 110px; }

.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line-lilac);
  border: 1px solid var(--line-lilac);
  border-radius: var(--r-md); overflow: hidden;
  margin-bottom: 26px;
}
.stat {
  background: var(--ivory); padding: 26px 24px;
}
.stat .num {
  font-family: var(--ff-display); font-size: 46px; font-weight: 600;
  line-height: 1; color: var(--ink); letter-spacing: -0.01em;
}
.stat .num small { font-size: 24px; color: var(--lavender); }
.stat .cap { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
.stat-logo {
  display: flex; align-items: center; gap: 9px; margin-top: 12px;
}
.stat-logo img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line-lilac);
}
.stat-logo span {
  font-size: 11.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.25;
}
.stat-ig {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 12.5px; font-weight: 600; color: var(--rose-deep);
  transition: color .2s;
}
.stat-ig svg { width: 14px; height: 14px; }
.stat-ig:hover { color: var(--lavender-deep); }

.cred-card {
  background: var(--ivory); border: 1px solid var(--line-lilac);
  border-radius: var(--r-md); padding: 24px 26px;
}
.cred-card h4 {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; margin-bottom: 18px;
}
.cred-item { display: flex; gap: 14px; padding: 12px 0; }
.cred-item + .cred-item { border-top: 1px dashed var(--line-lilac); }
.cred-item .ci {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: var(--blush); color: var(--rose-deep);
  display: grid; place-items: center;
}
.cred-item .ci svg { width: 19px; height: 19px; }
.cred-item .ct-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.cred-item .ct-sub { font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-side { position: static; }
}

/* ============================================================
   CAPABILITIES
   ============================================================ */
.cap-head-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  margin-bottom: clamp(40px, 6vw, 60px);
}
.cap-portrait {
  position: relative; justify-self: end; width: min(300px, 100%);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--ivory);
}
.cap-portrait img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .cap-head-grid { grid-template-columns: 1fr; }
  .cap-portrait { justify-self: start; }
}
.cap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.cap-card {
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.cap-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: transparent; }
.cap-card .ci {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--lilac); color: var(--lavender-deep);
}
.cap-card:nth-child(4n+2) .ci { background: var(--blush); color: var(--rose-deep); }
.cap-card:nth-child(4n+3) .ci { background: #f0ebe0; color: var(--gold); }
.cap-card .ci svg { width: 25px; height: 25px; }
.cap-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 9px; letter-spacing: -0.01em; }
.cap-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 980px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cap-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TOOL STACK
   ============================================================ */
.tools { background: var(--ink); color: var(--cream); }
.tools .eyebrow { color: #c7b4ec; }
.tools .eyebrow::before { background: #c7b4ec; }
.tools .display { color: var(--cream); }
.tools .lead { color: rgba(255,255,255,0.62); }
.tool-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin-top: 8px;
}
.tool {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 22px 20px; min-height: 116px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255,255,255,0.03);
  transition: background .25s, border-color .25s, transform .25s;
}
.tool:hover { background: rgba(255,255,255,0.07); border-color: rgba(199,180,236,0.5); transform: translateY(-3px); }
.tool .t-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(199,180,236,0.16); color: #d7c8f2;
  display: grid; place-items: center; font-family: var(--ff-display);
  font-size: 19px; font-weight: 600;
}
.tool .t-name { font-size: 15px; font-weight: 600; }
.tool .t-use { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.tools-note {
  margin-top: 22px; font-size: 13px; color: rgba(255,255,255,0.5);
  display: inline-flex; align-items: center; gap: 9px;
}
.tools-note svg { width: 15px; height: 15px; color: #c7b4ec; }
@media (max-width: 980px) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   PROOF OF WORK
   ============================================================ */
.work-cat { margin-bottom: 56px; }
.work-cat:last-child { margin-bottom: 0; }
.work-cat-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 22px;
}
.work-cat-head .ci {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--lilac); color: var(--lavender-deep);
  display: grid; place-items: center;
}
.work-cat-head .ci svg { width: 23px; height: 23px; }
.work-cat-head h3 { font-family: var(--ff-display); font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.work-cat-head .count {
  margin-left: auto; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-soft); background: var(--ivory); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 100px;
}

.work-list { display: grid; gap: 14px; }
.work-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.work-item.live:hover { border-color: var(--lavender); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.work-thumb {
  width: 58px; height: 58px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
  background: var(--lilac); color: var(--lavender-deep);
  font-family: var(--ff-display); font-size: 22px; font-weight: 600;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-meta .wt {
  font-size: 17px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px;
}
.badge-live { background: #e6f4ec; color: #2f8f5b; }
.badge-live::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #36a76b; margin-right: 6px; vertical-align: 1px; }
.badge-soon { background: var(--blush); color: var(--rose-deep); }
.work-meta .wd { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.work-link {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  padding: 10px 18px; border-radius: 100px; border: 1.5px solid var(--ink);
  transition: background .2s, color .2s, transform .2s;
}
.work-link:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }
.work-link svg { width: 15px; height: 15px; }

/* placeholder add-slot */
.work-item.slot {
  border-style: dashed; border-color: var(--line-lilac); background: transparent;
}
.work-item.slot .work-thumb { background: var(--lilac-soft); color: var(--lavender); }
.work-item.slot .wt { color: var(--ink-soft); font-weight: 600; }
.work-item.slot .work-link { border-color: var(--line-lilac); color: var(--ink-soft); }
.work-item.slot .work-link:hover { background: var(--lavender-deep); border-color: var(--lavender-deep); color: #fff; }

@media (max-width: 620px) {
  .work-item { grid-template-columns: auto 1fr; }
  .work-item .work-link { grid-column: 1 / -1; justify-content: center; }
}

/* ============================================================
   AUTHOR
   ============================================================ */
.author { background: var(--lilac-soft); }
.author-feature {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 3.5vw, 48px); align-items: center;
  background: var(--ivory); border: 1px solid var(--line-lilac);
  border-radius: var(--r-lg); padding: clamp(18px, 2.2vw, 26px);
  box-shadow: var(--shadow-card);
  margin-bottom: clamp(40px, 6vw, 64px);
}
.af-photo { border-radius: var(--r-md); overflow: hidden; background: var(--lilac); }
.af-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; display: block; }
.af-copy { padding: 6px clamp(6px, 1.5vw, 20px); }
.af-copy h3 { font-family: var(--ff-display); font-size: clamp(24px, 2.6vw, 33px); font-weight: 600; line-height: 1.12; margin-bottom: 14px; }
.af-copy h3 em { color: var(--lavender-deep); font-style: italic; }
.af-copy p { color: var(--ink-soft); margin-bottom: 20px; font-size: 15.5px; }
.af-handle {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--rose-deep); transition: color .2s;
}
.af-handle svg { width: 16px; height: 16px; }
.af-handle:hover { color: var(--lavender-deep); }

.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.book-card {
  background: var(--ivory); border: 1px solid var(--line-lilac);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.book-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--lilac); }
.book-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.book-card figcaption { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 7px; }
.book-title { display: block; font-family: var(--ff-display); font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.16; }
.book-tag { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 820px) { .author-feature { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .book-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .book-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CERTIFICATE
   ============================================================ */
.cert { background: var(--blush); }
.cert-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.cert-copy .display { font-size: clamp(32px, 4.6vw, 50px); margin: 16px 0 22px; }
.cert-copy p { color: var(--ink-soft); margin-bottom: 16px; max-width: 48ch; }
.cert-points { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.cert-points li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.cert-points .tick {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--rose); color: #fff; display: grid; place-items: center;
}
.cert-points .tick svg { width: 13px; height: 13px; }

.cert-frame {
  position: relative; background: var(--ivory);
  border-radius: var(--r-lg); padding: 46px 22px 22px;
  box-shadow: var(--shadow-soft); overflow: visible;
}
.cert-cap {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--rose); color: #fff;
  display: grid; place-items: center; z-index: 5;
  border: 5px solid var(--blush);
  box-shadow: 0 14px 30px -14px rgba(176,107,134,0.7);
}
.cert-cap svg { width: 34px; height: 34px; }
.cert-slot-wrap { position: relative; }
.cert-slot {
  width: 100%; aspect-ratio: 1.4 / 1;
  border-radius: var(--r-md);
}
.cert-empty {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 0 28px;
}
.cert-slot[data-filled] + .cert-empty { display: none; }
.cert-soon {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose-deep); white-space: nowrap;
}
.cert-sub { font-size: 13px; color: var(--ink-soft); max-width: 30ch; line-height: 1.5; }
.cert-caption {
  text-align: center; margin-top: 18px;
}
.cert-caption .cc-name { font-family: var(--ff-display); font-size: 22px; font-weight: 600; }
.cert-caption .cc-org { font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; margin-top: 3px; }
@media (max-width: 820px) { .cert-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-card {
  position: relative; overflow: hidden;
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.svc-card .num {
  position: absolute; top: 22px; right: 28px;
  font-family: var(--ff-display); font-size: 40px; color: var(--line-lilac); font-weight: 600;
}
.svc-card .ci {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--lilac); color: var(--lavender-deep);
}
.svc-card:nth-child(2) .ci { background: var(--blush); color: var(--rose-deep); }
.svc-card:nth-child(3) .ci { background: #f0ebe0; color: var(--gold); }
.svc-card:nth-child(4) .ci { background: var(--lilac); color: var(--lavender-deep); }
.svc-card .ci svg { width: 26px; height: 26px; }
.svc-card h3 { font-family: var(--ff-display); font-size: 26px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.svc-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.62; max-width: 40ch; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ink); color: var(--cream); text-align: center; overflow: hidden; }
.contact::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(45% 60% at 20% 0%, rgba(138,111,192,0.30), transparent 70%),
    radial-gradient(45% 70% at 85% 100%, rgba(201,138,160,0.22), transparent 70%);
  pointer-events: none;
}
.contact .inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.contact .eyebrow { color: #c7b4ec; justify-content: center; }
.contact .eyebrow::before { background: #c7b4ec; }
.contact .display { color: var(--cream); font-size: clamp(40px, 6.5vw, 78px); margin: 20px 0 24px; }
.contact .display em { color: #c7b4ec; }
.contact .lead { color: rgba(255,255,255,0.7); margin: 0 auto 40px; text-align: center; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact .btn-primary { background: var(--cream); color: var(--ink); }
.contact .btn-primary:hover { background: #fff; }
.contact .btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--cream); }
.contact .btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.contact-links {
  margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center;
}
.contact-links a {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; color: rgba(255,255,255,0.78); transition: color .2s;
}
.contact-links a:hover { color: #fff; }
.contact-links svg { width: 17px; height: 17px; color: #c7b4ec; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  padding: 40px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  align-items: center; justify-content: space-between;
}
.foot .fb { font-family: var(--ff-display); font-size: 21px; font-weight: 600; }
.foot .fb .dot { color: var(--lavender); font-style: italic; }
.foot p { font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* image-slot empty state styling */
image-slot {
  --is-bg: var(--lilac-soft);
  border: 1.5px dashed var(--line-lilac);
  border-radius: var(--r-md);
  color: var(--lavender-deep);
}
