/* Alabama Prestige Gutters — original site styles */
:root {
  --navy: #0b1f3a;
  --navy-deep: #071526;
  --navy-mid: #16325a;
  --navy-soft: #1e3a5f;
  --copper: #b87333;
  --copper-light: #da8a67;
  --copper-bright: #e8b48a;
  --copper-dark: #8c4a2f;
  --copper-ink: #5c2e1a;
  /* Logo red / silver, used for UI accents so they sit with the mark */
  --red: #9b2422;
  --red-light: #c4453c;
  --red-bright: #e07a72;
  --red-dark: #6e1614;
  --silver: #d4d0c8;
  --cream: #f6f1ea;
  --cream-dark: #e8dfd3;
  --paper: #fffdf9;
  --ink: #1c1917;
  --muted: #5c564e;
  --line: rgba(11, 31, 58, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(7, 21, 38, 0.16);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 7.25rem;
  --gutter-h: 7.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
:focus-visible {
  outline: 3px solid var(--red-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--red);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 200;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus { top: 1rem; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.97);
  color: var(--cream);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  height: 96px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.brand-tag {
  font-size: 0.78rem;
  color: var(--silver);
  letter-spacing: 0.02em;
  max-width: 9.5rem;
  line-height: 1.25;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--red-bright); }
.header-phone, .header-email {
  white-space: nowrap;
  color: var(--red-bright) !important;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(246, 241, 234, 0.35);
  color: var(--cream);
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  background: #0a0a0a;
  color: var(--cream);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 1.75rem;
}
.hero-kicker {
  display: inline-block;
  color: var(--red-bright);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.hero-title {
  margin: 0 0 0.85rem;
}
.hero-logo {
  width: min(320px, 72vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  line-height: 1.05;
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  color: var(--cream-dark);
}

/* Copper half-round gutter + streaming motto */
.copper-gutter {
  position: relative;
  z-index: 3;
  width: 100%;
  height: var(--gutter-h);
  margin-top: 0.5rem;
  overflow: hidden;
  isolation: isolate;
}
.gutter-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.gutter-hangers {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background-image: url("hanger.svg");
  background-repeat: repeat-x;
  background-size: 170px 100%;
  background-position: 40px 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
}
.gutter-face {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 34%;
  overflow: hidden;
  z-index: 5;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.gutter-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: gutter-stream 22s linear infinite;
  will-change: transform;
}
.gutter-text {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  letter-spacing: 0.16em;
  white-space: nowrap;
  padding: 0 0.4rem;
  color: #4a2416;
  text-shadow:
    0 1px 0 rgba(255, 230, 200, 0.7),
    0 -1px 0 rgba(40, 16, 8, 0.45),
    1px 0 0 rgba(90, 46, 28, 0.25),
    -1px 0 0 rgba(243, 211, 176, 0.2);
}
.gutter-dot {
  display: inline-block;
  padding: 0 1.6rem;
  opacity: 0.85;
}
@keyframes gutter-stream {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* water droplets on the rolled lip */
.droplet {
  position: absolute;
  z-index: 4;
  width: 10px;
  height: 14px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.85), rgba(200, 230, 245, 0.35) 40%, rgba(120, 160, 180, 0.45) 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25), inset 0 -1px 2px rgba(40, 80, 100, 0.3);
  pointer-events: none;
  animation: drip 4.8s ease-in-out infinite;
  opacity: 0.8;
}
.copper-gutter > .droplet:nth-child(3) { left: 22%; top: 18%; animation-delay: 0s; }
.copper-gutter > .droplet:nth-child(4) { left: 51%; top: 16%; width: 8px; height: 11px; animation-delay: 1.6s; }
.copper-gutter > .droplet:nth-child(5) { left: 78%; top: 18%; width: 9px; height: 12px; animation-delay: 2.8s; }
@keyframes drip {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(3px); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
  .gutter-track {
    animation: none;
    width: 100%;
    justify-content: center;
    transform: none;
  }
  .gutter-text[aria-hidden="true"],
  .gutter-text .gutter-extra {
    display: none;
  }
  .droplet { animation: none; }
}

.hero-actions {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1.12rem;
}
.btn-copper {
  background: linear-gradient(180deg, #c4453c 0%, #9b2422 55%, #6e1614 100%);
  color: var(--white);
  border-color: #6e1614;
  box-shadow: 0 8px 20px rgba(110, 22, 20, 0.35);
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.btn-copper:hover {
  color: var(--white);
  filter: brightness(1.08);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 234, 0.55);
}
.btn-ghost:hover {
  background: rgba(246, 241, 234, 0.1);
  color: var(--white);
}

/* ----- Layout ----- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
section {
  padding: 4.5rem 0;
}
.section-kicker {
  color: var(--red);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--navy);
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

/* ----- About ----- */
.about {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.about-card {
  background: var(--navy);
  color: var(--cream);
  padding: 2.25rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
  position: relative;
}
.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light), var(--red-dark));
}
.about-card h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  margin: 0 0 0.4rem;
  color: var(--white);
}
.about-card p { margin: 0 0 0.8rem; color: var(--cream-dark); }
.about-card p:last-child { margin-bottom: 0; }
.motto-script {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--red-bright);
  line-height: 1.4;
}

