/* Double WW Construction LLC — site styles
   Colors: charcoal, tan, barn rust. System fonts only. */

:root {
  --bg: #f4efe6;
  --bg-alt: #e8dfd0;
  --cream: #fbf7f0;
  --ink: #1a1613;
  --ink-soft: #5a534c;
  --rust: #9c341f;
  --rust-dark: #7a2818;
  --tan: #c9b08a;
  --charcoal: #241f1b;
  --charcoal-2: #312b26;
  --line: #d6cbba;
  --white: #fffcf8;
  --max: 70rem;
  --header-h: 4.4rem;
  --sticky-h: 3.55rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1.25rem 2.5rem -1.25rem rgba(36, 31, 27, 0.35);
  --radius: 0.4rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

@media (max-width: 699px) {
  .site-footer { padding-bottom: calc(2.25rem + var(--sticky-h)); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rust-dark); }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--rust);
  color: var(--white);
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; color: var(--white); }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(156, 52, 31, 0.85);
}

.header-inner {
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo-mark { width: 2.35rem; height: 2.35rem; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  width: 2.7rem;
  height: 2.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-open .nav-toggle-bars {
  background: transparent;
  box-shadow: none;
  position: relative;
}
.nav-open .nav-toggle-bars::before,
.nav-open .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
}
.nav-open .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul {
  display: flex;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

.nav-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

@media (max-width: 1079px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 1rem;
    box-shadow: var(--shadow);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.btn-primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); color: var(--white); }
.btn-accent {
  background: var(--tan);
  color: var(--charcoal);
  border-color: var(--tan);
}
.btn-accent:hover { background: #d4bc96; color: var(--charcoal); border-color: #d4bc96; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 252, 248, 0.55);
}
.btn-ghost:hover { background: rgba(255, 252, 248, 0.1); color: var(--white); border-color: var(--white); }
.btn-ghost-ink {
  background: transparent;
  color: var(--ink);
  border-color: var(--charcoal);
}
.btn-ghost-ink:hover { background: var(--charcoal); color: var(--white); }
.btn-lg { padding: 0.9rem 1.4rem; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--charcoal);
  color: var(--cream);
  display: grid;
}
.hero-copy {
  padding: 2.25rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy .wrap { width: min(100% - 2rem, 38rem); margin: 0 auto; }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tan);
  margin: 0 0 0.7rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.05rem, 6.2vw, 3.5rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--white);
  letter-spacing: -0.015em;
}
.hero .lead {
  margin: 0 0 1.5rem;
  color: #efe6d8;
  font-size: 1.08rem;
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero-photo { order: -1; }
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 55%;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(22rem, 0.95fr) 1.15fr;
    min-height: min(86vh, 40rem);
  }
  .hero-copy { order: 0; padding: 3.5rem 0; }
  .hero-photo { order: 1; }
  .hero-copy .wrap {
    width: auto;
    max-width: 36rem;
    margin: 0 0 0 auto;
    padding: 0 2.5rem 0 2rem;
  }
  .hero-photo { min-height: 100%; }
  .hero-photo img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 55%;
  }
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--charcoal);
  color: var(--cream);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-rust {
  background: var(--rust);
  color: var(--white);
}
.section-rust h2 { color: var(--white); }
.section-rust p { color: #f6e4dc; }

.section h1,
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.section .intro {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 0 2rem;
}
.section-dark .intro { color: #d9d0c4; }

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rust);
  margin: 0 0 0.45rem;
}
.section-dark .kicker,
.section-rust .kicker { color: var(--tan); }

/* Process steps */
.steps {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  background: var(--rust);
  width: 1.7rem;
  height: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  border-radius: 50%;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.steps h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  font-family: var(--serif);
}
.steps p { margin: 0; color: var(--ink-soft); }

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
}

