/* Carolina Striping & Sealcoating — mobile-first styles */

:root {
  --black: #0c0c0d;
  --asphalt: #161618;
  --asphalt-2: #222226;
  --charcoal: #2e2e33;
  --gold: #dcd04d;
  --gold-bright: #faed5f;
  --gold-deep: #79722a;
  --line: #dcd04d;
  --paper: #f3f0e8;
  --paper-2: #e7e2d4;
  --ink: #1a1a1c;
  --ink-soft: #3c3c42;
  --muted: #5c5c64;
  --white: #faf9f6;
  --focus: #79722a;
  --header-bg: #f3f0e8;
  --font-display: "Oswald", "Liberation Sans Narrow", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Liberation Sans", "Segoe UI", Arial, sans-serif;
  --max: 70rem;
  --pad: 1.25rem;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --header-h: 4.75rem;
  --callbar-h: 3.5rem;
  --shadow: 0 0.5rem 1.5rem rgba(12, 12, 13, 0.12);
  --ease: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
    font-size: 1.125rem;
  }
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:hover {
  color: var(--gold-deep);
}

:focus {
  outline: none;
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 200;
  background: var(--black);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--white);
}

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

.section {
  padding: 3.25rem 0;
}

@media (min-width: 768px) {
  :root {
    --pad: 1.75rem;
    --header-h: 5.25rem;
  }
  .section {
    padding: 4.5rem 0;
  }
}

.section-dark {
  background: var(--asphalt);
  color: var(--paper);
}

.section-dark a:hover {
  color: var(--gold-bright);
}

.section-alt {
  background: var(--paper-2);
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.section-dark .eyebrow {
  color: var(--gold);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.section-dark .section-lead {
  color: #c8c4b8;
}

.paint-line {
  display: block;
  width: 3rem;
  height: 4px;
  margin: 0 0 1.25rem;
  background: var(--gold);
  border-radius: 1px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
    transform var(--ease);
}

.btn:hover {
  color: inherit;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 1px 0 rgba(12, 12, 13, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.4rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 9.75rem;
  height: auto;
}

@media (min-width: 768px) {
  .logo img {
    width: 11.75rem;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.site-nav {
  display: none;
}

@media (max-width: 899px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--header-bg);
    border-bottom: 4px solid var(--gold);
    padding: 0.5rem 0 1.25rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0.25rem var(--pad) 0.5rem;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.4rem 0.15rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--paper-2);
    color: var(--ink);
  }

  .site-nav a:hover {
    color: var(--gold-deep);
  }

  .header-call {
    display: none;
  }
}

@media (min-width: 900px) {
  .site-nav {
    display: block;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.15rem 1.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-nav a {
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--ink);
    border-bottom-color: var(--gold);
  }

  .header-call {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 2.6rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  /* rem is the fallback; svh must come last so it actually applies. */
  min-height: 28rem;
  min-height: calc(100vh - var(--header-h) - var(--callbar-h) - env(safe-area-inset-bottom, 0px));
  min-height: calc(100svh - var(--header-h) - var(--callbar-h) - env(safe-area-inset-bottom, 0px));
  color: var(--white);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    min-height: 36rem;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    align-items: center;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 12, 13, 0.35) 0%, rgba(12, 12, 13, 0.55) 40%, rgba(12, 12, 13, 0.82) 100%),
    linear-gradient(90deg, rgba(12, 12, 13, 0.45) 0%, rgba(12, 12, 13, 0.15) 60%, rgba(12, 12, 13, 0.25) 100%);
}

@media (min-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(100deg, rgba(12, 12, 13, 0.78) 0%, rgba(12, 12, 13, 0.45) 42%, rgba(12, 12, 13, 0.28) 100%),
      linear-gradient(180deg, rgba(12, 12, 13, 0.15), rgba(12, 12, 13, 0.45));
  }
}

