/*
Theme Name: ADR Modern
Theme URI: https://andrewsdevelopments.com
Author: BakedPress
Author URI: https://bakedpress.com
Description: Purpose-built Andrews Development & Renovation theme for residential, commercial, construction, and development lead generation.
Version: 1.0.0
Text Domain: adr-modern
*/

:root {
  --adr-ink: #161616;
  --adr-charcoal: #252525;
  --adr-steel: #51545a;
  --adr-paper: #f7f5ef;
  --adr-white: #ffffff;
  --adr-line: #dedbd1;
  --adr-accent: #b96d2d;
  --adr-accent-dark: #8d4e1f;
  --adr-success: #1f6b45;
  --adr-radius: 18px;
  --adr-shadow: 0 18px 50px rgba(0,0,0,.10);
  --adr-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--adr-ink);
  background: var(--adr-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.adr-container { width: min(calc(100% - 32px), var(--adr-max)); margin-inline: auto; }
.adr-narrow { width: min(calc(100% - 32px), 820px); margin-inline: auto; }
.adr-section { padding: 84px 0; }
.adr-section--tight { padding: 58px 0; }
.adr-section--paper { background: var(--adr-paper); }
.adr-section--dark { background: var(--adr-ink); color: var(--adr-white); }
.adr-grid { display: grid; gap: 24px; }
.adr-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.adr-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.adr-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.adr-stack > * + * { margin-top: 18px; }
.adr-kicker { margin: 0 0 12px; color: var(--adr-accent); font-weight: 800; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; }
.adr-section--dark .adr-kicker { color: #efb37f; }
.adr-title { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -.04em; }
.adr-heading { margin: 0; font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1.08; letter-spacing: -.03em; }
.adr-copy { color: #4f5054; font-size: 1.08rem; }
.adr-section--dark .adr-copy { color: #d0d0d0; }
.adr-muted { color: #6b6d72; }

.adr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--adr-accent);
  color: var(--adr-white);
  text-decoration: none;
  font-weight: 800;
  transition: .18s ease;
  cursor: pointer;
}
.adr-btn:hover, .adr-btn:focus-visible { background: var(--adr-accent-dark); transform: translateY(-1px); }
.adr-btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.adr-btn--ghost:hover, .adr-btn--ghost:focus-visible { background: rgba(255,255,255,.08); }
.adr-btn--dark { background: var(--adr-ink); }
.adr-btn--dark:hover, .adr-btn--dark:focus-visible { background: #000; }
.adr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.adr-site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid #e7e4dc; backdrop-filter: blur(12px); }
.adr-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.adr-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.adr-brand img { width: 150px; max-height: 58px; object-fit: contain; }
.adr-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.adr-brand-text strong { font-size: 1rem; letter-spacing: -.02em; }
.adr-brand-text span { margin-top: 4px; color: #6e6f72; font-size: .71rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.adr-nav { display: flex; align-items: center; gap: 23px; }
.adr-nav a { text-decoration: none; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.adr-nav a:hover, .adr-nav a:focus-visible { color: var(--adr-accent-dark); }
.adr-nav .adr-btn { color: #fff; font-size: .88rem; }
.adr-mobile-nav { display: none; }

.adr-hero { background: var(--adr-ink); color: var(--adr-white); overflow: hidden; }
.adr-hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 670px; align-items: stretch; }
.adr-hero-copy { padding: 96px 8vw 96px max(16px, calc((100vw - var(--adr-max))/2)); display: flex; flex-direction: column; justify-content: center; }
.adr-hero-copy p { max-width: 680px; color: #d8d8d8; font-size: 1.14rem; }
.adr-hero-media { min-height: 520px; position: relative; background: #2b2b2b; }
.adr-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.adr-hero-media::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(22,22,22,.4), transparent 45%); pointer-events:none; }
.adr-proof-strip { border-top: 1px solid rgba(255,255,255,.14); background: #101010; }
.adr-proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.adr-proof-item { padding: 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.10); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.adr-proof-item:last-child { border-right: 0; }

.adr-card { background: var(--adr-white); border: 1px solid var(--adr-line); border-radius: var(--adr-radius); padding: 28px; box-shadow: 0 8px 28px rgba(0,0,0,.04); }
.adr-card h3 { margin: 0 0 10px; font-size: 1.24rem; }
.adr-card p { margin: 0; color: #5c5e62; }
.adr-card a.adr-link { display: inline-flex; margin-top: 18px; color: var(--adr-accent-dark); font-weight: 800; text-decoration: none; }
.adr-card--dark { background: #222; border-color: #343434; color: #fff; }
.adr-card--dark p { color: #c8c8c8; }
.adr-service-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: #f0e4d9; color: var(--adr-accent-dark); font-weight: 900; }

.adr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.adr-split img { border-radius: 24px; box-shadow: var(--adr-shadow); }
.adr-list { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 11px; }
.adr-list li { position: relative; padding-left: 26px; }
.adr-list li::before { content:""; position:absolute; left:0; top:.62em; width:9px; height:9px; border-radius:50%; background:var(--adr-accent); }

.adr-choice { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:18px; margin-top:32px; }
.adr-choice-card { display:flex; flex-direction:column; padding:26px; border:1px solid #d9d6ce; border-radius:18px; background:#fff; }
.adr-choice-card p { flex:1; color:#5b5d62; }
.adr-choice-card .adr-btn { align-self:flex-start; }

.adr-page-hero { padding: 86px 0 64px; background: var(--adr-paper); border-bottom: 1px solid var(--adr-line); }
.adr-page-hero .adr-copy { max-width: 760px; }
.adr-content { padding: 68px 0 90px; }
.adr-content h2 { margin-top: 46px; font-size: clamp(1.6rem,2.6vw,2.5rem); line-height:1.1; }
.adr-content h3 { margin-top: 32px; font-size: 1.3rem; }
.adr-content p, .adr-content li { color:#4f5155; }
.adr-content ul, .adr-content ol { padding-left: 1.2rem; }
.adr-content .adr-card p, .adr-content .adr-card li { color:#5c5e62; }
.adr-content .adr-grid { margin: 28px 0; }

.adr-form-wrap { background:#fff; border:1px solid var(--adr-line); border-radius:22px; padding:32px; box-shadow:var(--adr-shadow); }
.adr-form-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:18px; }
.adr-field { display:flex; flex-direction:column; gap:7px; }
.adr-field--full { grid-column:1/-1; }
.adr-field label { font-weight:800; font-size:.9rem; }
.adr-field input, .adr-field select, .adr-field textarea { width:100%; border:1px solid #c8c6bf; border-radius:12px; padding:12px 14px; background:#fff; color:#171717; }
.adr-field textarea { min-height:150px; resize:vertical; }
.adr-field input:focus, .adr-field select:focus, .adr-field textarea:focus { outline:3px solid rgba(185,109,45,.18); border-color:var(--adr-accent); }
.adr-hp { position:absolute !important; left:-9999px !important; height:1px; width:1px; overflow:hidden; }
.adr-notice { padding:14px 16px; border-radius:12px; margin-bottom:18px; font-weight:700; }
.adr-notice--success { background:#e5f4eb; color:#174d33; }
.adr-notice--error { background:#fce8e6; color:#7c241e; }

.adr-project-card { overflow:hidden; padding:0; }
.adr-project-card img { width:100%; aspect-ratio: 16/10; object-fit:cover; }
.adr-project-card video { width:100%; aspect-ratio: 16/10; object-fit:cover; display:block; background:#111; }
.adr-project-card .adr-card-body { padding:24px; }
.adr-tags { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.adr-tag { display:inline-flex; padding:6px 10px; border-radius:999px; background:#f1eee7; font-size:.74rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }

.adr-footer { background:#111; color:#fff; padding:62px 0 26px; }
.adr-footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:34px; }
.adr-footer h3, .adr-footer h4 { margin-top:0; }
.adr-footer p, .adr-footer a { color:#c7c7c7; }
.adr-footer a { text-decoration:none; }
.adr-footer a:hover, .adr-footer a:focus-visible { color:#fff; }
.adr-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.adr-footer-bottom { margin-top:42px; padding-top:20px; border-top:1px solid #2e2e2e; display:flex; justify-content:space-between; gap:18px; color:#929292; font-size:.84rem; }

.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.screen-reader-text:focus { position:fixed; z-index:9999; top:10px; left:10px; width:auto; height:auto; margin:0; clip:auto; padding:12px 16px; background:#fff; color:#000; }

@media (max-width: 980px) {
  .adr-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .adr-grid--3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .adr-nav { display:none; }
  .adr-mobile-nav { display:block; position:relative; }
  .adr-mobile-nav summary { list-style:none; cursor:pointer; border:1px solid #d8d5cd; border-radius:999px; padding:10px 14px; font-weight:800; }
  .adr-mobile-nav summary::-webkit-details-marker { display:none; }
  .adr-mobile-menu { position:absolute; right:0; top:52px; width:min(320px,calc(100vw - 32px)); padding:16px; background:#fff; border:1px solid #ddd9d0; border-radius:16px; box-shadow:var(--adr-shadow); display:grid; gap:4px; }
  .adr-mobile-menu a { padding:11px 10px; text-decoration:none; font-weight:750; }
  .adr-hero-grid { grid-template-columns:1fr; }
  .adr-hero-copy { padding:80px max(16px,calc((100vw - var(--adr-max))/2)); }
  .adr-hero-media { min-height:420px; }
  .adr-split { grid-template-columns:1fr; gap:34px; }
  .adr-choice { grid-template-columns:1fr; }
  .adr-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .adr-section { padding:64px 0; }
  .adr-header-inner { min-height:72px; }
  .adr-brand img { width:118px; }
  .adr-brand-text span { display:none; }
  .adr-grid--2, .adr-grid--3, .adr-grid--4 { grid-template-columns:1fr; }
  .adr-proof-grid { grid-template-columns:repeat(2,1fr); }
  .adr-proof-item:nth-child(2) { border-right:0; }
  .adr-proof-item:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.10); }
  .adr-form-grid { grid-template-columns:1fr; }
  .adr-field--full { grid-column:auto; }
  .adr-footer-grid { grid-template-columns:1fr; }
  .adr-footer-bottom { flex-direction:column; }
  .adr-hero-media { min-height:320px; }
}

/* --- Design quick wins (2026-10-08): mock-data pass --- */

/* Stats bar under hero */
.adr-stats-bar { background: var(--adr-paper, #f7f4ec); border-bottom: 1px solid #e7e4dc; }
.adr-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.adr-stat { padding: 26px 20px; text-align: center; }
.adr-stat + .adr-stat { border-left: 1px solid #e7e4dc; }
.adr-stat strong { display: block; font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }
.adr-stat span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }

/* Service card photos replacing letter badges */
.adr-service-photo { margin: -28px -28px 20px; border-radius: 12px 12px 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: #e9e4d8; }
.adr-service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sticky mobile call bar (one-tap calling) */
.adr-call-now { display: none; }
@media (max-width: 680px) {
  .adr-call-now {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    text-align: center; font-weight: 900; font-size: 1.05rem; text-decoration: none;
    color: #fff; background: var(--adr-accent-dark, #8a4a1f); padding: 16px;
    box-shadow: 0 -4px 18px rgba(0,0,0,.25);
  }
  body { padding-bottom: 56px; }
  .adr-stats-grid { grid-template-columns: 1fr; }
  .adr-stat + .adr-stat { border-left: 0; border-top: 1px solid #e7e4dc; }
}

/* Testimonials */
.adr-quote { font-size: 1.05rem; line-height: 1.55; font-style: italic; margin: 0 0 18px; }
.adr-quote-by strong { display: block; font-size: .95rem; }
.adr-quote-by span { font-size: .82rem; opacity: .65; }

/* Centered CTA rows (replaces inline styles) */
.adr-actions--centered { margin-top: 32px; justify-content: center; }
.adr-btn--outline-dark { color: inherit; border-color: #1a1a1a; background: transparent; }