/* Cards */
.cards {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
a.card:hover { color: inherit; border-color: var(--tan-dark, #a8906c); }
a.card:hover .card-body h3 { color: var(--rust); }
.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}
.card-body p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

@media (min-width: 700px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Featured job */
.feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.feature img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.feature ul {
  margin: 0.75rem 0 1.25rem;
  padding: 0 0 0 1.15rem;
}
.feature li { margin: 0.25rem 0; }
@media (min-width: 800px) {
  .feature { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
  .feature.reverse { grid-template-columns: 0.9fr 1.1fr; }
  .feature.reverse .feature-copy { order: -1; }
}

/* CTA band */
.cta-band .wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cta-band p { margin: 0.4rem 0 0; max-width: 38rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
@media (min-width: 800px) {
  .cta-band .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* States / service area */
.states {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.states li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}
.states span {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
@media (min-width: 700px) {
  .states { grid-template-columns: repeat(4, 1fr); }
}

/* Service entries */
.service {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}
.service:first-of-type { border-top: 0; }
.service h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  margin: 0 0 0.5rem;
}
.service p { margin: 0 0 0.8rem; }
.service p:last-child { margin-bottom: 0; }
@media (min-width: 800px) {
  .service {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.25rem;
    align-items: center;
    padding: 2.4rem 0;
  }
  .service .service-copy { max-width: 36rem; }
  .service img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    box-shadow: var(--shadow);
  }
}

.note {
  background: var(--bg-alt);
  border-left: 4px solid var(--rust);
  padding: 0.95rem 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1rem 0 0;
}
.note p { margin: 0; }

/* Gallery */
.gallery-note {
  max-width: 42rem;
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
}
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery a {
  display: block;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.gallery a:hover { color: inherit; }
.gallery a:hover img { transform: scale(1.03); }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery figcaption {
  padding: 0.75rem 0.9rem 0.95rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.gallery figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 56rem);
  width: 100%;
}
.lightbox::backdrop { background: rgba(26, 22, 19, 0.88); }
.lightbox-inner {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #140f0c;
}
.lightbox figcaption { padding: 0.85rem 3.2rem 1rem 1rem; }
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 22, 19, 0.75);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1rem;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: var(--shadow);
}
.contact-card h2 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.contact-card .big-phone {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  text-decoration: none;
  color: var(--rust);
  display: inline-block;
  letter-spacing: -0.02em;
}
.contact-card .big-phone:hover { color: var(--rust-dark); }
@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: #d7cfc4;
  padding: 2.75rem 0 5.5rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}
.site-footer p { margin: 0 0 0.4rem; }
.site-footer a { color: var(--tan); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tan);
  margin: 0 0 0.55rem !important;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.25rem 0; }
.footer-legal {
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201, 176, 138, 0.25);
  font-size: 0.88rem;
  color: #b8b0a6;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-footer { padding-bottom: 2.75rem; }
}

/* Sticky mobile call bar */
.sticky-call {
  display: none;
}
@media (max-width: 699px) {
  .sticky-call {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    height: var(--sticky-h);
    background: var(--rust);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 -4px 18px rgba(26, 22, 19, 0.25);
  }
  .sticky-call:hover { color: var(--white); background: var(--rust-dark); }
  body:has(.site-header.nav-open) .sticky-call { display: none; }
}

/* 404 */
.page-404 { min-height: 55vh; display: flex; align-items: center; padding: 3rem 0; }
.page-404 h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

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

@media print {
  .site-header, .sticky-call, .nav-toggle { display: none !important; }
  body { padding-bottom: 0; background: #fff; color: #000; }
  a { color: inherit; }
}


@media (max-width: 699px) {
  .hero-copy { padding: 1.5rem 0 calc(1.5rem + var(--sticky-h)); }
  .hero .lead { margin-bottom: 0.85rem; font-size: 1rem; }
  .hero-actions { gap: 0.5rem; }
  .hero-actions .btn-lg { padding: 0.75rem 1.15rem; }
}
