/* Home — junkdepotma.help (jun14) stacked-split hero, saugus-base, job-notes, accordion, tabs */

.jun14-home {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.jun14-home h1,
.jun14-home h2,
.jun14-home h3 {
  color: var(--dna-ink, var(--jun14-ink));
}

.jun14-kicker {
  margin: 0;
  color: var(--dna-accent-2, var(--jun14-accent-2));
  font: 700 0.72rem/1.2 var(--jun14-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jun14-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--dna-ink, var(--jun14-ink)) 32%, transparent);
  background: color-mix(in srgb, var(--dna-surface, var(--jun14-surface)) 55%, transparent);
  color: var(--dna-ink, var(--jun14-ink));
  font: 700 0.84rem/1 var(--jun14-display);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.jun14-ghost:hover {
  border-color: var(--dna-ink, var(--jun14-ink));
  background: color-mix(in srgb, var(--dna-surface, var(--jun14-surface)) 78%, transparent);
}

.jun14-textlink {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--dna-accent-2, var(--jun14-accent-2));
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 3px;
}

.jun14-textlink:hover { text-decoration: underline; color: var(--dna-ink, var(--jun14-ink)); }

.jun14-sec {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  border-top: 1px solid var(--dna-line, var(--jun14-line));
}

.jun14-sec-head {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
  margin: 0 0 clamp(1.4rem, 3vw, 2.1rem);
  justify-items: start;
  text-align: left;
}

.jun14-sec-head h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}

.jun14-sec-head p {
  margin: 0;
  color: var(--dna-ink-soft, var(--jun14-muted));
  max-width: 38rem;
  text-wrap: pretty;
}

/* —— 1. Stacked split hero: headline over Broadway-yard still —— */
.jun14-home .hero {
  position: relative;
  isolation: isolate;
  min-height: min(78vh, 700px);
  display: flex;
  align-items: flex-end;
  padding: clamp(4.5rem, 10vw, 6.5rem) 0 clamp(2.4rem, 5vw, 3.5rem);
  overflow: clip;
}

.jun14-home .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  order: 0;
}

.jun14-home .hero-photo,
.jun14-home .hero-photo img {
  width: 100%;
  height: 100%;
  min-height: min(78vh, 700px);
  max-height: none;
  object-fit: cover;
  object-position: 55% 45%;
}

.jun14-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.35) 0%, rgba(20, 18, 16, 0.12) 38%, rgba(20, 18, 16, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 18, 16, 0.72) 0%, rgba(20, 18, 16, 0.35) 48%, transparent 78%);
  pointer-events: none;
}

.jun14-home .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(var(--jun14-max), calc(100% - 2 * var(--jun14-pad)));
  margin-inline: auto;
  padding: 0;
  min-height: 0;
}

.jun14-home .hero-copy {
  display: grid;
  gap: 1.05rem;
  max-width: 38rem;
  justify-items: start;
  text-align: left;
  order: 0;
  margin: 0;
}

.jun14-home .hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.jun14-home .hero-lead {
  margin: 0;
  color: color-mix(in srgb, var(--dna-ink, var(--jun14-ink)) 88%, transparent);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 34rem;
  text-wrap: pretty;
}

.jun14-home .hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  justify-content: flex-start;
}

/* —— 2. Saugus-base about —— */
.jun14-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.jun14-about-copy {
  display: grid;
  gap: 0.95rem;
  align-content: start;
  justify-items: start;
  text-align: left;
}

.jun14-about-copy > p {
  margin: 0;
  color: var(--dna-ink-soft, var(--jun14-muted));
  max-width: 38rem;
  text-wrap: pretty;
}

.jun14-about-copy h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}

.jun14-facts {
  display: grid;
  gap: 0.55rem;
  margin: 0.25rem 0 0;
  padding: 0.95rem 1.05rem;
  width: 100%;
  background: var(--dna-surface, var(--jun14-surface));
  border: 1px solid var(--dna-line, var(--jun14-line));
}

.jun14-facts > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}

.jun14-facts dt {
  margin: 0;
  color: var(--dna-ink-soft, var(--jun14-muted));
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jun14-facts dd { margin: 0; color: var(--dna-ink, var(--jun14-ink)); }

.jun14-facts a {
  color: var(--dna-accent-2, var(--jun14-accent-2));
  text-decoration: none;
}

.jun14-facts a:hover { color: var(--dna-ink, var(--jun14-ink)); }

.jun14-about-media {
  margin: 0;
  border: 1px solid var(--dna-line, var(--jun14-line));
  background: var(--dna-surface, var(--jun14-surface));
}

.jun14-about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.jun14-about-media figcaption {
  padding: 0.65rem 0.85rem;
  color: var(--dna-ink-soft, var(--jun14-muted));
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* —— 3. Job-notes FAQ —— */
.jun14-faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.jun14-faq-item {
  margin: 0;
  background: var(--dna-surface, var(--jun14-surface));
  border: 1px solid var(--dna-line, var(--jun14-line));
}

.jun14-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1.05rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--jun14-display);
  font-size: 1.08rem;
  font-weight: 650;
  text-align: left;
  text-wrap: balance;
}

.jun14-faq-item summary::-webkit-details-marker { display: none; }