.hero-content {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
  padding: 2.25rem 0 2.25rem;
  max-width: 44rem;
  margin-left: max((100% - min(100% - 2 * var(--pad), var(--max))) / 2, var(--pad));
}

.hero-content .eyebrow {
  color: var(--gold);
}

@media (min-width: 768px) {
  .hero-content {
    padding: 3rem 0 2.5rem;
  }
}

.hero h1 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 5.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: var(--white);
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: #e8e4d8;
  max-width: 34rem;
}

/* ----- Service cards ----- */
.service-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .service-card {
    grid-column: span 2;
  }
  .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 12, 13, 0.06);
}

.service-card .media {
  aspect-ratio: 16 / 10;
  background: var(--asphalt);
  overflow: hidden;
}

.service-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card.seal .media img {
  object-position: center 70%;
}

.service-card.stripe .media img {
  object-position: center 62%;
}

.service-card.crack .media img {
  object-position: center 80%;
}

.service-card.stops .media img {
  object-position: center 45%;
}

.service-card .body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.media-illustration {
  width: 100%;
  height: 100%;
  display: block;
}

/* ----- Why us / audience ----- */
.points {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .points {
    grid-template-columns: 1fr 1fr;
  }
}

.point {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.section-dark .point {
  background: var(--asphalt-2);
  box-shadow: none;
  border-color: var(--gold);
}

.point h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.point p {
  margin: 0;
  color: var(--ink-soft);
}

.section-dark .point p {
  color: #c8c4b8;
}

.audience {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 800px) {
  .audience {
    grid-template-columns: repeat(5, 1fr);
  }
}

.audience li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 0.9rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.audience svg {
  width: 2rem;
  height: 2rem;
  color: var(--gold-deep);
}

@media (max-width: 799px) {
  .audience li:last-child {
    grid-column: 1 / -1;
  }
}

.area-card {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .area-card {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.area-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: var(--shadow);
}

.area-box h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

.area-box address {
  font-style: normal;
  margin: 0 0 0.75rem;
}

.area-box address:last-child {
  margin-bottom: 0;
}

.area-box a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.area-box a:hover,
.area-box a:focus-visible {
  text-decoration: underline;
  color: var(--gold-deep);
}

.area-box a[href^="tel"] {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.25rem;
}

.area-box a[href^="tel"]:hover {
  color: var(--gold-deep);
}

/* ----- Before / after ----- */
.ba-list {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .ba-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.ba-figure {
  margin: 0;
}

.ba {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--asphalt);
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  box-shadow: var(--shadow);
}

.ba picture {
  position: absolute;
  inset: 0;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  display: block;
}

.ba-before {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 44px;
  transform: translateX(-50%);
  z-index: 2;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: ew-resize;
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(12, 12, 13, 0.25);
}

.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  transform: translate(-50%, -50%);
  background:
    var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath fill='%230c0c0d' d='M14 12 L6 20 L14 28 M26 12 L34 20 L26 28' stroke='%230c0c0d' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 1.5rem no-repeat;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(12, 12, 13, 0.35);
}

.ba-label {
  position: absolute;
  top: 0.7rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  background: rgba(12, 12, 13, 0.72);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.2rem;
  pointer-events: none;
}

.ba-label-before {
  left: 0.7rem;
}

.ba-label-after {
  right: 0.7rem;
}

.ba-hint {
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.2rem 0.55rem;
  background: rgba(12, 12, 13, 0.6);
  color: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  border-radius: 0.2rem;
  pointer-events: none;
  white-space: nowrap;
}

.ba.is-dragging .ba-hint,
@media (pointer: fine) {
  .ba:hover .ba-hint {
    opacity: 0;
  }
}

.ba-figure figcaption {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ----- Recent work ----- */
.gallery {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.shot {
  margin: 0;
}

.shot a,
.shot .frame {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--asphalt);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot.striping img {
  object-position: center 62%;
}

.shot.stops img {
  object-position: center 45%;
}

.shot figcaption {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.work-intro {
  /* used when recent work is a subsection */
}

.subsection-title {
  margin: 2.75rem 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

/* ----- Form ----- */
.estimate-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .estimate-grid {
    grid-template-columns: 0.9fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.estimate-copy p {
  color: #c8c4b8;
}

.estimate-copy a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.estimate-copy a:hover {
  color: var(--gold-bright);
}

.phone-lg {
  display: inline-block;
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
}

.phone-lg:hover {
  color: var(--gold-bright);
}

.contact-phones {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.contact-phones li {
  margin: 0 0 0.35rem;
}

.contact-phones a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.estimate-copy .contact-phones a {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
}

.estimate-copy .contact-phones a:hover,
.estimate-copy .contact-phones a:focus-visible {
  color: var(--gold-bright);
}

.about-text .contact-phones {
  margin-top: 1.1rem;
}

.about-text .contact-phones a,
.area-box .contact-phones a {
  color: inherit;
  font-weight: 700;
}

.about-text .contact-phones a:hover,
.about-text .contact-phones a:focus-visible,
.area-box .contact-phones a:hover,
.area-box .contact-phones a:focus-visible {
  color: var(--gold);
}

.footer-phones {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
}

.footer-phones li {
  margin: 0.2rem 0;
}

.footer-phones a {
  overflow-wrap: anywhere;
}


.estimate-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.4rem;
  box-shadow: var(--shadow);
}

@media (min-width: 600px) {
  .estimate-form {
    padding: 1.6rem 1.5rem 1.7rem;
  }
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .span-2 {
    grid-column: 1 / -1;
  }
}

label,
.legend {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c9c4b6;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem; /* prevent mobile zoom */
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold-deep);
}

.checks {
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  border: 0;
}

@media (min-width: 500px) {
  .checks {
    grid-template-columns: 1fr 1fr;
  }
}

.checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  min-height: 2.5rem;
  margin: 0;
  cursor: pointer;
}

.checks input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--gold-deep);
  flex: 0 0 auto;
}

#estimate-submit {
  margin-top: 0.4rem;
}

#estimate-submit .btn {
  width: 100%;
}

