/* Ledford & Associates — 2026 rebuild */
:root {
  --navy: #0b1c33;
  --navy-2: #142848;
  --red: #c0392b;
  --red-d: #9c2d22;
  --paper: #f3efe6;
  --paper-2: #e8e2d6;
  --ink: #12151a;
  --muted: #5c6168;
  --white: #fbfaf7;
  --line: rgba(18,21,26,.12);
  --shadow: 0 24px 60px rgba(11,28,51,.18);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin: 0 0 .6rem;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; margin: 0; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.15; margin: 0 0 .65rem; }
h3 { font-size: 1.5rem; margin: 0 0 .5rem; }
p { margin: 0 0 .7rem; color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--ink); max-width: 42rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .45rem 0;
  gap: 1rem;
}
.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo { justify-self: center; display: flex; align-items: center; gap: .55rem; color: inherit; }
.logo .mark { height: 40px; width: auto; display: block; background: none; border: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1e5fd6;
}
.logo-text em {
  font-style: italic;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 1.1rem; }
.nav-right { justify-self: end; }
.header-phone {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}
.header-phone:hover { color: var(--red); }
.trust {
  background: var(--navy);
  color: rgba(251,250,247,.88);
  padding: .7rem 0;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.trust a { color: #fbfaf7; }
.trades-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem 1rem;
  margin: .35rem 0 1rem;
}
.trades-pick label {
  display: flex;
  align-items: center;
  gap: .45rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: .92rem;
  color: var(--ink);
  cursor: pointer;
}
.trades-pick input { width: auto; accent-color: var(--red); }
.nav a {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--red);
  color: var(--red);
  padding: .7rem 1.25rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
  transition: .2s ease;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}
.cta:hover { background: var(--red); color: var(--white); }
.cta.solid { background: var(--red); color: var(--white); }
.cta.light { border-color: var(--white); color: var(--white); }
.cta.light:hover { background: var(--white); color: var(--navy); }
.menu-btn {
  display: none;
  background: none; border: 0; padding: .4rem;
  cursor: pointer;
}
.menu-btn span {
  display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0;
}

