/* =========================================================
   Lankin Property Services: site styles
   Brand: navy #1F2A44, slate #6B7280, white, light gray #F3F4F6
   Font:  Montserrat 800 (headlines), 600 (buttons/labels), 400 (body)
   ========================================================= */

:root {
  --navy: #1F2A44;
  --navy-hover: #2B3A5C;
  --slate: #6B7280;
  --slate-light: #9CA3AF;
  --gray: #F3F4F6;
  --line: #E5E7EB;
  --white: #FFFFFF;
  --text: #374151;     /* body text: 10:1 on white, 9:1 on gray */
  --muted: #4B5563;    /* secondary text: 7.5:1 on white */
  --focus: var(--navy);

  --radius: 4px;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(64px, 9vw, 112px);
  --header-h: 92px;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
/* iPhone Safari ignores overflow-x on <body> alone and lets the page pan
   sideways. "clip" (unlike "hidden") doesn't make body a scroll container,
   so the sticky header keeps working. */
@supports (overflow: clip) {
  html { overflow-x: hidden; }
  body { overflow-x: clip; }
}

img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--navy); font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden,
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--navy);
  padding: 10px 16px; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- Icons ---------- */
.icon, .icon-sm {
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon { width: 40px; height: 40px; color: var(--navy); }
.icon-sm { width: 20px; height: 20px; stroke-width: 1.8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-hover); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--line); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; background: var(--slate); flex-shrink: 0;
}
.eyebrow-light { color: var(--white); }
.eyebrow-light::before { background: var(--slate-light); }

.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--gray); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2, .why-copy h2, .contact-copy h2 { font-size: clamp(1.875rem, 2.6vw + 1rem, 2.75rem); }
.lede { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 640px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  --focus: var(--white);
  transition: background-color .2s, box-shadow .2s;
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
}
.brand { display: block; flex-shrink: 0; }

/* The logo SVGs have built-in padding (1000x540 canvas). This crops the
   view to the artwork itself without editing the files. */
.logo-crop {
  display: block;
  aspect-ratio: 760 / 430;
  height: 78px;
  overflow: hidden;
}
.logo-crop img {
  width: 131.58%;
  max-width: none;
  height: auto;
  margin-left: -15.79%;
  margin-top: -9.21%;
}
.logo-light-bg { display: none; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 10px 14px;
  font-weight: 600; font-size: .9375rem;
  color: var(--white); text-decoration: none;
  border-radius: var(--radius);
}
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-call { background: var(--white); color: var(--navy); min-height: 44px; padding: 10px 18px; }
.btn-call:hover { background: var(--line); }
.call-number { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 2px solid rgba(255,255,255,.35); border-radius: var(--radius);
  color: var(--white); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative;
  transition: transform .2s, opacity .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Scrolled past the hero: white header, navy logo */
.site-header.is-scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 6px 16px rgba(31,42,68,.06);
  --focus: var(--navy);
}
.is-scrolled .logo-dark-bg { display: none; }
.is-scrolled .logo-light-bg { display: block; }
.is-scrolled .site-nav a { color: var(--navy); }
.is-scrolled .btn-call { background: var(--navy); color: var(--white); }
.is-scrolled .btn-call:hover { background: var(--navy-hover); }
.is-scrolled .nav-toggle { color: var(--navy); border-color: var(--line); }