.jun14-faq-item summary::after {
  content: "+";
  color: var(--dna-accent, var(--jun14-accent));
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.jun14-faq-item[open] summary::after { content: "\2212"; }

.jun14-faq-item p {
  margin: 0;
  padding: 0 1.05rem 1.05rem;
  color: var(--dna-ink-soft, var(--jun14-muted));
  font-size: 0.96rem;
  text-wrap: pretty;
}

/* —— 4. Accordion services + feature media —— */
.jun14-svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.jun14-svc-side {
  display: grid;
  gap: 0.85rem;
}

.jun14-svc-side figure {
  margin: 0;
  border: 1px solid var(--dna-line, var(--jun14-line));
  background: var(--dna-surface, var(--jun14-surface));
  overflow: hidden;
}

.jun14-svc-side img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.jun14-acc {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jun14-home .service-card,
.jun14-home .service-item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--dna-surface, var(--jun14-surface));
  border: 1px solid var(--dna-line, var(--jun14-line));
}

.jun14-home .service-item h3::after,
.jun14-home .service-card h3::after { content: none; }

.jun14-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1.05rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--jun14-display);
  font-size: 1.1rem;
  font-weight: 650;
  text-align: left;
}

.jun14-acc summary::-webkit-details-marker { display: none; }

.jun14-acc summary::after {
  content: "+";
  color: var(--dna-accent, var(--jun14-accent));
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.jun14-acc details[open] summary::after { content: "\2212"; }

.jun14-acc-body {
  padding: 0 1.05rem 1.05rem;
}

.jun14-acc-body p {
  margin: 0;
  color: var(--dna-ink-soft, var(--jun14-muted));
  font-size: 0.96rem;
  text-wrap: pretty;
}

.jun14-services .jun14-textlink { margin-top: 1.35rem; }

/* —— 5. Tabs phone-only callback —— */
.jun14-book-box {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin-inline: auto;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: var(--dna-surface, var(--jun14-surface));
  border: 1px solid var(--dna-line, var(--jun14-line));
  text-align: left;
  justify-items: start;
}

.jun14-book-box > p {
  margin: 0;
  color: var(--dna-ink-soft, var(--jun14-muted));
  text-wrap: pretty;
}

.jun14-book-box h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  line-height: 1.15;
  text-wrap: balance;
}

.jun14-tabs {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.jun14-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jun14-tab {
  min-height: 42px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--dna-line, var(--jun14-line));
  background: transparent;
  color: var(--dna-ink-soft, var(--jun14-muted));
  font: 700 0.8rem/1 var(--jun14-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.jun14-tab.is-active,
.jun14-tab[aria-selected="true"] {
  background: var(--dna-accent, var(--jun14-accent));
  border-color: transparent;
  color: var(--dna-accent-ink, var(--jun14-accent-ink));
}

.jun14-tabpanel {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  justify-items: start;
}

.jun14-tabpanel.is-active,
.jun14-tabpanel:not([hidden]) {
  display: grid;
}

.jun14-tabpanel[hidden] { display: none !important; }

.jun14-tabpanel > p {
  margin: 0;
  color: var(--dna-ink-soft, var(--jun14-muted));
  text-wrap: pretty;
}

.jun14-book-form {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  justify-items: start;
}

.jun14-book-form.is-done label,
.jun14-book-form.is-done input,
.jun14-book-form.is-done button { display: none; }

.jun14-book-form label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dna-ink-soft, var(--jun14-muted));
}

.jun14-book-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--dna-line, var(--jun14-line));
  background: var(--dna-bg, var(--jun14-bg));
  color: var(--dna-ink, var(--jun14-ink));
  font: 500 1rem/1.3 var(--jun14-body);
}

.jun14-book-form input.is-invalid {
  border-color: #c45c4a;
}

.jun14-book-err {
  margin: 0;
  color: #e08a7a;
  font-size: 0.9rem;
}

.jun14-book-ok {
  margin: 0;
  color: var(--dna-ink, var(--jun14-ink));
  font-weight: 650;
}

/* —— Responsive: tablet —— */
@media (max-width: 900px) {
  .jun14-about-grid,
  .jun14-svc-layout {
    grid-template-columns: 1fr;
  }

  .jun14-svc-side {
    grid-template-columns: 1fr 1fr;
  }

  .jun14-home .hero-copy {
    max-width: 34rem;
  }

  .jun14-home .hero-copy h1 {
    font-size: clamp(1.85rem, 5vw, 2.45rem);
  }
}

/* —— Responsive: mobile —— */
@media (max-width: 560px) {
  .jun14-home .hero {
    min-height: min(88vh, 640px);
    align-items: flex-end;
  }

  .jun14-home .hero-photo img {
    min-height: min(88vh, 640px);
    object-position: 60% 40%;
  }

  .jun14-home .hero-cta {
    width: 100%;
  }

  .jun14-home .hero-cta .jun14-cta,
  .jun14-home .hero-cta .jun14-ghost {
    width: 100%;
  }

  .jun14-facts > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .jun14-svc-side {
    grid-template-columns: 1fr;
  }

  .jun14-book-box {
    padding: 1.15rem;
  }

  .jun14-tab {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jun14-home * {
    transition: none !important;
  }
}
