/* Approved readable typography: Sora + Instrument Sans. Loaded after page styles. */
:root {
  --type-display: var(--font);
  --type-reading: var(--body);
  --polish-space-1: 8px;
  --polish-space-2: 16px;
  --polish-space-3: 24px;
  --polish-space-4: 40px;
}

h1, h2, h3 {
  font-family: var(--type-display);
  letter-spacing: -.012em;
  text-wrap: balance;
}

.hero-cinematic h1 {
  font-weight: 700;
  letter-spacing: -.012em;
}

/* Large display sections previously used very tight tracking that made
   Syne characters collide. New fonts keep the technical identity while
   sizing and tracking for actual reading space. */
.hero-morph .hero-copy h1 {
  letter-spacing: -.012em;
  line-height: 1.11;
}

.hero-morph-discovery p {
  letter-spacing: -.012em;
  line-height: 1.1;
}

.photo-essay-message h2 {
  letter-spacing: -.012em;
  line-height: 1.05;
  font-weight: 600;
}

.intro-statement p,
.experience-step h2,
.services-section .section-head h2,
.tracker-top h1 {
  letter-spacing: -.012em;
}

.contact-intro { min-width: 0; }
.contact-intro h2 {
  font-size: clamp(42px, 4.5vw, 68px);
  letter-spacing: -.012em;
  line-height: 1.13;
  font-weight: 600;
  max-width: 100%;
}

.contact-intro .eyebrow {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .065em;
}

/* Contact conversion details must be readable, not hairline metadata. */
.contact-form-header {
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .035em;
}
.contact-field label {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: .01em;
}
.contact-direct > span {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: .055em;
}

/* Editorial captions retain their detail but not the original 8px scale. */
.photo-essay-message p {
  font-size: 12px;
  letter-spacing: .08em;
}
.photo-essay-index {
  font-size: 11px;
  letter-spacing: .045em;
}
.intro-kicker {
  font-size: 12px;
  letter-spacing: .05em;
  flex-wrap: wrap;
  row-gap: 6px;
}
.support-visual figcaption {
  font-size: 11px;
  letter-spacing: .035em;
}

.main-nav {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .015em;
  text-transform: none;
  gap: clamp(12px, 1.5vw, 20px);
}

.button {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .005em;
}

.nav-quote { font-size: 12px; }

.service-card-bottom > span,
.experience-link,
.footer-links > div > span {
  font-family: var(--body);
  font-weight: 700;
}

/* Keep instructional, consent and legal copy in the reading family. */
.remote-disclaimer-heading p,
.remote-consent-check,
.remote-consent-status,
.thanks-fineprint,
.finance-acima-lockup p { font-family: var(--body); }
.finance-acima-lockup small { font-family: var(--body); }

.services-section .service-card-bottom h3 {
  font-weight: 700;
  letter-spacing: -.012em;
}

.services-section .service-card-bottom p {
  font-size: 15px;
  line-height: 1.65;
  color: #b7c5b8;
}

.services-section .service-card-top {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  color: #b6c9b8;
}

/* Practical service names should lead; the copy stays readable beside the imagery. */
.services-section .section-head { margin-bottom: 58px; align-items: end; gap: 34px; }
.services-section .section-head h2 { max-width: 850px; line-height: 1.09; }
.services-section .section-head > p {
  font-size: 17px;
  line-height: 1.65;
  max-width: 340px;
  padding-top: 0;
  color: #c2d1c3;
}

