:root { --blue: #1653a3; --blue-deep: #0f3f7d; --ink: #0a0c11; --text: #1d2330; --muted: #5b6474; --line: #e2e6ed; --mist: #f5f7fa; --white: #fff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); }
h1, h2, h3 { font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; color: var(--ink); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); margin: 0 0 1.2rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; max-width: 68ch; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid #7fb0f0; outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.btn { display: inline-block; padding: 0.8rem 1.35rem; border-radius: 8px; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 600; border: 1px solid var(--blue); }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-line { background: transparent; color: var(--blue); }
.btn-line:hover { background: var(--mist); color: var(--blue-deep); }
.on-dark .btn-line { color: var(--white); border-color: rgba(255,255,255,0.45); }
.on-dark .btn-line:hover { background: rgba(255,255,255,0.08); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.site-head img { height: 40px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { color: var(--white); padding: 0.55rem 1rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.7rem; font: inherit; }

/* Hero: the KC arc behind the headline */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #d6dbe5; }
.hero .wrap { position: relative; padding: 6.5rem 1.5rem 6rem; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero p { font-size: 1.15rem; color: #c3cad6; max-width: 52ch; }
.hero-arc { position: absolute; right: -14rem; top: 50%; width: 46rem; height: 46rem; transform: translateY(-50%); border-radius: 50%; border: 5.5rem solid var(--blue); border-left-color: transparent; opacity: 0.9; pointer-events: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-meta { margin-top: 3rem; color: #8f99ab; font-size: 0.95rem; }
.hero-meta a { color: #c3cad6; }

/* Sections */
.section { padding: 5rem 0; }
.section-mist { background: var(--mist); }
.lead { font-size: 1.2rem; color: var(--muted); }

/* Services index: two columns of plain entries */
.index { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-top: 2.5rem; }
.index h3 { font-size: 1.35rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink); margin-bottom: 0.4rem; }
.index ul { list-style: none; margin: 0; padding: 0; }
.index li { border-bottom: 1px solid var(--line); }
.index li a { display: block; padding: 0.95rem 0; color: var(--text); text-decoration: none; }
.index li a strong { display: block; color: var(--ink); font-weight: 600; }
.index li a span { color: var(--muted); font-size: 0.95rem; }
.index li a:hover strong { color: var(--blue); }

/* Three principles on About */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
.principles h3 { color: var(--blue); }

/* Detail pages: services in full */
.detail { scroll-margin-top: 90px; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; }
.detail ul { margin: 0 0 1rem; padding-left: 1.2rem; max-width: 68ch; }
.detail li { margin-bottom: 0.25rem; }
.page-head { background: var(--mist); padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); font-size: 1.15rem; }
.columns { display: grid; grid-template-columns: 15rem 1fr; gap: 3rem; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 0.95rem; }
.toc p { font-weight: 600; color: var(--ink); margin: 1.2rem 0 0.4rem; }
.toc p:first-child { margin-top: 0; }
.toc a { display: block; padding: 0.22rem 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue); }

/* Portal band */
.portal-band { background: var(--blue); color: #e3ecf8; }
.portal-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 3.2rem 1.5rem; flex-wrap: wrap; }
.portal-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.portal-band p { margin: 0; }
.portal-band .btn { background: var(--white); color: var(--blue); border-color: var(--white); }
.portal-band .btn:hover { background: #e9f0fa; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-grid dt { font-weight: 600; color: var(--ink); margin-top: 1.1rem; }
.contact-grid dd { margin: 0.15rem 0 0; }
.map { width: 100%; min-height: 320px; border: 0; border-radius: 10px; background: var(--mist); }

/* Footer */
.site-foot { background: var(--ink); color: #9aa3b4; font-size: 0.93rem; }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding: 3.5rem 1.5rem 2rem; }
.site-foot img { height: 36px; width: auto; margin-bottom: 1rem; }
.site-foot a { color: #cfd5e0; text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.site-foot h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 0.35rem; }
.legal { border-top: 1px solid #222936; }
.legal .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 1.5rem; grid-template-columns: none; }
.prose h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.prose ul { max-width: 68ch; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 1rem 1.5rem 1.4rem; gap: 1rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .index, .principles, .contact-grid, .columns, .site-foot .wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
  .hero .wrap { padding: 4.5rem 1.5rem; }
  .hero-arc { width: 26rem; height: 26rem; border-width: 3.2rem; right: -12rem; opacity: 0.55; }
  .section { padding: 3.5rem 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }

/* Share your screen: bold, easy to spot */
.nav .nav-share { color: var(--blue); background: transparent; border: 2px solid var(--blue); font-weight: 700; padding: 0.48rem 0.95rem; }
.nav .nav-share:hover { background: var(--mist); color: var(--blue-deep); }
.btn-share { background: var(--white); color: var(--ink); border-color: var(--white); font-weight: 700; }
.btn-share:hover { background: #e9f0fa; border-color: #e9f0fa; }

/* The hero arc draws itself in, once */
svg.hero-arc { position: absolute; right: -11rem; top: 50%; width: 46rem; height: 46rem; transform: translateY(-50%); border: 0; opacity: 1; pointer-events: none; }
.arc-draw { stroke-dashoffset: 367.6; animation: arc-draw 1.8s cubic-bezier(0.6, 0, 0.2, 1) 0.25s forwards; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
.hero h1, .hero p, .hero-actions { position: relative; z-index: 1; }

/* Working with us: a bold blue band, three steps in order */
.steps { background: linear-gradient(135deg, var(--blue) 0%, #0e3c78 100%); color: #dbe6f6; padding: 5rem 0; }
.steps h2 { color: var(--white); }
.steps-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin: 2.5rem 0 0; padding: 0; }
.steps-list li { counter-increment: step; position: relative; padding-top: 4.2rem; }
.steps-list li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid rgba(255,255,255,0.55); display: grid; place-items: center; font: 600 1.25rem/1 "Plus Jakarta Sans", sans-serif; color: var(--white); }
.steps-list h3 { color: var(--white); font-size: 1.3rem; }
.steps-list a { color: var(--white); font-weight: 600; }

@media (max-width: 860px) {
  svg.hero-arc { width: 26rem; height: 26rem; right: -10rem; opacity: 0.6; }
  .steps-list { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .arc-draw { animation: none; stroke-dashoffset: 0; } }

/* Help */
.help-search { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.4rem; max-width: 46rem; }
.help-search input { flex: 1; min-width: 16rem; font: inherit; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.help-topic { scroll-margin-top: 90px; padding: 2rem 0; border-top: 1px solid var(--line); }
.help-topic:first-child { border-top: 0; padding-top: 0; }
.help-topic h3 { margin-top: 1.2rem; font-size: 1.05rem; }
.help-topic ol, .help-topic ul { max-width: 68ch; padding-left: 1.3rem; }
.help-topic li { margin-bottom: 0.35rem; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.8rem; margin: 0.6rem 0; max-width: 40rem; }
.app-card { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); }
.app-card span { display: inline-flex; gap: 0.4rem; }
.btn-small { padding: 0.4rem 0.75rem; font-size: 0.88rem; }
.hint { color: var(--muted); font-size: 0.92rem; }

/* Booking needs a client portal account */
.book-note { font-size: 0.92rem; color: var(--muted); margin: 0 0 0.6rem; }
.on-dark .book-note, .hero .book-note { color: #aab3c2; margin-top: 1.6rem; }
.hero .book-note a { color: #dfe5ee; }
.book-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--mist); color: var(--muted); vertical-align: middle; }
.site-foot .book-tag, .steps .book-tag { background: rgba(255,255,255,0.14); color: #dbe3ee; }
