/* Jaya Adjusters site styles */
:root {
  --ink: #0B2A4A;
  --ink-2: #33475B;
  --muted: #556A7F;
  --faint: #5F7083;
  --blue: #10457E;
  --brand: #0193D6;
  --tint: #EEF3F8;
  --tint-2: #F6F9FC;
  --rule: rgba(11, 42, 74, 0.14);
  --rule-strong: rgba(11, 42, 74, 0.26);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.8vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--faint); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 27px 0 25px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.nav .btn { padding: 11px 20px; border-bottom: 0; color: #fff; }
.nav .btn:hover { color: #fff; }
.header-phone { font-size: 15px; color: var(--ink); text-decoration: none; padding: 27px 0 25px; }
.header-phone:hover { color: var(--blue); }
@media (max-width: 1080px) { .header-phone { display: none; } }
.menu-toggle { display: none; background: none; border: 1px solid var(--rule-strong); padding: 9px 14px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gutter) 22px; }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--brand); }
  .nav .btn { margin-top: 18px; text-align: center; padding: 15px; }
  .nav .btn[aria-current="page"] { color: #fff; }
}

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: 15px 26px; font-size: 15px; border: 1px solid var(--ink); cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-line:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark a { color: #9FD8F5; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Two-column "label | content" layout */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.split > :first-child h2 { max-width: 14ch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Page intro */
.page-intro { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--rule); }
.page-intro h1 { max-width: 18ch; }
.page-intro .lede { margin-top: 22px; }
.crumb { font-size: 14px; color: var(--faint); margin-bottom: 18px; }
.crumb a { color: var(--faint); text-decoration: none; }
.crumb a:hover { color: var(--blue); }

/* Home hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.hero h1 { max-width: 15em; text-wrap: balance; }
.hero .lede { margin-top: 24px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }

.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 14px; color: var(--faint); }
.facts dd { margin: 0; font-size: 15.5px; }

/* Service columns */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.col { border-top: 2px solid var(--ink); padding-top: 22px; }
.col h3 { margin-bottom: 14px; }
.col p { color: var(--muted); font-size: 15px; }
.list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.list li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.more { display: inline-block; margin-top: 20px; font-size: 15px; font-weight: 500; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 clamp(24px, 3vw, 44px); counter-reset: step; }
.steps li { border-top: 1px solid var(--rule-strong); padding: 20px 0 28px; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 15px; color: #0178B0; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* People */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.5vw, 36px); }
@media (max-width: 900px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person img, .person .no-photo { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; background: #E8EDF2; }
.person h3 { margin-top: 16px; font-size: 18px; }
.person .role { color: var(--muted); font-size: 15px; margin-top: 4px; }
.person a { text-decoration: none; color: inherit; }
.person a:hover h3 { color: var(--blue); }

.profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 96px; }
.profile:first-of-type { border-top: 2px solid var(--ink); }
.profile img, .profile .no-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #E8EDF2; }
.profile h3 { font-size: clamp(22px, 2.4vw, 27px); }
.profile .role { color: var(--muted); margin: 6px 0 18px; }
.profile .bio { max-width: 64ch; color: var(--ink-2); }
.profile .honours { font-size: 14px; color: var(--faint); margin-top: 4px; }
.profile-compact { grid-template-columns: 140px minmax(0, 1fr); }
@media (max-width: 640px) {
  .profile, .profile-compact { grid-template-columns: 1fr; }
  .profile img, .profile .no-photo { max-width: 200px; }
  .profile-compact img, .profile-compact .no-photo { max-width: 120px; }
  .profile-compact .no-photo { font-size: 26px; }
}
.no-photo { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 34px; color: #9AABBC; }

/* Timeline */
.timeline { border-top: 2px solid var(--ink); }
.timeline > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.timeline .year { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; }
.timeline h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; letter-spacing: 0; margin-bottom: 6px; }
.timeline p { color: var(--muted); max-width: 60ch; }
@media (max-width: 560px) { .timeline > div { grid-template-columns: 1fr; gap: 10px; } }

.values { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0; padding: 0; list-style: none; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); }
.values li:not(:last-child)::after { content: "\00B7"; color: var(--brand); margin: 0 16px; }

.objectives { margin: 0; padding: 0 0 0 1.3em; }
.objectives li { padding: 0 0 14px 6px; color: var(--ink-2); }
.objectives li::marker { color: #0178B0; font-family: var(--serif); }

/* Service detail */
.service-block { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 90px; }
.service-block:first-of-type { border-top: 0; }
.two-col-list { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 40px; }
.two-col-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.two-col-list li span { display: block; font-size: 14px; color: var(--muted); }

.subnav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px; font-size: 15px; }

/* Map */
.map { background: var(--tint); border: 1px solid var(--rule); height: clamp(320px, 44vw, 500px); }
.map svg { display: block; width: 100%; height: 100%; }
.map text { font-family: var(--sans); }

/* Contact */
.contact-list { margin: 0; border-top: 2px solid var(--ink); }
.contact-list div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-list dt { font-size: 14px; color: var(--faint); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 17px; }
.contact-list a { color: var(--ink); }

.form { background: var(--tint); border: 1px solid var(--rule); padding: clamp(24px, 3.4vw, 40px); }
.form h2 { font-size: 24px; margin-bottom: 6px; }
.form .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 22px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.form input, .form select, .form textarea {
  font: 16px var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--rule-strong); border-radius: 0; padding: 11px 12px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
.form .full { grid-column: 1 / -1; }
.form .btn { margin-top: 22px; }
.form .note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* CTA band */
.cta .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 22ch; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 64px 0 44px; }
.footer-top h2 { font-size: 20px; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-top h3 { font-family: var(--sans); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.66); margin-bottom: 14px; letter-spacing: 0; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 8px; }
.footer-top address { font-style: normal; line-height: 1.7; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 20px 0 32px; font-size: 13.5px; color: rgba(255, 255, 255, 0.66); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
