/* LK Southern Builders — temporary static site */
:root {
  --ink: #1b2430;        /* deep slate */
  --ink-2: #273342;
  --clay: #b5652f;       /* Carolina red-clay accent */
  --clay-dark: #94501f;
  --sand: #f4efe6;       /* warm paper */
  --sand-2: #e9e1d3;
  --pine: #2f4a3c;
  --text: #2b2f36;
  --muted: #6b6f76;
  --white: #fff;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--clay); }
a:hover { color: var(--clay-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }

/* Buttons */
.btn {
  display: inline-block; padding: .95rem 1.8rem; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 2px solid var(--clay); background: var(--clay); color: var(--white);
  transition: background .2s, border-color .2s, color .2s; cursor: pointer; font-family: var(--sans);
}
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: var(--white); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20; color: var(--white);
}
.site-header.solid { position: relative; background: var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: flex; align-items: center; gap: .85rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark {
  width: 46px; height: 46px; border: 2px solid var(--clay); display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; color: var(--white); background: rgba(27,36,48,.35);
}
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: .01em; }
.brand-text span { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--white); text-decoration: none; font-size: .88rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: #f0b98f; }
.nav-links .btn { padding: .7rem 1.3rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); padding: 160px 0 110px;
  background:
    linear-gradient(180deg, rgba(17,24,33,.55) 0%, rgba(17,24,33,.25) 40%, rgba(17,24,33,.85) 100%),
    url("../images/hero-exterior.jpg") center/cover no-repeat,
    radial-gradient(ellipse at 70% 20%, #3c5266 0%, #1b2430 60%, #12181f 100%);
}
.hero h1 { color: var(--white); max-width: 14ch; }
.hero p { font-size: 1.25rem; max-width: 40ch; opacity: .92; }
.hero .eyebrow { color: #f0b98f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.25); max-width: 820px;
}
.hero-badges div { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.hero-badges strong { display: block; font-family: var(--serif); font-size: 2rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--white); opacity: 1; line-height: 1.2; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: var(--white); padding: 200px 0 100px;
  background:
    linear-gradient(180deg, rgba(17,24,33,.7), rgba(17,24,33,.82)),
    var(--img, none) center/cover no-repeat,
    linear-gradient(135deg, #273342 0%, #1b2430 55%, #2f4a3c 140%);
}
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p { font-size: 1.2rem; opacity: .9; max-width: 50ch; margin: 0; }
.page-hero .eyebrow { color: #f0b98f; }

/* Sections */
section { padding: 110px 0; }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #d9dde3; }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: var(--img, none) center/cover no-repeat, linear-gradient(150deg, #c9b79c, #8f7a5e 55%, #5d4d3b);
  box-shadow: 0 30px 60px -30px rgba(27,36,48,.45);
}
.photo.wide { aspect-ratio: 4/3; }
.photo-frame { position: relative; }
.photo-frame::after {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 2px solid var(--clay);
  border-radius: var(--radius); z-index: -1;
}
.photo-frame { z-index: 0; }

/* Services */
.section-head { max-width: 720px; margin-bottom: 60px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--sand-2), 0 20px 40px -30px rgba(27,36,48,.35);
  display: flex; flex-direction: column;
}
.service .thumb { aspect-ratio: 3/2; background: var(--img, none) center/cover no-repeat, var(--fallback, linear-gradient(135deg, #3c5266, #1b2430)); }
.service-body { padding: 30px 30px 34px; }
.service-body p { color: var(--muted); margin: 0; font-size: .98rem; }
.service-num { font-family: var(--serif); color: var(--clay); font-size: 1.1rem; display: block; margin-bottom: .35rem; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.value { border-top: 2px solid var(--clay); padding-top: 24px; }
.value h3 { font-size: 1.35rem; }
.value p { margin: 0; font-size: .97rem; opacity: .85; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery div { border-radius: var(--radius); background: var(--img, none) center/cover no-repeat, var(--fallback); transition: transform .4s; }
.gallery div:hover { transform: scale(1.015); }
.gallery .g1 { grid-column: span 2; grid-row: span 2; --fallback: linear-gradient(160deg, #50677c, #1b2430); }
.gallery .g2 { --fallback: linear-gradient(160deg, #c9b79c, #8f7a5e); }
.gallery .g3 { --fallback: linear-gradient(160deg, #6f8a6f, #2f4a3c); }
.gallery .g4 { grid-column: span 2; --fallback: linear-gradient(160deg, #d39a6a, #94501f); }
.gallery .g5 { grid-column: span 2; --fallback: linear-gradient(160deg, #8e9aa6, #3c4856); }
.gallery .g6 { grid-column: span 2; --fallback: linear-gradient(160deg, #b9ad97, #6b5f4c); }

/* Founders */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.founder-card { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; }
.founder-photo {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--img, none) center/cover no-repeat, linear-gradient(135deg, var(--clay), var(--ink));
  font-family: var(--serif); font-size: 2.6rem; color: rgba(255,255,255,.9);
}
.founder-photo.has-img { color: transparent; }
.founder-card .role { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin-bottom: .6rem; display: block; }
.founder-card p { color: var(--muted); font-size: .98rem; }

/* Founder detail (about page) */
.founder-full { display: grid; grid-template-columns: 380px 1fr; gap: 70px; align-items: start; }
.founder-full + .founder-full { margin-top: 110px; }
.founder-full .portrait {
  aspect-ratio: 4/5; border-radius: var(--radius); position: sticky; top: 30px;
  background: var(--img, none) center/cover no-repeat, linear-gradient(150deg, #3c5266, #1b2430);
  display: grid; place-items: center; font-family: var(--serif); font-size: 5rem; color: rgba(255,255,255,.18);
}
.founder-full .portrait.has-img { color: transparent; }
.founder-full .role { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); font-weight: 700; display: block; margin-bottom: .5rem; }
.founder-full .facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 1.8rem; padding: 0; list-style: none; }
.founder-full .facts li { background: var(--sand); padding: .4rem .9rem; border-radius: 99px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.founder-full .contact-line { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--sand-2); font-size: .95rem; }

/* Quote band */
.quote-band { text-align: center; padding: 120px 0; background:
  linear-gradient(rgba(27,36,48,.82), rgba(27,36,48,.88)), url("../images/lakefront-yard.jpg") center/cover no-repeat, var(--ink); color: var(--white); }
.quote-band blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.15; }
.quote-band p { margin: 1.6rem auto 2.2rem; max-width: 52ch; opacity: .85; }

/* In short */
.in-short { border-left: 3px solid var(--clay); padding: 8px 0 8px 32px; font-size: 1.25rem; font-family: var(--serif); color: var(--ink); line-height: 1.5; max-width: 820px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }
.contact-cards { display: grid; gap: 22px; margin-top: 2rem; }
.contact-card { background: var(--sand); padding: 26px 28px; border-radius: var(--radius); }
.contact-card h3 { font-size: 1.35rem; margin-bottom: .2em; }
.contact-card .role { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.contact-card a { display: block; color: var(--ink); text-decoration: none; font-weight: 600; margin-top: .35rem; word-break: break-word; }
.contact-card a:hover { color: var(--clay); }
.form { background: var(--white); padding: 48px; border-radius: var(--radius); box-shadow: 0 30px 70px -40px rgba(27,36,48,.45); border: 1px solid var(--sand-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: .45rem; }
.field label .opt { font-weight: 500; color: var(--muted); letter-spacing: .05em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; font: inherit; font-size: 1rem; color: var(--text);
  background: #fbf9f5; border: 1px solid #d8cfbf; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(181,101,47,.15); background: var(--white); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 600; display: none; }
.alert.show { display: block; }
.alert-success { background: #e6f0e8; color: #24563a; border: 1px solid #b9d4c0; }
.alert-error { background: #f8e6e1; color: #8a2e1a; border: 1px solid #ebc0b4; }

/* CTA */
.cta { background: var(--clay); color: var(--white); padding: 80px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0; max-width: 20ch; }
.cta .btn { background: var(--ink); border-color: var(--ink); }
.cta .btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Footer */
.site-footer { background: #12181f; color: #a9b0b9; padding: 80px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 1.1rem; }
.site-footer a { color: #d4d8de; text-decoration: none; }
.site-footer a:hover { color: #f0b98f; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-tag { font-family: var(--serif); color: var(--white); font-size: 1.4rem; margin: 1.2rem 0 .6rem; }
.footer-bottom { border-top: 1px solid #263039; margin-top: 60px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founders { grid-template-columns: 1fr; }
  .founder-full { grid-template-columns: 300px 1fr; gap: 50px; }
}
@media (max-width: 860px) {
  section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: flex-start;
    background: var(--ink); padding: 110px 36px 36px; gap: 1.6rem; transform: translateX(100%); transition: transform .3s ease; z-index: 30;
  }
  .nav-open .nav-links { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.4); }
  .nav-toggle { position: relative; z-index: 40; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .split.reverse > :first-child { order: 0; }
  .photo-frame::after { inset: 18px -14px -18px 14px; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery .g1, .gallery .g4, .gallery .g5, .gallery .g6 { grid-column: span 2; }
  .gallery .g1 { grid-row: span 1; }
  .founder-full { grid-template-columns: 1fr; gap: 30px; }
  .founder-full .portrait { position: relative; top: 0; max-width: 380px; }
  .form { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-bottom: 80px; }
  .hero-badges { gap: 1.6rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card .founder-photo { width: 120px; }
  .brand-text span { display: none; }
}

/* Local photos (paths here resolve from /css, so they work everywhere) */
.ph-exterior2 { --img: url("../images/exterior-2.jpg"); }
.ph-kitchen   { --img: url("../images/kitchen-great-room.jpg"); }
.ph-dining    { --img: url("../images/dining-kitchen.jpg"); }
.ph-island    { --img: url("../images/kitchen-island.jpg"); }
.ph-shower    { --img: url("../images/marble-shower.jpg"); }
.ph-bath      { --img: url("../images/bath-marble-floor.jpg"); }
.ph-lake      { --img: url("../images/lake-view.jpg"); }
.ph-lakeview  { --img: url("../images/lake-view.jpg"); }
.ph-bedroom   { --img: url("../images/primary-bedroom.jpg"); }
.ph-living    { --img: url("../images/living-room.jpg"); }
.ph-dock      { --img: url("../images/boat-dock.jpg"); }
.ph-lakeside  { --img: url("../images/lakefront-yard.jpg"); }
.img-mark   { --img: url("../images/mark.jpg"); }
.img-jeremy { --img: url("../images/jeremy.jpg"); }

/* Featured project / before-after sliders */
.project-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
.project-head h2 { max-width: 16ch; }
.project-facts { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.project-facts li { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-top: 2px solid var(--clay); padding-top: 12px; }
.project-facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.ba-hint { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ba-wide { grid-column: 1 / -1; }
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--sand-2); box-shadow: 0 30px 60px -35px rgba(27,36,48,.5); user-select: none; }
.ba-wide .ba-frame { aspect-ratio: 16/9; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle::after {
  content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center;
  font-size: 1.4rem; line-height: 1; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * { outline: none; }
.ba-frame:focus-within .ba-handle::after { outline: 3px solid #f0b98f; outline-offset: 2px; }
.ba-tag { position: absolute; top: 16px; padding: .35rem .8rem; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; background: rgba(17,24,33,.7); border-radius: 3px; pointer-events: none; }
.ba-tag-before { left: 16px; }
.ba-tag-after { right: 16px; background: var(--clay); }
.ba figcaption { margin-top: 14px; font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) {
  .ba-grid { grid-template-columns: 1fr; gap: 32px; }
  .ba-wide .ba-frame { aspect-ratio: 4/3; }
  .project-facts { gap: 22px; flex-wrap: wrap; }
}
/* Zoom Mark's photo in the small home-page circle */
.founder-photo.img-mark { background-size: 175%, cover; background-position: 50% 32%, center; }
