/* A&S Property Services · Stylesheet */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jost-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jost-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jost-latin-600-normal.woff2") format("woff2");
}

:root {
  --navy: #0D2340;
  --navy-hover: #1B3559;
  --navy-deep: #081729;
  --muted: #4A5871;
  --line: #E3E8EF;
  --card-line: #DCE3EC;
  --tint: #F3F5F8;
  --chip: #EAF0F7;
  --on-navy: #D3DDEA;
  --on-navy-muted: #B8C6DA;
  --step: #6F84A3;
  --link-hover: #3C72C4;
  --pad-x: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Jost", "Avenir Next", "Century Gothic", Arial, sans-serif;
  color: var(--navy);
  background: #FFFFFF;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--navy); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--link-hover); outline-offset: 3px; }
[id] { scroll-margin-top: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--pad-x); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: #FFFFFF; color: var(--navy); padding: 10px 14px; z-index: 10;
}
.skip:focus { left: 16px; top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 4px;
  font-size: 17px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 16px; font-weight: 500; }
.btn-navy, .btn-navy:hover { color: #FFFFFF; }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-hover); }
.btn-white, .btn-white:hover { color: var(--navy); }
.btn-white { background: #FFFFFF; }
.btn-white:hover { background: #E8EEF6; }
.btn-outline, .btn-outline:hover { color: #FFFFFF; }
.btn-outline { border: 1px solid #5A7397; font-weight: 500; }
.btn-outline:hover { border-color: #FFFFFF; }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding-block: 18px;
}
.logo { display: block; line-height: 0; }
.logo img { width: 132px; height: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; font-weight: 500; }
.nav-link { padding: 12px 0; text-decoration: none; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; font-size: 16px; font-weight: 500; text-decoration: none; }
@media (max-width: 720px) {
  .nav-link { display: none; }
  .logo img { width: 112px; }
}

/* Hero */
.hero { background: var(--navy); color: #FFFFFF; }
.hero .wrap {
  padding-block: clamp(64px, 9vw, 120px) clamp(64px, 8vw, 112px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
}
.roof { width: 240px; height: auto; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero .eyebrow { color: var(--on-navy-muted); }
.hero h1 {
  max-width: 15ch; font-size: clamp(36px, 6vw, 72px); font-weight: 500;
  line-height: 1.05; letter-spacing: -.01em; overflow-wrap: break-word;
}
.lead { max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--on-navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 8px; }
.actions .btn { flex: 1 1 auto; }

/* Facts strip */
.facts { background: var(--tint); border-bottom: 1px solid var(--line); }
.facts .wrap {
  padding-block: 36px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px 40px;
}
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact svg { flex-shrink: 0; margin-top: 1px; }
.fact-title { font-size: 17px; font-weight: 600; }
.fact-text { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Sections */
.section { padding-block: var(--section-y); }
.tint { background: var(--tint); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; line-height: 1.15; overflow-wrap: break-word; }
.text { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 24px; }
.card {
  border: 1px solid var(--card-line); border-radius: 6px; padding: 32px; background: #FFFFFF;
  display: flex; flex-direction: column; gap: 16px;
}
.chip { width: 52px; height: 52px; border-radius: 6px; background: var(--chip); display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.card-note { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
@media (max-width: 480px) { .card { padding: 24px; } }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px 40px; }
.audience > div { border-top: 1px solid #B9C5D6; padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.audience h3 { font-size: 19px; font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.step-no { font-size: 52px; font-weight: 400; line-height: 1; color: var(--step); }
.steps h3 { font-size: 22px; font-weight: 600; }

/* Split layout */
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.split-main { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-text { max-width: 62ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.person { background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 6px; padding: 24px; display: flex; align-items: center; gap: 18px; }
.initials {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 500; letter-spacing: .04em;
}
.person-name { font-size: 18px; font-weight: 600; }
.person-role { margin-top: 2px; font-size: 15px; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: #FFFFFF; }
.contact .split-main { gap: 22px; }
.contact .roof { width: 160px; }
.contact-intro { max-width: 54ch; font-size: 17px; line-height: 1.65; color: var(--on-navy); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 17px; }
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist svg { flex-shrink: 0; }
.contact-card {
  flex: 1 1 360px; min-width: 0; background: #FFFFFF; color: var(--navy); border-radius: 6px;
  padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px;
}
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.label { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.value { font-size: clamp(18px, 4.6vw, 21px); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); }
.site-footer .wrap {
  padding-block: 48px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand img { width: 120px; height: auto; }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.footer-links a { color: #FFFFFF; text-decoration: none; padding: 12px 0; }
.footer-links a:hover { color: #FFFFFF; text-decoration: underline; }

/* Legal pages */
.legal { padding-block: clamp(56px, 7vw, 88px) clamp(72px, 8vw, 104px); }
.legal-body { max-width: 720px; }
.legal h1 { font-size: clamp(34px, 4vw, 48px); font-weight: 500; line-height: 1.1; margin-bottom: 24px; hyphens: auto; overflow-wrap: break-word; }
.legal h2 { font-size: 21px; font-weight: 600; line-height: 1.3; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 8px 0 0; padding-left: 1.2em; }
.legal li + li { margin-top: 4px; }
.legal .eyebrow { margin-bottom: 20px; }
.legal a { overflow-wrap: anywhere; }
.todo { background: #FFF1D6; color: #5C3B00; padding: 1px 6px; border-radius: 3px; }