/* ----- Services ----- */
.services { background: var(--cream); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.service-card {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(7, 21, 38, 0.08);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--cream-dark);
}
.service-card .body { padding: 1rem 1.05rem 1.2rem; }
.service-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ----- Gallery ----- */
.gallery { background: var(--navy-deep); color: var(--cream); }
.gallery h2 { color: var(--white); }
.gallery .section-kicker { color: var(--red-bright); }
.gallery .lede { color: rgba(246, 241, 234, 0.75); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}
.gallery-filters[hidden] { display: none; }
.filter-btn {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 241, 234, 0.3);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--copper-bright); color: var(--copper-bright); }
.filter-btn.is-active { background: var(--copper); border-color: var(--copper); color: #fff; }
.filter-btn:focus-visible { outline: 2px solid var(--copper-bright); outline-offset: 2px; }
.gallery-group + .gallery-group { margin-top: 2.25rem; }
.gallery-group[hidden] { display: none; }
.gallery-group-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  margin: 0 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184, 115, 51, 0.45);
}
.gallery-group-title .count {
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--copper-bright);
  margin-left: 0.35rem;
  vertical-align: middle;
}
.gallery-item { margin: 0; }
.gallery-item a { display: block; }
.gallery-item img { display: block; }
.gallery-item a:focus-visible { outline: 2px solid var(--copper-bright); outline-offset: -2px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy);
  min-height: 220px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.75rem;
  background: linear-gradient(transparent, rgba(7, 21, 38, 0.88));
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
  .gallery-item:hover img { transform: none; }
}

/* ----- Why ----- */
.why { background: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.why-card {
  padding: 1.6rem 1.4rem;
  border-top: 3px solid var(--red);
  background: var(--cream);
}
.why-card h3 {
  font-family: var(--serif);
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.3rem;
}
.why-card p { margin: 0; color: var(--muted); }

.banner {
  margin-top: 2.5rem;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 4px;
  position: relative;
}
.banner::before, .banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light), var(--red-dark));
}
.banner::before { top: 0; }
.banner::after { bottom: 0; }
.banner p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  margin: 0;
  color: var(--red-bright);
}

/* ----- Contact ----- */
.contact { background: var(--cream-dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-panel {
  background: var(--navy);
  color: var(--cream);
  padding: 2rem 1.6rem;
  border-radius: 4px;
}
.contact-panel h3 {
  font-family: var(--serif);
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--white);
}
.contact-panel p { margin: 0 0 1rem; color: var(--cream-dark); }
.contact-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.contact-list li { margin: 0 0 0.85rem; }
.contact-list a {
  color: var(--red-bright);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
}
.contact-list a:hover { text-decoration: underline; }
.contact-list span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246,241,234,0.65);
  font-weight: 600;
}
.or-call {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(246,241,234,0.18);
  font-size: 1.05rem;
}
.or-call a { color: var(--red-bright); font-weight: 700; text-decoration: none; }
.or-call a:hover { text-decoration: underline; }

.estimate-form {
  background: var(--paper);
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.estimate-form h3 {
  font-family: var(--serif);
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.5rem;
}
.estimate-form .form-intro {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.field { margin-bottom: 0.9rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid #cfc5b8;
  border-radius: 3px;
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  outline: 2px solid rgba(184, 115, 51, 0.25);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.form-backup {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 2.5rem 0 1.5rem;
  border-top: 3px solid var(--red);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.footer-logo {
  height: 110px;
  width: auto;
  flex-shrink: 0;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
  color: var(--white);
}
.footer-motto {
  margin: 0 0 0.6rem;
  color: var(--silver);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}
.footer-contact a {
  color: var(--cream);
  text-decoration: none;
  display: inline-block;
  margin-right: 1rem;
}
.footer-contact a:hover { color: var(--red-bright); }
.copyright { margin: 0.8rem 0 0; font-size: 0.88rem; color: rgba(246,241,234,0.65); }
.credits {
  font-size: 0.78rem;
  color: rgba(246,241,234,0.55);
  line-height: 1.5;
}
.credits a { color: rgba(218, 138, 103, 0.95); }
.credits details summary { cursor: pointer; color: var(--red-bright); }
.credits ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

/* ----- Thanks page ----- */
.thanks-main {
  min-height: calc(100vh - 14rem);
  display: flex;
  align-items: center;
  background: var(--cream);
}
.thanks-card {
  max-width: 36rem;
  margin: 4rem auto;
  background: var(--paper);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  text-align: center;
}
.thanks-card h1 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0 0 0.75rem;
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contact-grid, .why-grid, .footer-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  :root { --gutter-h: 5.6rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #0a0a0a;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0.75rem;
    border-bottom: 3px solid var(--red);
  }
  .site-nav.is-open { display: flex; }
  .header-inner { position: relative; }
  .hero-content { padding-top: 3.25rem; }
  .hero { min-height: auto; }
  .brand-logo { height: 68px; }
  .brand-tag { display: none; }
  .hero-logo { width: min(250px, 80vw); }
  .hero h1 { font-size: 2rem; }
  .footer-logo { height: 96px; }
  .gutter-text { font-size: 1.05rem; letter-spacing: 0.1em; }
  .form-row { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .gallery-item { min-height: 0; }
  .gallery-item figcaption { font-size: 0.78rem; padding: 1.2rem 0.6rem 0.5rem; }
  .service-card img { height: 210px; }
  .btn-lg { width: 100%; }
  .hero-actions { padding-bottom: 2rem; }
}