.form-privacy {
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

@media (min-width: 600px) {
  #estimate-submit .btn {
    width: auto;
  }
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.form-note .form-call-links,
.form-status .form-call-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  margin: 0.35rem 0 0;
}

.form-note .form-call-links a,
.form-status .form-call-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.form-note .form-call-links a:hover,
.form-status .form-call-links a:hover,
.form-note .form-call-links a:focus-visible,
.form-status .form-call-links a:focus-visible {
  color: var(--gold-deep);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--paper);
  color: var(--ink-soft);
  padding: 2.5rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 4px solid var(--gold);
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.footer-logo {
  display: inline-block;
  line-height: 0;
}

.footer-brand img {
  display: block;
  width: 11.5rem;
  height: auto;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.site-footer h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.site-footer address {
  font-style: normal;
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-deep);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: inline-block;
  padding: 0.25rem 0;
}

.copyright {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--paper-2);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ----- Sticky mobile call bar ----- */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 -4px 16px rgba(12, 12, 13, 0.18);
}

.call-bar:hover,
.call-bar:focus-visible {
  color: var(--black);
  background: var(--gold-bright);
}

.call-bar svg {
  width: 1.2rem;
  height: 1.2rem;
}

@media (min-width: 768px) {
  .call-bar {
    display: none;
  }
}

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

/* ----- Towns ----- */
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.towns li {
  background: var(--paper-2);
  border: 1px solid #d4cfc0;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ----- FAQ ----- */
.faq-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.faq-list details {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid #d4cfc0;
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  padding: 0.95rem 2.75rem 0.95rem 1.1rem;
  position: relative;
  min-height: 3rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--ease);
}

