/* ADU IV Builders — draft */
:root {
  --navy: #0c1a28;
  --navy-2: #163047;
  --ink: #141414;
  --paper: #f4f1ea;
  --white: #ffffff;
  --muted: #5b5b55;
  --rule: #d4cfc4;
  --steel: #2c4a66;
  --focus: #c4a35a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--focus);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.mark {
  width: 2.15rem;
  height: 2.15rem;
  border: 2px solid var(--focus);
  background:
    linear-gradient(180deg, transparent 38%, var(--focus) 38%, var(--focus) 42%, transparent 42%),
    linear-gradient(60deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%),
    linear-gradient(-60deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9d3dc;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
}
.nav a { text-decoration: none; color: #e8edf1; }
.nav a:hover { color: #fff; }
.nav .phone {
  background: var(--focus);
  color: var(--navy);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background:
    url("photos/IMG_8320.jpg") center 60% / cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,26,40,0.25) 0%, rgba(12,26,40,0.55) 45%, rgba(12,26,40,0.88) 100%);
}
.hero-copy {
  position: relative;
  padding: 5.5rem 0 3.25rem;
}
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--focus);
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  max-width: 16ch;
}
.lead {
  margin: 0 0 1.4rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: #e6ebef;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0; }
.btn {
  display: inline-block;
  background: var(--focus);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1.05rem;
}
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}

.work, .services, .contact { padding: 4rem 0; }
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head h2,
.contact h2,
.card h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  margin: 0 0 0.4rem;
}
.section-head h2 { font-size: 2rem; }
.section-head p { margin: 0; color: var(--muted); }
.section-head .eyebrow { color: var(--steel); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px;
}
.tile {
  padding: 0;
  border: 0;
  background: #ddd;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tile:hover img,
.tile:focus-visible img { transform: scale(1.04); }
.tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.services { background: var(--white); border-block: 1px solid var(--rule); }
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--navy);
  padding: 1.4rem 1.35rem 1.5rem;
}
.card-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--steel);
}
.card h3 { font-size: 1.35rem; }
.card p { margin: 0; color: #333; }

.contact { background: var(--navy); color: #fff; }
.contact .eyebrow { color: var(--focus); }
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.contact p { color: #d5dde4; max-width: 36rem; }
.phone-block { margin: 0; }
.phone-block a {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--focus);
}

.site-footer {
  background: #08131e;
  color: #b8c2cb;
  padding: 1.25rem 0;
  font-size: 0.9rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.draft { color: var(--focus); font-weight: 600; margin: 0; }
.site-footer p { margin: 0; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 16, 0.94);
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.lightbox img {
  max-height: min(82vh, 900px);
  max-width: min(92vw, 1100px);
  object-fit: contain;
  background: #000;
}
.lightbox figcaption {
  color: #d0d6dc;
  font-size: 0.9rem;
}
.lb-close, .lb-prev, .lb-next {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.55rem;
}
.lb-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  font-size: 2rem;
}

@media (max-width: 720px) {
  .bar { flex-wrap: wrap; padding: 0.6rem 0; }
  .nav { width: 100%; justify-content: space-between; gap: 0.6rem; font-size: 0.85rem; }
  .nav .phone { padding: 0.3rem 0.5rem; }
  .cards { grid-template-columns: 1fr; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
}
