/* Elimika Ung'are - brand layer. Loaded after styles.css.
   Palette taken from the firm's logo and posters: emerald, navy, white.
   Motif: the logo's sunburst dome, used as a small mark on cards and headings. */
:root {
  --paper: #f5f8f6;
  --paper-raised: #ffffff;
  --paper-deep: #e8efeb;
  --ink: #14233a;
  --ink-soft: #46566b;
  --ink-faint: #75849a;
  --heading: #0b2447;
  --green: #137a3d;
  --green-deep: #0b2447;
  --green-900: #071a36;
  --gold: #137a3d;
  --gold-bright: #1f9a50;
  --gold-soft: #d9efe2;
  --line: rgba(11, 36, 71, 0.16);
  --line-soft: rgba(11, 36, 71, 0.09);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --ray: repeating-conic-gradient(from -90deg at 50% 100%, #137a3d 0 7deg, #8fd4aa 7deg 14deg);
}
html[data-theme="dark"] {
  --paper: #0a1424;
  --paper-raised: #101e33;
  --paper-deep: #0d192b;
  --ink: #e9eff5;
  --ink-soft: #b4c0cf;
  --heading: #f1f5f9;
  --green: #3fb06a;
  --gold: #2c9d5a;
  --gold-bright: #3fb06a;
  --gold-soft: #d9efe2;
}
body { font-family: var(--sans); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; font-variation-settings: "opsz" 96; }
::selection { background: #bfe6cd; color: #0b2447; }

.header { background: var(--paper-raised); border-top: 3px solid var(--green); border-bottom: 1px solid var(--line-soft); }
.btn { border-radius: 4px; letter-spacing: 0.01em; }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 6px 16px rgba(19, 122, 61, 0.28); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost { border-color: var(--line); }

/* Section marker: a small sunburst dome instead of a plain rule */
.eyebrow::before { width: 22px; height: 11px; border-radius: 22px 22px 0 0; background: var(--ray); }

/* Cards */
.service-card, .why-card { background: var(--paper-raised); border: 1px solid var(--line-soft); border-radius: 4px 26px 4px 4px; position: relative; padding-top: 2.6rem; }
.service-card::before, .why-card::before { content: ""; position: absolute; top: 1.15rem; left: 1.5rem; width: 36px; height: 18px; border-radius: 36px 36px 0 0; background: var(--ray); }
.service-card h3, .why-card h3 { font-size: 1.12rem; }
.service-card p:last-child, .service-card p { font-size: 0.93rem; }
.service-card:hover, .why-card:hover { border-color: var(--green); }
.section--tint { background: var(--paper-deep); }

/* Hero: three poster backgrounds crossfading under a navy and emerald veil */
.hero--lit { padding: 6.5rem 1.5rem 4.75rem; color: #e6f0ea; }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slides span { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: hero-fade 24s infinite; filter: blur(4px) saturate(0.7); transform: scale(1.05); }
.hero__slides span:nth-child(2) { animation-delay: 8s; }
.hero__slides span:nth-child(3) { animation-delay: 16s; }
@keyframes hero-fade { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
.hero--lit .hero__bg { z-index: 1; background: linear-gradient(105deg, rgba(7, 26, 54, 0.97) 0%, rgba(8, 40, 64, 0.93) 55%, rgba(12, 70, 52, 0.88) 100%); }
.hero--lit .hero__bg::before, .hero--lit .hero__bg::after { display: none; }
.hero--lit .hero--flyer__inner { grid-template-columns: 1.15fr 0.85fr; }
.hero--lit .eyebrow { color: #8fe0ae; }
.hero--lit .eyebrow::before { background: repeating-conic-gradient(from -90deg at 50% 100%, #8fe0ae 0 7deg, #2f8f58 7deg 14deg); }
.hero--lit h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); max-width: 19ch; text-shadow: none; }
.hero--lit .hero__lede { color: rgba(236, 244, 240, 0.9); }
.hero--lit .btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.hero--lit .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.hero--lit .hero__trust { border-top-color: rgba(255, 255, 255, 0.22); }
.hero--lit .hero__trust-list li { color: #fff; }

/* Contact card, shaped like the logo's dome */
.hero__card { background: #fff; color: #14233a; border-radius: 999px 999px 14px 14px; padding: 2.6rem 2rem 2rem; box-shadow: 0 30px 70px rgba(2, 10, 24, 0.45); max-width: 400px; justify-self: end; width: 100%; }
.hero__card-arch { display: flex; justify-content: center; margin-bottom: 0.6rem; }
.hero__card-arch img { width: 150px; height: auto; }
.hero__card-title { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; text-align: center; color: #0b2447; margin: 0 0 1.1rem; }
.hero__card-list li { padding: 0.65rem 0; border-top: 1px solid rgba(11, 36, 71, 0.12); font-size: 0.9rem; }
.hero__card-list span { display: block; font-size: 0.75rem; color: #5b6b80; }
.hero__card-list b { font-weight: 600; color: #0b2447; overflow-wrap: anywhere; }
.hero__card-list a:hover { color: #137a3d; text-decoration: underline; }

/* Poster slider */
.slider { max-width: 920px; }
.slider__viewport { border-radius: 12px; border: 1px solid var(--line-soft); }
.slider__slide img { height: clamp(300px, 52vw, 560px); background: #fff; }
.slider__slide figcaption { font-family: var(--serif); }

.cta-band { background: repeating-conic-gradient(from 0deg at 50% 140%, rgba(255, 255, 255, 0.045) 0 5deg, transparent 5deg 10deg), linear-gradient(155deg, #0b2447, #071a36); }
.footer { border-top: 4px solid var(--green); }

@media (max-width: 900px) {
  .hero--lit .hero--flyer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__card { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slides span { animation: none; }
  .hero__slides span:first-child { opacity: 1; }
}

.nav__link { white-space: nowrap; }
@media (min-width: 961px) { .nav__drawer-utils { display: none; } }
.why-card::after { display: none; }
.section--tint > .section__head { max-width: 1220px; padding: 0 1.5rem; }
.section--tint > .section__head > * { max-width: 640px; }
@media (max-width: 640px) { .section--tint > .section__head { padding: 0; } }

/* ===== Premium layer ===== */
:root { --brass: #b08a45; --brass-soft: #e9dcc0; }
html[data-theme="dark"] { --brass: #d3ad63; }
.page-home .services-grid .service-card:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M5 7h14M5 7l-3 7a3 3 0 006 0L5 7zM19 7l-3 7a3 3 0 006 0l-3-7z'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10a2 2 0 012 2v14a2 2 0 01-2 2H7a2 2 0 01-2-2V5a2 2 0 012-2zM9 8h6M9 13h.01M12 13h.01M15 13h.01M9 17h.01M12 17h.01M15 17h.01'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6zM14 3v4h4M9 17v-3M12 17v-5M15 17v-2'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card:nth-child(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8M15 7h6v6'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card:nth-child(5)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V6a2 2 0 012-2zM8 20h8M12 17v3'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card:nth-child(6)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11a3 3 0 100-6 3 3 0 000 6zM3 20c0-3 3-5 6-5s6 2 6 5M17 6a3 3 0 010 6M21 20c0-2.2-1.5-3.8-4-4.6'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card:nth-child(7)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6h12v9H2zM14 9h4l3 3v3h-7M6 18.5a1.5 1.5 0 100-.01M17 18.5a1.5 1.5 0 100-.01'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card:nth-child(8)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6zM9 12l2 2 4-4'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card:nth-child(9)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5zM6 11v5c3 2.5 9 2.5 12 0v-5'/%3E%3C/svg%3E"), linear-gradient(160deg, #1f9a50, #0f5f2f); }
.page-home .services-grid .service-card { padding-top: 5.2rem; }
.page-home .services-grid .service-card::before { top: 1.4rem; left: 1.5rem; width: 48px; height: 48px; border-radius: 24px 24px 6px 6px; background-repeat: no-repeat; background-position: center; background-size: 24px, cover; box-shadow: 0 8px 18px rgba(19,122,61,.3); }
.service-card, .why-card { box-shadow: 0 1px 0 rgba(11,36,71,.04), 0 18px 40px -26px rgba(11,36,71,.35); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service-card:hover, .why-card:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -24px rgba(11,36,71,.45); border-color: var(--brass); }

/* Hand-drawn brush underline, a human touch */
.section__head h2::after, .page-header h1::after { content: ""; display: block; width: 84px; height: 9px; margin-top: .55rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 9' fill='none'%3E%3Cpath d='M2 5.5C14 1.5 25 8 40 4.5S66 2 82 5' stroke='%23b08a45' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.section__head[style*="center"] h2::after { margin-inline: auto; }
.section__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Hero finishing */
.hero--lit::after { content: ""; position: absolute; right: -14%; bottom: -55%; width: 90vh; height: 90vh; border-radius: 50%; z-index: 1; background: repeating-conic-gradient(from 0deg, rgba(176,138,69,.13) 0 4deg, transparent 4deg 10deg); -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); pointer-events: none; }
.hero--lit h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1.08; }
.hero__card { border: 1px solid var(--brass); outline: 6px solid rgba(255,255,255,.1); }
.hero__card-title { font-size: 1.4rem; }
.btn--gold { background: linear-gradient(160deg, #1f9a50, #0f6a35); border: 1px solid rgba(255,255,255,.18); }
.btn--gold:hover { background: linear-gradient(160deg, #26ad5b, #12793c); }
.nav__link--active::after, .nav__link:hover::after { background: var(--brass); }
.header--scrolled { box-shadow: 0 10px 30px -18px rgba(11,36,71,.5); }
.eyebrow { color: var(--green); letter-spacing: .01em; }
.slider__viewport { border: 1px solid var(--brass); box-shadow: 0 40px 70px -40px rgba(11,36,71,.6); }
.slider__arrow { background: #fff; color: #0b2447; border-color: var(--brass-soft); }
.slider__arrow:hover { background: var(--green); border-color: var(--green); color: #fff; }
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: #fff; }
.cta-band h2::after { content: none; }

/* Footer: deep navy */
.footer { background: #071a36; color: #b9c7da; border-top: 4px solid var(--brass); }
.footer .brand__name, .footer .brand__name small { color: #fff; }
.footer .brand__name small { opacity: .65; }
.footer a { color: #d8e3f1; }
.footer a:hover { color: #8fe0ae; }
.footer__copy { color: #8fa1b8; }
.footer__social a { border-color: rgba(255,255,255,.22); color: #fff; }
.footer__social a:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* Forms (contact) */
input, textarea, select { border-radius: 4px !important; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green) !important; }

/* ===== About: leadership profiles ===== */
.leader { grid-template-columns: 300px 1fr; gap: 4rem; padding: 2.75rem; background: var(--paper-raised); border: 1px solid var(--line-soft); border-radius: 4px 44px 4px 4px; box-shadow: 0 30px 60px -40px rgba(11,36,71,.45); position: relative; overflow: hidden; }
.leader::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: repeating-conic-gradient(rgba(176,138,69,.14) 0 4deg, transparent 4deg 10deg); -webkit-mask: radial-gradient(circle, #000 25%, transparent 70%); mask: radial-gradient(circle, #000 25%, transparent 70%); pointer-events: none; }
.leader + .leader { margin-top: 2.25rem; padding-top: 2.75rem; border-top: 1px solid var(--line-soft); }
.leader--reverse { grid-template-columns: 1fr 300px; }
.leader > * { position: relative; z-index: 1; }
.slider--portrait { max-width: 300px; }
.slider--portrait .slider__viewport { border-radius: 150px 150px 14px 14px; border: 1px solid var(--brass); box-shadow: 0 0 0 7px var(--paper-raised), 0 0 0 8px var(--brass-soft), 0 30px 50px -28px rgba(11,36,71,.55); }
.slider--portrait .slider__slide img { height: 400px; object-fit: cover; object-position: center top; }
.slider--portrait .slider__arrow--prev { left: 6px; } .slider--portrait .slider__arrow--next { right: 6px; }
.slider--portrait .slider__dots { margin-top: 1.5rem; }
.leader__info h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .35rem; }
.leader__title { color: var(--brass); font-size: 1rem; letter-spacing: .01em; margin-bottom: 1.6rem; }
.leader__contact { width: fit-content; padding: .7rem 1.1rem; border: 1px solid var(--line-soft); border-radius: 4px; background: var(--paper); font-weight: 500; transition: border-color .2s, transform .2s var(--ease); }
.leader__contact:hover { border-color: var(--green); transform: translateX(3px); }
.leader__info .btn { margin-top: 1.4rem; }
.page-header__lede { max-width: 68ch; }
@media (max-width: 820px) {
  .leader, .leader--reverse { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 1.4rem; justify-items: center; text-align: center; }
  .leader--reverse .slider--portrait { order: 1; } .leader--reverse .leader__info { order: 2; }
  .leader__contact { margin-inline: auto; } .leader::after { display: none; }
}
.page-header { max-width: 1220px; }
.page-header h1 { max-width: 26ch; }

.contact__form { display: flex; flex-direction: column; gap: 1.15rem; padding: 2.25rem; border: 1px solid var(--line-soft); border-radius: 4px 36px 4px 4px; box-shadow: 0 30px 60px -40px rgba(11,36,71,.5); }
.contact__form label { margin: 0; }
.contact__details a { text-decoration-color: var(--brass); text-underline-offset: 3px; }
.contact__form label { margin-bottom: 1.1rem; }
.contact__form .btn { margin-top: .5rem; }
