/* ============================================================
   Techwork Professionals — Hong Kong ICT Consultancy
   Design system: editorial ink & brass, elegant serif display
   ============================================================ */

:root {
  --ink: #0b1526;
  --ink-2: #101d33;
  --ink-3: #182740;
  --paper: #faf7f1;
  --paper-2: #f2ede3;
  --brass: #be9543;
  --brass-soft: #d9bc7f;
  --slate: #5a6b83;
  --line: rgba(11, 21, 38, 0.12);
  --line-inv: rgba(250, 247, 241, 0.16);
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --shadow-lg: 0 30px 60px -20px rgba(11, 21, 38, 0.35);
  --shadow-sm: 0 10px 30px -12px rgba(11, 21, 38, 0.18);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1.1em; }

a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--slate); max-width: 62ch; }
.on-dark .lede, .section--dark .lede { color: rgba(250, 247, 241, 0.72); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(11, 21, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-inv);
  padding: 6px 0;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 12px;
  padding: 9px 18px; margin: -20px 0;
  box-shadow: 0 18px 40px -16px rgba(4, 10, 22, 0.65), 0 2px 8px rgba(4, 10, 22, 0.25);
  text-decoration: none; white-space: nowrap;
  transition: padding 0.3s ease, margin 0.3s ease, box-shadow 0.3s ease;
}
.brand:hover { box-shadow: 0 22px 46px -14px rgba(4, 10, 22, 0.75), 0 0 0 1px rgba(190, 149, 67, 0.4); }
.brand__logo { height: 58px; width: auto; display: block; transition: height 0.3s ease; }
.site-header.scrolled .brand { margin: 0 0 -24px; padding: 7px 14px; }
.site-header.scrolled .brand__logo { height: 46px; }
@media (max-width: 920px) {
  .brand { margin: -14px 0; padding: 6px 12px; border-radius: 10px; }
  .brand__logo { height: 42px; }
  .site-header.scrolled .brand__logo { height: 38px; }
}

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: rgba(250, 247, 241, 0.82); text-decoration: none;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 6px 0; position: relative; transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--brass); transition: right 0.25s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; transition: 0.3s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    background: rgba(11, 21, 38, 0.97); gap: 26px; transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1); z-index: -1;
  }
  body.nav-open .nav-links { transform: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links a { font-size: 1.25rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--brass); color: var(--ink); box-shadow: 0 12px 28px -10px rgba(190, 149, 67, 0.55); }
.btn--gold:hover { background: var(--brass-soft); }
.btn--ghost { border-color: rgba(250, 247, 241, 0.4); color: var(--paper); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-soft); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--brass); color: var(--brass); }
.btn--sm { padding: 8px 16px; font-size: 0.8rem; margin-top: 12px; }
/* Service page sidebar layout */
.service-layout { display: grid; grid-template-columns: clamp(200px, 20%, 240px) 1fr; gap: 0 clamp(24px, 4vw, 56px); align-items: start; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.service-sidebar { position: sticky; top: 100px; padding: 28px 24px 20px; border-right: 1px solid var(--line); }
.service-sidebar a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--brass); text-decoration: none; white-space: nowrap; }
.service-sidebar a:hover { color: var(--ink); }
.service-content { min-width: 0; }
@media (max-width: 860px) {
  .service-layout { grid-template-columns: 1fr; gap: 0; padding-top: 28px; }
  .service-sidebar { position: static; border-right: none; border-bottom: 1px solid var(--line); padding: 0 28px 20px; }
  .service-content { padding-top: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: var(--paper); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 21, 38, 0.94) 8%, rgba(11, 21, 38, 0.72) 46%, rgba(11, 21, 38, 0.38) 100%),
    linear-gradient(to top, rgba(11, 21, 38, 0.9), transparent 42%);
}
.hero__inner { padding: 150px 0 110px; max-width: 780px; }
.hero h1 em { font-style: italic; color: var(--brass-soft); }
.hero .lede { color: rgba(250, 247, 241, 0.85); margin-bottom: 2.2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 56px;
  padding-top: 26px; border-top: 1px solid var(--line-inv);
  font-size: 0.82rem; letter-spacing: 0.06em; color: rgba(250, 247, 241, 0.66);
}
.hero__meta strong { color: var(--brass-soft); font-weight: 600; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; color: var(--paper); padding: 190px 0 90px; overflow: hidden; isolation: isolate; }
.page-hero .hero__media img { filter: saturate(0.85); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { color: rgba(250, 247, 241, 0.8); }

/* ---------- Stat band ---------- */
.stats {
  background: var(--ink); color: var(--paper);
  border-block: 1px solid var(--line-inv);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 46px 0; }
.stat { text-align: center; padding: 8px 12px; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 560; color: var(--brass-soft); }
.stat span { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250, 247, 241, 0.62); }
@media (max-width: 800px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 26px 28px 30px; }
.card__body h3 { margin-bottom: 0.35em; }
.card__body p { color: var(--slate); font-size: 0.95rem; margin: 0; }
.card__tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 10px;
}