/* Hero */
.hero {
  min-height: 58vh;
  background:
    linear-gradient(105deg, rgba(11,28,51,.88) 0%, rgba(11,28,51,.62) 46%, rgba(11,28,51,.42) 100%),
    url("images/hero.jpg") center 42%/cover no-repeat;
  color: var(--white);
  display: grid;
  align-items: center;
  padding: 5.2rem 0 4.2rem;
  position: relative;
}
.hero .eyebrow { color: #e8b0a8; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero p { color: rgba(251,250,247,.78); max-width: 36rem; }

.section { padding: 2.4rem 0; }
.section.alt { background: var(--white); }
.section.navy { background: var(--navy); color: var(--white); }
.section.navy p, .section.navy .muted { color: rgba(251,250,247,.72); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card {
  background: var(--white);
  padding: 1.1rem 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.card h3 { color: var(--red); font-family: var(--sans); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; }
.card p { margin: 0; font-size: .95rem; }

.quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.25;
  color: var(--navy);
  max-width: 20ch;
  margin: 0 auto;
  text-align: center;
}
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
.gallery a, .gallery figure { margin: 0; overflow: hidden; background: #1a1a1a; border-radius: 8px; }
.gallery figure { display: flex; flex-direction: column; background: var(--paper); }
.gallery figcaption {
  padding: .55rem .7rem .7rem;
  font-size: .82rem;
  line-height: 1.35;
  color: var(--muted);
}
.gallery .caption-input {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: .55rem .7rem;
  color: var(--ink);
  resize: none;
  outline: none;
}
.gallery .caption-input:focus { border-top-color: var(--red); }
.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery a:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { height: 280px; }

.people {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.4rem;
  align-items: center;
  margin-top: 1.4rem;
}
.people img { width: 100%; height: 420px; object-fit: cover; object-position: center 18%; border-radius: 10px; }

.names {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.names li {
  list-style: none;
  padding: 1.1rem 1rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.names { padding: 0; margin: 0; }

blockquote.testimonial {
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--navy);
}
blockquote.testimonial footer {
  margin-top: .8rem;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

form {
  display: grid;
  gap: .9rem;
}
label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: .55rem 0;
  color: var(--ink);
  outline: none;
}
input:focus, textarea:focus { border-bottom-color: var(--red); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .85rem; }
.success {
  display: none;
  padding: 1.2rem 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
}

.office { margin-bottom: 1.6rem; }
.office h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.office p { margin: 0; color: var(--ink); }

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 0 1.3rem;
  font-size: .92rem;
}
.footer-social { margin: .85rem 0 0; display: flex; align-items: center; gap: .65rem; }
.li-mark { display: inline-flex; line-height: 0; opacity: .95; }
.li-mark img { width: 28px; height: 28px; display: block; }
.li-mark:hover { opacity: 1; }
.site-footer a.li-mark:hover { color: inherit; }
.site-footer a { color: rgba(251,250,247,.78); }
.site-footer a:hover { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .logo .mark { height: 38px; }
.site-footer .logo-text strong { color: #8cb4ff; }
.site-footer .logo-text em { color: #e8b0a8; }
.legal { margin-top: 1.4rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(251,250,247,.5); font-size: .78rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.page-hero { padding: 1.6rem 0 .8rem; }
.page-hero h1 { max-width: 16ch; }

/* overflow-x on html/body breaks position:sticky; clip wide bits on sections instead */
main, .site-footer, .hero, .trust { overflow-x: clip; }
img, video { max-width: 100%; height: auto; }
.gallery img { height: 210px; }

@media (max-width: 1080px) {
  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
  }
  body {
    padding-top: calc(3.4rem + env(safe-area-inset-top, 0px));
  }
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem 0;
    padding: .5rem 0;
  }
  .logo { order: 1; margin-right: auto; justify-self: start; }
  .logo .mark { height: 34px; }
  .header-tools { order: 2; gap: .45rem; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; min-width: 44px; min-height: 44px; }
  .header-phone {
    order: 2;
    font-size: .82rem;
    letter-spacing: .04em;
    padding: .35rem .15rem;
  }
  .menu-btn { order: 2; }
  .nav-left, .nav-right {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header.open .header-tools { display: contents; }
  .site-header.open .nav-left,
  .site-header.open .nav-right { display: flex; }
  .nav a, .nav .cta {
    padding: .9rem 0;
    font-size: .85rem;
    border-bottom: 1px solid var(--line);
    width: 100%;
    justify-content: flex-start;
  }
  .nav .cta { border-left: 0; border-right: 0; border-top: 0; border-radius: 0; }
  .split, .people { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .grid-2, .foot-grid, .names { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: .4rem; }
  .gallery .wide { grid-column: auto; }
  .gallery img, .gallery .wide img { height: 180px; }
  .row-2 { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 3.2rem 0 2.4rem; }
  .hero h1 { font-size: 2.15rem; max-width: none; }
  .section { padding: 1.7rem 0; }
  .page-hero { padding: 1.2rem 0 .6rem; }
  .page-hero h1 { max-width: none; }
  .people img {
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(70vh, 560px);
    object-fit: cover;
    object-position: center 20%;
  }
  .quote { font-size: 1.35rem; }
  .site-footer { padding: 1.6rem 0 1.1rem; padding-bottom: max(1.1rem, env(safe-area-inset-bottom)); }
  .cta { min-height: 44px; }
  input, textarea, select { font-size: 16px; }
  .gallery .remove { display: block; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .foot-grid, .names, .trades-pick { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery .wide img { height: 220px; }
  .hero p { max-width: none; }
  .header-phone { font-size: .78rem; }
}


.dropzone {
  border: 1.5px dashed var(--red);
  background: var(--white);
  padding: 1.1rem 1.2rem;
  margin: 0 0 1.2rem;
  text-align: center;
  cursor: pointer;
}
.dropzone.drag { background: #f8e8e4; }
.dropzone p { margin: 0; color: var(--ink); }
.dropzone span { color: var(--muted); font-size: .9rem; }
.gallery figure { position: relative; }
.gallery .remove {
  position: absolute; top: .4rem; right: .4rem;
  background: var(--navy); color: #fff; border: 0;
  width: 28px; height: 28px; cursor: pointer;
  font-size: 1.1rem; line-height: 1;
  display: none;
}
.gallery figure:hover .remove { display: block; }
.page-hero .toolbar { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