.faq-list details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.hero-tag {
  display: inline-block;
  margin: 0 0 1.15rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0.2rem;
}

.about-text {
  max-width: 40rem;
  font-size: 1.125rem;
}

.about-text p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}


/* ----- Why sealcoat / how a job goes ----- */
.why {
  margin-top: 2.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid #d4cfc0;
}

.why-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}

@media (min-width: 620px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .why-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.why-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #d4cfc0;
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.95rem 1rem;
}

.why-card .icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  color: var(--gold-deep);
  margin-top: 0.1rem;
}

.why-card h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.why-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.45;
}

.why-also {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

@media (min-width: 700px) {
  .why-also {
    grid-template-columns: 1fr 1fr;
  }
}

.why-also article {
  background: var(--paper-2);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
  padding: 0.95rem 1.05rem;
}

.why-also h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}

.why-also p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.steps-block {
  margin-top: 2.5rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.steps li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 12, 13, 0.06);
  counter-increment: step;
}

.steps li h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.steps li h3::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}

.steps li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.optional {
  font-weight: 500;
  color: var(--muted);
}


/* ----- Service galleries ----- */
.gallery-block {
  margin-top: 2.75rem;
}

.gallery-block h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: 0.01em;
}

.gallery-desc {
  margin: 0 0 1.15rem;
  max-width: 44rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.photo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .photo-grid--single {
    grid-template-columns: minmax(0, 22rem);
  }
}

.photo-grid .frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--asphalt);
  box-shadow: var(--shadow);
}

.photo-grid img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.photo-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.photo-link:focus-visible .frame {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
}


.photo-grid figcaption {
  margin: 0.45rem 0 0;
  padding: 0 0.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.4;
}

.photo-grid.is-collapsed > figure:nth-child(n + 7) {
  display: none;
}

.gallery-more {
  margin-top: 1rem;
  background: transparent;
  color: var(--ink);
  border-color: var(--gold-deep);
}

.gallery-more:hover,
.gallery-more:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Lightbox */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  width: 100%;
  height: 100vh; /* fallback when dvh/svh is not supported */
  max-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  height: 100svh;
  max-height: 100svh;
  box-sizing: border-box;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 13, 0.88);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 0.75rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  outline: none;
}

.lightbox-figure {
  margin: 0;
  width: 100%;
  max-width: min(92vw, 72rem);
  max-height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  min-height: 0;
  flex: 0 1 auto;
  object-fit: contain;
  background: var(--asphalt);
  border-radius: 0.35rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.45);
  max-height: calc(100vh - 16rem);
  max-height: calc(100dvh - 16rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  max-height: calc(100svh - 16rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
}

.lightbox-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0.75rem 0 0;
  flex: 0 0 auto;
}

.lightbox-caption {
  margin: 0.65rem 0 0;
  color: #e8e4d8;
  font-size: 0.95rem;
  text-align: center;
  max-width: 42rem;
  flex: 0 0 auto;
  padding: 0 0.35rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border: 2px solid var(--gold);
  border-radius: 0.35rem;
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: var(--gold);
  color: var(--black);
}

.lightbox-close {
  top: calc(0.85rem + env(safe-area-inset-top, 0px));
  right: calc(0.85rem + env(safe-area-inset-right, 0px));
}

.lightbox-prev,
.lightbox-next {
  position: static;
  transform: none;
}

