/* ==========================================================================
   CH Enterprizes LLC — site styles
   Palette is drawn from the materials of the work: wet asphalt, road salt,
   olive, and hi-vis marker yellow. Yellow is an accent only, never a field.
   ========================================================================== */

:root {
  /* Color */
  --asphalt:    #21241c;   /* wet pavement — primary dark ground */
  --asphalt-up: #2c3025;   /* raised surface on dark */
  --olive:      #3b4000;   /* existing brand dark */
  --hivis:      #e6ff00;   /* existing brand yellow — accent only */
  --hivis-deep: #b9cc00;   /* yellow that survives on light grounds */
  --salt:       #f5f5f0;   /* primary light ground */
  --salt-up:    #ffffff;
  --concrete:   #babbae;   /* muted text on dark */
  --stone:      #6b6f5f;   /* muted text on light */
  --hairline:   #d8d9cf;
  --hairline-d: #3e4235;

  /* Type */
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "IBM Plex Sans", system-ui, -apple-system, sans-serif;

  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-base: 1.0625rem;
  --t-md:   1.25rem;
  --t-lg:   1.5rem;
  --t-xl:   2rem;
  --t-2xl:  2.75rem;

  /* Space */
  --gap: 1.5rem;
  --pad-block: clamp(3.5rem, 8vw, 6.5rem);
  --maxw: 1200px;
  --readable: 62ch;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--salt);
  color: var(--asphalt);
  font-family: var(--text);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  font-stretch: 88%;
}

p { margin: 0 0 1rem; max-width: var(--readable); }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute; left: -9999px;
  background: var(--hivis); color: var(--olive);
  padding: .75rem 1rem; font-weight: 700; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }

/* ---------- Section grounds ---------- */
.band { padding-block: var(--pad-block); }
.band--dark { background: var(--asphalt); color: var(--salt); }
.band--dark .band__head h2,
.band--dark .band__head h3,
.band--dark .prose h2,
.band--dark .prose h3,
.band--dark > .wrap > h2 { color: var(--salt-up); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.band__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.band__head h2 { font-size: clamp(1.9rem, 4.4vw, var(--t-2xl)); text-transform: uppercase; }
.band__head p { margin-top: .9rem; color: var(--stone); font-size: var(--t-md); }
.band--dark .band__head p { color: var(--concrete); }

/* ---------- Hi-vis rule: the recurring brand device ---------- */
.rule {
  height: 6px; width: 96px; border: 0; margin: 0 0 1.4rem;
  background: var(--hivis);
}
.band--dark .rule { background: var(--hivis); }

/* Diagonal hazard striping — used sparingly, on the booking band only */
.hazard {
  background-color: var(--hivis);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(33,36,28,.14) 0 14px,
    transparent 14px 28px
  );
}

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--asphalt);
  border-bottom: 1px solid var(--hairline-d);
}
.masthead__in {
  display: flex; align-items: center; gap: var(--gap);
  min-height: 70px;
}
.brand {
  font-family: var(--display); font-weight: 800; font-stretch: 84%;
  font-size: 1.3rem; letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--salt-up); text-decoration: none; line-height: 1;
  display: flex; align-items: center; gap: .6rem; margin-right: auto;
}
.brand__mark {
  display: inline-block; width: 11px; height: 30px; background: var(--hivis);
  transform: skewX(-14deg);
}
.brand span { display: block; }
.brand small {
  display: block; font-family: var(--text); font-weight: 500; font-stretch: normal;
  font-size: .625rem; letter-spacing: .13em; color: var(--concrete);
  text-transform: uppercase; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--concrete); text-decoration: none; font-size: var(--t-sm);
  font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--salt-up); }
.nav a[aria-current="page"] { color: var(--salt-up); border-bottom-color: var(--hivis); }

.masthead .btn--call { margin-left: .4rem; }

.burger {
  display: none; background: none; border: 1px solid var(--hairline-d);
  color: var(--salt); padding: .55rem .7rem; cursor: pointer; line-height: 0;
}
.burger svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    display: none; position: absolute; inset: 70px 0 auto; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--asphalt);
    border-bottom: 1px solid var(--hairline-d); padding: .5rem 0 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: .95rem clamp(1.15rem, 4vw, 2.5rem); border-bottom: 1px solid var(--hairline-d);
    font-size: var(--t-md);
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--hairline-d); color: var(--hivis); }
  .masthead .btn--call { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--text); font-weight: 600; font-size: var(--t-sm);
  padding: .85rem 1.4rem; border: 2px solid transparent; border-radius: 3px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--call { background: var(--hivis); color: var(--olive); border-color: var(--hivis); }
