:root {
  --navy: #0a2f63;
  --navy-deep: #061f45;
  --blue: #0869c8;
  --blue-bright: #147dde;
  --cream: #fbfaf6;
  --ice: #f0f6fd;
  --ink: #172942;
  --muted: #5e6d7f;
  --line: #d9e3ef;
  --white: #fff;
  --shadow: 0 22px 60px rgba(6, 31, 69, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Manrope", system-ui, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 100; padding: 10px 16px; background: white; color: var(--navy); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,246,.95); border-bottom: 1px solid rgba(10,47,99,.08); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 205px; color: var(--navy-deep); }
.brand-emblem { width: 55px; height: 55px; flex: 0 0 55px; border-radius: 50%; background: url("assets/bartlett-logo.png") center top / 170% auto no-repeat; }
.brand-words strong { display: block; font-family: "Playfair Display", serif; font-size: 23px; line-height: 1; }
.brand-words small { display: block; margin-top: 6px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; }
nav a:hover { color: var(--blue); }
.nav-cta { padding: 12px 20px; color: white; background: var(--blue); border-radius: 999px; box-shadow: 0 8px 22px rgba(8,105,200,.2); }
nav .nav-cta:hover { color: white; background: var(--navy); }
.menu-button { display: none; border: 1px solid var(--line); padding: 9px 14px; border-radius: 10px; color: var(--navy); background: white; font: inherit; font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 76px 0 90px; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 70px; }
.hero-copy, .hero-photo-wrap { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.light { color: #b9dcff; }
h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { font-family: "Playfair Display", serif; color: var(--navy-deep); line-height: 1.09; }
h1 { margin-bottom: 24px; font-size: clamp(52px, 5.5vw, 78px); letter-spacing: -.045em; }
h1 em { color: var(--blue); font-style: normal; }
h2 { margin-bottom: 20px; font-size: clamp(36px, 4vw, 54px); letter-spacing: -.035em; }
h3 { margin-bottom: 14px; font-size: 26px; }
.hero-lead { max-width: 520px; margin: 0 0 30px; color: #4e5e70; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 12px 22px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue), var(--blue-bright)); box-shadow: 0 12px 26px rgba(8,105,200,.22); }
.button-outline { color: var(--blue); border: 1px solid #77afe1; background: transparent; }
.button-white { color: var(--navy); background: white; }
.hero-extra { margin: 26px 0 0; color: #536275; font-size: 13px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 17px; margin: 18px 0 0; padding: 0; color: #58687a; font-size: 11px; font-weight: 700; list-style: none; }
.trust-list li::before { content: "✓"; margin-right: 6px; color: var(--blue); }
.hero-photo-wrap { aspect-ratio: 1.46 / 1; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.decor { position: absolute; border-radius: 50%; background: #eaf3fd; }
.decor-left { width: 150px; height: 150px; left: -92px; bottom: -15px; }
.decor-right { width: 220px; height: 220px; right: -155px; top: 80px; }

.section { padding: 95px 0; }
.services { background: #fff; }
.center-heading { max-width: 850px; margin: 0 auto 46px; text-align: center; }
.center-heading h2 { margin-bottom: 14px; }
.center-heading p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: 1.05fr .95fr .95fr; gap: 22px; }
.service-card { min-height: 330px; padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.service-card.featured { color: white; border-color: transparent; background: linear-gradient(150deg, #0865bd, #094487); box-shadow: var(--shadow); }
.service-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 28px; border-radius: 50%; color: var(--blue); background: #dcebfb; font-family: system-ui, sans-serif; font-size: 29px; font-weight: 700; }
.featured .service-icon { color: var(--navy); background: white; }
.service-card h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); text-align: center; }
.featured h3 { color: white; border-color: rgba(255,255,255,.35); }
.service-card p { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.service-card ul { margin: 20px 0 0; padding: 0; list-style: none; }
.service-card li { margin: 9px 0; color: #edf6ff; font-size: 13px; }
.service-card li::before { content: "✓"; width: 18px; height: 18px; display: inline-grid; place-items: center; margin-right: 8px; border: 1px solid #bde0ff; border-radius: 50%; font-size: 9px; }
.specialty-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 24px; padding: 24px 30px; border-radius: 20px; background: linear-gradient(105deg, #e8f2fe, #f4f8fd); }
.sparkle-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: 25px; }
.specialty-strip h3 { margin-bottom: 4px; font-size: 25px; }
.specialty-strip p { margin: 0; color: var(--muted); font-size: 13px; }
.coming-badge { padding: 8px 14px; border-radius: 999px; color: var(--blue); background: #d4e8fd; font-size: 10px; font-weight: 800; }

.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.about-photo-wrap { aspect-ratio: 1.35 / 1; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); }
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.experience-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.experience-row div { padding: 17px 18px; border-left: 3px solid var(--blue); background: white; }
.experience-row strong, .experience-row span { display: block; }
.experience-row strong { color: var(--blue); font-family: "Playfair Display", serif; font-size: 25px; }
.experience-row span { margin-top: 3px; color: var(--muted); font-size: 11px; }

.areas { padding: 0 0 88px; background: var(--cream); }
.area-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 42px 46px; color: white; border-radius: 24px; background: linear-gradient(115deg, #094485, #0875d1); box-shadow: var(--shadow); }
.location-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: white; font-size: 24px; }
.area-panel h2 { margin-bottom: 8px; color: white; font-size: clamp(31px, 3.5vw, 45px); }
.area-panel p:last-child { margin: 0; color: #d8ebff; font-size: 13px; }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 75px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-details { display: grid; gap: 10px; margin-top: 28px; }
.contact-details a { padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--cream); }
.contact-details span, .contact-details strong { display: block; }
.contact-details span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-details strong { margin-top: 3px; color: var(--navy); font-size: 13px; overflow-wrap: anywhere; }
.quote-form { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--cream); box-shadow: var(--shadow); }
.quote-form label { display: grid; gap: 6px; margin-bottom: 15px; color: var(--navy); font-size: 11px; font-weight: 800; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; border: 1px solid #cbd8e6; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: white; font: inherit; font-size: 13px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,105,200,.1); }
textarea { resize: vertical; }
.form-submit { width: 100%; }
.form-note { margin: 9px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

footer { padding: 48px 0 24px; color: #bed2e8; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 60px; }
.footer-brand { color: white; }
.footer-brand .brand-emblem { background-color: white; }
.footer-brand .brand-words small { color: #91c6ff; }
.footer-brand-wrap > p { margin: 15px 0 0; font-size: 12px; }
.footer-links { display: grid; align-content: start; gap: 9px; font-size: 11px; }
.footer-links strong { margin-bottom: 4px; color: white; }
.footer-links a:hover { color: white; }
.copyright { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; text-align: center; }

@media (max-width: 900px) {
  .menu-button { display: inline-block; }
  nav { position: absolute; left: 20px; right: 20px; top: 76px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a { padding: 12px; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-photo-wrap { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .about-grid { gap: 42px; }
  .area-panel { grid-template-columns: auto 1fr; }
  .area-panel .button { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-wrap { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 72px; }
  .brand { min-width: 0; }
  .brand-emblem { width: 47px; height: 47px; flex-basis: 47px; }
  .brand-words strong { font-size: 19px; }
  .brand-words small { font-size: 7px; }
  .hero { padding: 54px 0 70px; }
  h1 { font-size: 49px; }
  h2 { font-size: 37px; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; gap: 7px; }
  .section { padding: 72px 0; }
  .service-card { padding: 28px; }
  .specialty-strip { grid-template-columns: auto 1fr; padding: 22px; }
  .coming-badge { grid-column: 2; justify-self: start; }
  .experience-row { grid-template-columns: 1fr; }
  .area-panel { grid-template-columns: 1fr; padding: 32px 25px; }
  .area-panel .button { grid-column: 1; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-wrap { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