/* ---------- Feature list rows ---------- */
.feature-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 110px); }
.feature-row--flip .feature-row__media { order: -1; }
.feature-row__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 1.2em 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--slate); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23be9543' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } .feature-row--flip .feature-row__media { order: 0; } }

/* ---------- Numbered expertise ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-inv); }
.numbers > div { padding: 40px 36px 40px 0; border-bottom: 1px solid var(--line-inv); }
.numbers > div + div { padding-left: 36px; border-left: 1px solid var(--line-inv); }
.numbers .n { font-family: var(--serif); font-size: 2.6rem; color: var(--brass-soft); font-weight: 500; display: block; margin-bottom: 14px; }
.numbers h3 { color: var(--paper); font-size: 1.18rem; }
.numbers p { color: rgba(250, 247, 241, 0.66); font-size: 0.93rem; margin: 0; }
@media (max-width: 860px) { .numbers { grid-template-columns: 1fr; } .numbers > div + div { padding-left: 0; border-left: 0; } }

/* ---------- Section variants ---------- */
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--paper2 { background: var(--paper-2); }

/* ---------- Quote band ---------- */
.quote-band { position: relative; isolation: isolate; color: var(--paper); text-align: center; padding: clamp(90px, 12vw, 150px) 0; }
.quote-band .hero__scrim { background: linear-gradient(rgba(11,21,38,.82), rgba(11,21,38,.88)); }
.quote-band blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 480;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.4; max-width: 24ch;
  margin: 0 auto 26px;
}
.quote-band cite { font-style: normal; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }
.founder__portrait {
  position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
  color: var(--paper); padding: 44px 36px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-inv);
}
.founder__monogram {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 2rem; color: var(--brass-soft);
  border: 1px solid rgba(190, 149, 67, 0.5); background: rgba(190, 149, 67, 0.08);
  margin-bottom: 26px;
}
.founder__portrait h3 { color: var(--paper); margin-bottom: 4px; }
.founder__portrait .role { color: var(--brass-soft); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }
.founder__portrait ul { list-style: none; padding: 0; margin: 26px 0 0; font-size: 0.9rem; color: rgba(250,247,241,.75); display: grid; gap: 10px; }
.founder__portrait li { padding-left: 20px; position: relative; }
.founder__portrait li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

.timeline { border-left: 2px solid var(--line); margin: 30px 0 0; padding: 0 0 0 30px; display: grid; gap: 34px; }
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: -37px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(190, 149, 67, 0.18);
}
.timeline__when { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.timeline__item h3 { margin: 4px 0 2px; font-size: 1.18rem; }
.timeline__where { font-size: 0.88rem; color: var(--slate); margin-bottom: 8px; }
.timeline__item p { font-size: 0.95rem; color: var(--slate); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 560; padding: 20px 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--brass); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); padding: 0 4px 22px; margin: 0; max-width: 66ch; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ink) 30%, var(--ink-3)); color: var(--paper); text-align: center; }
.cta-band h2 { color: var(--paper); max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(250, 247, 241, 0.7); max-width: 56ch; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 22px; }
.contact-list b { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 3px; }
.contact-list a, .contact-list span { text-decoration: none; font-size: 1.02rem; }
.contact-list a:hover { color: var(--brass); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field :is(input, select, textarea):focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(190, 149, 67, 0.18); }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250, 247, 241, 0.72); font-size: 0.92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 50px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-soft); margin: 6px 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a { color: rgba(250, 247, 241, 0.72); text-decoration: none; }
.site-footer a:hover { color: var(--brass-soft); }
.footer-brand { font-family: var(--serif); font-size: 1.35rem; color: var(--paper); margin-bottom: 14px; display: block; }
.footer-brand__logo { height: 52px; width: auto; display: block; }
.footer-bottom { border-top: 1px solid var(--line-inv); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 0.8rem; color: rgba(250, 247, 241, 0.45); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 56px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; color: var(--slate); background: #fff;
}
.section--dark .badge { border-color: var(--line-inv); color: rgba(250,247,241,.75); background: rgba(250,247,241,.04); }