.btn--call:hover { background: #f1ff4d; }
.btn--ghost { background: transparent; color: var(--salt); border-color: #575c4a; }
.btn--ghost:hover { border-color: var(--salt); }
.btn--dark { background: var(--asphalt); color: var(--salt); border-color: var(--asphalt); }
.btn--dark:hover { background: var(--olive); border-color: var(--olive); }
.btn--lg { font-size: var(--t-base); padding: 1.05rem 1.8rem; }

/* ---------- Hero ---------- */
.hero { background: var(--asphalt); color: var(--salt); position: relative; overflow: hidden; }
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 {
  font-size: clamp(2.9rem, 9vw, 5.4rem);
  text-transform: uppercase; font-stretch: 82%; letter-spacing: -0.035em;
  color: var(--salt-up);
}
.hero h1 em { font-style: normal; display: block; }
.hero__lede {
  margin-top: 1.5rem; font-size: clamp(1.05rem, 2vw, var(--t-md));
  color: var(--concrete); max-width: 40ch;
}
.hero__acts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__fig { position: relative; }
.hero__fig img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  background: var(--asphalt-up);
}
.hero__stamp {
  position: absolute; left: 0; bottom: 0;
  background: var(--hivis); color: var(--olive);
  font-family: var(--display); font-weight: 800; font-stretch: 86%;
  text-transform: uppercase; font-size: var(--t-sm); letter-spacing: .01em;
  padding: .5rem .85rem;
}
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__fig img { aspect-ratio: 16 / 10; }
  .hero__in { padding-block: 2.5rem 0; }
  .hero__fig { margin-top: 2.5rem !important; }
}

/* ---------- Booking strip ---------- */
.booking { color: var(--olive); }
.booking__in {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem;
  padding-block: .95rem; font-weight: 600; font-size: var(--t-sm);
}
.booking strong {
  font-family: var(--display); font-weight: 800; font-stretch: 86%;
  text-transform: uppercase; font-size: var(--t-base); letter-spacing: -0.01em;
}
.booking a { margin-left: auto; color: var(--olive); font-weight: 700; }

/* ---------- Season band (the organizing device) ---------- */
.seasons {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--hairline); border-right: 0;
  background: var(--salt-up); color: var(--asphalt);
}
.season {
  border-right: 1px solid var(--hairline);
  padding: 1.4rem 1.25rem 1.5rem;
  position: relative;
}
.season__top {
  display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
  margin-bottom: .85rem;
}
.season h3 {
  font-size: var(--t-md); text-transform: uppercase; font-stretch: 86%;
}
.season__months { font-size: var(--t-xs); color: var(--stone); font-variant-numeric: tabular-nums; }
.season ul { list-style: none; margin: 0; padding: 0; }
.season li {
  font-size: var(--t-sm); padding: .3rem 0 .3rem 1rem; position: relative; color: var(--stone);
}
.season li::before {
  content: ""; position: absolute; left: 0; top: .82em;
  width: 7px; height: 2px; background: var(--hivis-deep);
}
.season.is-now { background: var(--asphalt); }
.season.is-now h3 { color: var(--salt-up); }
.season.is-now .season__months, .season.is-now li { color: var(--concrete); }
.season.is-now li::before { background: var(--hivis); }
.season.is-now::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--hivis);
}
.season__now {
  display: none; font-family: var(--text); font-size: .625rem; font-weight: 700;
  letter-spacing: .12em; color: var(--hivis); margin-top: .9rem;
}
.season.is-now .season__now { display: block; }
@media (max-width: 780px) {
  .seasons { grid-template-columns: repeat(2, 1fr); border-bottom: 0; }
  .season { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 430px) { .seasons { grid-template-columns: 1fr; } }

/* ---------- Service list ---------- */
.svc { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.svc--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .svc--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--salt-up); color: var(--asphalt);
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--hairline); }
.card__body { padding: 1.4rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: var(--t-lg); text-transform: uppercase; }
.card__price {
  font-family: var(--text); font-weight: 700; font-size: var(--t-sm);
  color: var(--olive); margin-top: .55rem;
  border-left: 4px solid var(--hivis); padding-left: .6rem;
}
.card p { margin-top: .9rem; color: var(--stone); font-size: var(--t-sm); }
.card__link {
  margin-top: auto; padding-top: 1.2rem; font-weight: 600; font-size: var(--t-sm);
  text-decoration: none; color: var(--asphalt);
  border-bottom: 2px solid var(--hivis); align-self: flex-start;
}
.card__link:hover { background: var(--hivis); }