/* Real, CMS-editable service photos keep the visual identity in the shop's hands. */
.services-section .service-card > img.service-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform .35s ease;
}
.services-section .service-card:has(> .service-card-photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 10, 6, .77), rgba(4, 10, 6, .33) 42%, rgba(3, 8, 5, .95));
}
.services-section .service-card:has(> .service-card-photo) .mini-phone-art,
.services-section .service-card:has(> .service-card-photo) .service-icon { display: none; }
.services-section .service-card-feature::after { display: none; }
.services-section .service-card:has(> .service-card-photo) .service-card-top,
.services-section .service-card:has(> .service-card-photo) .service-card-bottom { position: relative; z-index: 2; }
.services-section .service-card:has(> .service-card-photo) .service-card-top { color: #e4f4e3; }
.services-section .service-card:has(> .service-card-photo) .service-card-bottom p { color: #e0e9df; }
.services-section .service-card:has(> .service-card-photo):hover .service-card-photo { transform: scale(1.035); }

/* A photo's subject is the story; category captions need no faux sequence index. */
.workshop-card figcaption span {
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .045em;
}

.services-section .service-card > * { position: relative; z-index: 1; }

.services-section .service-card:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -4px;
}

@media (max-width: 900px) {
  .menu-toggle { min-height: 48px; height: 48px; }
  .main-nav { font-size: 15px; gap: 0; }
  .main-nav a { display: flex; align-items: center; min-height: 48px; }
  .contact-intro h2 { font-size: clamp(42px, 6.4vw, 68px); }
  .services-section .section-head { gap: 20px; margin-bottom: 42px; }
  .services-section .section-head > p { max-width: 560px; }
}

@media (max-width: 600px) {
  .top-strip {
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .015em;
    gap: 9px;
  }
  .top-strip-note { display: none; }
  .top-strip a { margin-left: 0; min-height: 44px; display: inline-flex; align-items: center; }
  .site-header { top: 44px; }

  .hero-cinematic h1 { letter-spacing: -.012em; }
  .hero-morph .hero-copy h1 { letter-spacing: -.012em; }
  .photo-essay-message h2 { font-size: clamp(43px, 9.4vw, 65px); letter-spacing: -.01em; }
  .contact-intro h2 { font-size: clamp(37px, 8.5vw, 48px); line-height: 1.16; }
  .hero-copy > p, .hero-cinematic .hero-lead { font-size: 16px; line-height: 1.6; }
  .hero-cinematic .eyebrow { font-size: 12px; letter-spacing: .045em; }
  .hero-cinematic .hero-micro { font-size: 12px; line-height: 1.5; }

  .services-section .service-card { min-height: 256px; }
  .services-section .service-card-top { font-size: 12px; }
  .services-section .service-card-bottom h3 { font-size: clamp(27px, 8vw, 32px); }
  .services-section .service-card-bottom p { font-size: 16px; line-height: 1.58; }
  .services-section .service-card-bottom > span { font-size: 12px; }
  .services-section .section-head { margin-bottom: 32px; }
  .services-section .section-head > p { font-size: 16px; line-height: 1.6; margin-top: 18px; }
  .workshop-card figcaption span { font-size: 12px; }
  .remote-sidebar p, .remote-sidebar li { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .services-section .service-card::before { transition: none; }
  .services-section .service-card-photo { transition: none; }
}

.hero-morph .hero-reviews-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e9f6e8;
  font: 600 .9rem var(--font);
  letter-spacing: normal;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.hero-morph .hero-reviews-link:hover { color: var(--green); }
.hero-morph .hero-reviews-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .hero-morph .hero-copy .hero-lead { font-size: 1rem; }
  .hero-morph .hero-actions .button { font-size: .875rem; }
}

.hero-morph-reviews { display: none; }

@media (max-width: 1024px), (pointer: coarse) {
  .hero.hero-morph,
  .hero-morph-sticky {
    height: auto;
    min-height: 0;
  }

  .hero-morph-sticky {
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .hero-morph .hero-morph-content {
    position: relative;
    order: -1;
    padding-top: 122px;
    opacity: 1;
    visibility: visible;
  }

  .hero-morph .hero-copy > .eyebrow { display: none; }

  .hero-morph .hero-copy h1 {
    text-wrap: balance;
    font-size: clamp(32px, 8.7vw, 48px);
    margin: 14px 0 12px;
  }

  .hero-morph .hero-copy .hero-lead {
    font-size: 16px;
  }

  .hero-morph .hero-actions .button {
    font-size: 14px;
  }

  .hero-morph .hero-micro {
    margin-top: 12px;
    padding-top: 10px;
  }

  .hero-morph .hero-morph-gallery {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    margin-top: 16px;
  }

  .hero-reviews-desktop { display: none; }
  .hero-morph-reviews { display: block; padding-bottom: 18px; }

  .hero-morph-shield,
  .hero-morph-discovery,
  .hero-morph-bottom,
  .hero-morph-rail {
    display: none;
  }

}

@media (max-width: 600px) {
  .photo-essay,
  .photo-essay-sticky {
    height: clamp(320px, 90vw, 460px);
    min-height: 0;
  }

  .photo-essay-sticky { position: relative; opacity: 1 !important; }
  .photo-essay-visual { }
  .intro-statement { padding: 44px 0; }
  .scroll-experience .experience-stage {
    height: clamp(230px, 64vw, 380px);
    min-height: 0;
  }

  .scroll-experience .experience-steps {
    margin-top: 0;
    pointer-events: auto;
  }

  .scroll-experience .experience-step {
    height: auto;
    min-height: 0;
    padding: 36px 21px;
    opacity: 1;
    pointer-events: auto;
    border-bottom: 1px solid rgba(235, 255, 225, .12);
  }
}


.hero-morph-gallery.use-scroll-frames .hero-morph-video { display: none; }
.hero-morph-gallery.use-scroll-frames.has-scroll-frames::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--frame-image);
  background-size: var(--frame-size) var(--frame-size);
  background-position: var(--frame-position, 0% 0%);
  background-repeat: no-repeat;
}
.hero-morph-gallery.use-scroll-frames.has-scroll-frames .hero-morph-keyframes { visibility: hidden; }
@media (max-width: 1024px), (pointer: coarse) {
  .hero-morph .hero-copy { width: 100%; }
  .hero-morph .hero-copy .hero-reviews-desktop { display: none; }
}