@media (min-width: 1100px) {
  .call-number { display: inline; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .logo-crop { height: 46px; }
  .header-actions { margin-left: auto; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 12px 20px rgba(31,42,68,.15);
  }
  .js .is-scrolled .site-nav { background: var(--white); border-top-color: var(--line); }
  .js .nav-open .site-nav { display: block; }
  .js .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .js .site-nav a { padding: 14px 4px; font-size: 1.0625rem; }

  /* No-JS fallback: links wrap under the logo */
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; }
  html:not(.js) .site-nav { order: 3; width: 100%; margin: 0; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  --focus: var(--white);
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.2vw + 1rem, 4.75rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(1.0625rem, .5vw + 1rem, 1.25rem);
  color: rgba(255,255,255,.88);
  max-width: 560px;
}
.hero .btn-row { margin-top: 36px; }
.hero-areas {
  margin-top: 28px;
  font-size: .9375rem;
  color: var(--slate-light);
}

.job-card {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 28px 28px 20px;
  background: rgba(255,255,255,.04);
}
.job-card-label {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate-light);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.job-card-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.job-card-list li:last-child { border-bottom: 0; }
.check {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 2px solid var(--white); border-radius: 2px;
  position: relative;
}
.check::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid var(--white); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; }
  .job-card { max-width: 520px; }
}
@media (max-width: 479px) {
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px clamp(28px, 5vw, 64px);
  padding: 22px 0;
}
.trust-list li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .9375rem; color: var(--navy);
}
.trust-list .icon-sm { color: var(--slate); }

/* ---------- Cards / grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .15s;
}
.card:hover { border-color: var(--slate-light); }
.card .icon { margin-bottom: 22px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }

@media (max-width: 959px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .card-grid { grid-template-columns: 1fr; } .card { padding: 26px 22px; } }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  counter-reset: none;
}
.step {
  border-top: 3px solid var(--navy);
  padding-top: 24px;
}
.step-num {
  display: block;
  font-weight: 800; font-size: 2.5rem; line-height: 1;
  color: var(--slate);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.step h3 { font-size: 1.3125rem; margin-bottom: 12px; }
.step p { color: var(--muted); }
@media (max-width: 799px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Why Lankin ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.headshot { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.headshot img { width: 100%; height: 100%; object-fit: cover; }
.headshot-placeholder {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy);
}
.headshot-placeholder span {
  font-weight: 800; font-size: 5rem; letter-spacing: -0.03em; color: var(--white);
  border-bottom: 6px solid var(--slate); line-height: 1.1;
}
.owner-note {
  margin: 28px 0 0;
  padding-left: 24px;
  border-left: 3px solid var(--navy);
}
.owner-note p { font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem); line-height: 1.7; color: var(--text); }
.owner-note footer { margin-top: 18px; font-weight: 600; color: var(--navy); }

@media (max-width: 799px) {
  .why-grid { grid-template-columns: 1fr; }
  .headshot { max-width: 280px; }
  .headshot-placeholder span { font-size: 3.5rem; border-bottom-width: 4px; }
}

/* ---------- Gallery ---------- */
/* 3 columns; a before/after pair spans 2. Alternate pair, single in GALLERY. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 24px;
  align-items: start;
}
.g-item {
  min-width: 0;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.g-item.is-pair { grid-column: span 2; }
.g-item.is-steps { grid-column: 1 / -1; }
.is-steps .g-frames { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.g-frames { display: grid; grid-template-columns: 1fr; gap: 2px; background: var(--line); }
.is-pair .g-frames { grid-template-columns: 1fr 1fr; }
.g-frame {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; background: var(--gray); cursor: zoom-in;
  aspect-ratio: 1 / 1;
}
.g-frame img { width: 100%; height: 100%; object-fit: cover; }
.g-frame:focus-visible { outline-offset: -4px; outline-color: var(--white); box-shadow: inset 0 0 0 6px var(--navy); }
.g-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--white);
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
}
.g-item figcaption { padding: 14px 18px 16px; font-size: .9375rem; color: var(--muted); }

@media (max-width: 899px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* Phones: show the first 3 items, then a "See more work" button.
   Hidden items are display:none, so their lazy images don't load until revealed. */
.gallery-more { display: none; margin-top: 24px; text-align: center; }
@media (max-width: 767px) {
  .gallery.is-collapsed > .g-item:nth-child(n+4) { display: none; }
  .gallery.is-collapsed + .gallery-more { display: block; }
}
@media (max-width: 559px) {
  .gallery { grid-template-columns: 1fr; }
  .g-item.is-pair { grid-column: auto; }
  .is-steps .g-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Odd number of steps: the last one spans the full width instead of leaving a gap */
  .is-steps .g-frame:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 2 / 1; }
  .is-steps .g-frame:last-child:nth-child(odd) img { object-position: center 40%; }
}