.lightbox-prev[hidden],
.lightbox-next[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .call-bar-pair,
body.lightbox-open .back-to-top {
  display: none !important;
}

@media (min-width: 700px) {
  .lightbox-controls {
    margin: 0;
    width: auto;
    height: 0;
    overflow: visible;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-prev {
    left: max(0.6rem, env(safe-area-inset-left, 0px));
  }

  .lightbox-next {
    right: max(0.6rem, env(safe-area-inset-right, 0px));
  }

  .lightbox-caption {
    padding: 0;
  }
}

.gallery-block.no-photos {
  background: var(--white);
  border: 1px solid #d4cfc0;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem 1.3rem;
}

.gallery-block.no-photos .gallery-desc {
  margin-bottom: 0;
}


/* ----- Visual updates (2026-11-30) ----- */

/* Brighter, cleaner gold for fills (header stripe, buttons, paint lines).
   gold-deep is darkened in the polish block at the end for 4.5:1 contrast. */
:root {
  --gold: #ead83c;
  --gold-bright: #f6e85a;
  --line: #ead83c;
}

/* Hero: slightly lighter overlay so the lot photo shows more; solid gold tag. */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(12, 12, 13, 0.28) 0%, rgba(12, 12, 13, 0.46) 40%, rgba(12, 12, 13, 0.76) 100%),
    linear-gradient(90deg, rgba(12, 12, 13, 0.38) 0%, rgba(12, 12, 13, 0.12) 60%, rgba(12, 12, 13, 0.20) 100%);
}

@media (min-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(100deg, rgba(12, 12, 13, 0.66) 0%, rgba(12, 12, 13, 0.36) 42%, rgba(12, 12, 13, 0.20) 100%),
      linear-gradient(180deg, rgba(12, 12, 13, 0.10), rgba(12, 12, 13, 0.38));
  }
}

.hero p.hero-tag {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  font-weight: 600;
  text-shadow: none;
}

.hero h1 {
  text-shadow: 0 2px 16px rgba(12, 12, 13, 0.45);
}

.hero p {
  text-shadow: 0 1px 10px rgba(12, 12, 13, 0.4);
}

/* Stronger paint-line (more like a parking stripe) and slightly heavier titles. */
.paint-line {
  width: 4.5rem;
  height: 6px;
}

.section-title,
.gallery-block h3,
.subsection-title {
  font-weight: 700;
}

/* Buttons and cards: a bit more presence, gold accents. */
.btn-gold {
  box-shadow: 0 0.3rem 0.8rem rgba(12, 12, 13, 0.22);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(234, 216, 60, 0.12);
}

.why-card,
.steps li {
  border-left: 4px solid var(--gold);
}

.photo-grid .frame {
  border-bottom: 4px solid var(--gold);
  box-shadow: 0 0.65rem 1.7rem rgba(12, 12, 13, 0.16);
}

/* Phone: two-across with a tighter gap. 4:3 thumb crop is applied
   for all widths in the polish block at the end of this file. */
@media (max-width: 699px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .photo-grid figure {
    margin: 0;
  }
  .photo-grid .photo-link,
  .photo-grid .frame,
  .photo-grid picture {
    width: 100%;
    display: block;
  }
  .photo-grid .frame {
    aspect-ratio: 4 / 3;
  }
  .photo-grid picture {
    height: 100%;
  }
  .photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}


/* ----- Call menus (header + hero) and split phone call bar (preview option C) ----- */
.call-menu {
  position: relative;
}

.call-menu > summary {
  list-style: none;
  cursor: pointer;
}

.call-menu > summary::-webkit-details-marker,
.call-menu > summary::marker {
  display: none;
  content: "";
}

.call-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 120;
  min-width: 17.5rem;
  padding: 0.3rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(12, 12, 13, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.call-menu-panel a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.25rem;
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}

.call-menu-panel a:hover,
.call-menu-panel a:focus-visible {
  background: var(--gold);
  color: var(--black);
}