/* Keep the repair details readable without requiring the scroll animation. */
.hero-teardown {
  margin-block: 0;
  padding-block: 12px 16px;
}
.hero-teardown-still { display: none; }
.hero-teardown figcaption {
  padding: 16px 20px;
  background: #0b110d;
  border: 1px solid #324232;
}
.hero-teardown h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.hero-teardown ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-teardown li {
  display: grid;
  gap: 4px;
  padding-inline-start: 12px;
  border-inline-start: 2px solid #435343;
  font-size: .875rem;
  line-height: 1.4;
}
.hero-teardown li span { color: #bdcbbf; }

@media (min-width: 1025px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero.hero-morph { height: 205svh; }
  .hero-teardown {
    position: absolute;
    z-index: 5;
    inset: auto 0 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
  }
  .hero-morph.has-teardown-caption .hero-teardown {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 600px) {
  .hero-teardown ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-morph[data-teardown-part="display"] [data-teardown-part="display"],
  .hero-morph[data-teardown-part="battery"] [data-teardown-part="battery"],
  .hero-morph[data-teardown-part="board"] [data-teardown-part="board"] {
    border-color: var(--green);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-morph, .hero-morph .hero-morph-sticky {
    height: auto;
    min-height: 0;
  }
  .hero-morph .hero-morph-sticky { display: flex; flex-direction: column; }
  .hero-morph .hero-morph-content { position: relative; padding-top: 120px; }
  .hero-morph .hero-copy { width: 100%; padding-bottom: 12px; }
  .hero-morph .hero-morph-gallery, .hero-morph .hero-morph-bottom { display: none; }
  .hero-teardown-still {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
  }
}

@media (max-width: 900px) {
  /* Reserve space for the navigation instead of covering the service headline. */
  .data-recovery-page .site-header {
    position: relative;
    inset: auto;
  }

  .data-recovery-page .recovery-copy,
  .services-section .section-head > div,
  .services-section .service-card-bottom { min-width: 0; }

  .data-recovery-page .recovery-copy h1,
  .services-section .section-head h2,
  .services-section .service-card-bottom h3,
  .experience-step h2 {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.16;
  }
}