/* ---------- Pricing anchors ---------- */
.pricing { display: grid; gap: 14px; margin-top: 22px; }
.pricing__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.pricing__label { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.pricing__amount { font-family: var(--serif); font-size: 1.5rem; font-weight: 560; color: var(--ink); white-space: nowrap; }
.pricing__amount sup { font-size: 0.7rem; vertical-align: super; color: var(--slate); font-weight: 400; }
.pricing__note { font-size: 0.82rem; color: var(--slate); margin-top: 4px; }
.section--dark .pricing__label, .section--dark .pricing__amount { color: var(--paper); }

/* ---------- Capacity / urgency banner ---------- */
.capacity-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  background: linear-gradient(120deg, rgba(190,149,67,0.14), rgba(190,149,67,0.04));
  border: 1px solid rgba(190,149,67,0.35); border-radius: 12px;
  padding: 16px 22px; font-size: 0.92rem; color: var(--ink); margin-top: 26px;
}
.capacity-banner .cb-dot { width: 10px; height: 10px; border-radius: 50%; background: #c98a2b; box-shadow: 0 0 0 4px rgba(201,138,43,0.18); flex: none; }
.capacity-banner strong { color: var(--brass); }
.section--dark .capacity-banner { color: rgba(250,247,241,0.9); border-color: rgba(190,149,67,0.4); }
.section--dark .capacity-banner strong { color: var(--brass-soft); }

/* ---------- Outcomes strip ---------- */
.outcomes { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 34px; }
.outcome { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.outcome b { display: block; font-family: var(--serif); font-size: clamp(1.7rem,3vw,2.3rem); color: var(--ink); }
.outcome span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.section--paper2 .outcome { background: var(--paper); }

/* ---------- Case study cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 30px; }
.case-grid a { text-decoration: none; color: inherit; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.case .case__client { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.case h3 { font-size: 1.2rem; }
.case p { color: var(--slate); font-size: 0.94rem; margin: 0; }
.case .case__metric { font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 1.05rem; margin-top: auto; }
.section--dark .case { background: var(--ink-3); border-color: var(--line-inv); }
.section--dark .case h3, .section--dark .case__metric { color: var(--paper); }
.section--dark .case p { color: rgba(250,247,241,0.66); }

/* ---------- Certifications ---------- */
.cert-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.cert { font-size: 0.8rem; font-weight: 500; padding: 6px 16px; border: 1px solid var(--line); border-radius: 20px; color: var(--slate); }
.cert strong { color: var(--ink); }

/* ---------- Calendly embed ---------- */
.calendly-wrap { margin: 34px 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.calendly-wrap iframe { display: block; width: 100%; border: 0; min-height: 720px; }

/* ---------- Form states ---------- */
.form-success, .form-error { display: none; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 10px; margin-bottom: 22px; font-size: 0.95rem; line-height: 1.5; }
.form-success { background: rgba(46,160,67,0.1); border: 1px solid rgba(46,160,67,0.4); color: #1a3c22; }
.form-error { background: rgba(200,40,40,0.08); border: 1px solid rgba(200,40,40,0.4); color: #5c1414; }
.form-success.show, .form-error.show { display: flex; }
.form-success a, .form-error a { color: inherit; text-decoration: underline; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Skip link */
.skip-link { position: absolute; left: -9999px; background: var(--brass); color: var(--ink); padding: 10px 18px; z-index: 100; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

::selection { background: rgba(190, 149, 67, 0.35); }
