/* Accurate Homes — shared styles
   Palette: charcoal + warm timber, echoing AH's dark-clad builds.
   No build tools required — plain CSS. Edit freely. */

:root {
  --charcoal: #232526;
  --charcoal-soft: #2f3133;
  --ink: #1a1b1c;
  --timber: #c79a3e;      /* brand gold (accent) */
  --timber-dark: #9a7526; /* deep gold — text/hover on light */
  --gold-soft: #e7cf9b;
  --sand: #f6f2ea;        /* warm light section bg */
  --paper: #ffffff;
  --line: #e8ddc9;
  --text: #2c2d2e;
  --muted: #6b6f72;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --maxw: 1120px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1rem; }
a { color: var(--timber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--sand { background: var(--sand); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--timber-dark); margin: 0 0 .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: .18s;
}
.btn--primary { background: var(--timber); color: #fff; }
.btn--primary:hover { background: var(--timber-dark); text-decoration: none; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); text-decoration: none; }
.btn--dark { background: var(--charcoal); color: #fff; }
.btn--dark:hover { background: #000; text-decoration: none; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-weight: 800; letter-spacing: .04em; font-size: 1.15rem; color: var(--ink); text-transform: uppercase; }
.wordmark span { color: var(--timber-dark); }
.brand { display: inline-flex; align-items: center; }
.logo { height: 54px; width: auto; display: block; }
.site-footer .logo-foot { height: 68px; width: auto; display: block; margin-bottom: 4px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--timber-dark); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(rgba(20,21,22,.62), rgba(20,21,22,.72)),
              linear-gradient(135deg, #3a3d40, #202223);
  background-size: cover; background-position: center;
}
.hero .container { padding-top: 110px; padding-bottom: 110px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.9); margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* Grids */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { color: var(--ink); }
.card .icon { width: 42px; height: 42px; border-radius: 8px; background: var(--sand); display: grid; place-items: center; margin-bottom: 14px; color: var(--timber-dark); font-weight: 800; }

/* Image placeholder (swap for real photos) */
.ph {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #eceae6 0 12px, #e6e3dd 12px 24px);
  display: grid; place-items: center; color: #9a958c; font-size: .82rem; text-align: center;
  border: 1px solid var(--line);
}
.ph span { padding: 6px 10px; background: rgba(255,255,255,.7); border-radius: 6px; }
.ph--wide { aspect-ratio: 16 / 9; }

/* Real/placeholder photos — swap the src for actual images */
.shot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--sand); display: block; }
.shot--wide { aspect-ratio: 16 / 9; }

/* Project gallery */
.project { margin-bottom: 56px; }
.project-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.project-head .tag { color: var(--timber-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

/* Trust badges */
.badges { display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; color: var(--muted); }
.badge { text-align: center; font-weight: 700; color: var(--charcoal); }
.badge small { display: block; font-weight: 500; color: var(--muted); }

/* Contact */
.form-row { display: grid; gap: 16px; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--timber); border-color: var(--timber); }

/* Footer */
.site-footer { background: var(--charcoal); color: #cfd1d2; padding: 54px 0 30px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer .wordmark { color: #fff; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; font-size: .85rem; color: #9a9d9f; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Confirm-me marker for draft content */
.todo { background: #fff6e6; border-left: 3px solid var(--timber); padding: 2px 6px; border-radius: 3px; font-size: .9em; }

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .project-head { flex-direction: column; }
}
