/* Georgia Design & Build — site styles
   Palette taken from the company's own work: brand navy, the pine-green siding
   of their ADU project, limewashed brick, and the brand gold. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --navy: #13233a;
  --navy-2: #1d3352;
  --pine: #2e4637;
  --pine-2: #3c5a47;
  --limewash: #f1f1ec;
  --paper: #ffffff;
  --gold: #c9a13b;
  --gold-2: #d8b453;
  --ink: #1f2a33;
  --ink-soft: #4a5560;
  --line: #c9c7bd;
  --line-dark: rgba(255,255,255,.35);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --measure: 66ch;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--serif); font-size: 1.125rem; line-height: 1.65; color: var(--ink); background: var(--paper); font-optical-sizing: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: .75rem 1rem; z-index: 100; font-family: var(--sans); }
.skip:focus { left: 1rem; }

/* Type scale (1.25 ratio) */
h1, h2, h3, h4 { font-family: var(--sans); font-stretch: 112%; color: var(--navy); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 680; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 650; }
h3 { font-size: 1.3rem; font-weight: 640; }
p, ul, ol { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .95rem; margin: 1.5em 0; }
.prose th, .prose td { border-top: 1px solid var(--line); padding: .7rem .6rem .7rem 0; text-align: left; vertical-align: top; }
.prose thead th { border-top: 2px solid var(--navy); font-weight: 650; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.wrap { width: min(100% - 2*var(--gap), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--wash { background: var(--limewash); }
.section--navy { background: var(--navy); color: #e8ebef; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--ink-soft); }

/* Buttons: one primary (gold), one secondary (outline). No arrows. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--sans); font-weight: 620; font-size: 1rem; font-stretch: 105%; padding: .85rem 1.35rem; border-radius: 2px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-2); color: var(--navy); }
.btn--line { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.section--navy .btn--line, .hero .btn--line, .cta .btn--line { color: #fff; }
.section--navy .btn--line:hover, .hero .btn--line:hover, .cta .btn--line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; padding-block: .5rem; }
.brand { display: flex; align-items: center; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img, .brand .logo-svg { height: 64px; width: auto; }
.brand-text { font-family: var(--sans); font-weight: 700; font-stretch: 118%; font-size: 1.15rem; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-family: var(--sans); font-size: .98rem; }
.nav a { color: #e9edf2; text-decoration: none; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.nav .nav-phone { font-weight: 600; color: #fff; }
.nav .btn { padding: .6rem 1rem; border-bottom: 0; }
.nav .btn:hover { border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 2px solid var(--line-dark); color: #fff; font-family: var(--sans); font-size: .95rem; padding: .45rem .8rem; border-radius: 2px; cursor: pointer; }

@media (max-width: 980px) {
  .site-header .wrap { min-height: 64px; }
  .brand img, .brand .logo-svg { height: 48px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gap) 1.25rem; border-top: 1px solid var(--line-dark); }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav .btn { margin-top: 1rem; }
}

/* Hero */
.hero { position: relative; color: #fff; min-height: min(88vh, 860px); display: grid; align-items: end; background: var(--navy); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,35,58,.25) 0%, rgba(19,35,58,.35) 45%, rgba(19,35,58,.88) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: 5rem 3.5rem; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: end; }
.hero h1 { color: #fff; max-width: 19ch; margin-bottom: .45em; font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.hero p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 48ch; color: #eef1f4; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; padding-block: 8rem 2.5rem; } .hero { min-height: 82vh; } .hero::after { background: linear-gradient(180deg, rgba(19,35,58,.35) 0%, rgba(19,35,58,.8) 55%, rgba(19,35,58,.92) 100%); } }

/* Title block — the signature element: a drafting-sheet title block holding real project data */
.titleblock { font-family: var(--sans); border: 1.5px solid currentColor; display: grid; grid-template-columns: 1fr 1fr; font-size: .9rem; line-height: 1.35; }
.titleblock > div { padding: .6rem .8rem; border-top: 1px solid currentColor; border-left: 1px solid currentColor; margin: 0; }
.titleblock > div:nth-child(-n+2) { border-top: 0; }
.titleblock > div:nth-child(odd) { border-left: 0; }
.titleblock .tb-wide { grid-column: 1 / -1; border-left: 0; }
.titleblock dt { font-size: .74rem; opacity: .72; margin-bottom: .15rem; font-stretch: 100%; }
.titleblock dd { margin: 0; font-weight: 600; font-stretch: 108%; }
.titleblock--hero { color: #fff; background: rgba(19,35,58,.55); backdrop-filter: blur(3px); max-width: 420px; justify-self: end; }
.titleblock--hero a { color: #fff; }
@media (max-width: 860px) { .titleblock--hero { justify-self: start; } }

/* Proof strip */
.proof { background: var(--limewash); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 1.15rem 0; display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; font-family: var(--sans); font-size: .98rem; }
.proof li { display: flex; gap: .5rem; align-items: baseline; }
.proof strong { color: var(--navy); font-stretch: 110%; }

/* Services list: photo-led rows rather than an icon grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 2.5rem var(--gap); }
.svc { text-decoration: none; color: inherit; display: block; }
.svc figure { margin: 0 0 1rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--limewash); }
.svc img { width: 100%; height: 100%; object-fit: cover; }
.svc h3 { margin-bottom: .35rem; }
.svc p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.svc:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; text-decoration-color: var(--gold); }
.svc--text { border-top: 1.5px solid var(--navy); padding-top: 1.1rem; }
.svc--text h3 { font-size: 1.35rem; }
.proj--text .titleblock { border-top: 1.5px solid currentColor; }
.proj--text p { margin-top: .8rem; }
.svc-secondary { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--sans); }
.svc-secondary a { margin-right: 1.5rem; }

/* Project cards */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem var(--gap); }
.proj { text-decoration: none; color: inherit; display: block; }
.proj figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--limewash); }
.proj img { width: 100%; height: 100%; object-fit: cover; }
.proj .titleblock { color: var(--navy); border-top: 0; }
.proj h3 { margin: 1rem 0 .3rem; }
.proj p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.proj:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.feature-project { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap); align-items: end; margin-bottom: 3.5rem; }
.feature-project figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.feature-project img { width: 100%; height: 100%; object-fit: cover; }
.feature-project .titleblock { color: var(--navy); margin-top: 1.25rem; }
@media (max-width: 860px) { .feature-project { grid-template-columns: 1fr; } }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border-top: 1.5px solid var(--navy); }
.steps li { counter-increment: step; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.steps li + li { padding-left: 1.5rem; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(step); font-family: var(--sans); font-weight: 700; font-stretch: 120%; font-size: 2.2rem; color: var(--gold); display: block; line-height: 1; margin-bottom: .75rem; }
.steps h3 { margin-bottom: .4rem; }
.steps p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.section--navy .steps { border-top-color: var(--gold); }
.section--navy .steps li { border-right-color: rgba(255,255,255,.18); }
.section--navy .steps p { color: #c9d1db; }
@media (max-width: 700px) { .steps li, .steps li + li { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.25rem 0; } }

/* Areas */
.areas-list { list-style: none; padding: 0; margin: 0; columns: 3 220px; column-gap: var(--gap); font-family: var(--sans); font-size: 1.1rem; }
.areas-list li { break-inside: avoid; border-top: 1px solid var(--line); }
.areas-list a { display: block; padding: .8rem 0; text-decoration: none; font-weight: 560; font-stretch: 108%; }
.areas-list a:hover { color: var(--pine); }

/* Two-column page layout: content + aside */
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); background: var(--limewash); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; }
.crumbs { font-family: var(--sans); font-size: .88rem; margin-bottom: 1.25rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.crumbs span[aria-hidden] { margin-inline: .4rem; }
.page-photo { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--limewash); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .page-photo { aspect-ratio: 4 / 3; } }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.aside { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
@media (max-width: 960px) { .aside { position: static; } }
.spec { border: 1.5px solid var(--navy); font-family: var(--sans); font-size: .95rem; }
.spec h3 { margin: 0; padding: .75rem 1rem; border-bottom: 1px solid var(--navy); font-size: 1rem; background: var(--limewash); }
.spec .spec-body { padding: 1rem; }
.spec ul { margin: 0; padding-left: 1.1rem; }
.spec li { margin-bottom: .35rem; }
.spec p { margin: 0; }
.spec + .spec { margin-top: 0; }
.aside-cta { background: var(--navy); color: #e8ebef; padding: 1.5rem; font-family: var(--sans); }
.aside-cta h3 { color: #fff; }
.aside-cta p { font-size: .98rem; }
.aside-cta .btn { width: 100%; margin-top: .5rem; }
.aside-cta a.phone { color: #fff; font-weight: 650; font-size: 1.2rem; text-decoration: none; display: block; margin-top: 1rem; text-align: center; }

ul.ticks { list-style: none; padding: 0; }
ul.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .75rem; height: 2px; background: var(--gold); }

/* FAQ */
.faq { border-top: 1.5px solid var(--navy); max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--sans); font-weight: 620; font-stretch: 106%; font-size: 1.1rem; color: var(--navy); padding: 1.1rem 2rem 1.1rem 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .95rem; font-size: 1.4rem; font-weight: 400; color: var(--gold); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 1.1rem; margin: 0; }

/* Gallery on project pages */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-block: 2rem; }
.gallery figure { margin: 0; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery figcaption { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); margin-top: .4rem; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

/* Reviews (shown only when real reviews exist) */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.review { margin: 0; border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.review blockquote { margin: 0 0 1rem; font-size: 1.15rem; font-style: italic; }
.review figcaption { font-family: var(--sans); font-size: .92rem; color: var(--ink-soft); }
.quote-block { border-left: 3px solid var(--gold); padding: .25rem 0 .25rem 1.5rem; margin: 2rem 0; font-size: 1.25rem; font-style: italic; }

/* CTA band */
.cta { background: var(--pine); color: #eef2ee; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .4em; }
.cta p { margin: 0; color: #dfe7e1; max-width: 50ch; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Forms */
.form { display: grid; gap: 1.1rem; font-family: var(--sans); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--navy); }
.form .hint { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-family: var(--sans); font-size: 1rem; padding: .8rem .85rem; border: 1.5px solid #9aa3ad; border-radius: 2px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(201,161,59,.45); outline-offset: 0; }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form .btn { justify-self: start; padding-inline: 2rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-facts { font-family: var(--sans); }
.contact-facts dt { font-size: .85rem; color: var(--ink-soft); margin-top: 1.25rem; }
.contact-facts dd { margin: .2rem 0 0; font-size: 1.1rem; font-weight: 560; }

/* Related links */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; font-family: var(--sans); font-size: .95rem; }
.chips a { display: inline-block; padding: .45rem .8rem; border: 1px solid var(--line); text-decoration: none; border-radius: 2px; }
.chips a:hover { border-color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy); color: #c9d1db; font-family: var(--sans); font-size: .95rem; padding-block: 4rem 2rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-phone { font-size: 1.35rem; font-weight: 650; font-stretch: 110%; display: inline-block; margin: .5rem 0; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; font-family: var(--sans); font-weight: 620; box-shadow: 0 -1px 0 rgba(0,0,0,.15); }
  .mobile-bar a { text-align: center; padding: .95rem .5rem; text-decoration: none; }
  .mobile-bar .mb-call { background: var(--navy); color: #fff; }
  .mobile-bar .mb-quote { background: var(--gold); color: var(--navy); }
  body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .mobile-bar, .cta, .site-footer { display: none; } }

/* Photo slots with no photo yet are hidden rather than shown empty */
figure:not(:has(img)) { display: none; }
.feature-project:not(:has(img)) { grid-template-columns: 1fr; }