/* ---------- Testimonial ---------- */
.testimonial { background: var(--navy); --focus: var(--white); }
.pull-quote { margin: 0 auto; max-width: 880px; text-align: center; }
/* Large decorative opening quote mark */
.pull-quote::before {
  content: "“";
  display: block;
  font-weight: 800;
  font-size: clamp(6rem, 8vw + 2rem, 9rem);
  line-height: .62;
  height: .42em;
  color: var(--slate-light);
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.pull-quote blockquote { margin: 0; }
.pull-quote blockquote p {
  color: var(--white);
  font-weight: 600;
  font-size: clamp(1.3125rem, 1.5vw + 1rem, 2.125rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
}
.pull-quote figcaption {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.pull-quote figcaption::before {
  content: ""; width: 40px; height: 3px; background: var(--slate); margin-bottom: 14px;
}
.pq-name { color: var(--white); font-weight: 600; font-size: 1.0625rem; }
.pq-title { color: var(--slate-light); font-size: .9375rem; line-height: 1.5; }

/* ---------- Areas ---------- */
.area-card h3 { font-size: 1.375rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-direct { margin-top: 32px; display: grid; gap: 14px; }
.contact-direct li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.contact-direct .icon-sm { color: var(--slate); }
.contact-direct a { font-weight: 600; font-size: 1.0625rem; word-break: break-word; overflow-wrap: anywhere; }
.contact-note { margin-top: 28px; font-weight: 600; color: var(--navy); }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--navy); margin-bottom: 6px; }
.req { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--font);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--slate);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { resize: vertical; min-height: 128px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A44' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 40px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy);
}
.field input::placeholder, .field textarea::placeholder { color: #6B7280; }
.form-fineprint { font-size: .875rem; color: var(--muted); margin: -4px 0 16px; }
.form-error {
  margin-top: 16px; padding: 12px 14px;
  border-left: 3px solid #B91C1C; background: #FEF2F2; color: #7F1D1D;
  font-size: .9375rem;
}
.form-error a { color: #7F1D1D; font-weight: 600; }

.form-success { text-align: left; padding: 12px 0; }
.form-success:focus { outline: none; }
.form-success .icon { margin-bottom: 16px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  --focus: var(--white);
  padding: 56px 0 0;
  font-size: .9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr .9fr 1.4fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.logo-footer { height: auto; width: 200px; }
.footer-head {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate-light); margin-bottom: 14px; line-height: 1.4;
}
.footer-list { display: grid; gap: 8px; }
.site-footer a { color: var(--white); word-break: break-word; overflow-wrap: anywhere; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px; padding-bottom: 24px;
  color: var(--slate-light); font-size: .875rem;
}
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer a { text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { text-decoration-color: currentColor; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: min(92vw, 1000px); max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(17, 24, 39, .88); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox p { color: var(--white); text-align: center; margin-top: 12px; font-size: .9375rem; }
.lightbox-close {
  position: absolute; top: -52px; right: 0;
  width: 44px; height: 44px;
  background: var(--white); color: var(--navy);
  border: 0; border-radius: var(--radius);
  font: 600 1.75rem/1 var(--font); cursor: pointer;
  --focus: var(--white);
}

/* ---------- Phone polish (under 600px) ----------
   Tighter rhythm, icons beside headings, fewer tall single-column blocks. */
@media (max-width: 599px) {
  :root { --section-pad: 56px; }
  body { font-size: 1rem; }
  .section-head { margin-bottom: 28px; }
  .lede { font-size: 1.0625rem; }

  /* Hero */
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: clamp(2.375rem, 11vw, 2.75rem); }
  .hero-sub { margin-top: 18px; }
  .hero .btn-row { margin-top: 28px; }
  .hero-areas { margin-top: 20px; font-size: .875rem; }
  .job-card { padding: 20px 20px 8px; }
  .job-card-list li { padding: 11px 0; font-size: .9375rem; line-height: 1.4; }

  /* Trust bar: tidy 2x2 grid instead of a ragged centered wrap */
  .trust-list {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px 16px; padding: 20px 0;
  }
  .trust-list li { align-items: flex-start; gap: 8px; font-size: .8125rem; line-height: 1.35; }
  .trust-list .icon-sm { width: 18px; height: 18px; }

  /* Service + area cards: icon sits beside the heading */
  .card-grid { gap: 12px; }
  .card {
    display: grid; grid-template-columns: 32px 1fr;
    column-gap: 14px; align-items: center;
    padding: 20px 18px;
  }
  .card .icon { width: 32px; height: 32px; margin: 0; }
  .card h3, .area-card h3 { font-size: 1.125rem; margin: 0; }
  .card p { grid-column: 1 / -1; margin-top: 10px; font-size: .9375rem; }

  /* How it works: number beside the step */
  .steps { gap: 28px; }
  .step {
    display: grid; grid-template-columns: 48px 1fr;
    column-gap: 12px; padding-top: 18px;
  }
  .step-num { grid-row: 1 / span 2; font-size: 1.75rem; margin: 0; }
  .step h3 { font-size: 1.125rem; line-height: 1.25; margin-bottom: 8px; }
  .card h3 { line-height: 1.2; }
  .step p { font-size: .9375rem; }

  /* Why: full-width photo, cropped square */
  .headshot { max-width: none; aspect-ratio: 1 / 1; }
  .headshot img { object-position: center 25%; }
  .owner-note { margin-top: 20px; padding-left: 16px; }
  .owner-note p { font-size: 1.0625rem; }

  /* Gallery: single photos 4:3 so one image doesn't fill the screen */
  .gallery { gap: 14px; }
  .g-item:not(.is-pair):not(.is-steps) .g-frame { aspect-ratio: 4 / 3; }
  .g-tag { top: 8px; left: 8px; font-size: .6875rem; padding: 4px 8px; }
  .g-item figcaption { padding: 12px 14px 14px; font-size: .875rem; }
  .gallery-more { margin-top: 20px; }
  .gallery-more .btn { width: 100%; }

  /* Contact */
  .contact-direct { margin-top: 24px; }
  .contact-note { margin-top: 20px; }
  .form-wrap { padding: 20px 16px; }
  .field { margin-bottom: 14px; }

  /* Footer */
  .site-footer { padding-top: 40px; }
  .logo-footer { width: 150px; }
  .footer-grid { gap: 24px; padding-bottom: 28px; }
  .footer-head { margin-bottom: 10px; }
  .footer-bottom { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* ---------- Sticky call bar (phones) ----------
   Pinned to the bottom of the screen under 600px. It replaces the header
   Call button there, so the header keeps just the logo and menu. */
.call-bar { display: none; }
@media (max-width: 599px) {
  .call-bar {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 16px rgba(31,42,68,.08);
  }
  .call-bar .btn { min-height: 50px; font-size: 1.0625rem; }
  /* Keep the footer clear of the bar */
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .site-header .btn-call { display: none; }
}

/* ---------- Simpler phone layout (under 600px) ----------
   Fewer, shorter blocks. Kept in full: the owner note, the client quote,
   and the contact form. */
@media (max-width: 599px) {
  /* Hero: drop the checklist card (How It Works covers the same steps) */
  .hero .job-card { display: none; }
  /* The sticky call bar covers calling, so the hero keeps one button */
  .hero .btn-row .btn-outline-light { display: none; }
  .hero-grid { gap: 0; }

  /* Services: compact 2-column tiles, icon + name only */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .services-grid .card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 16px 14px;
  }
  .services-grid .card h3 { font-size: 1rem; line-height: 1.25; }
  .services-grid .card p { display: none; }

  /* Service areas: a simple list of the three markets */
  .areas-grid { gap: 8px; }
  .areas-grid .card { padding: 14px 16px; }
  .areas-grid .card p { display: none; }

  /* Footer: the menu already has these links */
  .footer-company { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