/* Show the header Call control on phones, next to the menu button */
@media (max-width: 899px) {
  .header-call {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .header-call > summary.btn {
    min-height: 2.5rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
  }

  .nav-toggle {
    order: 3;
  }

  .logo {
    order: 1;
  }
}

@media (min-width: 900px) {
  .header-call {
    display: block;
    flex: 0 0 auto;
  }

  .header-call > summary.btn {
    min-height: 2.6rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
  }
}

/* Hero Call Now menu: open upward so it stays inside the hero
   (which uses overflow: hidden and isolation) and never sits under
   or against the sticky phone call bar. */
.call-menu-hero {
  display: inline-flex;
  position: relative;
}

.call-menu-hero .call-menu-panel {
  left: 0;
  right: auto;
  top: auto;
  bottom: calc(100% + 0.4rem);
}

@media (max-width: 767px) {
  .call-menu-hero .call-menu-panel {
    left: auto;
    right: 0;
    max-width: calc(100vw - 2 * var(--pad));
  }
}

/* Bottom call bar: two equal tap targets (phones only) */
.call-bar-pair {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  box-shadow: 0 -4px 16px rgba(12, 12, 13, 0.18);
}

.call-bar-pair .call-bar {
  position: static;
  flex: 1 1 50%;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  flex-direction: column;
  gap: 0.1rem;
  min-height: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
  box-shadow: none;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.call-bar-pair .call-bar + .call-bar {
  border-left: 1px solid rgba(12, 12, 13, 0.18);
}

.call-bar-pair .call-name,
.call-bar-pair .call-num {
  display: block;
}

.call-bar-pair .call-num {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 700;
}

.call-bar-pair .call-bar svg {
  display: none;
}

@media (min-width: 768px) {
  .call-bar-pair {
    display: none;
  }
}


/* ----- Calmer gold (preview): yellow is rare; estimate buttons stay solid gold ----- */

/* Phones: header scrolls away. Desktop stays sticky, with a thin line instead of a thick gold bar. */
@media (max-width: 899px) {
  .site-header {
    position: relative;
    border-bottom: 1px solid var(--gold);
    box-shadow: none;
  }

  .site-nav {
    border-bottom: 1px solid var(--gold);
  }
}

@media (min-width: 900px) {
  .site-header {
    border-bottom: 1px solid var(--gold);
    box-shadow: 0 1px 0 rgba(12, 12, 13, 0.04);
  }
}

/* Hero tag: gold text and a thin line, no yellow box. */
.hero p.hero-tag {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  margin: 0 0 0.85rem;
  padding: 0 0 0.4rem;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(12, 12, 13, 0.45);
}

/* Shorter, thinner section underlines. */
.paint-line {
  width: 2.5rem;
  height: 2px;
}

/* Cards and photo frames: drop the thick gold edges. */
.point {
  border-top: 0;
}

.why-card,
.steps li,
.why-also article {
  border-left: 0;
}

.photo-grid .frame {
  border-bottom: 0;
}

.gallery-block.no-photos {
  border-left: 1px solid #d4cfc0;
}

/* Show-more: no solid yellow fill on hover. */
.gallery-more:hover,
.gallery-more:focus-visible {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
}

/* Footer: thin line instead of a thick gold bar. */
.site-footer {
  border-top: 1px solid var(--gold);
}

/* Bottom call bar: dark, with gold names and light numbers. */
.call-bar-pair {
  background: var(--asphalt);
  box-shadow: 0 -6px 18px rgba(12, 12, 13, 0.28);
  border-top: 1px solid var(--gold);
}

.call-bar-pair .call-bar,
.call-bar-pair .call-bar:hover,
.call-bar-pair .call-bar:focus-visible {
  background: transparent;
  color: #f0ebe0;
}

.call-bar-pair .call-bar:hover,
.call-bar-pair .call-bar:focus-visible {
  background: #1c1c20;
  color: #f0ebe0;
}

.call-bar-pair .call-name {
  color: var(--gold);
  font-weight: 700;
}

.call-bar-pair .call-num {
  color: #f0ebe0;
  font-weight: 600;
}

.call-bar-pair .call-bar + .call-bar {
  border-left: 1px solid rgba(234, 216, 60, 0.28);
}

/* A little extra room so the last footer lines sit above the bar. */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--callbar-h) + 0.75rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ----- Quiet logo placements (preview): About sign-off and estimate form ----- */
.spot-logo {
  line-height: 0;
}

.spot-logo picture,
.spot-logo img {
  display: block;
  width: 8.5rem;
  height: auto;
}

@media (min-width: 768px) {
  .spot-logo picture,
  .spot-logo img {
    width: 9.25rem;
  }
}

.about-text .spot-logo {
  margin-top: 1.2rem;
}

.about-text > p:last-of-type {
  margin-bottom: 0;
}

.estimate-form .spot-logo {
  margin: 0 0 1.1rem;
}

/* ----- Nav helpers (preview): back to top, active nav, section landing ----- */
#services,
#about,
#service-area,
#why-sealcoat,
#equipment,
#estimate {
  scroll-margin-top: 0.5rem;
}

