/* WealthKraft — shared styles */
:root {
  --ground: #faf7f0;
  --panel: #ffffff;
  --teal: #005550;
  --teal-deep: #00403c;
  --teal-tint: #eaf2f0;
  --gold: #b8801f;
  --gold-bright: #d9a94a;
  --line: rgba(184, 128, 31, 0.32);
  --line-soft: rgba(0, 85, 80, 0.12);
  --muted: #6e7a74;
  --display: 'Marcellus', 'Times New Roman', serif;
  --body: 'Figtree', 'Segoe UI', Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--teal-deep);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--teal);
  margin-right: auto;
}
.brand img { height: 4rem; width: auto; display: block; }
.nav-links { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--teal-tint); }
.nav-links a.active { background: var(--teal); color: #fff; }
.nav-links a.cta {
  background: var(--gold);
  color: #fff;
}
.nav-links a.cta:hover { background: var(--gold-bright); }

/* ---- Hero ---- */
.hero {
  position: relative;
  text-align: center;
  padding: 4.5rem 1.5rem 4rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 60% at 50% -10%, rgba(217, 169, 74, 0.16), transparent 62%),
    radial-gradient(ellipse 70% 45% at 50% 115%, rgba(0, 85, 80, 0.07), transparent 65%);
}
.hero > * { position: relative; }
.hero .logo { width: min(17rem, 64vw); margin: 0 auto 1.2rem; display: block; }
.hero .mark { width: min(9.5rem, 40vw); margin: 0 auto 1.4rem; display: block; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--teal);
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}
.hero .tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.1rem;
  padding-left: 0.42em;
}
.hero .lede {
  max-width: 56ch;
  margin: 1.3rem auto 0;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--muted);
}
.hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 0.32em;
  margin-bottom: 1rem;
}

/* ---- Sections ---- */
section { padding: 3.5rem 1.5rem; }
.section-inner { max-width: 68rem; margin: 0 auto; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.6rem; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--teal);
  text-wrap: balance;
}
.section-head p { margin-top: 0.8rem; color: var(--muted); }
.rule {
  width: 3.5rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto 0;
}

/* ---- Division cards (home) ---- */
.divisions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.5rem;
}
.division {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 2.3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.division:hover {
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(0, 64, 60, 0.10);
  transform: translateY(-3px);
}
.division .kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.division h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--teal);
  line-height: 1.25;
}
.division p { color: var(--muted); font-size: 0.98rem; }
.division ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.2rem 0 0.6rem;
}
.division ul li {
  font-size: 0.94rem;
  color: var(--teal-deep);
  padding-left: 1.15rem;
  position: relative;
}
.division ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.42rem; height: 0.42rem;
  background: var(--gold);
  transform: rotate(45deg);
}
.division .go {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: background 0.2s;
}
.division .go:hover { background: var(--teal-deep); }

/* ---- Service grid (division pages) ---- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.3rem;
}
.service {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.service:hover {
  box-shadow: 0 12px 28px rgba(0, 64, 60, 0.09);
  transform: translateY(-3px);
}
.service h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.22rem;
  color: var(--teal);
  line-height: 1.3;
}
.service p { margin-top: 0.6rem; font-size: 0.94rem; color: var(--muted); }

/* ---- Banded section ---- */
.band { background: var(--teal-tint); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ---- Contact ---- */
.contact-wrap {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
.enquiry {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
  text-align: left;
}
.enquiry label { font-size: 0.85rem; font-weight: 600; color: var(--teal); }
.enquiry input, .enquiry textarea {
  font-family: var(--body);
  font-size: 0.97rem;
  color: var(--teal-deep);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.enquiry textarea { min-height: 7.5rem; resize: vertical; }
.enquiry input:focus, .enquiry textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 169, 74, 0.18);
}
.enquiry button {
  justify-self: center;
  font-family: var(--body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal);
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2.2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.4rem;
}
.enquiry button:hover { background: var(--teal-deep); }
.enquiry button:active { transform: scale(0.98); }
.contact-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted); text-align: center; }
.contact-note.ok { color: var(--teal); font-weight: 500; }
.contact-email { margin-top: 1.6rem; color: var(--muted); }
.contact-email a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.contact-email a:hover { color: var(--gold); border-color: var(--gold); }

/* ---- CTA strip on division pages ---- */
.cta-strip { text-align: center; }
.cta-strip .go {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gold);
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  transition: background 0.2s;
}
.cta-strip .go:hover { background: var(--gold-bright); }

/* ---- Footer ---- */
footer {
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  padding: 1.8rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
footer a { color: var(--teal); text-decoration: none; }
footer a:hover { color: var(--gold); }
.footer-links { margin-top: 0.5rem; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ---- Focus & motion ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.rise { animation: rise 0.8s ease-out both; }
.rise-1 { animation-delay: 0.1s; }
.rise-2 { animation-delay: 0.2s; }
.rise-3 { animation-delay: 0.3s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .rise-1, .rise-2, .rise-3 { animation: none; }
  html { scroll-behavior: auto; }
}
/* ---- Stats (About) ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.6rem 1.2rem;
  text-align: center;
}
.stat .figure {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--gold);
  line-height: 1.1;
}
.stat .label {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- Prose (About narrative) ---- */
.prose {
  max-width: 64ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.prose p { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.prose p strong { color: var(--teal); font-weight: 600; }
.prose a, .legal a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.prose a:hover, .legal a:hover { color: var(--gold); border-color: var(--gold); }


/* ---- Inline notice ---- */
.notice {
  max-width: max-content;
  margin: 1.6rem auto 0;
  background: rgba(217, 169, 74, 0.10);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 1.4rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--teal-deep);
  text-align: center;
}
.notice strong { color: var(--teal); font-weight: 600; }
.notice a { color: var(--teal); font-weight: 500; }

/* ---- Leadership profile ---- */
.profile {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
  max-width: 54rem;
  margin: 0 auto;
}
.profile-photo {
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  box-shadow: 0 14px 34px rgba(0, 64, 60, 0.10);
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
}
.profile-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--teal);
  line-height: 1.2;
}
.profile-role {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.profile-bio {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
.profile-block { margin-top: 1.8rem; }
.profile-block h3 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.tick {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tick li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--teal-deep);
}
.tick li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.42rem; height: 0.42rem;
  background: var(--gold);
  transform: rotate(45deg);
}
.tick li strong { color: var(--teal); font-weight: 600; }
.chips {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips li {
  font-size: 0.85rem;
  color: var(--teal-deep);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
}
@media (max-width: 780px) and (min-width: 561px) {
  .profile { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 1.8rem; }
}
@media (max-width: 560px) {
  .profile { grid-template-columns: 1fr; gap: 1.5rem; justify-items: center; text-align: center; }
  .profile-photo { max-width: 13rem; }
}

/* ---- Legal pages ---- */
.legal { max-width: 60rem; margin: 0 auto; }
.legal h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--teal);
  margin-top: 2.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--teal-deep);
  margin-top: 1.9rem;
}
.legal p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
  max-width: 78ch;
}
.legal a { color: var(--teal); }
.legal .updated {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ---- Contact details ---- */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
  text-align: left;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
}
.contact-card .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-card p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--teal-deep); line-height: 1.6; }
.contact-card a { color: var(--teal); text-decoration: none; }
.contact-card a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .nav-inner { flex-wrap: wrap; }
  .brand img { height: 2.6rem; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .nav-links a { padding: 0.4rem 0.65rem; font-size: 0.78rem; }
  section { padding: 2.6rem 1.2rem; }
}