/* ---------- Split content (service pages) ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem); align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split img { width: 100%; object-fit: cover; background: var(--hairline); }

.checks { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.checks li {
  position: relative; padding: .5rem 0 .5rem 1.9rem;
  border-bottom: 1px solid var(--hairline); max-width: var(--readable);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 12px; height: 3px; background: var(--hivis-deep);
}
.band--dark .checks li { border-bottom-color: var(--hairline-d); }
.band--dark .checks li::before { background: var(--hivis); }

.pricebox {
  border: 1px solid var(--hairline); border-top: 5px solid var(--hivis);
  background: var(--salt-up); color: var(--asphalt); padding: 1.5rem;
}
.pricebox h3 { font-size: var(--t-md); text-transform: uppercase; }
.pricebox dl { margin: 1.1rem 0 0; }
.pricebox dt { font-weight: 600; font-size: var(--t-sm); }
.pricebox dd {
  margin: .1rem 0 .9rem; color: var(--stone); font-size: var(--t-sm);
  font-variant-numeric: tabular-nums;
}
.pricebox dd:last-child { margin-bottom: 0; }
.pricebox .note { margin-top: 1.2rem; font-size: var(--t-xs); color: var(--stone); }

/* ---------- Service area ---------- */
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.towns li {
  border: 1px solid var(--hairline-d); padding: .45rem .8rem;
  font-size: var(--t-sm); color: var(--concrete);
}
.towns li.is-base { background: var(--hivis); border-color: var(--hivis); color: var(--olive); font-weight: 600; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote { border-left: 5px solid var(--hivis); padding: .2rem 0 .2rem 1.4rem; }
.quote blockquote { margin: 0; font-size: var(--t-md); line-height: 1.5; }
.quote figcaption { margin-top: .9rem; font-size: var(--t-sm); color: var(--stone); font-weight: 600; }
.band--dark .quote figcaption { color: var(--concrete); }

/* ---------- Gallery ---------- */
.grid-shots {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}
.shot { margin: 0; position: relative; border: 0; padding: 0; background: none; cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--hairline); }
.shot figcaption {
  font-size: var(--t-xs); color: var(--stone); padding: .5rem .1rem 0; text-align: left;
}

dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh;
}
dialog.lightbox::backdrop { background: rgba(20, 23, 15, .93); }
dialog.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; }
dialog.lightbox .lb-close {
  position: absolute; top: -2.6rem; right: 0; background: var(--hivis); color: var(--olive);
  border: 0; font-weight: 700; padding: .5rem .9rem; cursor: pointer; border-radius: 3px;
}
dialog.lightbox p { color: var(--concrete); font-size: var(--t-sm); margin: .8rem 0 0; max-width: none; }

/* ---------- Form ---------- */
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 640px; }
.formgrid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .formgrid { grid-template-columns: 1fr; } }
label { display: block; font-size: var(--t-sm); font-weight: 600; margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: var(--t-sm);
  padding: .75rem .8rem; border: 1px solid var(--hairline); border-radius: 2px;
  background: var(--salt-up); color: var(--asphalt);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; }
.formnote { font-size: var(--t-xs); color: var(--stone); margin-top: .9rem; }
.formstatus { margin-top: 1rem; font-weight: 600; font-size: var(--t-sm); }
.formstatus[data-state="err"] { color: #9c2b0f; }
.formstatus[data-state="ok"] { color: var(--olive); }

/* ---------- Contact rail ---------- */
.rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 820px) { .rail { grid-template-columns: 1fr; } }
.rail h3 { font-size: var(--t-md); text-transform: uppercase; margin-bottom: .6rem; }
.rail a { color: inherit; }
.rail .big {
  font-family: var(--display); font-weight: 800; font-stretch: 86%;
  font-size: var(--t-lg); text-decoration: none; letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
.foot { background: var(--asphalt); color: var(--concrete); padding-block: 3.5rem 2rem; font-size: var(--t-sm); }
.foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__cols { grid-template-columns: 1fr; } }
.foot h4 {
  font-size: var(--t-sm); text-transform: uppercase; color: var(--salt-up);
  margin-bottom: .8rem; font-stretch: 86%;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: .22rem 0; }
.foot a { color: var(--concrete); text-decoration: none; }
.foot a:hover { color: var(--hivis); }
.foot__base {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--hairline-d);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: var(--t-xs);
}
.social { display: flex; gap: .7rem; margin-top: 1rem; }
.social a {
  width: 36px; height: 36px; border: 1px solid var(--hairline-d);
  display: grid; place-items: center;
}
.social a:hover { border-color: var(--hivis); }
.social svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Sticky mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; inset: auto 0 0; z-index: 120;
    background: var(--hairline-d); border-top: 1px solid var(--hairline-d);
  }
  .callbar a {
    padding: .95rem .5rem; text-align: center; text-decoration: none;
    font-weight: 700; font-size: var(--t-sm);
  }
  .callbar .c1 { background: var(--hivis); color: var(--olive); }
  .callbar .c2 { background: var(--asphalt); color: var(--salt); }
  body { padding-bottom: 56px; }
}

/* ---------- Page header for interior pages ---------- */
.phead { background: var(--asphalt); color: var(--salt); padding-block: clamp(2.5rem, 6vw, 4rem); }
.phead h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem); text-transform: uppercase;
  font-stretch: 84%; color: var(--salt-up);
}
.phead p { margin-top: 1rem; color: var(--concrete); font-size: var(--t-md); }
.crumbs { font-size: var(--t-xs); color: var(--concrete); margin-bottom: 1.1rem; }
.crumbs a { color: var(--concrete); text-decoration: none; }
.crumbs a:hover { color: var(--hivis); }

.prose h2 { font-size: var(--t-xl); text-transform: uppercase; margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--t-md); text-transform: uppercase; margin-top: 1.8rem; }
.prose p { margin-top: .9rem; }
.faq { margin-top: 1.6rem; border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--olive); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { padding-bottom: 1rem; margin: 0; color: var(--stone); }