@media (min-width: 900px) {
  #services,
  #about,
  #service-area,
  #why-sealcoat,
  #equipment,
  #estimate {
    /* Header is sticky on desktop; leave a little room so the title sits fully below it. */
    scroll-margin-top: 7.25rem;
  }
}

.site-nav a.is-active,
.site-nav a[aria-current="location"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

@media (max-width: 899px) {
  .site-nav a.is-active,
  .site-nav a[aria-current="location"] {
    color: var(--gold-deep);
    border-bottom-color: var(--gold);
  }
}

.back-to-top {
  position: fixed;
  right: 0.85rem;
  bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px) + 1.15rem);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(234, 216, 60, 0.4);
  border-radius: 50%;
  background: var(--asphalt);
  color: var(--gold);
  box-shadow: 0 0.15rem 0.55rem rgba(12, 12, 13, 0.3);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.15rem);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background 0.15s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.back-to-top svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: #1c1c20;
  color: var(--gold-bright);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .back-to-top {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
    transform: none;
  }
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.estimate-form {
  position: relative;
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
}

.form-status[hidden] {
  display: none;
}

.form-grid[hidden],
#estimate-submit[hidden],
.form-note[hidden] {
  display: none !important;
}

.form-status a {
  white-space: nowrap;
}

.form-status.is-success {
  color: var(--ink);
}

.form-status.is-error {
  color: var(--ink);
  font-weight: 600;
}

.form-status .form-call-links {
  margin-top: 0.5rem;
}


/* Quiet note under the Services heading, once, before the first work photos */
.photo-source {
  margin: -0.35rem 0 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
}

.photo-source + .gallery-block {
  margin-top: 2rem;
}


/* Smaller muted insurance note under the estimate form */
.form-insured {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
}

/* ----- Polish (2026-12-01) ----- */

/* Darker eyebrow/label color so small gold-brown text meets WCAG AA
   (at least 4.5:1) on both --paper and --paper-2. Same olive, no new yellow. */
:root {
  --gold-deep: #6b6524;
}

/* Even gallery thumbs on desktop: same 4:3 cover crop phones already use.
   The lightbox loads the full photo via the link href, not these thumbs. */
.photo-grid .photo-link,
.photo-grid .frame,
.photo-grid picture {
  width: 100%;
  display: block;
}

.photo-grid .frame {
  aspect-ratio: 4 / 3;
}

.photo-grid picture {
  height: 100%;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Keep signs and faces in frame when the 4:3 crop would cut them. */
.photo-grid figure.focal-top img {
  object-position: center top;
}

.photo-grid figure.focal-upper img {
  object-position: center 22%;
}

/* ----- Hero-up (2026-12-01) ----- */
/* Lift the copy so more of the sealed lot shows below and around it,
   and shift the photo crop toward the pavement instead of the tree line. */

.hero {
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hero {
    align-items: flex-start;
  }
}

.hero-bg img {
  object-position: center 82%;
}

.hero-content {
  padding-top: clamp(1.5rem, 7vh, 3.5rem);
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding-top: clamp(2rem, 8vh, 4rem);
    padding-bottom: 2rem;
  }
}

/* Darken behind the raised text; keep the lower lot clearer. */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(12, 12, 13, 0.50) 0%, rgba(12, 12, 13, 0.55) 32%, rgba(12, 12, 13, 0.32) 62%, rgba(12, 12, 13, 0.18) 100%),
    linear-gradient(90deg, rgba(12, 12, 13, 0.40) 0%, rgba(12, 12, 13, 0.12) 65%, rgba(12, 12, 13, 0.16) 100%);
}

@media (min-width: 768px) {
  .hero-overlay {
    background:
      linear-gradient(100deg, rgba(12, 12, 13, 0.62) 0%, rgba(12, 12, 13, 0.32) 42%, rgba(12, 12, 13, 0.12) 100%),
      linear-gradient(180deg, rgba(12, 12, 13, 0.22) 0%, rgba(12, 12, 13, 0.10) 55%, rgba(12, 12, 13, 0.08) 100%);
  }
}

/* Estimate-form insurance line: a quiet notice, not a button. */
.form-insured {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 1.05rem 0 0;
  width: 100%;
  max-width: none;
  padding: 0.7rem 0.85rem;
  background: var(--paper-2);
  border: 1px solid #d4cfc0;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (min-width: 700px) {
  .form-insured {
    align-items: center;
  }
}

.form-insured-icon {
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.12rem;
  color: var(--gold-deep);
}

/* ----- Hero-peek (2026-12-01) ----- */
/* Keep the raised copy and lot-focused crop. Shorten the hero so
   the "What we do" heading peeks on the first screen, above the
   phone call bar. */

:root {
  --hero-peek: 9.5rem;
}

.hero {
  min-height: 24rem;
  min-height: calc(100vh - var(--header-h) - var(--callbar-h) - env(safe-area-inset-bottom, 0px) - var(--hero-peek));
  min-height: calc(100svh - var(--header-h) - var(--callbar-h) - env(safe-area-inset-bottom, 0px) - var(--hero-peek));
}

@media (min-width: 768px) {
  .hero {
    min-height: 32rem;
    min-height: calc(100vh - var(--header-h) - var(--hero-peek));
    min-height: calc(100svh - var(--header-h) - var(--hero-peek));
  }
}

/* ----- Photoline B (2026-12-01) ----- */
/* Slim trust strip between the hero and What we do. Not a button. */

.photo-strip {
  background: var(--paper-2);
  border-top: 1px solid #d4cfc0;
  border-bottom: 1px solid #d4cfc0;
}

.photo-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 0;
}

.photo-strip-inner p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.photo-strip-icon {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--gold-deep);
}

/* The strip already separates the hero, so less top padding is needed
   and the What we do heading can still peek on the first screen. */
.photo-strip + #services {
  padding-top: 2.25rem;
}

@media (min-width: 768px) {
  .photo-strip + #services {
    padding-top: 2.5rem;
  }
}

/* About section: insurance line in the same shield box as the estimate form. */
.about-text p.form-insured {
  margin: 1.05rem 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  background: var(--paper);
}

/* About section: company name line in the heading font. */
.about-text p.about-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 1.2rem 0 0;
}

/* Estimate section contact block: one box per person, easy-to-tap rows. */
.estimate-copy .contact-phones li {
  margin: 0 0 0.8rem;
  padding: 0.8rem 0.9rem 0.6rem;
  background: #26262a;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.estimate-copy .contact-phones a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  margin-top: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.estimate-copy .contact-phones a + a {
  border-top: 1px solid #3a3a40;
}

.estimate-copy .contact-phones a:hover,
.estimate-copy .contact-phones a:focus-visible {
  color: var(--gold-bright);
}

/* Split service descriptions: tighter space between their short paragraphs. */
.gallery-block .gallery-desc + .gallery-desc { margin-top: -0.45rem; }
